mybatis uses the list collection as a parameter 2_mybatis recommends using a collection as a parameter?_bruobuqi0106’s blog
1.mybatis uses the list collection as a parameter Use the list entity class as a parameter for batch deletion mapper.java void deleteUserByIds(@Param(“userlist”) List list); user.xml delete from user where id in #{item.id}