From 0c4932815bac8338907881d310b548f6476b4a76 Mon Sep 17 00:00:00 2001
From: huangxiaoqiang <huangxiaoqiang@hnkhzn.com>
Date: 星期三, 12 二月 2025 10:32:39 +0800
Subject: [PATCH] 1

---
 Code Management/WMS/WIDESEA_WMSServer/WIDESEA_StorageTaskServices/Task/Partial/Dt_TaskService.cs |   16 ++++++++++++----
 1 files changed, 12 insertions(+), 4 deletions(-)

diff --git a/Code Management/WMS/WIDESEA_WMSServer/WIDESEA_StorageTaskServices/Task/Partial/Dt_TaskService.cs b/Code Management/WMS/WIDESEA_WMSServer/WIDESEA_StorageTaskServices/Task/Partial/Dt_TaskService.cs
index 7e35a13..e211435 100644
--- a/Code Management/WMS/WIDESEA_WMSServer/WIDESEA_StorageTaskServices/Task/Partial/Dt_TaskService.cs
+++ b/Code Management/WMS/WIDESEA_WMSServer/WIDESEA_StorageTaskServices/Task/Partial/Dt_TaskService.cs
@@ -209,7 +209,8 @@
                     TaskType = (int)TaskOutboundTypeEnum.InToOut,
                     TaskNum = await BaseDal.GetTaskNo(),
                     Creater = "Systeam",
-                    ProductionLine = result.ProductionLine
+                    ProductionLine = result.ProductionLine,
+                    ProcessCode = result.ProcessCode,
                 };
                 return taskNG;
             }
@@ -267,7 +268,8 @@
                         TaskType = (int)TaskOutboundTypeEnum.InToOut,
                         TaskNum = await BaseDal.GetTaskNo(),
                         Creater = "Systeam",
-                        ProductionLine = result.ProductionLine
+                        ProductionLine = result.ProductionLine,
+                        ProcessCode = result.ProcessCode,
                     };
                     return taskNG;
                 }
@@ -300,7 +302,8 @@
                 TaskType = (int)TaskOutboundTypeEnum.InToOut,
                 TaskNum = await BaseDal.GetTaskNo(),
                 Creater = "Systeam",
-                ProductionLine = result.ProductionLine
+                ProductionLine = result.ProductionLine,
+                ProcessCode = result.ProcessCode,
             };
             return task;
         }
@@ -377,7 +380,8 @@
                     TaskType = (int)TaskOutboundTypeEnum.InToOut,
                     TaskNum = await BaseDal.GetTaskNo(),
                     Creater = "Systeam",
-                    ProductionLine = result.ProductionLine
+                    ProductionLine = result.ProductionLine,
+                    ProcessCode = result.ProcessCode,
                 };
                 return taskNG;
             }
@@ -427,6 +431,7 @@
             TaskNum = await BaseDal.GetTaskNo(),
             Creater = "Systeam",
             ProductionLine = result.ProductionLine,
+            ProcessCode = result.ProcessCode,
         };
         int lastStatus = locationInfo.LocationStatus;
         ConsoleHelper.WriteSuccessLine($"淇敼鍓嶏細" + lastStatus.ToString());
@@ -654,6 +659,7 @@
                     TaskNum = await BaseDal.GetTaskNo(),
                     Creater = "Systeam",
                     ProductionLine = result.ProductionLine,
+                    ProcessCode = result.ProcessCode,
                 };
                 return Epmtytask;
             }
@@ -715,6 +721,7 @@
                 TaskNum = await BaseDal.GetTaskNo(),
                 Creater = "Systeam",
                 ProductionLine = result.ProductionLine,
+                ProcessCode = result.ProcessCode,
             };
 
             var isBox = await _boxingInfoRepository.AddDataNavAsync(boxing);
@@ -993,6 +1000,7 @@
                 TaskNum = await BaseDal.GetTaskNo(),
                 Creater = "Systeam",
                 ProductionLine = stockInfo.ProductionLine,
+                ProcessCode = stockInfo.ProcessCode,
             };
 
             WMSTaskDTO taskDTO = CreateTaskDTO(task);

--
Gitblit v1.9.3