|
@@ -97,7 +97,7 @@ public class ProjectDeclareStateMachineBuilder { |
|
|
.source(ProjectStatusEnum.PENDING_PREQUALIFICATION_CHOICE) |
|
|
.source(ProjectStatusEnum.PENDING_PREQUALIFICATION_CHOICE) |
|
|
.first(ProjectStatusEnum.JOINT_REVIEW_BY_PROVINCIAL_DEPARTMENTS,projectDeclareGuardFactory.new PendingPreQualificationChoiceGuard(),projectDeclareAction.new ProjectDeclareChoiceAction()) |
|
|
.first(ProjectStatusEnum.JOINT_REVIEW_BY_PROVINCIAL_DEPARTMENTS,projectDeclareGuardFactory.new PendingPreQualificationChoiceGuard(),projectDeclareAction.new ProjectDeclareChoiceAction()) |
|
|
.last(ProjectStatusEnum.PRE_APPLYING,projectDeclareAction.new ProjectDeclareChoiceAction()).and() |
|
|
.last(ProjectStatusEnum.PRE_APPLYING,projectDeclareAction.new ProjectDeclareChoiceAction()).and() |
|
|
// 省级部门联审通过,从省级部门联审中到升级部门联审成功 |
|
|
|
|
|
|
|
|
// 省级部门联审通过,从省级部门联审中到省级部门联审成功 |
|
|
.withExternal() |
|
|
.withExternal() |
|
|
.source(ProjectStatusEnum.JOINT_REVIEW_BY_PROVINCIAL_DEPARTMENTS) |
|
|
.source(ProjectStatusEnum.JOINT_REVIEW_BY_PROVINCIAL_DEPARTMENTS) |
|
|
.target(ProjectStatusEnum.JOINT_REVIEW_BY_PROVINCIAL_DEPARTMENTS_SUCCESS) |
|
|
.target(ProjectStatusEnum.JOINT_REVIEW_BY_PROVINCIAL_DEPARTMENTS_SUCCESS) |
|
@@ -117,16 +117,7 @@ public class ProjectDeclareStateMachineBuilder { |
|
|
.source(ProjectStatusEnum.JOINT_REVIEW_BY_PROVINCIAL_DEPARTMENTS) |
|
|
.source(ProjectStatusEnum.JOINT_REVIEW_BY_PROVINCIAL_DEPARTMENTS) |
|
|
.target(ProjectStatusEnum.PENDING_PREQUALIFICATION) |
|
|
.target(ProjectStatusEnum.PENDING_PREQUALIFICATION) |
|
|
.event(ProjectStatusChangeEvent.JOINT_REVIEW_BY_PROVINCIAL_DEPARTMENTS_WITHDRAW).and() |
|
|
.event(ProjectStatusChangeEvent.JOINT_REVIEW_BY_PROVINCIAL_DEPARTMENTS_WITHDRAW).and() |
|
|
// 省级部门联审不通过重新申报,从省级部门联审不通过到待预审选择 |
|
|
|
|
|
.withExternal() |
|
|
|
|
|
.source(ProjectStatusEnum.PRE_APPLYING) |
|
|
|
|
|
.target(ProjectStatusEnum.PENDING_PREQUALIFICATION_CHOICE) |
|
|
|
|
|
.event(ProjectStatusChangeEvent.PRE_APPLYING_WITHDRAW).and() |
|
|
|
|
|
// 省级部门联审不通过重新申报,从待预审选择->省级部门联审成功,待预审,完成其中一种状态 |
|
|
|
|
|
.withChoice() |
|
|
|
|
|
.source(ProjectStatusEnum.PRE_APPLYING) |
|
|
|
|
|
.first(ProjectStatusEnum.JOINT_REVIEW_BY_PROVINCIAL_DEPARTMENTS_SUCCESS,projectDeclareGuardFactory.new PendingPreQualificationChoiceGuard(),new ProjectDeclareChoiceAction()) |
|
|
|
|
|
.last(ProjectStatusEnum.PENDING_PREQUALIFICATION,projectDeclareAction.new ProjectDeclareChoiceAction()).and() |
|
|
|
|
|
|
|
|
|
|
|
// 预审通过,从预审中到部门联审中 |
|
|
// 预审通过,从预审中到部门联审中 |
|
|
.withExternal() |
|
|
.withExternal() |
|
|
.source(ProjectStatusEnum.PRE_APPLYING) |
|
|
.source(ProjectStatusEnum.PRE_APPLYING) |
|
|