From e4ccb1dbd2af10d3322cba90722baf059e5bc853 Mon Sep 17 00:00:00 2001 From: Rodney Chen <rodney.chen@hotmail.com> Date: 星期三, 18 九月 2024 22:59:23 +0800 Subject: [PATCH] 优化工步信息机制 --- Tiger.Business/MES/WoContext.cs | 2 +- 1 files changed, 1 insertions(+), 1 deletions(-) diff --git a/Tiger.Business/MES/WoContext.cs b/Tiger.Business/MES/WoContext.cs index bf91c43..6829945 100644 --- a/Tiger.Business/MES/WoContext.cs +++ b/Tiger.Business/MES/WoContext.cs @@ -204,7 +204,7 @@ if (!WoBatchDic.Any(q => q.Value.WO.ORDER_NO == wipSNs.First().WORK_ORDER)) { var wb = new WorkBatch(wipSNs.First().WORK_ORDER).Init(""); - WoBatchDic.Add(wb.Batch.BATCH_NO, wb); + WoBatchDic.Add(wipSNs.First().BATCH_NO, wb); } var wo = WoBatchDic.FirstOrDefault(q => q.Value.WO.ORDER_NO == wipSNs.First().WORK_ORDER).Value; action.Data = new() -- Gitblit v1.9.3