feat: 新增挂单支付

This commit is contained in:
张松 2024-11-27 15:36:36 +08:00
parent 557f263643
commit a7349f806b
1 changed files with 1 additions and 1 deletions

View File

@ -2142,7 +2142,7 @@ public class TbShopTableServiceImpl implements TbShopTableService {
// 获取优惠券信息
OrderCouponInfoDTO couponInfo = new OrderCouponInfoDTO();
if (!payDTO.getUserCouponInfos().isEmpty()) {
if (payDTO.getUserCouponInfos() != null && !payDTO.getUserCouponInfos().isEmpty()) {
couponInfo = getCouponInfo(payDTO.getVipUserId(), payDTO.getShopId(), payDTO.getUserCouponInfos(),
orderInfo.getOrderAmount(), productIdSet);
}