Commit d291e6d6 authored by unset's avatar unset

修改车辆节假日价格信息

parent dfb245e0
......@@ -6,7 +6,9 @@
<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 from vehicle_holiday_price_info
GROUP BY festival_id,festival_day,rent_price, rent_free_day
HAVING festival_id = #{festivalId}
<if test="festivalId != null">
HAVING festival_id = #{festivalId}
</if>
</select>
</mapper>
\ No newline at end of file
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