|
|
@@ -156,7 +156,7 @@ public class ProjectDeclareStateMachineLQBuilder implements ProjectDeclareStateM |
|
|
|
.source(ProjectStatusEnum.PENDING_PREQUALIFICATION_CHOICE) |
|
|
|
.first(ProjectStatusEnum.JOINT_REVIEW_BY_PROVINCIAL_DEPARTMENTS,projectDeclareGuardFactory.new PendingPreQualificationChoiceGuard(),new ProjectDeclareChoiceAction()) |
|
|
|
.last(ProjectStatusEnum.PRE_APPLYING,new ProjectDeclareChoiceAction()).and() |
|
|
|
// 部门联审通过,从部门联审中到年度计划中 |
|
|
|
// 部门联审通过,从部门联审中到 |
|
|
|
.withExternal() |
|
|
|
.source(ProjectStatusEnum.DEPARTMENT_JOINT_REVIEW) |
|
|
|
.target(ProjectStatusEnum.PLAN_TO_BE_DECLARED) |
|
|
@@ -261,7 +261,7 @@ public class ProjectDeclareStateMachineLQBuilder implements ProjectDeclareStateM |
|
|
|
@Override |
|
|
|
public StateMachineContext<ProjectStatusEnum, ProjectStatusChangeEvent> read(Project contextObj) { |
|
|
|
StateMachineContext<ProjectStatusEnum, ProjectStatusChangeEvent> result = new DefaultStateMachineContext(ProjectStatusEnum.getValue(contextObj.getStatus()), |
|
|
|
null, null, null, null, RegionContant.LS_YH_CODE); |
|
|
|
null, null, null, null, RegionContant.LS_LQ_CODE); |
|
|
|
return result; |
|
|
|
} |
|
|
|
}); |
|
|
|