|
|
|
@@ -392,7 +392,7 @@ public class WxCarController extends BaseController { |
|
|
|
} |
|
|
|
return new ResultData(Result.ERROR,"已经使用过优惠券, 不能重复使用."); |
|
|
|
} else { |
|
|
|
WxCoupon coupon = couponService.getById(userCar.getCouponId(),park.getFinalTenantId()); |
|
|
|
WxCoupon coupon = couponService.getById(userCar.getCouponId(),park.getTenantId()); |
|
|
|
if (coupon == null) { |
|
|
|
return new ResultData(ErrorCode.SYS_PARAMETER_NOT_NULL.getCode(), "券为空"); |
|
|
|
} |
|
|
|
|