From 7bbc3e97ad19eb90d0e30045617a80bb7b816df3 Mon Sep 17 00:00:00 2001
From: yusijie <ysj@hz-kingdee.com>
Date: 星期二, 25 六月 2024 12:20:29 +0800
Subject: [PATCH] 过程检验,巡检记录单添加批号字段;pda添加模具点检记录单;设备/模具-点检/保养规程根据当前选择设备/模具带出

---
 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