Переглянути джерело

modify:

1. 单位确认修改;
tags/24082201
WendyYang 4 місяці тому
джерело
коміт
567e3659f9
2 змінених файлів з 13 додано та 1 видалено
  1. +1
    -0
      hz-pm-api/src/main/java/com/hz/pm/api/common/statemachine/action/SelfTestStateChangeAction.java
  2. +12
    -1
      hz-pm-api/src/main/java/com/hz/pm/api/common/statemachine/action/TenderStateChangeAction.java

+ 1
- 0
hz-pm-api/src/main/java/com/hz/pm/api/common/statemachine/action/SelfTestStateChangeAction.java Переглянути файл

@@ -41,6 +41,7 @@ public class SelfTestStateChangeAction {
public void SELF_TEST_INFO_PASSED(Message<SelfTestStateChangeEvent> message) {
Purchase purchase = getPurchaseInfo(message);
purchase.setStatus(TenderTestValidStatus.WITHOUT_TEST_VALID_INFO.getCode());
purchase.setTestValidStatus(TenderTestValidStatus.WITHOUT_TEST_VALID_INFO.getCode());
purchase.setSelfTestStatus(TenderSelfTestStatus.SELF_TEST_INFO_PASSED.getCode());
}



+ 12
- 1
hz-pm-api/src/main/java/com/hz/pm/api/common/statemachine/action/TenderStateChangeAction.java Переглянути файл

@@ -48,7 +48,18 @@ public class TenderStateChangeAction {
* @param message \
*/
@OnTransition(source = "TO_BE_SUBMIT_PURCHASE_CONSTRUCTION_INFO", target = "TO_BE_SUBMIT_FIRST_INSPECTED_INFO")
public void SUBMIT_PURCHASE_CONSTRUCTION_INFO2(Message<TenderStateChangeEvent> message) {
public void SUBMIT_PURCHASE_CONSTRUCTION_INFO_SKIP_TO_FINAL_INSPECT(Message<TenderStateChangeEvent> message) {
Purchase purchase = getPurchaseInfo(message);
purchase.setStatus(TenderStatus.TO_BE_SUBMIT_FIRST_INSPECTED_INFO.getCode());
}

/**
* 提交单位确认
*
* @param message \
*/
@OnTransition(source = "WAIT_ORG_CONFIRM", target = "TO_BE_SUBMIT_FIRST_INSPECTED_INFO")
public void SUBMIT_PURCHASE_ORG_CONFIRM(Message<TenderStateChangeEvent> message) {
Purchase purchase = getPurchaseInfo(message);
purchase.setStatus(TenderStatus.TO_BE_SUBMIT_FIRST_INSPECTED_INFO.getCode());
}


Завантаження…
Відмінити
Зберегти