|
|
|
@ -13,6 +13,7 @@ import com.daqing.financial.guarantee.mapper.DgPaymentConfirmationConsiderMapper |
|
|
|
|
import com.daqing.financial.guarantee.model.request.GuaranteeLetterQueryRequest; |
|
|
|
|
import com.daqing.financial.guarantee.model.request.GuaranteeLetterUpdateStatusRequest; |
|
|
|
|
import com.daqing.financial.guarantee.model.response.GuaranteeLetterListResponse; |
|
|
|
|
import com.daqing.financial.guarantee.service.IDgCopyForService; |
|
|
|
|
import com.daqing.financial.guarantee.service.IDgGuaranteeLetterAssignUserService; |
|
|
|
|
import com.daqing.financial.guarantee.util.AuditProcessUtil; |
|
|
|
|
import com.daqing.financial.guarantee.util.OrdinaryUtil; |
|
|
|
@ -60,6 +61,9 @@ public class DgGuaranteeLetterAssignUserServiceImpl extends ServiceImpl<DgGuaran |
|
|
|
|
@Autowired |
|
|
|
|
private DgGuaranteeAssignUserMapper guaranteeAssignUserMapper; |
|
|
|
|
|
|
|
|
|
@Autowired |
|
|
|
|
private IDgCopyForService copyForService; |
|
|
|
|
|
|
|
|
|
@Override |
|
|
|
|
public GuaranteeLetterListResponse selectGuaranteeLetter(String businessId,String roleId) { |
|
|
|
|
GuaranteeLetterListResponse response = baseMapper.selectGuaranteeLetter(businessId,roleId); |
|
|
|
@ -388,6 +392,12 @@ public class DgGuaranteeLetterAssignUserServiceImpl extends ServiceImpl<DgGuaran |
|
|
|
|
paymentConfirmationConsiderFg.setImgFile(""); |
|
|
|
|
paymentConfirmationConsiderMapper.updateById(paymentConfirmationConsiderFg); |
|
|
|
|
} |
|
|
|
|
//添加抄送数据
|
|
|
|
|
try { |
|
|
|
|
copyForService.copySendUser(businessId,8,null); |
|
|
|
|
} catch (IOException e) { |
|
|
|
|
e.printStackTrace(); |
|
|
|
|
} |
|
|
|
|
//更新成功,返回操作结果
|
|
|
|
|
log.info(insert > 0 ? "资产部经理成功添加回款数据" : "资产部经理添加回款数据失败"); |
|
|
|
|
return insert > 0; |
|
|
|
@ -463,6 +473,12 @@ public class DgGuaranteeLetterAssignUserServiceImpl extends ServiceImpl<DgGuaran |
|
|
|
|
paymentConfirmationConsider.setAuditOpinion(""); |
|
|
|
|
paymentConfirmationConsider.setImgFile(""); |
|
|
|
|
int update = paymentConfirmationConsiderMapper.updateById(paymentConfirmationConsider); |
|
|
|
|
//添加抄送数据
|
|
|
|
|
try { |
|
|
|
|
copyForService.copySendUser(businessId,8,null); |
|
|
|
|
} catch (IOException e) { |
|
|
|
|
e.printStackTrace(); |
|
|
|
|
} |
|
|
|
|
//更新成功,返回操作结果
|
|
|
|
|
log.info(update > 0 ? "资产部经理成功添加回款数据" : "资产部经理添加回款数据失败"); |
|
|
|
|
return update > 0; |
|
|
|
|