10 2022 档案
摘要:文章目录 通过limit分页查询 通过Rowbounds 通过分页插件pagehelper 通过limit分页查询mapper接口 1 List<User> getUserByLimit(Map<String,Integer> map); mapper.xml 1 <select id="getUs
阅读全文
摘要:1、顺序传参法 public User selectUser(String name, int deptId); <select id="selectUser" resultMap="UserResultMap"> select * from user where user_name = #{0}
阅读全文
摘要:在配置好了Tomcat依赖后,本来是可以创建Servlet的,但是第二天打开就会没有Servlet选项 解决方法 1、选中项目file-project structure-modules 2、选中src 标记为resources 3、回到项目 重新进入 file-project structure
阅读全文