Mybatis批量更新

使用mybatis進行批量更新的時候,在mapper.xml中的寫法以下:html <update id="updateUserNeteaseAccount"> <foreach collection="userList" separator=";" item="user"> update ti_addrbook_user_company set accid = #{user.ac
相關文章
相關標籤/搜索