jinpengyong
2020-07-31 7a91aabda4de1590f26e4ee02ffd1cd5b3ffc6f3
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>