From 246e102276477660ac2db470e1e0393d93ce991a Mon Sep 17 00:00:00 2001 From: dev02 Date: Mon, 30 Jan 2023 14:51:39 +0800 Subject: [PATCH] =?UTF-8?q?=E4=BF=AE=E6=94=B9role=5Fauth=20show=20list?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- FrontendWebApi/ApiControllers/UserController.cs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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);