一档差旅返回酒店拆标支持手填
This commit is contained in:
parent
c0b8980791
commit
32ae0b0684
|
@ -253,6 +253,12 @@ public class CTripEstimatePrice implements EstimatePrice {
|
|||
if (success) {
|
||||
HotelValuationResult hotelValuationResult = estimate.getData().getHotelValuationResult();
|
||||
String price = hotelValuationResult.getMaxPrice().toString();
|
||||
|
||||
if(Double.parseDouble(price) == 0){
|
||||
hotelPriceData.setSuccess(false);
|
||||
return hotelPriceData;
|
||||
}
|
||||
|
||||
String arriveData = priceQueryData.getArriveDate();
|
||||
String departDate = priceQueryData.getDepartDate();
|
||||
if (arriveData != null) {
|
||||
|
|
|
@ -62,7 +62,7 @@ public class CTripOrderExtensionFactoryImpl implements OrderExtensionFactory {
|
|||
if (first.get().getCarOrderDetail() == null) {
|
||||
carOrderDetail = new CarOrderDetail();
|
||||
} else {
|
||||
return first.get().getCarOrderDetail();
|
||||
carOrderDetail = first.get().getCarOrderDetail();
|
||||
}
|
||||
} else {
|
||||
carOrderDetail = new CarOrderDetail();
|
||||
|
@ -265,7 +265,6 @@ public class CTripOrderExtensionFactoryImpl implements OrderExtensionFactory {
|
|||
}
|
||||
|
||||
|
||||
|
||||
// flightOrderDetail.setSupplier(SUPPLIER_C_TRIP_EXTENSION_NAME);
|
||||
|
||||
flightOrderDetail.setTrvaleSysType(TRAVAL_SYS_TYPE_CTRIP);
|
||||
|
|
|
@ -18,6 +18,7 @@ public class CommonMessageConstant {
|
|||
public static final String REDIRECT_NOT_EXIST = "暂无跳转地址";
|
||||
public static final String LEG_CHANGE_MAX_ERROR = "最多支持变更两次";
|
||||
public static final String NO_PRICE_ERROR = "无估算价格";
|
||||
public static final String HOTEL_MAX_PRICE = "无估算价格";
|
||||
|
||||
public static final String RESULT_SUCCESS_CODE = "1";
|
||||
public static final String RESULT_ERROR_CODE = "0";
|
||||
|
|
|
@ -119,7 +119,6 @@ public class LYCallBackDataHandler {
|
|||
.outStatus(outStatus)
|
||||
.eventType(ORDER_EVENT_ETA)
|
||||
.sendToQueue();
|
||||
|
||||
} else {
|
||||
Command.of(OrderStatusChangeCommand.class)
|
||||
.orderDetail(orderDetail)
|
||||
|
|
Loading…
Reference in New Issue