|
@@ -662,6 +662,7 @@ public class GroupRelationController {
|
|
|
.notIn(OrderDon::getStatus, Constant.noOrderAllStatus)
|
|
.notIn(OrderDon::getStatus, Constant.noOrderAllStatus)
|
|
|
.orderByDesc(OrderDon::getId)
|
|
.orderByDesc(OrderDon::getId)
|
|
|
.last("limit 1"));
|
|
.last("limit 1"));
|
|
|
|
|
+
|
|
|
if (orderDon == null) {
|
|
if (orderDon == null) {
|
|
|
throw BusinessRuntimeException.getInstance("你对应车票的订单不存在");
|
|
throw BusinessRuntimeException.getInstance("你对应车票的订单不存在");
|
|
|
}
|
|
}
|