fix: 订单详情增加优惠券抵扣标识

This commit is contained in:
张松 2024-11-11 17:28:44 +08:00
parent bc073414d2
commit dbed5887a1
1 changed files with 3 additions and 0 deletions

View File

@ -2009,6 +2009,9 @@ public class TbShopTableServiceImpl implements TbShopTableService {
consumeCoupon(couponInfo.getOutRecordList(), payDTO.getVipUserId(), orderInfo);
orderInfo.setCouponInfoList(JSONObject.toJSONString(couponInfo));
// 修改订单detail
mpOrderDetailService.updateBatchById(priceDTO.getOrderDetailList());
return orderInfo.getOrderAmount();
}