Commit ee1b8a16 by huluobin

优化冲突提示

parent 94dd7827
...@@ -539,7 +539,7 @@ public class MarketServiceImpl implements MarketService { ...@@ -539,7 +539,7 @@ public class MarketServiceImpl implements MarketService {
// couponOrderRelevanceService.save(couponOrderRelevance); // couponOrderRelevanceService.save(couponOrderRelevance);
} else { } else {
throw new RRException("%冲突与其他优惠冲突", couponCustomerRelevance.getCouponName()); throw new RRException("%s与其他优惠冲突", couponCustomerRelevance.getCouponName());
} }
}); });
...@@ -878,7 +878,7 @@ public class MarketServiceImpl implements MarketService { ...@@ -878,7 +878,7 @@ public class MarketServiceImpl implements MarketService {
couponOrderRelevanceService.save(couponOrderRelevance); couponOrderRelevanceService.save(couponOrderRelevance);
} else { } else {
throw new RRException("%冲突与其他优惠冲突", couponCustomerRelevance.getCouponName()); throw new RRException("%s与其他优惠冲突", couponCustomerRelevance.getCouponName());
} }
}); });
...@@ -971,7 +971,7 @@ public class MarketServiceImpl implements MarketService { ...@@ -971,7 +971,7 @@ public class MarketServiceImpl implements MarketService {
} }
//内部券抵扣不了 //内部券抵扣不了
else { else {
throw new RRException("%与其他优惠冲突", couponCustomerRelevance.getCouponName()); throw new RRException("%s与其他优惠冲突", couponCustomerRelevance.getCouponName());
} }
}; };
...@@ -1213,7 +1213,7 @@ public class MarketServiceImpl implements MarketService { ...@@ -1213,7 +1213,7 @@ public class MarketServiceImpl implements MarketService {
couponOrderRelevanceService.save(couponOrderRelevance); couponOrderRelevanceService.save(couponOrderRelevance);
} else { } else {
throw new RRException("%与其他优惠冲突", couponCustomerRelevance.getCouponName()); throw new RRException("%s与其他优惠冲突", couponCustomerRelevance.getCouponName());
} }
}); });
...@@ -1306,7 +1306,7 @@ public class MarketServiceImpl implements MarketService { ...@@ -1306,7 +1306,7 @@ public class MarketServiceImpl implements MarketService {
} }
//内部券抵扣不了 //内部券抵扣不了
else { else {
throw new RRException("%与其他优惠冲突", couponCustomerRelevance.getCouponName()); throw new RRException("%s与其他优惠冲突", couponCustomerRelevance.getCouponName());
} }
}; };
......
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