| | |
| | | (id,outputid,datatime,datavalue) |
| | | VALUES |
| | | <foreach item="item" collection="list" separator=","> |
| | | (#{item.id},#{item.outputId},#{item.dataTime},#{item.dataValue}) |
| | | (#{item.id},#{item.outputid},#{item.datatime},#{item.datavalue}) |
| | | </foreach> |
| | | </insert> |
| | | |
| | |
| | | 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> |