Преглед на файлове

项目预审中撤回状态机修改

tags/24080901
CMM преди 1 година
родител
ревизия
04dfc0bffc
променени са 1 файла, в които са добавени 4 реда и са изтрити 2 реда
  1. +4
    -2
      pmapi/src/main/java/com/ningdatech/pmapi/common/statemachine/action/ProjectDeclareChoiceAction.java

+ 4
- 2
pmapi/src/main/java/com/ningdatech/pmapi/common/statemachine/action/ProjectDeclareChoiceAction.java Целия файл

@@ -30,7 +30,9 @@ public class ProjectDeclareChoiceAction implements Action<ProjectStatusEnum, Pro
break;
case PREQUALIFICATION_WITHDRAW_CHOICE:
preWithDrawChoice(stateContext);

break;
default:
throw new IllegalStateException("Unexpected value: " + projectStatusEnum);
}
}

@@ -38,7 +40,7 @@ public class ProjectDeclareChoiceAction implements Action<ProjectStatusEnum, Pro
Project project = stateContext.getMessage().getHeaders().get(PROJECT_DECLARE, Project.class);
log.info("预审申报事件之前,项目的状态为:{}"+project.getStatus());
if (StateMachineUtils.isCityProject(project) && StateMachineUtils.judgeDeclareAmount(project)){
project.setStatus(ProjectStatusEnum.JOINT_REVIEW_BY_PROVINCIAL_DEPARTMENTS_SUCCESS.getCode());
project.setStatus(ProjectStatusEnum.JOINT_REVIEW_BY_PROVINCIAL_DEPARTMENTS.getCode());
}else {
project.setStatus(ProjectStatusEnum.PRE_APPLYING.getCode());
}


Loading…
Отказ
Запис