备份代码

This commit is contained in:
lulz1 2024-04-02 17:06:27 +08:00
parent 56f89260fc
commit dfa1248fe0
3 changed files with 11 additions and 8 deletions

View File

@ -112,10 +112,10 @@ public class OrderEvent implements Serializable {
public static String mapToHotelOrderDetailStatus(Integer eventType){ public static String mapToHotelOrderDetailStatus(Integer eventType){
return switch (eventType) { return switch (eventType) {
case ORDER_EVENT_PREPARE -> FSSC_HOTEL_STATUS_REFUND; //未下单 改成3 case ORDER_EVENT_PREPARE -> FSSC_HOTEL_STATUS_SUCCESS; //未下单 改成3
case ORDER_EVENT_PAYED -> FSSC_HOTEL_STATUS_SUCCESS; case ORDER_EVENT_PAYED -> FSSC_HOTEL_STATUS_SUCCESS;
case ORDER_EVENT_CHANGE -> FSSC_HOTEL_STATUS_SUCCESS; case ORDER_EVENT_CHANGE -> FSSC_HOTEL_STATUS_SUCCESS;
case ORDER_EVENT_CANCEL -> FSSC_HOTEL_STATUS_SUCCESS; //e额外生成的单子为3 退票虽然是3 返回为1 case ORDER_EVENT_CANCEL -> FSSC_ORDER_STATUS_CANCEL; //e额外生成的单子为3 退票虽然是3 返回为1
case ORDER_EVENT_ORDERED -> FSSC_HOTEL_STATUS_SUCCESS; case ORDER_EVENT_ORDERED -> FSSC_HOTEL_STATUS_SUCCESS;
case ORDER_EVENT_REFUND -> FSSC_HOTEL_STATUS_SUCCESS; case ORDER_EVENT_REFUND -> FSSC_HOTEL_STATUS_SUCCESS;
case ORDER_EVENT_UNKNOWN -> FSSC_ORDER_STATUS_CANCEL; case ORDER_EVENT_UNKNOWN -> FSSC_ORDER_STATUS_CANCEL;

View File

@ -227,8 +227,11 @@ public class OrderHotelRecord extends OrderBaseRecord {
} }
// 加载发票和费用信息 // 加载发票和费用信息
public OrderHotelRecord loadInvoiceAndFeeInfo(String invoiceType, String invoiceFee, String custodayFee, public OrderHotelRecord loadInvoiceAndFeeInfo(String invoiceType,
String noTaxCusFee, String taxCusFee) { String invoiceFee,
String custodayFee,
String noTaxCusFee,
String taxCusFee) {
this.setInvoiceType(invoiceType); this.setInvoiceType(invoiceType);
this.setInvoiceFee(invoiceFee); this.setInvoiceFee(invoiceFee);
this.setCustodayFee(custodayFee); this.setCustodayFee(custodayFee);

View File

@ -48,10 +48,10 @@ logging:
#正式 #正式
ly: ly:
appId: zhengtai appId: zhengtai
account: 4f9cb1080b564dd0a94aa95f7a19c8b5 account: ab9fe0c19dd64a99b936fded72c3bb94
password: 1fD3SutgzfS48qznYQiq password: glHRJJ9JMUwNfQ8OwAQi
secret: WOHzCMvHd823iHgH secret: MnghmYJpM1U2RaLx
baseUrl: https://api.qa.dttrip.cn/openapi baseUrl: https://api.dttrip.cn/openapi
ifForwardRequest: false ifForwardRequest: false
forwardRequestBaseUrl: https://secureqrdev-t.chint.com/llz forwardRequestBaseUrl: https://secureqrdev-t.chint.com/llz