修改role_auth show list

This commit is contained in:
dev02 2023-01-30 14:51:39 +08:00
parent e43389724f
commit 246e102276

View File

@ -511,7 +511,7 @@ namespace FrontendWebApi.ApiControllers
LEFT JOIN role B ON A.role_guid=B.role_guid AND B.deleted=0 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 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 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"; ORDER BY A.AuthCode ASC";
roleAuthList = await backendRepository.GetAllAsync<RoleAuthList>(sqlString); roleAuthList = await backendRepository.GetAllAsync<RoleAuthList>(sqlString);