From f84c16d8a3e18bc25189d4feae18362e1aa8a622 Mon Sep 17 00:00:00 2001
From: zzr99 <1940172413@qq.com>
Date: 星期一, 30 八月 2021 17:45:54 +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