Commit f2e2b573 by huluobin

update

parent d37ce92e
...@@ -210,7 +210,7 @@ public class CouponServiceImpl extends ServiceImpl<CouponMapper, Coupon> impleme ...@@ -210,7 +210,7 @@ public class CouponServiceImpl extends ServiceImpl<CouponMapper, Coupon> impleme
if (couponExcludeDetailed != null) { if (couponExcludeDetailed != null) {
Coupon coupon = this.getById(couponId); Coupon coupon = this.getById(couponId);
Coupon excludeCoupon = this.getById(excludeCouponId); Coupon excludeCoupon = this.getById(excludeCouponId);
throw new RRException("卡券:%s和卡券%s不能同时使用", coupon.getName(), excludeCoupon.getName()); throw new RRException("%s和%s不能同时使用", coupon.getName(), excludeCoupon.getName());
} }
} }
// //
...@@ -221,7 +221,7 @@ public class CouponServiceImpl extends ServiceImpl<CouponMapper, Coupon> impleme ...@@ -221,7 +221,7 @@ public class CouponServiceImpl extends ServiceImpl<CouponMapper, Coupon> impleme
if (couponExcludeDetailed != null) { if (couponExcludeDetailed != null) {
Coupon coupon = this.getById(couponExcludeDetailed.getCouponId()); Coupon coupon = this.getById(couponExcludeDetailed.getCouponId());
Coupon excludeCoupon = this.getById(couponExcludeDetailed.getExcludeCouponId()); Coupon excludeCoupon = this.getById(couponExcludeDetailed.getExcludeCouponId());
throw new RRException("卡券:%s和卡券%s不能同时使用", coupon.getName(), excludeCoupon.getName()); throw new RRException("%s和%s不能同时使用", coupon.getName(), excludeCoupon.getName());
} }
} }
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment