mikuriya

Mybatis批量插入

<insert id="xxx">
    INSERT INTO table(id, ......)
    VALUES
    <foreach collection ="list" item="nPro" separator =",">
        #{nPro.id}, ......
    </foreach>
</insert>

mikuriya,偶遇良缘。

posted on 2021-02-22 14:29  mikuriya  阅读(54)  评论(0编辑  收藏  举报

导航