From 7fcf7cc09a728223220a757614d8421115e19895 Mon Sep 17 00:00:00 2001 From: zrg <z18737863051@163.com> Date: 星期二, 26 三月 2024 17:11:50 +0800 Subject: [PATCH] 异常反馈接收单,异常反馈类型 查询,编辑,审核,关闭,作废 --- WebAPI/Controllers/XSGL/Xs_SeOutStockBillController.cs | 10 +++++++--- 1 files changed, 7 insertions(+), 3 deletions(-) diff --git a/WebAPI/Controllers/XSGL/Xs_SeOutStockBillController.cs b/WebAPI/Controllers/XSGL/Xs_SeOutStockBillController.cs index 50923f1..92ff4de 100644 --- a/WebAPI/Controllers/XSGL/Xs_SeOutStockBillController.cs +++ b/WebAPI/Controllers/XSGL/Xs_SeOutStockBillController.cs @@ -128,7 +128,7 @@ /// <returns></returns> [Route("Xs_SeOutStockBill/DeltetSeOutStockBill")] [HttpGet] - public object DeltetSeOutStockBill(string HInterID,string user) + public object DeltetSeOutStockBill(string HInterID, string HsupId, string HQty, string HSourceInterID, string HSourceEntryID, string user) { try { @@ -144,6 +144,8 @@ oCN.BeginTran(); var ds = oCN.RunProcReturn("select * from Xs_SeOutStockBillMain where HInterID=" + HInterID, "Xs_SeOutStockBillMain"); + + var dss = oCN.RunProcReturn("exec h_p_Xs_SeOutStockBillMain_Delete " + HQty + ", '" + HSourceInterID + "', '" + HSourceEntryID + "','" + user + " '", "h_p_Xs_SeOutStockBillMain_Delete"); //鍒犻櫎鍓嶆帶鍒� DataSet BeforeDs = oCN.RunProcReturn("Exec h_p_Xs_SeOutStockBill_BeforeDelCtrl " + HInterID.ToString() + ",'" + user + "'", "h_p_Xs_SeOutStockBill_BeforeDelCtrl"); if (BeforeDs == null || BeforeDs.Tables[0].Rows.Count == 0) @@ -371,7 +373,7 @@ oCN.RunProc("delete from Xs_SeOutStockBillSub where HInterID='" + HInterID + "'"); } //淇濆瓨瀛愯〃 - objJsonResult = AddBillSub(msg3, HInterID, OperationType); + objJsonResult = AddBillSub(msg3, HInterID, OperationType,user); //淇濆瓨鍚庢帶鍒�========================================= @@ -420,7 +422,7 @@ } } - public json AddBillSub(string msg3, long HInterID, int OperationType) + public json AddBillSub(string msg3, long HInterID, int OperationType,string user) { List<ClsXs_SeOutStockBillSub> DetailColl = Newtonsoft.Json.JsonConvert.DeserializeObject<List<ClsXs_SeOutStockBillSub>>(msg3); @@ -484,6 +486,8 @@ ,{oSub.HAuxPropID},'{oSub.HBatchNO}','{oSub.HMTONo}',{oSub.HERPInterID},{oSub.HERPEntryID})"; oCN.RunProc(sql); + + ds = oCN.RunProcReturn("exec h_p_Xs_SeOutStockBillMain " + oSub.HQty + ", '" + oSub.HSourceInterID + "', '" + oSub.HSourceEntryID + "','" + user + " '", "h_p_Xs_SeOutStockBillMain"); } objJsonResult.code = "1"; -- Gitblit v1.9.1