类型转换问题

This commit is contained in:
2025-02-25 15:59:13 +08:00
parent 42d415377d
commit 4b76578150

View File

@@ -232,8 +232,8 @@ public class OrderInfoServiceImpl extends ServiceImpl<OrderInfoMapper, OrderInfo
//商品券 <商品id数量>
Map<Long, Integer> prodCouponMap = new HashMap<>();
//满减券 满fullCouponAmount 减disCouponAmount
String fullAmountStr = "";
String discountAmountStr = "";
String fullAmountStr = "0";
String discountAmountStr = "0";
//校验优惠券
checkCoupon(prodCouponMap, fullAmountStr, discountAmountStr, param);
BigDecimal fullAmount = new BigDecimal(fullAmountStr);