From 215aa5a1ca3c5cff826e8c0ee529a6ac6f380c36 Mon Sep 17 00:00:00 2001 From: zzr99 <1940172413@qq.com> Date: 星期五, 26 十一月 2021 17:35:56 +0800 Subject: [PATCH] Merge branch 'master' of http://101.37.171.70:10101/r/MES-WEB-API --- WebAPI/WebServer.cs | 61 ++++++++++++++++++++++++++++++ 1 files changed, 61 insertions(+), 0 deletions(-) diff --git a/WebAPI/WebServer.cs b/WebAPI/WebServer.cs index 8dc1a1b..6509869 100644 --- a/WebAPI/WebServer.cs +++ b/WebAPI/WebServer.cs @@ -3991,6 +3991,25 @@ //sErrMsg = "淇濆瓨璋冩嫧鍗曞け璐ワ紒" + sErrMsg; //return false; } + + public bool set_MoveStockStepOutBill(WebAPI.WebS.ClsKf_MoveStockStepOutBillMain oMain, string sHSourceType, ref string sErrMsg) + { + WebS.WebService1 oWebs = new WebS.WebService1(); + if (oWebs.set_SaveMoveStockStepOutBill_New(oMain, sHSourceType, ref sErrMsg)) + { + sErrMsg = "淇濆瓨鎴愬姛锛�" + oMain.HBillNo; + return true; + } + else + { + sErrMsg = "鍗曟嵁鍙凤細" + oMain.HBillNo + ", 鍗曟嵁ID锛�" + oMain.HInterID + ";" + sErrMsg; + return false; + } + + + } + + //鍒犻櫎璁板綍 public bool set_DelPonderationBillMain_Temp_InterIDAndSource(long HInterID, long HMaterID, long HAuxPropID, string HMTONo, long HSourceInterID, long HSourceEntryID, string sHBillType, ref string sErrMsg) { @@ -4486,6 +4505,33 @@ return false; } } + + public bool set_SaveICMOReportBill_Json(WebAPI.WebS.ClsSc_ICMOReportBillMain oMain, string sHSourceType, ref string sErrMsg) + { + //BLL.ClsKf_POStockInBill bll = new BLL.ClsKf_POStockInBill(); + //return bll.set_SavePOStockInBill_New(oMain, sHSourceType, ref DBUtility.ClsPub.sExeReturnInfo); + WebS.WebService1 oWebs = new WebS.WebService1(); + if (oWebs.set_SaveICMOReportBill_New(oMain, sHSourceType, ref sErrMsg)) + { + //鍒ゆ柇鏄惁鍙嶅啓鎴愬姛 + //if (set_UpdateHStatus(oMain.HInterID, oMain.HExplanation.ToString())) + //{ + sErrMsg = "淇濆瓨鎴愬姛锛�" + oMain.HBillNo; + return true; + //} + //else + //{ + // sErrMsg = "淇濆瓨鎴愬姛锛�" + oMain.HBillNo + "鐘舵�佸弽鍐欏け璐ワ紒"; + // return true; + //} + } + else + { + sErrMsg = "鍗曟嵁鍙凤細" + oMain.HBillNo + ", 鍗曟嵁ID锛�" + oMain.HInterID + ";" + sErrMsg; + return false; + } + } + /// <summary> /// 鐢熸垚澶栬喘鍏ュ簱鍗昁3 @@ -7771,5 +7817,20 @@ } #endregion + #region [鑾峰彇鎵撳嵃妯℃澘] + /// <summary> + /// 鎵撳嵃妯℃澘鍒楄〃 + /// </summary> + /// <param name="sWhere"></param> + /// <param name="sErr"></param> + /// <returns></returns> + public DataSet GetOpenTmpList(string sWhere, ref string sErr) + { + SQLHelper.ClsCN oCn = new SQLHelper.ClsCN(); + DataSet ds = new DataSet(); + ds = oCn.RunProcReturn("select * from h_v_IF_OpenTmpList " + sWhere, "h_v_IF_OpenTmpList"); + return ds; + } + #endregion } } \ No newline at end of file -- Gitblit v1.9.1