修复管理员搜索bug
This commit is contained in:
parent
327f0df6a9
commit
0077e75e85
|
|
@ -77,10 +77,13 @@ public class SystemAuthAdminServiceImpl implements ISystemAuthAdminService {
|
|||
|
||||
systemAuthAdminMapper.setSearch(mpjQueryWrapper, searchValidate, new String[]{
|
||||
"like:username:str",
|
||||
"like:nickname:str",
|
||||
"=:role:int"
|
||||
"like:nickname:str"
|
||||
});
|
||||
|
||||
if (StringUtil.isNotNull(searchValidate.getRole())) {
|
||||
mpjQueryWrapper.in("role_ids", Collections.singletonList(searchValidate.getRole()));
|
||||
}
|
||||
|
||||
IPage<SystemAuthAdminListedVo> iPage = systemAuthAdminMapper.selectJoinPage(
|
||||
new Page<>(page, limit),
|
||||
SystemAuthAdminListedVo.class,
|
||||
|
|
|
|||
Loading…
Reference in New Issue