同步代码
This commit is contained in:
parent
94062b19ff
commit
1e1fc1a394
|
@ -59,8 +59,8 @@ public class CTripOrderSyncAdapter implements SupplierOrderSync {
|
||||||
}
|
}
|
||||||
|
|
||||||
private ApprovalRequest getApprovalRequestParam(RouteOrder order) {
|
private ApprovalRequest getApprovalRequestParam(RouteOrder order) {
|
||||||
// RankInfo rankInfo = RankInfo.of(order.getStandardLevel());
|
RankInfo rankInfo = RankInfo.of(order.getStandardLevel());
|
||||||
RankInfo rankInfo = RankInfo.of("测试职级");
|
// RankInfo rankInfo = RankInfo.of("测试职级");
|
||||||
String employeeNo = String.valueOf(order.getUserId());
|
String employeeNo = String.valueOf(order.getUserId());
|
||||||
ApprovalRequest approvalRequestParam = ApprovalRequest
|
ApprovalRequest approvalRequestParam = ApprovalRequest
|
||||||
.buildApproval(order.getRouteOrderNo(), String.valueOf(employeeNo), rankInfo);
|
.buildApproval(order.getRouteOrderNo(), String.valueOf(employeeNo), rankInfo);
|
||||||
|
|
|
@ -5,9 +5,9 @@ public class FSSCConstant {
|
||||||
public static final String TRIP_CALLBACK_METHOD_NAME = "trip.callback";//方法名称
|
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_RECEIPT_STATUS = "WAIT_COMMIT";//申请单状态
|
||||||
public static final String TRIP_CALLBACK_TYPE_APPROVE = "o";//申请单类型
|
public static final String TRIP_CALLBACK_TYPE_APPROVE = "o";//申请单类型
|
||||||
public static final String TRIP_CALLBACK_FLIGHT_TYPE = "Flight";//申请单类型
|
public static final String TRIP_CALLBACK_FLIGHT_TYPE = "Flight";//机票
|
||||||
public static final String TRIP_CALLBACK_HOTEL_TYPE = "Hotel";//申请单类型
|
public static final String TRIP_CALLBACK_HOTEL_TYPE = "Hotel";//酒店
|
||||||
public static final String TRIP_CALLBACK_TRAIN_TYPE = "Train";//申请单类型
|
public static final String TRIP_CALLBACK_TRAIN_TYPE = "Train";//出租车
|
||||||
public static final String TRIP_CALLBACK_OTHER_TYPE = "Other";//申请单类型
|
public static final String TRIP_CALLBACK_OTHER_TYPE = "Other";//其他
|
||||||
public static final String FSSC_LOGIN_PATH = "/ecs-console/api/rest/loginWeaver?loginName=";//申请单类型
|
public static final String FSSC_LOGIN_PATH = "/ecs-console/api/rest/loginWeaver?loginName=";//申请单类型
|
||||||
}
|
}
|
||||||
|
|
|
@ -104,7 +104,7 @@ public class FlightEndorsementDetail {
|
||||||
|
|
||||||
public static FlightEndorsementDetail of(List<String> DepartCityIds , List<String> ArrivalCityIds) {
|
public static FlightEndorsementDetail of(List<String> DepartCityIds , List<String> ArrivalCityIds) {
|
||||||
FlightEndorsementDetail flightEndorsementDetail = new FlightEndorsementDetail();
|
FlightEndorsementDetail flightEndorsementDetail = new FlightEndorsementDetail();
|
||||||
flightEndorsementDetail.setDepartCountryIds(DepartCityIds);
|
flightEndorsementDetail.setDepartCityIds(DepartCityIds);
|
||||||
flightEndorsementDetail.setArrivalCityIds(ArrivalCityIds);
|
flightEndorsementDetail.setArrivalCityIds(ArrivalCityIds);
|
||||||
return flightEndorsementDetail;
|
return flightEndorsementDetail;
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in New Issue