@@ -260,7 +260,7 @@ public class ProjectDeclareStateMachineJNBuilder implements ProjectDeclareStateM | |||||
@Override | @Override | ||||
public StateMachineContext<ProjectStatusEnum, ProjectStatusChangeEvent> read(Project contextObj) { | public StateMachineContext<ProjectStatusEnum, ProjectStatusChangeEvent> read(Project contextObj) { | ||||
StateMachineContext<ProjectStatusEnum, ProjectStatusChangeEvent> result = new DefaultStateMachineContext(ProjectStatusEnum.getValue(contextObj.getStatus()), | StateMachineContext<ProjectStatusEnum, ProjectStatusChangeEvent> result = new DefaultStateMachineContext(ProjectStatusEnum.getValue(contextObj.getStatus()), | ||||
null, null, null, null, RegionContant.LS_YH_CODE); | |||||
null, null, null, null, RegionContant.LS_JN_CODE); | |||||
return result; | return result; | ||||
} | } | ||||
}); | }); | ||||
@@ -260,7 +260,7 @@ public class ProjectDeclareStateMachineJYBuilder implements ProjectDeclareStateM | |||||
@Override | @Override | ||||
public StateMachineContext<ProjectStatusEnum, ProjectStatusChangeEvent> read(Project contextObj) { | public StateMachineContext<ProjectStatusEnum, ProjectStatusChangeEvent> read(Project contextObj) { | ||||
StateMachineContext<ProjectStatusEnum, ProjectStatusChangeEvent> result = new DefaultStateMachineContext(ProjectStatusEnum.getValue(contextObj.getStatus()), | StateMachineContext<ProjectStatusEnum, ProjectStatusChangeEvent> result = new DefaultStateMachineContext(ProjectStatusEnum.getValue(contextObj.getStatus()), | ||||
null, null, null, null, RegionContant.LS_YH_CODE); | |||||
null, null, null, null, RegionContant.LS_JY_CODE); | |||||
return result; | return result; | ||||
} | } | ||||
}); | }); | ||||
@@ -260,7 +260,7 @@ public class ProjectDeclareStateMachineKFQBuilder implements ProjectDeclareState | |||||
@Override | @Override | ||||
public StateMachineContext<ProjectStatusEnum, ProjectStatusChangeEvent> read(Project contextObj) { | public StateMachineContext<ProjectStatusEnum, ProjectStatusChangeEvent> read(Project contextObj) { | ||||
StateMachineContext<ProjectStatusEnum, ProjectStatusChangeEvent> result = new DefaultStateMachineContext(ProjectStatusEnum.getValue(contextObj.getStatus()), | StateMachineContext<ProjectStatusEnum, ProjectStatusChangeEvent> result = new DefaultStateMachineContext(ProjectStatusEnum.getValue(contextObj.getStatus()), | ||||
null, null, null, null, RegionContant.LS_YH_CODE); | |||||
null, null, null, null, RegionContant.LS_KFQ_CODE); | |||||
return result; | return result; | ||||
} | } | ||||
}); | }); | ||||
@@ -260,7 +260,7 @@ public class ProjectDeclareStateMachineLDBuilder implements ProjectDeclareStateM | |||||
@Override | @Override | ||||
public StateMachineContext<ProjectStatusEnum, ProjectStatusChangeEvent> read(Project contextObj) { | public StateMachineContext<ProjectStatusEnum, ProjectStatusChangeEvent> read(Project contextObj) { | ||||
StateMachineContext<ProjectStatusEnum, ProjectStatusChangeEvent> result = new DefaultStateMachineContext(ProjectStatusEnum.getValue(contextObj.getStatus()), | StateMachineContext<ProjectStatusEnum, ProjectStatusChangeEvent> result = new DefaultStateMachineContext(ProjectStatusEnum.getValue(contextObj.getStatus()), | ||||
null, null, null, null, RegionContant.LS_YH_CODE); | |||||
null, null, null, null, RegionContant.LS_LD_CODE); | |||||
return result; | return result; | ||||
} | } | ||||
}); | }); | ||||
@@ -156,7 +156,7 @@ public class ProjectDeclareStateMachineLQBuilder implements ProjectDeclareStateM | |||||
.source(ProjectStatusEnum.PENDING_PREQUALIFICATION_CHOICE) | .source(ProjectStatusEnum.PENDING_PREQUALIFICATION_CHOICE) | ||||
.first(ProjectStatusEnum.JOINT_REVIEW_BY_PROVINCIAL_DEPARTMENTS,projectDeclareGuardFactory.new PendingPreQualificationChoiceGuard(),new ProjectDeclareChoiceAction()) | .first(ProjectStatusEnum.JOINT_REVIEW_BY_PROVINCIAL_DEPARTMENTS,projectDeclareGuardFactory.new PendingPreQualificationChoiceGuard(),new ProjectDeclareChoiceAction()) | ||||
.last(ProjectStatusEnum.PRE_APPLYING,new ProjectDeclareChoiceAction()).and() | .last(ProjectStatusEnum.PRE_APPLYING,new ProjectDeclareChoiceAction()).and() | ||||
// 部门联审通过,从部门联审中到年度计划中 | |||||
// 部门联审通过,从部门联审中到 | |||||
.withExternal() | .withExternal() | ||||
.source(ProjectStatusEnum.DEPARTMENT_JOINT_REVIEW) | .source(ProjectStatusEnum.DEPARTMENT_JOINT_REVIEW) | ||||
.target(ProjectStatusEnum.PLAN_TO_BE_DECLARED) | .target(ProjectStatusEnum.PLAN_TO_BE_DECLARED) | ||||
@@ -261,7 +261,7 @@ public class ProjectDeclareStateMachineLQBuilder implements ProjectDeclareStateM | |||||
@Override | @Override | ||||
public StateMachineContext<ProjectStatusEnum, ProjectStatusChangeEvent> read(Project contextObj) { | public StateMachineContext<ProjectStatusEnum, ProjectStatusChangeEvent> read(Project contextObj) { | ||||
StateMachineContext<ProjectStatusEnum, ProjectStatusChangeEvent> result = new DefaultStateMachineContext(ProjectStatusEnum.getValue(contextObj.getStatus()), | 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; | return result; | ||||
} | } | ||||
}); | }); | ||||
@@ -260,7 +260,7 @@ public class ProjectDeclareStateMachineQTBuilder implements ProjectDeclareStateM | |||||
@Override | @Override | ||||
public StateMachineContext<ProjectStatusEnum, ProjectStatusChangeEvent> read(Project contextObj) { | public StateMachineContext<ProjectStatusEnum, ProjectStatusChangeEvent> read(Project contextObj) { | ||||
StateMachineContext<ProjectStatusEnum, ProjectStatusChangeEvent> result = new DefaultStateMachineContext(ProjectStatusEnum.getValue(contextObj.getStatus()), | StateMachineContext<ProjectStatusEnum, ProjectStatusChangeEvent> result = new DefaultStateMachineContext(ProjectStatusEnum.getValue(contextObj.getStatus()), | ||||
null, null, null, null, RegionContant.LS_YH_CODE); | |||||
null, null, null, null, RegionContant.LS_QT_CODE); | |||||
return result; | return result; | ||||
} | } | ||||
}); | }); | ||||
@@ -260,7 +260,7 @@ public class ProjectDeclareStateMachineQYBuilder implements ProjectDeclareStateM | |||||
@Override | @Override | ||||
public StateMachineContext<ProjectStatusEnum, ProjectStatusChangeEvent> read(Project contextObj) { | public StateMachineContext<ProjectStatusEnum, ProjectStatusChangeEvent> read(Project contextObj) { | ||||
StateMachineContext<ProjectStatusEnum, ProjectStatusChangeEvent> result = new DefaultStateMachineContext(ProjectStatusEnum.getValue(contextObj.getStatus()), | StateMachineContext<ProjectStatusEnum, ProjectStatusChangeEvent> result = new DefaultStateMachineContext(ProjectStatusEnum.getValue(contextObj.getStatus()), | ||||
null, null, null, null, RegionContant.LS_YH_CODE); | |||||
null, null, null, null, RegionContant.LS_QY_CODE); | |||||
return result; | return result; | ||||
} | } | ||||
}); | }); | ||||
@@ -261,7 +261,7 @@ public class ProjectDeclareStateMachineSBJBuilder implements ProjectDeclareState | |||||
@Override | @Override | ||||
public StateMachineContext<ProjectStatusEnum, ProjectStatusChangeEvent> read(Project contextObj) { | public StateMachineContext<ProjectStatusEnum, ProjectStatusChangeEvent> read(Project contextObj) { | ||||
StateMachineContext<ProjectStatusEnum, ProjectStatusChangeEvent> result = new DefaultStateMachineContext(ProjectStatusEnum.getValue(contextObj.getStatus()), | StateMachineContext<ProjectStatusEnum, ProjectStatusChangeEvent> result = new DefaultStateMachineContext(ProjectStatusEnum.getValue(contextObj.getStatus()), | ||||
null, null, null, null, RegionContant.LS_YH_CODE); | |||||
null, null, null, null, RegionContant.LS_SBJ_CODE); | |||||
return result; | return result; | ||||
} | } | ||||
}); | }); | ||||
@@ -260,7 +260,7 @@ public class ProjectDeclareStateMachineSCBuilder implements ProjectDeclareStateM | |||||
@Override | @Override | ||||
public StateMachineContext<ProjectStatusEnum, ProjectStatusChangeEvent> read(Project contextObj) { | public StateMachineContext<ProjectStatusEnum, ProjectStatusChangeEvent> read(Project contextObj) { | ||||
StateMachineContext<ProjectStatusEnum, ProjectStatusChangeEvent> result = new DefaultStateMachineContext(ProjectStatusEnum.getValue(contextObj.getStatus()), | StateMachineContext<ProjectStatusEnum, ProjectStatusChangeEvent> result = new DefaultStateMachineContext(ProjectStatusEnum.getValue(contextObj.getStatus()), | ||||
null, null, null, null, RegionContant.LS_YH_CODE); | |||||
null, null, null, null, RegionContant.LS_SC_CODE); | |||||
return result; | return result; | ||||
} | } | ||||
}); | }); | ||||
@@ -260,7 +260,7 @@ public class ProjectDeclareStateMachineSYBuilder implements ProjectDeclareStateM | |||||
@Override | @Override | ||||
public StateMachineContext<ProjectStatusEnum, ProjectStatusChangeEvent> read(Project contextObj) { | public StateMachineContext<ProjectStatusEnum, ProjectStatusChangeEvent> read(Project contextObj) { | ||||
StateMachineContext<ProjectStatusEnum, ProjectStatusChangeEvent> result = new DefaultStateMachineContext(ProjectStatusEnum.getValue(contextObj.getStatus()), | StateMachineContext<ProjectStatusEnum, ProjectStatusChangeEvent> result = new DefaultStateMachineContext(ProjectStatusEnum.getValue(contextObj.getStatus()), | ||||
null, null, null, null, RegionContant.LS_YH_CODE); | |||||
null, null, null, null, RegionContant.LS_SY_CODE); | |||||
return result; | return result; | ||||
} | } | ||||
}); | }); | ||||