Commit 94dd7827 by huluobin

优化冲突提示

parent f2e2b573
...@@ -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("外部券冲突"); throw new RRException("%冲突与其他优惠冲突", couponCustomerRelevance.getCouponName());
} }
}); });
...@@ -638,7 +638,7 @@ public class MarketServiceImpl implements MarketService { ...@@ -638,7 +638,7 @@ public class MarketServiceImpl implements MarketService {
} }
//内部券抵扣不了 //内部券抵扣不了
else { else {
throw new RRException("内部券冲突"); throw new RRException("{}与其他卡券冲突", 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("外部券冲突"); throw new RRException("%冲突与其他优惠冲突", 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("内部券冲突"); throw new RRException("%与其他优惠冲突", 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("外部券冲突"); throw new RRException("%与其他优惠冲突", 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("内部券冲突"); throw new RRException("%与其他优惠冲突", 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