|
@@ -146,34 +146,4 @@
|
|
</foreach>
|
|
</foreach>
|
|
</update>
|
|
</update>
|
|
|
|
|
|
- <insert id="inserOrUpdateBatch" parameterType="java.util.List">
|
|
|
|
- INSERT INTO t_remote_opc_log
|
|
|
|
- (
|
|
|
|
- year
|
|
|
|
- , month
|
|
|
|
- , day
|
|
|
|
- , result
|
|
|
|
- , remark
|
|
|
|
- , created_time
|
|
|
|
- , position_num
|
|
|
|
- )
|
|
|
|
- VALUES
|
|
|
|
- <foreach collection="list" item="item" index="index" separator="," >
|
|
|
|
- (
|
|
|
|
- #{item.year}
|
|
|
|
- , #{item.month}
|
|
|
|
- , #{item.day}
|
|
|
|
- , #{item.result}
|
|
|
|
- , #{item.remark}
|
|
|
|
- , #{item.createdTime}
|
|
|
|
- , #{item.positionNum}
|
|
|
|
- )
|
|
|
|
- </foreach>
|
|
|
|
- ON DUPLICATE KEY UPDATE
|
|
|
|
- remark = concat(remark,#{item.remark})
|
|
|
|
-</insert>
|
|
|
|
-
|
|
|
|
-
|
|
|
|
-
|
|
|
|
-
|
|
|
|
- </mapper>
|
|
|
|
|
|
+</mapper>
|