heheng
2 天以前 caf2acbee7e25afde41c169a0eba471e5b08b523
版本改造
已修改2个文件
5 ■■■■ 文件已修改
expert-system/src/main/java/com/gkhy/system/service/impl/ProjectManagementServiceImpl.java 3 ●●●●● 补丁 | 查看 | 原始文档 | blame | 历史
expert-system/src/main/resources/mapper/system/ProjectManagementMapper.xml 2 ●●● 补丁 | 查看 | 原始文档 | blame | 历史
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) {
            //删除之前的该类型
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}