cjl
2023-07-10 7b03a1d14a165cc6932067e17f1fb30f68fd34a5
screen-job/src/main/resources/mapper/HistoryAqiMapper.xml
@@ -9,4 +9,12 @@
        <result column="value" property="value"/>
    </resultMap>
    <insert id="insertHistoryAqi">
        INSERT INTO
        history_aqi
        VALUES
        <foreach collection="list" item="item" separator=",">
        (#{item.guid},#{item.time},#{item.value})
        </foreach>
    </insert>
</mapper>