修复火车状态没有变更的问题
This commit is contained in:
parent
a353622442
commit
1548c8318e
|
@ -23,8 +23,7 @@ import java.util.stream.Collectors;
|
|||
|
||||
import static com.chint.infrastructure.constant.BelongSystemConstant.*;
|
||||
import static com.chint.infrastructure.constant.CommonMessageConstant.NOT_FOUND;
|
||||
import static com.chint.infrastructure.constant.FSSCConstant.FSSC_FLIGHT_STATUS_CHANGE;
|
||||
import static com.chint.infrastructure.constant.FSSCConstant.FSSC_TRAIN_STATUS_CHANGE;
|
||||
import static com.chint.infrastructure.constant.FSSCConstant.*;
|
||||
import static com.chint.infrastructure.constant.OrderConstant.ORDER_EVENT_ETA;
|
||||
|
||||
@Component
|
||||
|
@ -470,6 +469,10 @@ public class LYOrderExtensionFactoryImpl implements OrderExtensionFactory {
|
|||
)
|
||||
);
|
||||
}
|
||||
if (!trainOrderDetail.getOrderStatus().equals(FSSC_TRAIN_STATUS_CHANGE)
|
||||
&& !trainOrderDetail.getOrderStatus().equals(FSSC_ORDER_STATUS_CANCEL)) {
|
||||
trainOrderDetail.setOrderStatus(FSSC_TRAIN_STATUS_SUCCESS);
|
||||
}
|
||||
}
|
||||
);
|
||||
String EmployeeNo = routeOrder.getUserId();
|
||||
|
|
Loading…
Reference in New Issue