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