mybatis-plus 查询 QueryWrapper 带嵌套子查询
QueryWrapper<Source> queryWrapper = new QueryWrapper(); if (StrUtil.isNotEmpty(filter)) { queryWrapper.or(i->i.like("name", filter).or().like("description", filter)); } if (StrUtil.isNotEmpty(catalog)) { queryWrapper.eq("catalog_id", .
原创
2020-08-10 17:14:41 ·
30191 阅读 ·
1 评论