|
@@ -554,6 +554,7 @@ public class SysUserServiceImpl implements ISysUserService
|
|
|
if (type==null)type=0;
|
|
if (type==null)type=0;
|
|
|
if (type==0)roleId= UserRolesType.COMMON.getCode();
|
|
if (type==0)roleId= UserRolesType.COMMON.getCode();
|
|
|
else if (type==1)roleId=UserRolesType.MANAGE.getCode();
|
|
else if (type==1)roleId=UserRolesType.MANAGE.getCode();
|
|
|
|
|
+ if (name==null||name.length()<2)return new ArrayList<>();
|
|
|
return userMapper.selectName(name,roleId);
|
|
return userMapper.selectName(name,roleId);
|
|
|
}
|
|
}
|
|
|
|
|
|