bulk insert onduplicate (mybatis)
INSERT INTO 테이블
(
va1,
val2
)
VALUES
<foreach collection="list" separator="," item="data">
(
, NOW()
,#{data.value}
)
</foreach>
ON DUPLICATE KEY UPDATE
evd_val = values(컬럼명)
</update>