Commit 41c2ee4e authored by unset's avatar unset

Merge branch 'master-vehicle-price' into dev-tiande

parents ea3e820b 4dad0d4b
...@@ -117,8 +117,8 @@ public class VehicleHolidayPriceInfo implements Serializable { ...@@ -117,8 +117,8 @@ public class VehicleHolidayPriceInfo implements Serializable {
private Integer isDel; private Integer isDel;
@Transient @Transient
private String startDate; private String startTime;
@Transient @Transient
private String endDate; private String endTime;
} }
...@@ -21,4 +21,8 @@ public class VehicleHolidayPriceInfoVo { ...@@ -21,4 +21,8 @@ public class VehicleHolidayPriceInfoVo {
private String vehicleId; private String vehicleId;
private Integer allModelUse;
private Integer allVehicleUse;
} }
...@@ -4,8 +4,8 @@ ...@@ -4,8 +4,8 @@
<mapper namespace="com.xxfc.platform.vehicle.mapper.VehicleHolidayPriceInfoMapper"> <mapper namespace="com.xxfc.platform.vehicle.mapper.VehicleHolidayPriceInfoMapper">
<select id="getAll" resultType="com.xxfc.platform.vehicle.pojo.vo.VehicleHolidayPriceInfoVo"> <select id="getAll" resultType="com.xxfc.platform.vehicle.pojo.vo.VehicleHolidayPriceInfoVo">
select festival_id, festival_day, MIN(festival_date) as startTime, MAX(festival_date) as endTime, rent_price, rent_free_day,vehicle_id from vehicle_holiday_price_info select festival_id, festival_day, MIN(festival_date) as startTime, MAX(festival_date) as endTime, rent_price, rent_free_day,vehicle_id, all_model_use, all_vehicle_use from vehicle_holiday_price_info
GROUP BY festival_id,festival_day,rent_price, rent_free_day,vehicle_id GROUP BY festival_id,festival_day,rent_price, rent_free_day,vehicle_id, all_model_use, all_vehicle_use
HAVING vehicle_id = #{vehicleId} HAVING vehicle_id = #{vehicleId}
<if test="festivalId != null"> <if test="festivalId != null">
and festival_id = #{festivalId} and festival_id = #{festivalId}
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment