Browse Source

终验 状态状态判断 debug

master
PoffyZhang 1 year ago
parent
commit
56877f4c18
1 changed files with 3 additions and 2 deletions
  1. +3
    -2
      pmapi/src/main/java/com/ningdatech/pmapi/projectdeclared/manage/FinalAcceptanceManage.java

+ 3
- 2
pmapi/src/main/java/com/ningdatech/pmapi/projectdeclared/manage/FinalAcceptanceManage.java View File

@@ -220,9 +220,10 @@ public class FinalAcceptanceManage {
} }


//首先要判断 项目当前状态 是不是 方案待申报 //首先要判断 项目当前状态 是不是 方案待申报
VUtils.isTrue(!ProjectStatusEnum.TO_BE_FINALLY_INSPECTED.getCode().equals(projectInfo.getStatus()) ||
VUtils.isTrue((!ProjectStatusEnum.TO_BE_FINALLY_INSPECTED.getCode().equals(projectInfo.getStatus()) &&
!ProjectStatusEnum.FINAL_ACCEPTANCE_REVIEW_FAILED.getCode().equals(projectInfo.getStatus())) ||
!ProjectStatusEnum.PROJECT_APPROVED.getCode().equals(projectInfo.getStage())) !ProjectStatusEnum.PROJECT_APPROVED.getCode().equals(projectInfo.getStage()))
.throwMessage("提交失败 该项目不是 待终验状态或者已立项阶段");
.throwMessage("提交失败 该项目不是 待终验状态|不通过或者已立项阶段");


ProcessStartParamsVo params = new ProcessStartParamsVo(); ProcessStartParamsVo params = new ProcessStartParamsVo();
params.setUser(declaredProjectManage.buildUser(employeeCode)); params.setUser(declaredProjectManage.buildUser(employeeCode));


Loading…
Cancel
Save