bugfix 初始化充电金额

This commit is contained in:
Lemon
2025-09-10 13:45:40 +08:00
parent 012e375300
commit dc36a9b4e2

View File

@@ -1208,7 +1208,8 @@ public class OrderService {
}
}, executor);
BigDecimal chargeAmount = BigDecimal.ZERO;
// 初始化充电金额
BigDecimal chargeAmount = amount;
OrderBasicInfo orderBasicInfo = orderBasicInfoService.getOrderInfoByOrderCode(orderCode);
BigDecimal insuranceAmount = orderBasicInfo.getInsuranceAmount();
if (insuranceAmount != null) {