满减活动金额填充

This commit is contained in:
wangw 2025-10-13 17:35:00 +08:00
parent 82518adc0d
commit 004377cc7e
1 changed files with 2 additions and 2 deletions

View File

@ -1246,10 +1246,10 @@ public class OrderInfoServiceImpl extends ServiceImpl<OrderInfoMapper, OrderInfo
orderInfo.setDiscountAmount(param.getDiscountAmount());
//优惠券
orderInfo.setCouponInfoList(CollUtil.isEmpty(param.getCouponList()) ? "" : JSONObject.toJSONString(param.getCouponList()));
//折扣信息
orderInfo.setDiscountInfo(buildDiscountInfo(orderInfo));
//满减活动抵扣金额
orderInfo.setDiscountActAmount(param.getDiscountActAmount());
//折扣信息
orderInfo.setDiscountInfo(buildDiscountInfo(orderInfo));
//0元按照现金支付处理
if (orderInfo.getOrderAmount().compareTo(BigDecimal.ZERO) == 0) {
orderInfo.setStatus(OrderStatusEnums.DONE.getCode());