|
|
@@ -109,10 +109,10 @@ public class ProjectDeclareLQAction { |
|
|
|
} |
|
|
|
|
|
|
|
|
|
|
|
@OnTransition(source = "DEPARTMENT_JOINT_REVIEW", target = "IN_THE_ANNUAL_PLAN") |
|
|
|
@OnTransition(source = "DEPARTMENT_JOINT_REVIEW", target = "PLAN_TO_BE_DECLARED") |
|
|
|
public void DEPARTMENT_UNITED_REVIEW_PASS(Message<ProjectStatusChangeEvent> message) { |
|
|
|
Project project = (Project) message.getHeaders().get(PROJECT_DECLARE); |
|
|
|
project.setStatus(ProjectStatusEnum.IN_THE_ANNUAL_PLAN.getCode()); |
|
|
|
project.setStatus(ProjectStatusEnum.PLAN_TO_BE_DECLARED.getCode()); |
|
|
|
} |
|
|
|
|
|
|
|
@OnTransition(source = "DEPARTMENT_JOINT_REVIEW", target = "DEPARTMENT_JOINT_REVIEW_FAILED") |
|
|
@@ -128,10 +128,10 @@ public class ProjectDeclareLQAction { |
|
|
|
} |
|
|
|
|
|
|
|
|
|
|
|
@OnTransition(source = "IN_THE_ANNUAL_PLAN", target = "PLAN_TO_BE_DECLARED") |
|
|
|
@OnTransition(source = "IN_THE_ANNUAL_PLAN", target = "TO_BE_APPROVED") |
|
|
|
public void ANNUAL_PLAN_PROJECT_OPEN_PLAN_DECLARE(Message<ProjectStatusChangeEvent> message) { |
|
|
|
Project project = (Project) message.getHeaders().get(PROJECT_DECLARE); |
|
|
|
project.setStatus(ProjectStatusEnum.PLAN_TO_BE_DECLARED.getCode()); |
|
|
|
project.setStatus(ProjectStatusEnum.TO_BE_APPROVED.getCode()); |
|
|
|
} |
|
|
|
|
|
|
|
@OnTransition(source = "IN_THE_ANNUAL_PLAN", target = "BE_SUSPENDED") |
|
|
@@ -165,10 +165,10 @@ public class ProjectDeclareLQAction { |
|
|
|
project.setStatus(ProjectStatusEnum.SCHEME_UNDER_REVIEW.getCode()); |
|
|
|
} |
|
|
|
|
|
|
|
@OnTransition(source = "SCHEME_UNDER_REVIEW", target = "TO_BE_APPROVED") |
|
|
|
@OnTransition(source = "SCHEME_UNDER_REVIEW", target = "IN_THE_ANNUAL_PLAN") |
|
|
|
public void PLAN_REVIEW_PASS(Message<ProjectStatusChangeEvent> message) { |
|
|
|
Project project = (Project) message.getHeaders().get(PROJECT_DECLARE); |
|
|
|
project.setStatus(ProjectStatusEnum.TO_BE_APPROVED.getCode()); |
|
|
|
project.setStatus(ProjectStatusEnum.IN_THE_ANNUAL_PLAN.getCode()); |
|
|
|
} |
|
|
|
|
|
|
|
@OnTransition(source = "SCHEME_UNDER_REVIEW", target = "SCHEME_REVIEW_FAILED") |
|
|
|