fix: 优惠券查询修改
This commit is contained in:
parent
062a0cc2f4
commit
9b1f802867
|
|
@ -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());
|
||||
}
|
||||
|
|
|
|||
Loading…
Reference in New Issue