jinpengyong
2020-07-31 af2ff6353abb09500ff08293490446a4d40d8e87
src/main/resources/mapper/ForecastWeatherMapper.xml
@@ -21,5 +21,13 @@
        where time >= #{start}
        AND time <![CDATA[<]]> #{end}
        AND monitor_point_id=#{monitorPointId}
        ORDER BY
        time
    </select>
    <update id="updateForecastWeather">
        update forecast_weather set json=#{json}
        where monitor_point_id=#{monitorPointId}
        and time=#{time}
    </update>
</mapper>