| | |
| | | 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) { |
| | | //删除之前的该类型 |
| | |
| | | <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} |
| | | |