src/main/resources/mapper/ForecastWeatherMapper.xml
@@ -13,4 +13,12 @@ (#{item.monitorPointId},#{item.time},#{item.json}) </foreach> </insert> <delete id="deleteByTime"> delete from forecast_weather where time >= #{start} AND time <![CDATA[<]]> #{end} and monitor_point_id=#{monitorPointId} </delete> </mapper>