diff --git a/FrontendWebApi/ApiControllers/UserController.cs b/FrontendWebApi/ApiControllers/UserController.cs index 7605e3d..859faea 100644 --- a/FrontendWebApi/ApiControllers/UserController.cs +++ b/FrontendWebApi/ApiControllers/UserController.cs @@ -511,7 +511,7 @@ namespace FrontendWebApi.ApiControllers LEFT JOIN role B ON A.role_guid=B.role_guid AND B.deleted=0 INNER JOIN auth_page C ON A.AuthCode=C.AuthCode LEFT JOIN building D ON C.building_tag=D.building_tag AND D.deleted=0 - WHERE A.role_guid='{post.SelectedRoleId}' + WHERE A.role_guid='{post.SelectedRoleId}' and A.AuthCode not like '%B%' ORDER BY A.AuthCode ASC"; roleAuthList = await backendRepository.GetAllAsync(sqlString);