|
|
@@ -1097,15 +1097,12 @@ public class TodoCenterManage { |
|
|
|
project.setUpdateOn(LocalDateTime.now()); |
|
|
|
projectService.save(project); |
|
|
|
|
|
|
|
oldProject.setIsBackReject(Boolean.TRUE); |
|
|
|
projectService.updateById(oldProject); |
|
|
|
|
|
|
|
ProjectInst oldInst = projectInstService.getOne(Wrappers.lambdaUpdate(ProjectInst.class) |
|
|
|
.eq(ProjectInst::getProjectId, oldProject.getId()) |
|
|
|
.eq(ProjectInst::getInstCode, oldProject.getInstCode())); |
|
|
|
|
|
|
|
String instCode = oldProject.getInstCode(); |
|
|
|
oldInst.setInstCode(TodoCenterConstant.Declared.NULL_INST_CODE); |
|
|
|
oldInst.setInstCode("EMPTY"); |
|
|
|
projectInstService.updateById(oldInst); |
|
|
|
|
|
|
|
ProjectInst newPi = new ProjectInst(); |
|
|
|