From e691f2ecede6a962dfa76bb4a494ac1c80c9a389 Mon Sep 17 00:00:00 2001
From: yl <ykxkd@outlook.com>
Date: 星期六, 10 九月 2022 00:05:58 +0800
Subject: [PATCH] 设备点检记录导出接口去掉分页参数,设备保养记录查询、明细查询、导出(接口开发)

---
 VueWebApi/DLL/DAL/ProductionManagementDAL.cs |    4 ++--
 1 files changed, 2 insertions(+), 2 deletions(-)

diff --git a/VueWebApi/DLL/DAL/ProductionManagementDAL.cs b/VueWebApi/DLL/DAL/ProductionManagementDAL.cs
index 8012c84..5bd6c2b 100644
--- a/VueWebApi/DLL/DAL/ProductionManagementDAL.cs
+++ b/VueWebApi/DLL/DAL/ProductionManagementDAL.cs
@@ -2487,10 +2487,10 @@
                 for (int i = 0; i < dt.Rows.Count; i++)
                 {
                     //鍏抽棴宸ュ崟瀵瑰簲宸ュ簭浠诲姟
-                    sql = @"update TK_Wrk_Step set status='CLOSED'  where wo_code=@wocode";
+                    sql = @"update TK_Wrk_Step set status='START'  where wo_code=@wocode";
                     list.Add(new { str = sql, parm = new { wocode = dt.Rows[i]["WO_CODE"].ToString() } });
                     //鍥炲啓宸ュ崟琛ㄧ姸鎬佷负(鍏抽棴)
-                    sql = @"update TK_Wrk_Man set status='CLOSED',closeuser=@username,closedate=@closedate  where wo_code=@wocode";
+                    sql = @"update TK_Wrk_Man set status='START',closeuser=@username,closedate=@closedate  where wo_code=@wocode";
                     list.Add(new { str = sql, parm = new { wocode = dt.Rows[i]["WO_CODE"].ToString(), username = username, closedate = DateTime.Now.ToString() } });
                 }
                 bool aa = DapperHelper.DoTransaction(list);

--
Gitblit v1.9.3