|
|
@@ -211,16 +211,11 @@ public class ProjectDeclareStateMachineJNBuilder implements ProjectDeclareStateM |
|
|
|
.source(ProjectStatusEnum.TO_BE_APPROVED) |
|
|
|
.target(ProjectStatusEnum.TO_BE_PURCHASED) |
|
|
|
.event(ProjectStatusChangeEvent.PROJECT_APPROVAL).and() |
|
|
|
// 待采购采购备案,从待采购到实施中 |
|
|
|
// 待采购采购备案,从待采购到建设中 |
|
|
|
.withExternal() |
|
|
|
.source(ProjectStatusEnum.TO_BE_PURCHASED) |
|
|
|
.target(ProjectStatusEnum.OPERATION) |
|
|
|
.event(ProjectStatusChangeEvent.PURCHASE_PUT_ON_RECORD).and() |
|
|
|
// 待开工 实施,从实施到建设中 |
|
|
|
.withExternal() |
|
|
|
.source(ProjectStatusEnum.OPERATION) |
|
|
|
.target(ProjectStatusEnum.UNDER_CONSTRUCTION) |
|
|
|
.event(ProjectStatusChangeEvent.START_TO_WORK).and() |
|
|
|
.event(ProjectStatusChangeEvent.PURCHASE_PUT_ON_RECORD).and() |
|
|
|
// 建设中初验备案,从建设中到待终验 |
|
|
|
.withExternal() |
|
|
|
.source(ProjectStatusEnum.UNDER_CONSTRUCTION) |
|
|
|