From fc96db38cf5e190cd8724b0cf945041c4d41b146 Mon Sep 17 00:00:00 2001 From: zgq <519541279@qq.com> Date: 星期五, 23 七月 2021 17:14:50 +0800 Subject: [PATCH] 生产资源列表显示被禁用的数据 --- 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