mirror of
https://gitee.com/likeadmin/likeadmin_java.git
synced 2026-05-08 08:07:46 +08:00
修复管理员搜索bug
This commit is contained in:
@@ -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,
|
||||
|
||||
Reference in New Issue
Block a user