From c2465368b62f9b29640f7c59e317c4ef00bdbb89 Mon Sep 17 00:00:00 2001 From: guohb Date: Wed, 10 Apr 2024 16:48:01 +0800 Subject: [PATCH] initiating --- .../cool/store/service/impl/IntentAgreementServiceImpl.java | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/coolstore-partner-service/src/main/java/com/cool/store/service/impl/IntentAgreementServiceImpl.java b/coolstore-partner-service/src/main/java/com/cool/store/service/impl/IntentAgreementServiceImpl.java index 0c49dd619..5dca7a4db 100644 --- a/coolstore-partner-service/src/main/java/com/cool/store/service/impl/IntentAgreementServiceImpl.java +++ b/coolstore-partner-service/src/main/java/com/cool/store/service/impl/IntentAgreementServiceImpl.java @@ -190,11 +190,11 @@ public class IntentAgreementServiceImpl extends LineFlowService implements Inten LineInfoDO lineInfoDO = lineInfoMapper.getByLineId(request.getLineId()); initiatingDO.setKdzBusinessId(lineInfoDO.getId() + "_" + lineInfoDO.getWorkflowSubStageStatus()); InitiatingResponse initiatingResponse = httpRestTemplateService.postForObject(url, initiatingDO, InitiatingResponse.class); - lineInfoDO.setWorkflowSubStageStatus(WorkflowSubStageStatusEnum.SIGN_INTENT_AGREEMENT_75.getCode()); - lineInfoMapper.updateByPrimaryKeySelective(lineInfoDO); if (initiatingResponse.getCode() != 0){ return new ResponseResult(500,initiatingResponse.getMsg(),initiatingResponse.getData()); }else { + lineInfoDO.setWorkflowSubStageStatus(WorkflowSubStageStatusEnum.SIGN_INTENT_AGREEMENT_75.getCode()); + lineInfoMapper.updateByPrimaryKeySelective(lineInfoDO); return new ResponseResult(200000,initiatingResponse.getMsg(),initiatingResponse.getData()); } }