疯狂的狮子li
2021-08-24 fc98a260d6b7d7cb6198a4cb0906492ebc3ffa08
ruoyi-system/src/main/resources/mapper/system/SysUserPostMapper.xml
@@ -9,11 +9,4 @@
        <result property="postId" column="post_id"/>
    </resultMap>
    <insert id="batchUserPost">
        insert into sys_user_post(user_id, post_id) values
        <foreach item="item" index="index" collection="list" separator=",">
            (#{item.userId},#{item.postId})
        </foreach>
    </insert>
</mapper>