From 6e4713d36e144f8c6e67ed780e20004734818f84 Mon Sep 17 00:00:00 2001 From: yxj <yxj@hz-kingdee.com> Date: 星期二, 19 八月 2025 13:55:18 +0800 Subject: [PATCH] 新增工序汇报单同步至金蝶云调用方法;新增直接调拨免扫码模块,扫描源单、上传生成单据调用方法 --- WebAPI/Controllers/CJGL/Cj_StationOutBillController.cs | 45 +++++++++++++++++++++++++++++++++++++++++++++ 1 files changed, 45 insertions(+), 0 deletions(-) diff --git a/WebAPI/Controllers/CJGL/Cj_StationOutBillController.cs b/WebAPI/Controllers/CJGL/Cj_StationOutBillController.cs index 52f9891..871a794 100644 --- a/WebAPI/Controllers/CJGL/Cj_StationOutBillController.cs +++ b/WebAPI/Controllers/CJGL/Cj_StationOutBillController.cs @@ -23,6 +23,7 @@ public DBUtility.ClsPub.Enum_BillStatus BillStatus; Pub_Class.ClsXt_SystemParameter oSystemParameter = new Pub_Class.ClsXt_SystemParameter(); public DAL.ClsSc_ICMOBill BillOld = new DAL.ClsSc_ICMOBill(); + public WebS.WebService1 oWebs = new WebS.WebService1(); private json objJsonResult = new json(); SQLHelper.ClsCN oCN = new SQLHelper.ClsCN(); DataSet ds; @@ -4320,5 +4321,49 @@ } } #endregion + + + #region 宸ュ簭姹囨姤鍗曞悓姝ヨ嚦閲戣澏浜� + + /// <summary> + /// 宸ュ簭姹囨姤鍗曞悓姝ヨ嚦閲戣澏浜� + /// </summary> + /// <returns></returns> + [Route("Cj_StationOutBill/set_SaveStationOutBill_CLD_Json")] + [HttpGet] + public object set_SaveStationOutBill_CLD_Json(Int64 HInterID, string HBillNo, string HMaker) + { + try + { + if (oWebs.set_SaveStationOutBill_CLD(HInterID, HBillNo, HMaker, ref DBUtility.ClsPub.sErrInfo)) + { + objJsonResult.code = "0"; + objJsonResult.count = 1; + objJsonResult.Message = "鎴愬姛"; + objJsonResult.data = null; + return objJsonResult; + } + else + { + objJsonResult.code = "0"; + objJsonResult.count = 0; + objJsonResult.Message = DBUtility.ClsPub.sErrInfo; + objJsonResult.data = null; + return objJsonResult; + } + } + catch (Exception e) + { + objJsonResult.code = "0"; + objJsonResult.count = 0; + objJsonResult.Message = "鍚屾鑷抽噾铦朵簯澶辫触锛�" + e.ToString(); + objJsonResult.data = null; + return objJsonResult; + } + } + + #endregion + + } } \ No newline at end of file -- Gitblit v1.9.1