From 08bb1241da2c8f4651f6637f912556ff44605bb4 Mon Sep 17 00:00:00 2001 From: ligaode Date: Thu, 27 Mar 2025 17:34:11 +0800 Subject: [PATCH] =?UTF-8?q?=E6=9B=B4=E6=94=B9?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .../FinPaymentapplyService.java | 31 +++++++++++++++++++ 1 file changed, 31 insertions(+) diff --git a/anrui-fin/anrui-fin-biz/src/main/java/com/yxt/anrui/fin/biz/finpaymentapply/FinPaymentapplyService.java b/anrui-fin/anrui-fin-biz/src/main/java/com/yxt/anrui/fin/biz/finpaymentapply/FinPaymentapplyService.java index b3dc683a2f..e7a6700a91 100644 --- a/anrui-fin/anrui-fin-biz/src/main/java/com/yxt/anrui/fin/biz/finpaymentapply/FinPaymentapplyService.java +++ b/anrui-fin/anrui-fin-biz/src/main/java/com/yxt/anrui/fin/biz/finpaymentapply/FinPaymentapplyService.java @@ -731,6 +731,37 @@ public class FinPaymentapplyService extends MybatisBaseService finPaymentapplyDetailsBelowEveList = finPaymentapplyDetailsBelowDetailsVo.getFinPaymentapplyDetailsBelowEveList(); + for (FinPaymentapplyDetailsBelowEveDetailsVo finPaymentapplyDetailsBelowEveDetailsVo : finPaymentapplyDetailsBelowEveList) { + finPaymentrecordDto.setFinDataType(1); + //款项名称 + finPaymentrecordDto.setCostTypeKey(""); + finPaymentrecordDto.setCostTypeValue(finPaymentapplyDetailsBelowEveDetailsVo.getCostTitleValue()); + //款项详情 + finPaymentrecordDto.setCostTitleKey(""); + finPaymentrecordDto.setCostTitleValue(finPaymentapplyDetailsBelowEveDetailsVo.getCostTitleValue()); + //付款方式 + finPaymentrecordDto.setPayWayKey(finPaymentapplyDetailsBelowDetailsVo.getPaymentTypeKey()); + finPaymentrecordDto.setPayWayValue(finPaymentapplyDetailsBelowDetailsVo.getPaymentType()); + //是否推送回款返利 + finPaymentrecordDto.setIsPushHkfl(0); + finPaymentrecordDto.setBusSid(finPaymentapplyDetailsBelowEveDetailsVo.getSid()); + //收款银行账号 + finPaymentrecordDto.setReceiveBankAccount(finPaymentapplyDetailsBelowEveDetailsVo.getReceivingAccount()); + finPaymentrecordDto.setReceiveBank(finPaymentapplyDetailsBelowEveDetailsVo.getBank()); + //收款单位名称 + finPaymentrecordDto.setReceiveCompany(finPaymentapplyDetailsBelowEveDetailsVo.getReceiveCompany()); + //金额 + if (finPaymentapplyDetailsBelowEveDetailsVo.getExePayPrice() != null) { + finPaymentrecordDto.setCost(finPaymentapplyDetailsBelowEveDetailsVo.getExePayPrice().toString()); + finPaymentrecordDto.setAccountsReceive(finPaymentapplyDetailsBelowEveDetailsVo.getExePayPrice().toString()); + } + //备注 + finPaymentrecordDto.setRemarks(finPaymentrecordDto.getCostTypeValue() + finPaymentrecordDto.getCostTitleValue()); + //本次付款说明 + finPaymentrecordDto.setPayRemark(finPaymentapply.getPayCompany() + "/" + finPaymentapplyDetailsBelowEveDetailsVo.getRemarks()); + finPaymentrecordService.saveDto(finPaymentrecordDto); + } } } }