From 91d579fd968b97ad8bb629fab576f4e936da6581 Mon Sep 17 00:00:00 2001
From: yxj <1qaz@123>
Date: 星期三, 03 十一月 2021 16:01:46 +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