heheng
2 天以前 caf2acbee7e25afde41c169a0eba471e5b08b523
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) {
            //删除之前的该类型