fix: 优惠券返回店铺id
This commit is contained in:
@@ -123,6 +123,7 @@ public class TbShopCouponServiceImpl implements TbShopCouponService {
|
||||
@Override
|
||||
public Result find(CouponDto param) {
|
||||
if (param.getOrderId() != null) {
|
||||
|
||||
TbShopUser tbShopUser = shopUserMapper.selectByUserIdAndShopId(param.getUserId().toString(), param.getShopId().toString());
|
||||
TbOrderInfo tbOrderInfo = orderInfoMapper.selectByPrimaryKey(param.getOrderId());
|
||||
List<TbOrderDetail> tbOrderDetails = orderDetailMapper.selectAllByOrderId(param.getOrderId());
|
||||
|
||||
Reference in New Issue
Block a user