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