|
@@ -1057,7 +1057,7 @@ public class OrderDonServiceImpl extends ServiceImpl<OrderDonMapper, OrderDon> i
|
|
|
throw BusinessRuntimeException.getInstance("该优惠码已失效");
|
|
throw BusinessRuntimeException.getInstance("该优惠码已失效");
|
|
|
}
|
|
}
|
|
|
if (exists.getIsValidTime() && exists.getValidStartTime().after(DateTime.now())) {
|
|
if (exists.getIsValidTime() && exists.getValidStartTime().after(DateTime.now())) {
|
|
|
- throw BusinessRuntimeException.getInstance("该优惠码未失效");
|
|
|
|
|
|
|
+ throw BusinessRuntimeException.getInstance("该优惠码待生效");
|
|
|
}
|
|
}
|
|
|
} else if (couponId != null) {
|
|
} else if (couponId != null) {
|
|
|
CouponUserView couponUserView = beanSearcher.searchFirst(CouponUserView.class, MapUtils.builder()
|
|
CouponUserView couponUserView = beanSearcher.searchFirst(CouponUserView.class, MapUtils.builder()
|