From 9d02c456ba1501f831e4273f5393eee79736d468 Mon Sep 17 00:00:00 2001 From: dev02 Date: Mon, 12 Dec 2022 16:15:04 +0800 Subject: [PATCH] fix problem --- FrontendWebApi/ApiControllers/UserController.cs | 3 --- 1 file changed, 3 deletions(-) diff --git a/FrontendWebApi/ApiControllers/UserController.cs b/FrontendWebApi/ApiControllers/UserController.cs index d194630..01d4d5d 100644 --- a/FrontendWebApi/ApiControllers/UserController.cs +++ b/FrontendWebApi/ApiControllers/UserController.cs @@ -65,9 +65,6 @@ namespace FrontendWebApi.ApiControllers if (post.Role_full_name != null) sqlString += $@" and B.full_name like '%{post.Role_full_name}%'"; - - if (post.Status != null) - sqlString += $@" and A.status = '{post.Status}'"; } sqlString += " ORDER BY A.created_at DESC";