cjl
2023-07-10 6344a8b6b7e2853dbfa9e6506ff2e17a31930297
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>