From e994606496aba2b50e46476bd4b5ab10ae50eeaa Mon Sep 17 00:00:00 2001 From: huangxh3 Date: Sun, 4 Feb 2024 08:28:03 +0800 Subject: [PATCH] =?UTF-8?q?=E5=88=9B=E5=BB=BA=E6=95=B0=E6=8D=AE=E5=9B=9E?= =?UTF-8?q?=E6=8E=A8=E6=8E=A7=E5=88=B6=E5=B1=82?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .../com/chint/application/in/CarBackController.java | 12 ++++++++++++ .../chint/application/in/HotelBackController.java | 12 ++++++++++++ .../chint/application/in/TicketBackController.java | 12 ++++++++++++ .../chint/application/in/TicketPushController.java | 12 ++++++++++++ .../chint/application/in/TrainBackController.java | 12 ++++++++++++ .../rest/ly/dto/flydatapushback/FlightSegment.java | 3 ++- 6 files changed, 62 insertions(+), 1 deletion(-) create mode 100644 src/main/java/com/chint/application/in/CarBackController.java create mode 100644 src/main/java/com/chint/application/in/HotelBackController.java create mode 100644 src/main/java/com/chint/application/in/TicketBackController.java create mode 100644 src/main/java/com/chint/application/in/TicketPushController.java create mode 100644 src/main/java/com/chint/application/in/TrainBackController.java diff --git a/src/main/java/com/chint/application/in/CarBackController.java b/src/main/java/com/chint/application/in/CarBackController.java new file mode 100644 index 00000000..8c06d424 --- /dev/null +++ b/src/main/java/com/chint/application/in/CarBackController.java @@ -0,0 +1,12 @@ +package com.chint.application.in; + +import org.springframework.web.bind.annotation.RequestMapping; +import org.springframework.web.bind.annotation.RestController; + +/** + * 用车数据回推控制层 + */ +@RestController +@RequestMapping("/public/CarBack") +public class CarBackController { +} diff --git a/src/main/java/com/chint/application/in/HotelBackController.java b/src/main/java/com/chint/application/in/HotelBackController.java new file mode 100644 index 00000000..552bb4a3 --- /dev/null +++ b/src/main/java/com/chint/application/in/HotelBackController.java @@ -0,0 +1,12 @@ +package com.chint.application.in; + +import org.springframework.web.bind.annotation.RequestMapping; +import org.springframework.web.bind.annotation.RestController; + +/** + * 酒店订单数据回推控制层 + */ +@RestController +@RequestMapping("/public/hotelBack") +public class HotelBackController { +} diff --git a/src/main/java/com/chint/application/in/TicketBackController.java b/src/main/java/com/chint/application/in/TicketBackController.java new file mode 100644 index 00000000..441b3021 --- /dev/null +++ b/src/main/java/com/chint/application/in/TicketBackController.java @@ -0,0 +1,12 @@ +package com.chint.application.in; + +import org.springframework.web.bind.annotation.RequestMapping; +import org.springframework.web.bind.annotation.RestController; + +/** + * 机票订单数据回推控制层 + */ +@RestController +@RequestMapping("/public/ticketBack") +public class TicketBackController { +} diff --git a/src/main/java/com/chint/application/in/TicketPushController.java b/src/main/java/com/chint/application/in/TicketPushController.java new file mode 100644 index 00000000..586e52af --- /dev/null +++ b/src/main/java/com/chint/application/in/TicketPushController.java @@ -0,0 +1,12 @@ +package com.chint.application.in; + +import org.springframework.web.bind.annotation.RequestMapping; +import org.springframework.web.bind.annotation.RestController; + +/** + * 机票票状推送控制层 + */ +@RestController +@RequestMapping("/public/ticketPush") +public class TicketPushController { +} diff --git a/src/main/java/com/chint/application/in/TrainBackController.java b/src/main/java/com/chint/application/in/TrainBackController.java new file mode 100644 index 00000000..0f9f669a --- /dev/null +++ b/src/main/java/com/chint/application/in/TrainBackController.java @@ -0,0 +1,12 @@ +package com.chint.application.in; + +import org.springframework.web.bind.annotation.RequestMapping; +import org.springframework.web.bind.annotation.RestController; + +/** + * 火车票订单数据回推控制层 + */ +@RestController +@RequestMapping("/public/trainBack") +public class TrainBackController { +} diff --git a/src/main/java/com/chint/interfaces/rest/ly/dto/flydatapushback/FlightSegment.java b/src/main/java/com/chint/interfaces/rest/ly/dto/flydatapushback/FlightSegment.java index 5cf8c68b..b1d601a1 100644 --- a/src/main/java/com/chint/interfaces/rest/ly/dto/flydatapushback/FlightSegment.java +++ b/src/main/java/com/chint/interfaces/rest/ly/dto/flydatapushback/FlightSegment.java @@ -4,6 +4,7 @@ import lombok.AllArgsConstructor; import lombok.Data; import lombok.NoArgsConstructor; +import java.math.BigDecimal; import java.util.List; @AllArgsConstructor @@ -42,7 +43,7 @@ public class FlightSegment { private String seatName; private String seatDiscount; private String fareBase; - private double originalPrice; + private BigDecimal originalPrice; private String segmentId; private Integer segmentIndex; private Integer flightTime;