|
|
@@ -260,9 +260,15 @@ public class ProjectDeclareSBJAction { |
|
|
|
project.setStatus(ProjectStatusEnum.FINAL_ACCEPTANCE_REVIEW_FAILED.getCode()); |
|
|
|
} |
|
|
|
|
|
|
|
@OnTransition(source = "FINAL_ACCEPTANCE_IS_UNDER_REVIEW", target = "FINAL_ACCEPTANCE_IS_UNDER_REVIEW") |
|
|
|
@OnTransition(source = "FINAL_ACCEPTANCE_IS_UNDER_REVIEW", target = "TO_BE_FINALLY_INSPECTED") |
|
|
|
public void FINAL_ACCEPTANCE_IS_UNDER_REVIEW_WITHDRAW(Message<ProjectStatusChangeEvent> message) { |
|
|
|
Project project = (Project) message.getHeaders().get(PROJECT_DECLARE); |
|
|
|
project.setStatus(ProjectStatusEnum.TO_BE_FINALLY_INSPECTED.getCode()); |
|
|
|
} |
|
|
|
|
|
|
|
@OnTransition(source = "FINAL_ACCEPTANCE_REVIEW_FAILED", target = "FINAL_ACCEPTANCE_IS_UNDER_REVIEW") |
|
|
|
public void FINAL_RE_ACCEPTANCE_APPLICATION(Message<ProjectStatusChangeEvent> message) { |
|
|
|
Project project = (Project) message.getHeaders().get(PROJECT_DECLARE); |
|
|
|
project.setStatus(ProjectStatusEnum.FINAL_ACCEPTANCE_IS_UNDER_REVIEW.getCode()); |
|
|
|
} |
|
|
|
} |