From 27b9cc5fa781f8376a863517d3979d0a201e43e9 Mon Sep 17 00:00:00 2001
From: yangle <admin@YINMOU>
Date: 星期四, 14 九月 2023 09:34:49 +0800
Subject: [PATCH] Merge branch 'master' of http://101.37.171.70:10101/r/MES-WEB-API

---
 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 5956b12..2dd8b65 100644
--- a/WebAPI/Controllers/BaseSet/Gy_SourceController.cs
+++ b/WebAPI/Controllers/BaseSet/Gy_SourceController.cs
@@ -316,11 +316,11 @@
         }
         [Route("Gy_Source/Gy_SourceTreeList")]
         [HttpGet]
-        public object Gy_SourceTreeList()
+        public object Gy_SourceTreeList(string sWhere)
         {
             try
             {
-                string sql1 = string.Format("select hitemid,hnumber,hname from Gy_Source order by hnumber");
+                string sql1 = string.Format("select hitemid,hnumber,hname from Gy_Source"+ sWhere + " order by hnumber");
 
                 ds = oCN.RunProcReturn(sql1, "Gy_Source");
 

--
Gitblit v1.9.1