diff --git a/ruoyi-common/src/main/java/com/ruoyi/common/utils/poi/ProjectExcelUtil.java b/ruoyi-common/src/main/java/com/ruoyi/common/utils/poi/ProjectExcelUtil.java index f0f6980..6dea51e 100644 --- a/ruoyi-common/src/main/java/com/ruoyi/common/utils/poi/ProjectExcelUtil.java +++ b/ruoyi-common/src/main/java/com/ruoyi/common/utils/poi/ProjectExcelUtil.java @@ -385,6 +385,7 @@ public class ProjectExcelUtil { ReflectUtils.invokeSetter(entity, propertyName, val); } } + ReflectUtils.invokeSetter(entity, "status", 5); cellMap.entrySet().removeIf(entry -> hasStr.contains(entry.getKey())); StringBuilder str = new StringBuilder(); Map sortHash = new HashMap<>(); diff --git a/ruoyi-common/src/main/java/com/ruoyi/common/utils/poi/ProjectValueUtil.java b/ruoyi-common/src/main/java/com/ruoyi/common/utils/poi/ProjectValueUtil.java index e3c54f0..ca0fec0 100644 --- a/ruoyi-common/src/main/java/com/ruoyi/common/utils/poi/ProjectValueUtil.java +++ b/ruoyi-common/src/main/java/com/ruoyi/common/utils/poi/ProjectValueUtil.java @@ -384,6 +384,7 @@ public class ProjectValueUtil { } ReflectUtils.invokeSetter(entity, "projectClassify", projectClassify); ReflectUtils.invokeSetter(entity, "projectYear", projectYear); + ReflectUtils.invokeSetter(entity, "status", 5); cellMap.entrySet().removeIf(entry -> hasStr.contains(entry.getKey())); StringBuilder str = new StringBuilder(); Map sortHash = new HashMap<>();