摘要:
1. 通过用户名模糊查询用户信息 SpecialSQLMapper.java public interface SpecialSQLMapper { List<User> getUserByLike(@Param("mohu") String mohu); } SpecialSQLMapper.xm 阅读全文
posted @ 2022-08-27 18:27
浑浑噩噩一只小迷七
阅读(42)
评论(0)
推荐(0)
摘要:
1. 获取总记录数count SelectMapper.java public interface SelectMapper { /** * 查询用户的总数量 * @return */ Integer getCount(); } SelectMapper.xml MyBatis中为Java中常用的类 阅读全文
posted @ 2022-08-27 17:27
浑浑噩噩一只小迷七
阅读(124)
评论(0)
推荐(0)
浙公网安备 33010602011771号