同程结算接口数据拉取
This commit is contained in:
parent
a34688a971
commit
216a41b1fd
|
@ -354,7 +354,7 @@ public class LYTest {
|
|||
}
|
||||
|
||||
//超标
|
||||
@Test
|
||||
// @Test
|
||||
void exceedStandard() {
|
||||
BPMBaseRequest bpmRequest = new BPMBaseRequest();
|
||||
Gson gson = new Gson();
|
||||
|
@ -384,7 +384,7 @@ public class LYTest {
|
|||
}
|
||||
|
||||
//改签
|
||||
@Test
|
||||
// @Test
|
||||
void reschedule() {
|
||||
BPMBaseRequest bpmRequest = new BPMBaseRequest();
|
||||
Gson gson = new Gson();
|
||||
|
@ -802,7 +802,7 @@ public class LYTest {
|
|||
String join = String.join(",", set);
|
||||
System.out.println("join = " + join);
|
||||
}
|
||||
@Test
|
||||
// @Test
|
||||
void searchFlight() {
|
||||
FlightOrderResponse flightOrderDetail = lySearchRequest.getFlightOrderDetail("DF24032167509129714");
|
||||
Gson gson = new Gson();
|
||||
|
@ -810,7 +810,7 @@ public class LYTest {
|
|||
System.out.println(json);
|
||||
}
|
||||
|
||||
@Test
|
||||
// @Test
|
||||
void searchTrain() {
|
||||
TrainDetailResponse trainOrderDetail = lySearchRequest.getTrainOrderDetail("DT24032167537614664");
|
||||
Gson gson = new Gson();
|
||||
|
@ -818,7 +818,7 @@ public class LYTest {
|
|||
System.out.println(json);
|
||||
}
|
||||
|
||||
@Test
|
||||
// @Test
|
||||
void searchHotel() {
|
||||
HotelDetailResponse hotelOrderDetail = lySearchRequest.getHotelOrderDetail("HO20240320223900768299");
|
||||
Gson gson = new Gson();
|
||||
|
@ -826,7 +826,7 @@ public class LYTest {
|
|||
System.out.println(json);
|
||||
}
|
||||
|
||||
@Test
|
||||
// @Test
|
||||
void searchCar() {
|
||||
CarDetailResponse carDetailResponse = lySearchRequest.getCarDetailResponse("DC24031566878059751");
|
||||
Gson gson = new Gson();
|
||||
|
@ -834,7 +834,7 @@ public class LYTest {
|
|||
System.out.println(json);
|
||||
}
|
||||
|
||||
@Test
|
||||
// @Test
|
||||
void deleteOrderDetailById(){
|
||||
orderDetailRepository.deleteById(2617L);
|
||||
orderDetailRepository.deleteById(2618L);
|
||||
|
@ -869,7 +869,7 @@ public class LYTest {
|
|||
// System.out.println(json);
|
||||
}
|
||||
|
||||
@Test
|
||||
// @Test
|
||||
void testRoomStandard(){
|
||||
String dayStandardPrice = "300.00";
|
||||
String[] split = dayStandardPrice.split(",");
|
||||
|
@ -879,18 +879,18 @@ public class LYTest {
|
|||
}
|
||||
}
|
||||
|
||||
@Test
|
||||
// @Test
|
||||
void conform() {
|
||||
commonController.changeFlight(1, 9, "DFC24031767042246246");
|
||||
}
|
||||
|
||||
@Test
|
||||
// @Test
|
||||
void sendMsg() {
|
||||
commonController.sendMsg("T24032167509127504");
|
||||
}
|
||||
|
||||
|
||||
@Test
|
||||
// @Test
|
||||
void generateLyTrain() {
|
||||
TrainDetailResponse trainOrderDetail = lySearchRequest.getTrainOrderDetail("DTC24031767004591541");
|
||||
TrainDetailResponse.TrainDetailData data = trainOrderDetail.getData();
|
||||
|
@ -920,14 +920,14 @@ public class LYTest {
|
|||
|
||||
}
|
||||
|
||||
@Test
|
||||
// @Test
|
||||
void syncToSupplierOne(){
|
||||
RouteOrder routeOrder = routeRepository.queryById(665L);
|
||||
lyOrderSyncAdapter.syncSupplierOrder(routeOrder);
|
||||
}
|
||||
|
||||
|
||||
@Test
|
||||
// @Test
|
||||
void queryHotelCustom(){
|
||||
OrderDetail byId = orderDetailRepository.findById(2569L);
|
||||
HotelOrderDetailDto hotelOrderDetailDto = HotelOrderDetailDto.copyFrom(byId.getHotelOrderDetail());
|
||||
|
|
Loading…
Reference in New Issue