[前端] 修改判斷條件
This commit is contained in:
parent
fa81c4df0f
commit
bb3f1c0c8f
@ -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}' and A.AuthCode not like '%B%'
|
WHERE A.role_guid='{post.SelectedRoleId}' and A.AuthCode like 'PF%'
|
||||||
ORDER BY A.AuthCode ASC";
|
ORDER BY A.AuthCode ASC";
|
||||||
roleAuthList = await backendRepository.GetAllAsync<RoleAuthList>(sqlString);
|
roleAuthList = await backendRepository.GetAllAsync<RoleAuthList>(sqlString);
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user