From 655dcd6abee52e038e59cd557c3237073c90f979 Mon Sep 17 00:00:00 2001
From: yusijie <ysj@hz-kingdee.com>
Date: 星期四, 03 四月 2025 15:01:15 +0800
Subject: [PATCH] 登录方法查询修改;各列表查询修改供应商过滤方式

---
 WebAPI/Controllers/BarCodeController.cs |    6 +++---
 1 files changed, 3 insertions(+), 3 deletions(-)

diff --git a/WebAPI/Controllers/BarCodeController.cs b/WebAPI/Controllers/BarCodeController.cs
index b17ad08..b1c62b2 100644
--- a/WebAPI/Controllers/BarCodeController.cs
+++ b/WebAPI/Controllers/BarCodeController.cs
@@ -1452,7 +1452,7 @@
         [HttpPost]
         public object GetBarCodeShowList([FromBody] JObject msg)
         {
-            string HSupNo = msg["HSupNo"].ToString(); string sqlWhere = msg["sqlWhere"].ToString();
+            string HSupIDs = msg["HSupIDs"].ToString(); string sqlWhere = msg["sqlWhere"].ToString();
             //娣诲姞鍒楀悕
             List<object> columnNameList = new List<object>();           
             try
@@ -1461,7 +1461,7 @@
                 string PcWhere = "";
                 SQLHelper.ClsCN oCn = new SQLHelper.ClsCN();
                 DataSet ds;
-                string sql = " Where hsupid in (select HSupID from h_v_Gy_UserSupplierList where 鐢ㄦ埛=''" + HSupNo.Trim() + "'') " + sqlWhere;
+                string sql = " Where hsupid in (" + HSupIDs.Trim() + ")" + sqlWhere;
 
                 if (Common.SQLtoChange(sql, ref VsWhere, ref PcWhere) == false)
                 {
@@ -1472,7 +1472,7 @@
                     return objjson;
                 }
                 //鑾峰彇鎬昏鏁�
-                Int64 RowTotal = Common.GetRowTotal("h_v_SRM_BarCodeBillList", VsWhere, ref DBUtility.ClsPub.sExeReturnInfo);
+                //Int64 RowTotal = Common.GetRowTotal("h_v_SRM_BarCodeBillList", VsWhere, ref DBUtility.ClsPub.sExeReturnInfo);
                 //鑾峰彇杩斿洖鏁版嵁
                 ds = oCn.RunProcReturn("exec h_p_SRM_BarCodeBillList '" + PcWhere + "'", "h_v_SRM_BarCodeBillList");
                 if (ds == null || ds.Tables[0].Rows.Count == 0)

--
Gitblit v1.9.1