From 8bc72ee135ec74b360d11dd5bff3313c928e1f34 Mon Sep 17 00:00:00 2001
From: YL <YL@LAPTOP-SE03PLUR>
Date: 星期三, 16 六月 2021 21:28:09 +0800
Subject: [PATCH] 增加附件列表功能,以及上传附件,下载附件功能。

---
 WebAPI/WebServer.cs |   47 +++++++++++++++++++++++++++++++++++++++--------
 1 files changed, 39 insertions(+), 8 deletions(-)

diff --git a/WebAPI/WebServer.cs b/WebAPI/WebServer.cs
index 743d1af..8ed27bd 100644
--- a/WebAPI/WebServer.cs
+++ b/WebAPI/WebServer.cs
@@ -53,6 +53,34 @@
             //DAL.ClsIF_Department_View dal = new DAL.ClsIF_Department_View();
             //return dal.GetList(sWhere);
         }
+
+        /// <summary>
+        /// 鑾峰彇鐗╂枡鍒楄〃
+        /// </summary>
+        /// <param name="sWhere"></param>
+        /// <param name="sErr"></param>
+        /// <returns></returns>
+        public DataSet GetMaterialList(string sWhere, ref string sErr)
+        {
+            BLL.ClsIF_Material_View bll = new BLL.ClsIF_Material_View();
+            return bll.GetList(sWhere, ref DBUtility.ClsPub.sExeReturnInfo);
+        }
+
+        //ClsGy_Unit_View
+        /// <summary>
+        /// 鑾峰彇鍗曚綅鍒楄〃
+        /// </summary>
+        /// <param name="sWhere"></param>
+        /// <param name="sErr"></param>
+        /// <returns></returns>
+        public DataSet GetUnitList(string sWhere, ref string sErr)
+        {
+
+            DAL.ClsGy_Unit_View dal = new DAL.ClsGy_Unit_View();
+            return dal.GetList(sWhere);
+        }
+
+
         /// <summary>
         /// 鑱屽憳鍒楄〃
         /// </summary>
@@ -5196,18 +5224,21 @@
              DAL.Cls_S_IF_SellOutBill_Lite dal = new DAL.Cls_S_IF_SellOutBill_Lite();
              return dal.DisSourceBillList(sWhere);
          }
-         #endregion
+
+
+       
+        #endregion
 
         #region   濮斿鍏ュ簱
 
 
-         /// <summary>
-         /// 鐢熸垚濮斿鍏ュ簱鍗昁3
-         /// </summary>
-         /// <param name="oMain"></param>
-         /// <param name="sErrMsg"></param>
-         /// <returns></returns>
-         public bool SaveEntrustInBill_K3(Model.ClsKf_EntrustInBillMain oMain, string sHSourceType, Pub_Class.ClsXt_SystemParameterMain oSystemParameterMain, ref string sErrMsg)
+        /// <summary>
+        /// 鐢熸垚濮斿鍏ュ簱鍗昁3
+        /// </summary>
+        /// <param name="oMain"></param>
+        /// <param name="sErrMsg"></param>
+        /// <returns></returns>
+        public bool SaveEntrustInBill_K3(Model.ClsKf_EntrustInBillMain oMain, string sHSourceType, Pub_Class.ClsXt_SystemParameterMain oSystemParameterMain, ref string sErrMsg)
          {
              SQLHelper.ClsCN oCn = new SQLHelper.ClsCN();
              DAL.ClsKf_EntrustInBill dal = new DAL.ClsKf_EntrustInBill();

--
Gitblit v1.9.1