fix:分页排序将已结束的订单放到最后,修复未提交审批的订单查询问题
This commit is contained in:
parent
ab4dfe60be
commit
d6ad52af57
|
@ -62,7 +62,7 @@ public class RouteOrderRes {
|
|||
res.setEndTime(formatter.format(routeOrder.getEndTime()));
|
||||
}
|
||||
if (routeOrder.checkIfHaveTrainLeg()) {
|
||||
res.setIfHaveTrainLeg("1");
|
||||
res.setIfHaveTrainLeg("0");
|
||||
} else {
|
||||
res.setIfHaveTrainLeg("0");
|
||||
}
|
||||
|
|
|
@ -132,7 +132,7 @@ public class OrderController {
|
|||
if (orderDetailDomainService.syncOrderDetailStatusByRouteId(syncLegData.getRouteId())) {
|
||||
return Result.Success(SUCCESS);
|
||||
} else {
|
||||
return Result.error(SYNC_FAILURE_TRAIN);
|
||||
return Result.error(FAILURE);
|
||||
}
|
||||
}
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue