Browse Source

优化流程实例 不要EMPTY

tags/24080901
PoffyZhang 1 year ago
parent
commit
a1be9aaa89
1 changed files with 1 additions and 2 deletions
  1. +1
    -2
      pmapi/src/main/java/com/ningdatech/pmapi/todocenter/manage/TodoCenterManage.java

+ 1
- 2
pmapi/src/main/java/com/ningdatech/pmapi/todocenter/manage/TodoCenterManage.java View File

@@ -1117,8 +1117,7 @@ public class TodoCenterManage {
.eq(ProjectInst::getInstCode, oldProject.getInstCode())); .eq(ProjectInst::getInstCode, oldProject.getInstCode()));


String instCode = oldProject.getInstCode(); String instCode = oldProject.getInstCode();
oldInst.setInstCode("EMPTY");
projectInstService.updateById(oldInst);
projectInstService.removeById(oldInst);


ProjectInst newPi = new ProjectInst(); ProjectInst newPi = new ProjectInst();
newPi.setProjectId(project.getId()); newPi.setProjectId(project.getId());


Loading…
Cancel
Save