MybatisPlus之QueryWrapper与LambdaQueryWrapper的用法及区别
/** * 1. QueryWrapper 用法示例 */List<UserDo> userList = userMapper.selectList(new QueryWrapper<UserDo>() .like("email", "24252") .between("age", 20, 22) .or() .eq("name", "zcx"));System.out.println("userList:".
原创
2022-04-25 17:54:32 ·
2471 阅读 ·
0 评论