From a69571c4e9c4008ce8b3dfc716a58830135ce600 Mon Sep 17 00:00:00 2001
From: zrg <z1873@LAPTOP-EAVL132E>
Date: 星期一, 20 四月 2026 09:54:53 +0800
Subject: [PATCH] 修复流转卡编辑保存,原因是没删除返工关联信息子表

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

diff --git a/WebAPI/Controllers/ZWDBController.cs b/WebAPI/Controllers/ZWDBController.cs
index 6725600..141c0c3 100644
--- a/WebAPI/Controllers/ZWDBController.cs
+++ b/WebAPI/Controllers/ZWDBController.cs
@@ -25,7 +25,8 @@
             List<object> columnNameList = new List<object>();
             try
             {
-                DataSet ds = oCn.RunProcReturn("select  * from h_v_ZWDB where 1=1 order by HItemID desc", "h_v_ZWDB");
+                string sql = $"select  * from h_v_ZWDB where 1=1 and 鍒涘缓浜�='{user}'  order by HItemID desc";
+                DataSet ds = oCn.RunProcReturn(sql, "h_v_ZWDB");
                 foreach(DataColumn col in ds.Tables[0].Columns)
                 {
                     Type dataType = col.DataType;

--
Gitblit v1.9.1