From a5cd75200572e360e91daf22e0f8c3699dd77417 Mon Sep 17 00:00:00 2001 From: wuweihua <88888888> Date: Mon, 16 Nov 2026 11:01:20 +0800 Subject: [PATCH] =?UTF-8?q?=E7=A7=BB=E9=99=A4=E8=AE=A1=E8=B4=B9=E7=BB=93?= =?UTF-8?q?=E6=9E=9C=E4=B8=AD=E7=9A=84=E5=BA=94=E4=BB=98=E8=B4=B9=E7=94=A8?= =?UTF-8?q?=E6=9F=A5=E8=AF=A2?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .../service/impl/PrcOrderBillServiceImpl.java | 15 ++++++--------- 1 file changed, 6 insertions(+), 9 deletions(-) diff --git a/bms-back/bms-system/src/main/java/com/bms/price/service/impl/PrcOrderBillServiceImpl.java b/bms-back/bms-system/src/main/java/com/bms/price/service/impl/PrcOrderBillServiceImpl.java index e47281e4..50e770ec 100644 --- a/bms-back/bms-system/src/main/java/com/bms/price/service/impl/PrcOrderBillServiceImpl.java +++ b/bms-back/bms-system/src/main/java/com/bms/price/service/impl/PrcOrderBillServiceImpl.java @@ -467,8 +467,8 @@ public class PrcOrderBillServiceImpl implements IPrcOrderBillService throw new ServiceException(MessageUtils.message("price.bill.notFound")); } PrcOrderBill bill = list.get(0); - return toResult(bill, incomeBillFeeMapper.selectByBillId(bill.getBillId()), - payBillFeeMapper.selectByBillId(bill.getBillId() == null ? null : String.valueOf(bill.getBillId()))); + // 应付暂不在范围内:组装计费结果时不查 prc_pay_bill_fee + return toResult(bill, incomeBillFeeMapper.selectByBillId(bill.getBillId()), null); } @@ -696,8 +696,7 @@ public class PrcOrderBillServiceImpl implements IPrcOrderBillService { throw new ServiceException(MessageUtils.message("price.bill.notFound")); } - return toResult(bill, incomeBillFeeMapper.selectByBillId(bill.getBillId()), - payBillFeeMapper.selectByBillId(bill.getBillId() == null ? null : String.valueOf(bill.getBillId()))); + return toResult(bill, incomeBillFeeMapper.selectByBillId(bill.getBillId()), null); } @Override @@ -1706,7 +1705,7 @@ public class PrcOrderBillServiceImpl implements IPrcOrderBillService bill.setRefundStatus(refundStatus); orderBillMapper.updatePrcOrderBill(bill); orderBillMapper.refreshArBillStatusByBillIds(Arrays.asList(bill.getBillId())); - return toResult(bill, fees, payBillFeeMapper.selectByBillId(bill.getBillId() == null ? null : String.valueOf(bill.getBillId()))); + return toResult(bill, fees, null); } private static String resolveRefundStatus(List fees) @@ -1882,8 +1881,7 @@ public class PrcOrderBillServiceImpl implements IPrcOrderBillService orderBillMapper.updateCreditArrearsStatus(bill.getBillId(), normal, operator); bill.setCreditArrearsStatus(normal); saveManualArrearsUpdateEsLog(bill, true, null); - return toResult(bill, incomeBillFeeMapper.selectByBillId(bill.getBillId()), - payBillFeeMapper.selectByBillId(bill.getBillId() == null ? null : String.valueOf(bill.getBillId()))); + return toResult(bill, incomeBillFeeMapper.selectByBillId(bill.getBillId()), null); } private void saveManualArrearsUpdateEsLog(PrcOrderBill bill, boolean success, String errorMessage) @@ -3078,8 +3076,7 @@ public class PrcOrderBillServiceImpl implements IPrcOrderBillService { throw new ServiceException(MessageUtils.message("price.bill.notFound")); } - return toResult(bill, incomeBillFeeMapper.selectByBillId(bill.getBillId()), - payBillFeeMapper.selectByBillId(bill.getBillId() == null ? null : String.valueOf(bill.getBillId()))); + return toResult(bill, incomeBillFeeMapper.selectByBillId(bill.getBillId()), null); } /** 存在上游 Oracle 行 => 同步/计费路径会同时覆盖 weight 与 charge_weight。 */