From 1e1fc1a3949c99f6b7da65f45c87c1989e177c87 Mon Sep 17 00:00:00 2001 From: lulz1 Date: Tue, 27 Feb 2024 16:52:42 +0800 Subject: [PATCH] =?UTF-8?q?=E5=90=8C=E6=AD=A5=E4=BB=A3=E7=A0=81?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .../domain/service/order_sync/CTripOrderSyncAdapter.java | 4 ++-- .../com/chint/infrastructure/constant/FSSCConstant.java | 8 ++++---- .../ctrip/dto/approval/air/FlightEndorsementDetail.java | 2 +- 3 files changed, 7 insertions(+), 7 deletions(-) diff --git a/src/main/java/com/chint/domain/service/order_sync/CTripOrderSyncAdapter.java b/src/main/java/com/chint/domain/service/order_sync/CTripOrderSyncAdapter.java index 79cf90b3..c29d2f3d 100644 --- a/src/main/java/com/chint/domain/service/order_sync/CTripOrderSyncAdapter.java +++ b/src/main/java/com/chint/domain/service/order_sync/CTripOrderSyncAdapter.java @@ -59,8 +59,8 @@ public class CTripOrderSyncAdapter implements SupplierOrderSync { } private ApprovalRequest getApprovalRequestParam(RouteOrder order) { -// RankInfo rankInfo = RankInfo.of(order.getStandardLevel()); - RankInfo rankInfo = RankInfo.of("测试职级"); + RankInfo rankInfo = RankInfo.of(order.getStandardLevel()); +// RankInfo rankInfo = RankInfo.of("测试职级"); String employeeNo = String.valueOf(order.getUserId()); ApprovalRequest approvalRequestParam = ApprovalRequest .buildApproval(order.getRouteOrderNo(), String.valueOf(employeeNo), rankInfo); diff --git a/src/main/java/com/chint/infrastructure/constant/FSSCConstant.java b/src/main/java/com/chint/infrastructure/constant/FSSCConstant.java index 1ef67492..1fd71e7a 100644 --- a/src/main/java/com/chint/infrastructure/constant/FSSCConstant.java +++ b/src/main/java/com/chint/infrastructure/constant/FSSCConstant.java @@ -5,9 +5,9 @@ public class FSSCConstant { public static final String TRIP_CALLBACK_METHOD_NAME = "trip.callback";//方法名称 public static final String TRIP_CALLBACK_RECEIPT_STATUS = "WAIT_COMMIT";//申请单状态 public static final String TRIP_CALLBACK_TYPE_APPROVE = "o";//申请单类型 - public static final String TRIP_CALLBACK_FLIGHT_TYPE = "Flight";//申请单类型 - public static final String TRIP_CALLBACK_HOTEL_TYPE = "Hotel";//申请单类型 - public static final String TRIP_CALLBACK_TRAIN_TYPE = "Train";//申请单类型 - public static final String TRIP_CALLBACK_OTHER_TYPE = "Other";//申请单类型 + public static final String TRIP_CALLBACK_FLIGHT_TYPE = "Flight";//机票 + public static final String TRIP_CALLBACK_HOTEL_TYPE = "Hotel";//酒店 + public static final String TRIP_CALLBACK_TRAIN_TYPE = "Train";//出租车 + public static final String TRIP_CALLBACK_OTHER_TYPE = "Other";//其他 public static final String FSSC_LOGIN_PATH = "/ecs-console/api/rest/loginWeaver?loginName=";//申请单类型 } diff --git a/src/main/java/com/chint/interfaces/rest/ctrip/dto/approval/air/FlightEndorsementDetail.java b/src/main/java/com/chint/interfaces/rest/ctrip/dto/approval/air/FlightEndorsementDetail.java index c4bee544..6371b796 100644 --- a/src/main/java/com/chint/interfaces/rest/ctrip/dto/approval/air/FlightEndorsementDetail.java +++ b/src/main/java/com/chint/interfaces/rest/ctrip/dto/approval/air/FlightEndorsementDetail.java @@ -104,7 +104,7 @@ public class FlightEndorsementDetail { public static FlightEndorsementDetail of(List DepartCityIds , List ArrivalCityIds) { FlightEndorsementDetail flightEndorsementDetail = new FlightEndorsementDetail(); - flightEndorsementDetail.setDepartCountryIds(DepartCityIds); + flightEndorsementDetail.setDepartCityIds(DepartCityIds); flightEndorsementDetail.setArrivalCityIds(ArrivalCityIds); return flightEndorsementDetail; }