REQ-3982: fix bugs
This commit is contained in:
parent
a1950b0261
commit
9f1bccabb2
@ -162,6 +162,7 @@ import static cn.axzo.nanopart.visa.api.constant.VisaConstant.MSG_CENTER_APP_COD
|
||||
import static cn.axzo.nanopart.visa.api.constant.VisaConstant.WORKFLOW_PENDING_INITIATOR_NAME;
|
||||
import static cn.axzo.nanopart.visa.api.constant.VisaConstant.WORKFLOW_PENDING_TOPIC;
|
||||
import static cn.axzo.nanopart.visa.api.constant.VisaConstant.WORKFLOW_VAR_VISA_TYPE_KEY;
|
||||
import static cn.axzo.nanopart.visa.api.request.UpdateVisaChangeReq.VisaStampAction.ALL_PROCESS_REJECTED;
|
||||
import static cn.axzo.nanopart.visa.api.request.UpdateVisaChangeReq.VisaStampAction.AUTO_COMPLETE;
|
||||
import static cn.axzo.nanopart.visa.api.request.UpdateVisaChangeReq.VisaStampAction.CANCEL;
|
||||
import static cn.axzo.nanopart.visa.api.request.UpdateVisaChangeReq.VisaStampAction.COMPLETE;
|
||||
@ -2008,7 +2009,8 @@ public class ChangeRecordServiceImpl extends ServiceImpl<ChangeRecordDao, Change
|
||||
}
|
||||
|
||||
// 取消用印默认把合同id清空掉,后续如果有多种case,可以默认就清空,使用流程编排重构进行扩展
|
||||
if (Objects.equals(req.getVisaStampAction(), CANCEL) || Objects.equals(req.getVisaStampAction(), TX_CANCEL)) {
|
||||
if (Objects.equals(req.getVisaStampAction(), CANCEL) || Objects.equals(req.getVisaStampAction(), TX_CANCEL)
|
||||
|| Objects.equals(req.getVisaStampAction(), ALL_PROCESS_REJECTED)) {
|
||||
if (req.getPhase() == VisaProcessPhase.PROJECT)
|
||||
result.setContractId("");
|
||||
else
|
||||
|
||||
Loading…
Reference in New Issue
Block a user