fix: 优惠券查询修改
This commit is contained in:
@@ -380,6 +380,10 @@ public class TbShopCouponServiceImpl extends ServiceImpl<TbShopCouponMapper, TbS
|
||||
throw new BadRequestException("订单信息不存在");
|
||||
}
|
||||
|
||||
if (memberId == null && orderInfo.getMemberId() == null) {
|
||||
throw new BadRequestException("请先选择对应的会员信息");
|
||||
}
|
||||
|
||||
if (memberId == null) {
|
||||
memberId = Integer.valueOf(orderInfo.getMemberId());
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user