瀏覽代碼

优化4.0

wangfeng 6 年之前
父節點
當前提交
c55062fc7d

+ 4 - 0
icssman-service/src/main/java/com/diagbot/facade/EvaluationModuleMappingFacade.java

@@ -114,6 +114,8 @@ public class EvaluationModuleMappingFacade extends EvaluationModuleMappingServic
 		for (EvaluationModuleVO dataNew : data) {
 			EvaluationModuleMapping evaMou = new EvaluationModuleMapping();
 			BeanUtil.copyProperties(dataNew,evaMou);
+			evaMou.setGmtCreate(DateUtil.now());
+			evaMou.setGmtModified(DateUtil.now());
 			evaMou.setCreator(UserUtils.getCurrentPrincipleID());
 			evaMou.setModifier(UserUtils.getCurrentPrincipleID());
 			evaMou.setOrderNo(dataNew.getOrderNo());
@@ -152,6 +154,8 @@ public class EvaluationModuleMappingFacade extends EvaluationModuleMappingServic
 			for (EvaluationModuleVO dataNew : data) {
 				EvaluationModuleMapping evaMou = new EvaluationModuleMapping();
 				BeanUtil.copyProperties(dataNew,evaMou);
+				evaMou.setGmtCreate(DateUtil.now());
+				evaMou.setGmtModified(DateUtil.now());
 				evaMou.setCreator(UserUtils.getCurrentPrincipleID());
 				evaMou.setModifier(UserUtils.getCurrentPrincipleID());
 				evaluationModuleLsit.add(evaMou);

+ 4 - 0
icssman-service/src/main/java/com/diagbot/facade/IndexConfigFacade.java

@@ -100,6 +100,8 @@ public class IndexConfigFacade extends IndexConfigServiceImpl {
 			for (IndexConfigVO dataNew : data) {
 				IndexConfig IndexConfig = new IndexConfig();
 				BeanUtil.copyProperties(dataNew,IndexConfig);
+				IndexConfig.setGmtCreate(DateUtil.now());
+				IndexConfig.setGmtModified(DateUtil.now());
 				IndexConfig.setCreator(UserUtils.getCurrentPrincipleID());
 				IndexConfig.setModifier(UserUtils.getCurrentPrincipleID());
 				IndexConfigLsit.add(IndexConfig);
@@ -143,6 +145,8 @@ public class IndexConfigFacade extends IndexConfigServiceImpl {
 			for (IndexConfigVO dataNew : data) {
 				IndexConfig IndexConfig = new IndexConfig();
 				BeanUtil.copyProperties(dataNew,IndexConfig);
+				IndexConfig.setGmtCreate(DateUtil.now());
+				IndexConfig.setGmtModified(DateUtil.now());
 				IndexConfig.setCreator(UserUtils.getCurrentPrincipleID());
 				IndexConfig.setModifier(UserUtils.getCurrentPrincipleID());
 				IndexConfigLsit.add(IndexConfig);