Przeglądaj źródła

modify:

1. 项目终止未立项自动通过移除;
tags/24080901
WendyYang 3 miesięcy temu
rodzic
commit
cde9b1fb2f
1 zmienionych plików z 0 dodań i 9 usunięć
  1. +0
    -9
      hz-pm-api/src/main/java/com/hz/pm/api/projectlib/manage/ProjectStoppedManage.java

+ 0
- 9
hz-pm-api/src/main/java/com/hz/pm/api/projectlib/manage/ProjectStoppedManage.java Wyświetl plik

@@ -76,17 +76,8 @@ public class ProjectStoppedManage {
ProjectStatus.ON_STOPPED_APPLY.eq(project.getStatus())) {
throw BizException.wrap("暂无法提交终止申请");
}
long hasDeclared = projectStatusChangeService.count(Wrappers.lambdaQuery(ProjectStatusChange.class)
.eq(ProjectStatusChange::getProjectCode, project.getProjectCode())
.eq(ProjectStatusChange::getEvent, ProjectStateChangeEvent.DECLARED_RECORD_PASS));

project.setStoppedFiles(req.getStoppedFiles());
project.setStoppedReason(req.getStoppedReason());
if (hasDeclared == 0) {
projectChangeStopHelper.changeProjectPurchaseStatus(project, STOPPED_APPLY_AUTO_PASS);
return;
}

UserInfoDetails userDetail = LoginUserUtil.loginUserDetail();

WflowModels wflowModels = processModelManage.getWflowModelsNoNull(ProjectProcessType.PROJECT_STOPPED, userDetail.getMhUnitId());


Ładowanie…
Anuluj
Zapisz