update 设置实收金额字段

This commit is contained in:
Lemon
2025-05-16 14:08:48 +08:00
parent ebdfbc51fd
commit 2dd90e0938
4 changed files with 9 additions and 0 deletions

View File

@@ -881,6 +881,7 @@ public class TempService {
newSettleAmount = BigDecimal.ZERO;
}
orderBasicInfo.setSettleAmount(newSettleAmount);
orderBasicInfo.setActualReceivedAmount(newSettleAmount);
// 优惠后总消费金额 = 折扣后电费 + 折扣后服务费
BigDecimal totalConsumeAmount = afterDiscountServiceAmount.add(afterDiscountElectricityAmount);