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;