iailab-module-model/iailab-module-model-biz/src/main/resources/mapper/mcs/MmItemResultDao.xml
@@ -28,5 +28,13 @@ VALUES (#{entity.id},#{entity.outputid},#{entity.predicttime},#{entity.jsonvalue},#{entity.cumulant}) </insert> <insert id="saveOrUpdateItemResult" parameterType="com.iailab.module.model.mcs.pre.entity.MmItemResultEntity"> INSERT INTO t_mm_item_result (id,outputid, datatime, datavalue) VALUES <foreach item="item" collection="list" separator=","> (#{item.id},#{item.outputid},#{item.datatime},#{item.datavalue}) </foreach> ON DUPLICATE KEY UPDATE datavalue = VALUES(datavalue) </insert> </mapper>