From 7aa936eec82e59b9c8d1d976e53cd836fb60a43c Mon Sep 17 00:00:00 2001
From: Ben Lin <maobin001@msn.com>
Date: 星期二, 04 三月 2025 10:29:15 +0800
Subject: [PATCH] 雅达-同步更新:添加 CREATE_USER 属性并移除 CREATE_TIME 更新

---
 Tiger.Business.MES/Transaction/TestNode.cs |    4 ++--
 1 files changed, 2 insertions(+), 2 deletions(-)

diff --git a/Tiger.Business.MES/Transaction/TestNode.cs b/Tiger.Business.MES/Transaction/TestNode.cs
index ab44166..5422b50 100644
--- a/Tiger.Business.MES/Transaction/TestNode.cs
+++ b/Tiger.Business.MES/Transaction/TestNode.cs
@@ -216,6 +216,7 @@
             {
                 action.Data.ShortMsg = new("宸ュ簭寮傚父", ShortMessage.Types.Error);
                 action.Data.OperInfo = CurOperInfo(input.Locale);
+                ResetNode();
                 //action.CatchExceptionWithLog(ex, $"娴嬭瘯宸ュ簭锛氭彁浜ゆ搷浣滄暟鎹紓甯�");
                 action.CatchExceptionWithLog(ex, Biz.L("MES.Transaction.TestNode.SubmitException"));
             }
@@ -266,7 +267,6 @@
                             FLOW_SN = input.SN,
                             STATUS = MES_WIP_DATA.STATUSs.Init.GetValue(),
                             ITEM_CODE = CurBatch.WO.ITEM_CODE,
-                            QTY = 1,
                             WORK_ORDER = CurBatch.Batch.ORDER_NO,
                             BATCH_NO = CurBatch.Batch.BATCH_NO,
                             FTY_CODE = CurFactory.FTY_CODE,
@@ -326,7 +326,6 @@
                                 FLOW_SN = wipSN.SN,
                                 TRAY_SN = wipSN.TRAY_SN,
                                 STATUS = BIZ_MES_WO_SN.STATUSs.NotInput.GetValue(),
-                                QTY = 1,
                             });
                         }
                     }
@@ -357,6 +356,7 @@
                         wipSN.SEGMENT = curNode.SEGMENT;
                         wipSN.UNBIND_FLAG = "N";
                         wipSN.OPERATION_TIME = DateTime.Now;
+                        wipSN.OPERATION_END = DateTime.Now;
                         var curShiftPeriod = GetShiftPeriodForNow();
                         if (!curShiftPeriod.IsNullOrEmpty())
                         {

--
Gitblit v1.9.3