修复自动结束事件的bug

This commit is contained in:
lulz1 2024-03-31 12:58:29 +08:00
parent fdad2e2bec
commit 65793fcf49
1 changed files with 1 additions and 1 deletions

View File

@ -154,7 +154,7 @@ public class OrderQuery {
//这里按照业务要求尝试进行自动确认结束行程
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());
}
});