From 6e1296126a4a9b1b808796a5ff2bfadf50da8bcc Mon Sep 17 00:00:00 2001
From: Rodney Chen <rodney.chen@hotmail.com>
Date: 星期二, 08 十月 2024 22:54:47 +0800
Subject: [PATCH] 保存工步的数据库提交操作到数据库,增加可以保存完工步数据后,保存附加的内容

---
 Tiger.Business.MES/WorkAction/PrintLabel.cs |    1 +
 1 files changed, 1 insertions(+), 0 deletions(-)

diff --git a/Tiger.Business.MES/WorkAction/PrintLabel.cs b/Tiger.Business.MES/WorkAction/PrintLabel.cs
index 7090d81..a818341 100644
--- a/Tiger.Business.MES/WorkAction/PrintLabel.cs
+++ b/Tiger.Business.MES/WorkAction/PrintLabel.cs
@@ -155,6 +155,7 @@
                     ACT_VALUE_1 = Label.LABEL_CODE,
                     ACT_VALUE_2 = Label.Variables.ToJson(),
                     ACT_RESULT = "Y",
+                    ELAPSED_TIME = CurStep.GetElapsedTime().TotalMilliseconds.ToInt64(),
                     TRACE_INFO = $"鏍囩{Label.LABEL_NAME}[{Label.LABEL_CODE}]鎵撳嵃鎴愬姛",
                 };
                 wipActs.Add(wipAct);

--
Gitblit v1.9.3