修复飞机状态自动更新的问题
This commit is contained in:
parent
fc36cd5da2
commit
cf3d1a3054
|
@ -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 {
|
||||
//如果订单事件为空,那么就需要重新根据查询到的订单信息重新进行映射
|
||||
|
|
Loading…
Reference in New Issue