MySQL_插入更新或者插入 ON DUPLICATE KEY UPDATE
<foreach collection="list" item="item" index="index" separator=";"> INSERT INTO tableName (WHID, MI_CODE, MI_NUMS) VALUES ( #{item.WHID},#{item.MI_CODE},#{item.INVENTORYNUM} ) ...
原创
2018-08-10 15:52:14 ·
2748 阅读 ·
0 评论