|
|
@ -1,6 +1,7 @@ |
|
|
|
package com.daqing.financial.guarantee.service.impl; |
|
|
|
package com.daqing.financial.guarantee.service.impl; |
|
|
|
|
|
|
|
|
|
|
|
import com.baomidou.mybatisplus.core.conditions.query.QueryWrapper; |
|
|
|
import com.baomidou.mybatisplus.core.conditions.query.QueryWrapper; |
|
|
|
|
|
|
|
import com.baomidou.mybatisplus.core.conditions.update.UpdateWrapper; |
|
|
|
import com.baomidou.mybatisplus.core.metadata.IPage; |
|
|
|
import com.baomidou.mybatisplus.core.metadata.IPage; |
|
|
|
import com.baomidou.mybatisplus.extension.plugins.pagination.Page; |
|
|
|
import com.baomidou.mybatisplus.extension.plugins.pagination.Page; |
|
|
|
import com.daqing.financial.guarantee.controller.DgApplyAmountInfoController; |
|
|
|
import com.daqing.financial.guarantee.controller.DgApplyAmountInfoController; |
|
|
@ -269,7 +270,7 @@ public class DgPaymentConfirmationConsiderServiceImpl extends ServiceImpl<DgPaym |
|
|
|
if (update > 0){ |
|
|
|
if (update > 0){ |
|
|
|
QueryWrapper<DgPaymentConfirmationConsider> queryWrapperCwb = new QueryWrapper<>(); |
|
|
|
QueryWrapper<DgPaymentConfirmationConsider> queryWrapperCwb = new QueryWrapper<>(); |
|
|
|
queryWrapperCwb.eq("business_id",businessId).eq("role_id", PromptSuccess.CWB_ID); |
|
|
|
queryWrapperCwb.eq("business_id",businessId).eq("role_id", PromptSuccess.CWB_ID); |
|
|
|
DgPaymentConfirmationConsider paymentConfirmationConsiderCwb = baseMapper.selectOne(queryWrapper); |
|
|
|
DgPaymentConfirmationConsider paymentConfirmationConsiderCwb = baseMapper.selectOne(queryWrapperCwb); |
|
|
|
paymentConfirmationConsiderCwb.setStatus(StatusCode.SP_REVIEWED); |
|
|
|
paymentConfirmationConsiderCwb.setStatus(StatusCode.SP_REVIEWED); |
|
|
|
baseMapper.updateById(paymentConfirmationConsiderCwb); |
|
|
|
baseMapper.updateById(paymentConfirmationConsiderCwb); |
|
|
|
|
|
|
|
|
|
|
@ -301,7 +302,7 @@ public class DgPaymentConfirmationConsiderServiceImpl extends ServiceImpl<DgPaym |
|
|
|
if (update > 0){ |
|
|
|
if (update > 0){ |
|
|
|
QueryWrapper<DgPaymentConfirmationConsider> queryWrapperCwb = new QueryWrapper<>(); |
|
|
|
QueryWrapper<DgPaymentConfirmationConsider> queryWrapperCwb = new QueryWrapper<>(); |
|
|
|
queryWrapperCwb.eq("business_id",businessId).eq("role_id", PromptSuccess.CWB_ID); |
|
|
|
queryWrapperCwb.eq("business_id",businessId).eq("role_id", PromptSuccess.CWB_ID); |
|
|
|
DgPaymentConfirmationConsider paymentConfirmationConsiderCwb = baseMapper.selectOne(queryWrapper); |
|
|
|
DgPaymentConfirmationConsider paymentConfirmationConsiderCwb = baseMapper.selectOne(queryWrapperCwb); |
|
|
|
paymentConfirmationConsiderCwb.setStatus(StatusCode.SP_REVIEWED); |
|
|
|
paymentConfirmationConsiderCwb.setStatus(StatusCode.SP_REVIEWED); |
|
|
|
baseMapper.updateById(paymentConfirmationConsiderCwb); |
|
|
|
baseMapper.updateById(paymentConfirmationConsiderCwb); |
|
|
|
|
|
|
|
|
|
|
|