Commit 0004d1ae by HlQ

[fix] 合同付款比例bug修改

1 parent d55512b0
......@@ -402,7 +402,7 @@ public class ContractRunner {
// 维保进度款
ContractPayment maintainProgressPayment = new ContractPayment();
maintainProgressPayment.setId(contractId2PaymentMap.getOrDefault(contract.getId(), new HashMap<>()).get(7));
maintainProgressPayment.setId(contractId2PaymentMap.getOrDefault(contract.getId(), new HashMap<>()).get(9));
maintainProgressPayment.setContractId(contract.getId());
maintainProgressPayment.setPaymentType(9);
maintainProgressPayment.setPaymentRatio(Opt.ofNullable(contract.getMaintainProgressRatio()).orElse(BigDecimal.ZERO));
......@@ -411,7 +411,7 @@ public class ContractRunner {
// 维保验收款
ContractPayment maintainAcceptancePayment = new ContractPayment();
maintainAcceptancePayment.setId(contractId2PaymentMap.getOrDefault(contract.getId(), new HashMap<>()).get(8));
maintainAcceptancePayment.setId(contractId2PaymentMap.getOrDefault(contract.getId(), new HashMap<>()).get(10));
maintainAcceptancePayment.setContractId(contract.getId());
maintainAcceptancePayment.setPaymentType(10);
maintainAcceptancePayment.setPaymentRatio(Opt.ofNullable(contract.getMaintainAcceptanceRatio()).orElse(BigDecimal.ZERO));
......
Markdown is supported
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!