修复携程订单明细自动更新的问题
This commit is contained in:
parent
9a3e472cd3
commit
0fd1dcdbee
|
@ -23,6 +23,7 @@ import java.util.Objects;
|
|||
import java.util.stream.Stream;
|
||||
|
||||
import static com.chint.infrastructure.constant.CommonMessageConstant.SUCCESS;
|
||||
import static com.chint.infrastructure.constant.FSSCConstant.FSSC_ORDER_STATUS_CANCEL;
|
||||
import static com.chint.infrastructure.constant.SupplierNameConstant.SUPPLIER_L_Y;
|
||||
|
||||
@Component
|
||||
|
@ -144,7 +145,7 @@ public class OrderDetailQuery {
|
|||
private Object processHotelOrderDetail(OrderDetail orderDetail, String systemType) {
|
||||
HotelOrderDetail hotelOrderDetail = orderDetail.getHotelOrderDetail();
|
||||
if (hotelOrderDetail != null &&
|
||||
hotelOrderDetail.getOrderStatus() != null &&
|
||||
hotelOrderDetail.getOrderStatus().equals(FSSC_ORDER_STATUS_CANCEL) &&
|
||||
systemType.equals(hotelOrderDetail.getBelongSysType())) {
|
||||
String receiptsNum = hotelOrderDetail.getReceiptsNum();
|
||||
if (receiptsNum != null) {
|
||||
|
@ -163,7 +164,7 @@ public class OrderDetailQuery {
|
|||
private Object processTrainOrderDetail(OrderDetail orderDetail, String systemType) {
|
||||
TrainOrderDetail trainOrderDetail = orderDetail.getTrainOrderDetail();
|
||||
if (trainOrderDetail != null &&
|
||||
trainOrderDetail.getOrderStatus() != null &&
|
||||
trainOrderDetail.getOrderStatus().equals(FSSC_ORDER_STATUS_CANCEL) &&
|
||||
systemType.equals(trainOrderDetail.getBelongSysType())) {
|
||||
String receiptsNum = trainOrderDetail.getReceiptsNum();
|
||||
if (receiptsNum != null) {
|
||||
|
@ -177,7 +178,7 @@ public class OrderDetailQuery {
|
|||
private Object processCarOrderDetail(OrderDetail orderDetail, String systemType) {
|
||||
CarOrderDetail carOrderDetail = orderDetail.getCarOrderDetail();
|
||||
if (carOrderDetail != null &&
|
||||
carOrderDetail.getOrderStatus() != null &&
|
||||
!carOrderDetail.getOrderStatus().equals(FSSC_ORDER_STATUS_CANCEL) &&
|
||||
systemType.equals(carOrderDetail.getBelongSysType())) {
|
||||
String receiptsNum = carOrderDetail.getReceiptsNum();
|
||||
if (receiptsNum != null) {
|
||||
|
@ -191,7 +192,7 @@ public class OrderDetailQuery {
|
|||
private Object processFlightOrderDetail(OrderDetail orderDetail, String systemType) {
|
||||
FlightOrderDetail flightOrderDetail = orderDetail.getFlightOrderDetail();
|
||||
if (flightOrderDetail != null &&
|
||||
flightOrderDetail.getOrderStatus() != null &&
|
||||
flightOrderDetail.getOrderStatus().equals(FSSC_ORDER_STATUS_CANCEL) &&
|
||||
systemType.equals(flightOrderDetail.getBelongSysType())) {
|
||||
String receiptsNum = flightOrderDetail.getReceiptsNum();
|
||||
if (receiptsNum != null) {
|
||||
|
|
Loading…
Reference in New Issue