jinpengyong
2020-08-03 a6f582f020df0c244024f8705fb44bc8621e7bee
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>