From 0993739f3339e1fdf8580c0da3bf16a21b1efd45 Mon Sep 17 00:00:00 2001
From: yxj <1qaz@123>
Date: 星期二, 19 四月 2022 21:12:37 +0800
Subject: [PATCH] 工序委外接收单列表模块界面调整

---
 WebAPI/WebServer.cs |   29 +++++++++++++++++++++++++++++
 1 files changed, 29 insertions(+), 0 deletions(-)

diff --git a/WebAPI/WebServer.cs b/WebAPI/WebServer.cs
index 897c588..9e2f5af 100644
--- a/WebAPI/WebServer.cs
+++ b/WebAPI/WebServer.cs
@@ -3841,6 +3841,28 @@
             }
         }
 
+        //鏍规嵁鎵樻潯鐮�  鑾峰彇鏉$爜妗f鍒楄〃鍞竴鐮佷俊鎭�
+        public DataSet GetBarCode(string HBarCode)
+        {
+            SQLHelper.ClsCN oCn = new SQLHelper.ClsCN();
+            //
+            try
+            {
+                DataSet DS = oCn.RunProcReturn("select HBarCode,HQty from Sc_PackUnionBillSub where HBarCode_Pack ='" + HBarCode.ToString() + "'", "Sc_PackUnionBillSub", ref DBUtility.ClsPub.sExeReturnInfo);
+                //DataSet DS = oCn.RunProcReturn("Select * from h_v_Sc_AssemblyBill Where HInterID=" + HInterID.ToString() + " and HBillType='" + sBillType + "' " + sWhere, "h_v_Sc_AssemblyBill", ref DBUtility.ClsPub.sExeReturnInfo);
+                if (DS.Tables[0].Rows.Count == 0)
+                    return null;
+                else
+                {
+                    return DS;
+                }
+            }
+            catch (Exception e)
+            {
+                throw (e);
+            }
+        }
+
         public DataSet GetHBW(long HBadType)
         {
             SQLHelper.ClsCN oCn = new SQLHelper.ClsCN();
@@ -7972,5 +7994,12 @@
             return dal.GetKf_ICStockBillList(sHBillType, HMaker, HOrgID);
         }
 
+        //杩斿洖缂撳瓨鍒楄〃鏌ヨ宸蹭笂浼犲垪琛ㄤ俊鎭�
+        public DataSet GetQueryBillUpdateLoad_Json(string BillType, string HBillNo, string HSourceBillNo)
+        {
+            DAL.ClsKF_PonderationBillMain_Temp_View dal = new DAL.ClsKF_PonderationBillMain_Temp_View();
+            return dal.GetKf_ICStockBillQueryList(BillType, HBillNo, HSourceBillNo);
+        }
+
     }
 }
\ No newline at end of file

--
Gitblit v1.9.1