浏览代码

项目批次添加最近更新时间

wangming 10 月之前
父节点
当前提交
e0c961bf7b

+ 8 - 0
business-common/src/main/java/com/rongwei/bscommon/sys/service/impl/ZhcxProjectManageServiceImpl.java

@@ -171,6 +171,14 @@ public class ZhcxProjectManageServiceImpl extends ServiceImpl<ZhcxProjectManageD
 
 
         //持久化
         //持久化
         saveSummaryData2Db(prjTitle, celldatas, summaryDataBo);
         saveSummaryData2Db(prjTitle, celldatas, summaryDataBo);
+
+        //最近更新时间
+        if(ObjectUtil.isNotEmpty(dto.getBatchId())) {
+            ZhcxProjectManageRectifyBatchDo batchEntity = new ZhcxProjectManageRectifyBatchDo();
+            batchEntity.setId(dto.getBatchId());
+            batchEntity.setLastmodifytime(new Date());
+            projectManageRectifyBatchService.updateById(batchEntity);
+        }
     }
     }
 
 
     /**
     /**