From 99e41064f7a5ac3f5a70c9d80637318a6e3ee45d Mon Sep 17 00:00:00 2001
From: 王 垚 <1402714037@qq.com>
Date: 星期五, 31 十二月 2021 20:10:39 +0800
Subject: [PATCH] nn

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

diff --git a/WebAPI/Controllers/BarCodeController.cs b/WebAPI/Controllers/BarCodeController.cs
index 63817c5..c8bb13e 100644
--- a/WebAPI/Controllers/BarCodeController.cs
+++ b/WebAPI/Controllers/BarCodeController.cs
@@ -1735,6 +1735,35 @@
                 return objjson;
             }
         }
+
+        [Route("DeltetBarCodeBill")]
+        [HttpGet]
+        public object DeltetBarCodeBill(string HInterID, string HUserName)
+        {
+            SQLHelper.ClsCN oCN = new SQLHelper.ClsCN();
+            try
+            {
+                WebAPIController.Add_Log("鏉$爜妗f鍒犻櫎", HUserName, "鏉$爜妗f鍒犻櫎");
+                oCN.BeginTran();
+                //LogService.Write("Delete From Gy_BarCodeBill where HItemID in(" + HInterID + ")") ;
+                oCN.RunProc("Delete From Gy_BarCodeBill where HItemID in(" + HInterID + ") ");
+                oCN.Commit();
+                objJsonResult.code = "1";
+                objJsonResult.count = 1;
+                objJsonResult.Message = "鍒犻櫎鎴愬姛锛�";
+                objJsonResult.data = null;
+                return objJsonResult;
+            }
+            catch (Exception e)
+            {
+                oCN.RollBack();
+                objJsonResult.code = "0";
+                objJsonResult.count = 0;
+                objJsonResult.Message = "Exception锛�" + e.ToString();
+                objJsonResult.data = null;
+                return objJsonResult;
+            }
+        }
         #endregion
     }
 }
\ No newline at end of file

--
Gitblit v1.9.1