@@ -3249,6 +3249,9 @@ public class OrderDonServiceImpl extends ServiceImpl<OrderDonMapper, OrderDon> i
//剩余多少天
DateTime now = DateTime.now();
long day = DateUtil.between(now, expiryTime, DateUnit.DAY);
+ if (day <= 0) {
+ throw BusinessRuntimeException.getInstance("车票已过期");
+ }
BigDecimal upgradePackagePrice = upgradePackage.getPrice();
//自然月差价