修复自动结束事件的bug
This commit is contained in:
parent
fdad2e2bec
commit
65793fcf49
|
@ -154,7 +154,7 @@ public class OrderQuery {
|
||||||
|
|
||||||
//这里按照业务要求,尝试进行自动确认结束行程
|
//这里按照业务要求,尝试进行自动确认结束行程
|
||||||
orders.forEach(it->{
|
orders.forEach(it->{
|
||||||
if(it.getIfCanBeFinished().equals("1") && !it.getOrderStatus().equals(ORDER_EVENT_FINISH)){
|
if(it.getIfCanBeFinished().equals("1") && !it.getOrderStatus().equals(ORDER_STATUS_FINISH)){
|
||||||
orderDomainService.finishOrder(it.getRouteId());
|
orderDomainService.finishOrder(it.getRouteId());
|
||||||
}
|
}
|
||||||
});
|
});
|
||||||
|
|
Loading…
Reference in New Issue