fix: 优惠券使用状态不正确修复
This commit is contained in:
parent
57f682ab44
commit
98ca9d50bc
|
|
@ -405,7 +405,7 @@ public class TbShopCouponServiceImpl extends ServiceImpl<TbShopCouponMapper, TbS
|
|||
throw new BadRequestException("用户信息不存在");
|
||||
}
|
||||
|
||||
List<TbCashierCart> cashierCarts = mpCashierCartService.selectByOrderIdAndState(orderId, TableConstant.OrderInfo.Status.UNPAID);
|
||||
List<TbCashierCart> cashierCarts = mpCashierCartService.selectByOrderIdAndState(orderId, null);
|
||||
List<TbUserCouponVo> activateCouponList = getActivateCoupon(shopUser, orderInfo.getOrderAmount(), shopId, cashierCarts.stream().map(TbCashierCart::getProductId).collect(Collectors.toSet()));
|
||||
// 将优惠券分类为满减和商品
|
||||
ArrayList<TbUserCouponVo> fullReductionCoupon = new ArrayList<>();
|
||||
|
|
|
|||
Loading…
Reference in New Issue