From f05241b1842a8ede2f9b3442feda78ac98fbd4a7 Mon Sep 17 00:00:00 2001
From: duhe <226547893@qq.com>
Date: 星期一, 29 四月 2024 14:08:38 +0800
Subject: [PATCH] 1.(紧急)产品条码 条码编号规则:规格型号+流水号(原本流水号是做工单区分的,现在将工单区分取消,当天同一物料的流水号递增)

---
 WebAPI/Controllers/ReportPlatFormController.cs |    4 ++--
 1 files changed, 2 insertions(+), 2 deletions(-)

diff --git a/WebAPI/Controllers/ReportPlatFormController.cs b/WebAPI/Controllers/ReportPlatFormController.cs
index 2a1c600..5a410a8 100644
--- a/WebAPI/Controllers/ReportPlatFormController.cs
+++ b/WebAPI/Controllers/ReportPlatFormController.cs
@@ -161,13 +161,13 @@
         #region 鎶ュ伐骞冲彴鍒犻櫎璧勬簮鍒楄〃
         [Route("ReportPlatForm/DeleteGetLineBindBillList")]
         [HttpGet]
-        public object DeleteGetLineBindBillList(string HSourceID)
+        public object DeleteGetLineBindBillList(string HSourceID,string user)
         {
             try
             {
                 oCN.BeginTran();
                 //鏇存柊鍒囨崲鐘舵�佸��
-                string sql = string.Format(@"delete Gy_SourceRelationSet  where HSourceID='" + HSourceID + "'");
+                string sql = string.Format(@"delete Gy_SourceRelationSet  where HSourceID='" + HSourceID + "' and HUserName = '" + user + "'");
                 oCN.RunProc(sql);
                 oCN.Commit();
                 objJsonResult.code = "1";

--
Gitblit v1.9.1