From 96fa1feae3bd8888de0b4fdaf9bd2e84866013dd Mon Sep 17 00:00:00 2001 From: YL <YL@LAPTOP-SE03PLUR> Date: 星期四, 16 十二月 2021 17:00:52 +0800 Subject: [PATCH] nothing --- WebAPI/Controllers/BaseSet/Gy_SourceController.cs | 4 ++-- 1 files changed, 2 insertions(+), 2 deletions(-) diff --git a/WebAPI/Controllers/BaseSet/Gy_SourceController.cs b/WebAPI/Controllers/BaseSet/Gy_SourceController.cs index c61d537..a4ee1b4 100644 --- a/WebAPI/Controllers/BaseSet/Gy_SourceController.cs +++ b/WebAPI/Controllers/BaseSet/Gy_SourceController.cs @@ -34,11 +34,11 @@ { if (sWhere == null || sWhere.Equals("")) { - ds = oCN.RunProcReturn("select * from h_v_IF_SourceList where 绂佺敤鏍囪='' ", "h_v_IF_SourceList"); + ds = oCN.RunProcReturn("select * from h_v_IF_SourceList where 1=1 ", "h_v_IF_SourceList"); } else { - string sql1 = "select * from h_v_IF_SourceList where 绂佺敤鏍囪='' "; + string sql1 = "select * from h_v_IF_SourceList where 1=1 "; string sql = sql1 + sWhere; ds = oCN.RunProcReturn(sql, "h_v_IF_SourceList"); } -- Gitblit v1.9.1