From 088cf2ee49b52c4951515c41552c58b695dc3c3d Mon Sep 17 00:00:00 2001 From: chen <1251790704@qq.com> Date: Wed, 7 Apr 2021 16:32:37 +0800 Subject: [PATCH] =?UTF-8?q?=E6=9B=B4=E6=96=B0=E4=BB=A3=E7=A0=81?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .../DgGuaranteeLetterAssignUserServiceImpl.java | 14 ++++++++++++++ 1 file changed, 14 insertions(+) diff --git a/dq-financial-guarantee/src/main/java/com/daqing/financial/guarantee/service/impl/DgGuaranteeLetterAssignUserServiceImpl.java b/dq-financial-guarantee/src/main/java/com/daqing/financial/guarantee/service/impl/DgGuaranteeLetterAssignUserServiceImpl.java index a90aebaa..67230499 100644 --- a/dq-financial-guarantee/src/main/java/com/daqing/financial/guarantee/service/impl/DgGuaranteeLetterAssignUserServiceImpl.java +++ b/dq-financial-guarantee/src/main/java/com/daqing/financial/guarantee/service/impl/DgGuaranteeLetterAssignUserServiceImpl.java @@ -374,6 +374,20 @@ public class DgGuaranteeLetterAssignUserServiceImpl extends ServiceImpl paymentConfirmationConsiderFG = new QueryWrapper<>(); + paymentConfirmationConsiderFG.eq("business_id",businessId).eq("role_id",PromptSuccess.FG_JL_ID); + DgPaymentConfirmationConsider paymentConfirmationConsiderFg = paymentConfirmationConsiderMapper.selectOne(paymentConfirmationConsiderFG); + //数据存在,进行更新 + if (ObjectUtil.isNotNull(paymentConfirmationConsiderFg)){ + paymentConfirmationConsiderFg.setStatus(StatusCode.SP_IN_REVIEW); + paymentConfirmationConsiderFg.setOperatingStatus(StatusCode.CZ_PROCESSED); + //清空上次的审批意见及银行回单 + paymentConfirmationConsiderFg.setAuditOpinion(""); + paymentConfirmationConsiderFg.setImgFile(""); + paymentConfirmationConsiderMapper.updateById(paymentConfirmationConsiderFg); + } //更新成功,返回操作结果 log.info(insert > 0 ? "资产部经理成功添加回款数据" : "资产部经理添加回款数据失败"); return insert > 0;