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/WipExtInfo.cs | 1 + 1 files changed, 1 insertions(+), 0 deletions(-) diff --git a/Tiger.Business.MES/WorkAction/WipExtInfo.cs b/Tiger.Business.MES/WorkAction/WipExtInfo.cs index ebe7ec5..6f3aa22 100644 --- a/Tiger.Business.MES/WorkAction/WipExtInfo.cs +++ b/Tiger.Business.MES/WorkAction/WipExtInfo.cs @@ -208,6 +208,7 @@ ACT_SN = wipSn.SN, ACT_VALUE_1 = CurWipExt.ToJson(), ACT_RESULT = "Y", + ELAPSED_TIME = CurStep.GetElapsedTime().TotalMilliseconds.ToInt64(), TRACE_INFO = $"浜у搧[{CurPosition.CurSN}]缁戝畾[{ExtInfo.FIELD_NAME}]鏍囩鏉$爜[{CurWipExt.GetType().GetProperty($"FIELD_{ExtInfo.SEQ.ToString("00")}")?.GetValue(CurWipExt)?.ToString()}]淇濆瓨鎴愬姛", }; wipActs.Add(wipAct); -- Gitblit v1.9.3