mybatis-plus封装的方法使用

如何使用分页? 能够在controller 层或者在 serviceimpl调用 只须要调用 page.setRecords 就能够把数据分页 (强烈建议在serviceimpl实现,有些写在controller会没法分页) 对应的service Page<User> selectUserPage(Page<User> page); 对应的serviceimpl (这两个方法都是本身写的Mappe
相关文章
相关标签/搜索