Browse Source

信创符合性申请审批修改

tags/24080901
WendyYang 7 months ago
parent
commit
1468edf465
2 changed files with 3 additions and 3 deletions
  1. +2
    -2
      hz-pm-api/src/main/java/com/hz/pm/api/common/statemachine/util/XcfhxStateMachineUtil.java
  2. +1
    -1
      hz-pm-api/src/main/java/com/hz/pm/api/todocenter/manage/HandlerManage.java

+ 2
- 2
hz-pm-api/src/main/java/com/hz/pm/api/common/statemachine/util/XcfhxStateMachineUtil.java View File

@@ -45,7 +45,7 @@ public class XcfhxStateMachineUtil implements AbstractStateMachineUtil<Purchase,


@Override @Override
public void execute(Purchase purchase, XcfhxStateChangeEvent event) throws Exception { public void execute(Purchase purchase, XcfhxStateChangeEvent event) throws Exception {
log.info("调用状态机前的标段状态为:{}", purchase.getStatus());
log.info("调用状态机前的标段状态为:{}", purchase.getXcfhxApplyStatus());
// 获取TO状态机 // 获取TO状态机
PurchaseStatusChange change = new PurchaseStatusChange(); PurchaseStatusChange change = new PurchaseStatusChange();
change.setBeforeStatus(purchase.getXcfhxApplyStatus()); change.setBeforeStatus(purchase.getXcfhxApplyStatus());
@@ -64,7 +64,7 @@ public class XcfhxStateMachineUtil implements AbstractStateMachineUtil<Purchase,
stateMachine.sendEvent(message); stateMachine.sendEvent(message);
change.setAfterStatus(purchase.getXcfhxApplyStatus()); change.setAfterStatus(purchase.getXcfhxApplyStatus());
purchaseStatusChangeService.save(change); purchaseStatusChangeService.save(change);
log.info("调用状态机后的标段状态为:{}", purchase.getStatus());
log.info("调用状态机后的标段状态为:{}", purchase.getXcfhxApplyStatus());
} }


} }

+ 1
- 1
hz-pm-api/src/main/java/com/hz/pm/api/todocenter/manage/HandlerManage.java View File

@@ -406,10 +406,10 @@ public class HandlerManage {
case APPLY_BORROW: case APPLY_BORROW:
case APPLY_DELAY: case APPLY_DELAY:
break; break;
case XCFHX_APPLY:
case PROJECT_FINAL_INSPECTION: case PROJECT_FINAL_INSPECTION:
purchaseRejectedCallback(project, instanceId); purchaseRejectedCallback(project, instanceId);
break; break;
case XCFHX_APPLY:
case TEST_VALID: case TEST_VALID:
case SELF_TEST: case SELF_TEST:
case ADAPTION: case ADAPTION:


Loading…
Cancel
Save