Parcourir la source

预警 消息提醒

master
PoffyZhang il y a 1 an
Parent
révision
aaedcfe68b
1 fichiers modifiés avec 1 ajouts et 4 suppressions
  1. +1
    -4
      pmapi/src/main/java/com/ningdatech/pmapi/todocenter/manage/TodoCenterManage.java

+ 1
- 4
pmapi/src/main/java/com/ningdatech/pmapi/todocenter/manage/TodoCenterManage.java Voir le fichier

@@ -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();


Chargement…
Annuler
Enregistrer