fix(文档拆分、自定义对比): realname搜索
This commit is contained in:
+1
@@ -29,6 +29,7 @@
|
||||
) referenceCountry,
|
||||
is_show,
|
||||
u.username username,
|
||||
u.realname realname,
|
||||
concat(u.realname, '(', u.username, ')') author,
|
||||
i.create_by,
|
||||
i.create_time,
|
||||
|
||||
+1
-1
@@ -111,7 +111,7 @@ public class LawsCustomCompareInfoServiceImpl extends ServiceImpl<LawsCustomComp
|
||||
List<String> list = Arrays.asList(lawsCustomCompareInfoVO.getReferenceCountry().split(","));
|
||||
queryWrapper.and(qw -> list.forEach(v -> qw.or(iqw -> iqw.like("referenceCountry", v))));
|
||||
}
|
||||
queryWrapper.like(StringUtils.isNotBlank(lawsCustomCompareInfoVO.getAuthor()), "username", lawsCustomCompareInfoVO.getAuthor());
|
||||
queryWrapper.like(StringUtils.isNotBlank(lawsCustomCompareInfoVO.getAuthor()), "realname", lawsCustomCompareInfoVO.getAuthor());
|
||||
queryWrapper.like(StringUtils.isNotBlank(lawsCustomCompareInfoVO.getIsShow()), "is_show", lawsCustomCompareInfoVO.getIsShow());
|
||||
|
||||
// 数据权限,默认只能查看公开的数据和操作人是当前登录人数据,管理员查看所有
|
||||
|
||||
Reference in New Issue
Block a user