From bb3f1c0c8fac154bc1feeb1092f68a7baa7e33ee Mon Sep 17 00:00:00 2001 From: dev02 Date: Fri, 13 Oct 2023 17:58:26 +0800 Subject: [PATCH] =?UTF-8?q?[=E5=89=8D=E7=AB=AF]=20=E4=BF=AE=E6=94=B9?= =?UTF-8?q?=E5=88=A4=E6=96=B7=E6=A2=9D=E4=BB=B6?= 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 e129888..8b2c6e1 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}' and A.AuthCode not like '%B%' + WHERE A.role_guid='{post.SelectedRoleId}' and A.AuthCode like 'PF%' ORDER BY A.AuthCode ASC"; roleAuthList = await backendRepository.GetAllAsync(sqlString);