jinpengyong
2023-10-31 aaab5f3f5e3d32a8febc4d4e021a895affa4ab93
screen-job/src/main/resources/mapper/CityWeatherForecastMapper.xml
@@ -9,4 +9,12 @@
        <result column="value" property="value"/>
    </resultMap>
    <insert id="insertCityWeatherForecast">
        INSERT INTO city_weather_forecast
        VALUES
        <foreach collection="list" item="item" separator=",">
            (#{item.cityCode},#{item.time},#{item.value})
        </foreach>
    </insert>
</mapper>