From caf2acbee7e25afde41c169a0eba471e5b08b523 Mon Sep 17 00:00:00 2001 From: heheng <475597332@qq.com> Date: 星期四, 28 八月 2025 13:02:09 +0800 Subject: [PATCH] 版本改造 --- expert-system/src/main/resources/mapper/system/ProjectManagementMapper.xml | 2 +- expert-system/src/main/java/com/gkhy/system/service/impl/ProjectManagementServiceImpl.java | 3 +++ 2 files changed, 4 insertions(+), 1 deletions(-) diff --git a/expert-system/src/main/java/com/gkhy/system/service/impl/ProjectManagementServiceImpl.java b/expert-system/src/main/java/com/gkhy/system/service/impl/ProjectManagementServiceImpl.java index e17abc1..682408b 100644 --- a/expert-system/src/main/java/com/gkhy/system/service/impl/ProjectManagementServiceImpl.java +++ b/expert-system/src/main/java/com/gkhy/system/service/impl/ProjectManagementServiceImpl.java @@ -446,6 +446,9 @@ if (req.getState() == 1) { projectFileMapper.deleteProjectFileByIdAndType(req.getId(), "1"); projectExpertMapper.deleteProjectExpertByProjectId(req.getId()); + outProjectExpertMapper.update(new OutProjectExpert(),new LambdaUpdateWrapper<OutProjectExpert>() + .eq(OutProjectExpert::getProjectId, req.getId()).set(OutProjectExpert::getDelFlag, 1).set(OutProjectExpert::getUpdateTime, new Date()) + .set(OutProjectExpert::getUpdateBy, SecurityUtils.getUsername())); } if (i > 0 && StringUtils.isNotEmpty(projectFile) && req.getState() == 3) { //删除之前的该类型 diff --git a/expert-system/src/main/resources/mapper/system/ProjectManagementMapper.xml b/expert-system/src/main/resources/mapper/system/ProjectManagementMapper.xml index 59c70fb..838b11e 100644 --- a/expert-system/src/main/resources/mapper/system/ProjectManagementMapper.xml +++ b/expert-system/src/main/resources/mapper/system/ProjectManagementMapper.xml @@ -283,7 +283,7 @@ <select id="projectExpertCheckInfo" parameterType="Long" resultMap="ProjectManagementInfoResult"> select a.id,a.step, a.project_name, a.dept_name, a.job_category, a.project_address, a.project_date_start, a.project_date_end, a.remark,a.project_check_time,a.state, - a.project_code,a.expert_num + a.project_code,a.expert_num,a.create_time from project_management a where a.id = #{id} -- Gitblit v1.9.2