修复飞机状态自动更新的问题

This commit is contained in:
lulz1 2024-03-17 16:43:28 +08:00
parent fc36cd5da2
commit cf3d1a3054
1 changed files with 1 additions and 2 deletions

View File

@ -452,8 +452,7 @@ public class LYOrderExtensionFactoryImpl implements OrderExtensionFactory {
OrderEvent lastEvent = it.getLastEvent();
if (trainDetailData.getIsChangedOrder().equals(1)) {
trainOrderDetail.setOrderStatus(FSSC_TRAIN_STATUS_CHANGE);
}
if (lastEvent != null) {
} else if (lastEvent != null) {
trainOrderDetail.setOrderStatus(lastEvent.mapToTrainOrderDetailStatus());
} else {
//如果订单事件为空那么就需要重新根据查询到的订单信息重新进行映射