|
|
@ -424,12 +424,27 @@ public class DgGuaranteeLetterAssignUserServiceImpl extends ServiceImpl<DgGuaran |
|
|
|
dgGuaranteeLetterAssignUserB.setStatus(StatusCode.SP_REVIEWED); |
|
|
|
dgGuaranteeLetterAssignUserB.setStatus(StatusCode.SP_REVIEWED); |
|
|
|
baseMapper.updateById(dgGuaranteeLetterAssignUserB); |
|
|
|
baseMapper.updateById(dgGuaranteeLetterAssignUserB); |
|
|
|
|
|
|
|
|
|
|
|
//更新财务部经理的回款数据
|
|
|
|
//更新财务部经理财务回款数据
|
|
|
|
QueryWrapper<DgPaymentConfirmationConsider> paymentConfirmationConsiderQueryWrapper = new QueryWrapper<>(); |
|
|
|
QueryWrapper<DgPaymentConfirmationConsider> paymentConfirmationConsiderQueryWrapper = new QueryWrapper<>(); |
|
|
|
paymentConfirmationConsiderQueryWrapper.eq("business_id",businessId).eq("role_id",PromptSuccess.CWB_ID); |
|
|
|
paymentConfirmationConsiderQueryWrapper.eq("business_id",businessId).eq("role_id",PromptSuccess.CWB_ID); |
|
|
|
DgPaymentConfirmationConsider paymentConfirmationConsider = paymentConfirmationConsiderMapper.selectOne(paymentConfirmationConsiderQueryWrapper); |
|
|
|
DgPaymentConfirmationConsider paymentConfirmationConsider = paymentConfirmationConsiderMapper.selectOne(paymentConfirmationConsiderQueryWrapper); |
|
|
|
paymentConfirmationConsider.setStatus(StatusCode.SP_IN_REVIEW); |
|
|
|
paymentConfirmationConsider.setStatus(StatusCode.SP_IN_REVIEW); |
|
|
|
paymentConfirmationConsider.setOperatingStatus(StatusCode.CZ_ON_HAND); |
|
|
|
paymentConfirmationConsider.setOperatingStatus(StatusCode.CZ_ON_HAND); |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
//法规部数据存在,更新法规部经理财务回款数据
|
|
|
|
|
|
|
|
QueryWrapper<DgPaymentConfirmationConsider> 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_ON_HAND); |
|
|
|
|
|
|
|
//清空上次的审批意见及银行回单
|
|
|
|
|
|
|
|
paymentConfirmationConsiderFg.setAuditOpinion(""); |
|
|
|
|
|
|
|
paymentConfirmationConsiderFg.setImgFile(""); |
|
|
|
|
|
|
|
paymentConfirmationConsiderMapper.updateById(paymentConfirmationConsiderFg); |
|
|
|
|
|
|
|
} |
|
|
|
|
|
|
|
|
|
|
|
//清空上次的审批意见及银行回单
|
|
|
|
//清空上次的审批意见及银行回单
|
|
|
|
paymentConfirmationConsider.setAuditOpinion(""); |
|
|
|
paymentConfirmationConsider.setAuditOpinion(""); |
|
|
|
paymentConfirmationConsider.setImgFile(""); |
|
|
|
paymentConfirmationConsider.setImgFile(""); |
|
|
|