From af9c3ed5d036ad68faf7e18f566679b3da92d244 Mon Sep 17 00:00:00 2001
From: wanshenmean <cathay_xy@163.com>
Date: 星期六, 22 三月 2025 11:36:06 +0800
Subject: [PATCH] 合并

---
 CodeManagement/WMS/WIDESEA_WMSServer/WIDESEA_StorageTaskServices/Task/Dt_TaskService.cs |   24 ------------------------
 1 files changed, 0 insertions(+), 24 deletions(-)

diff --git a/CodeManagement/WMS/WIDESEA_WMSServer/WIDESEA_StorageTaskServices/Task/Dt_TaskService.cs b/CodeManagement/WMS/WIDESEA_WMSServer/WIDESEA_StorageTaskServices/Task/Dt_TaskService.cs
index 5112a19..414858c 100644
--- a/CodeManagement/WMS/WIDESEA_WMSServer/WIDESEA_StorageTaskServices/Task/Dt_TaskService.cs
+++ b/CodeManagement/WMS/WIDESEA_WMSServer/WIDESEA_StorageTaskServices/Task/Dt_TaskService.cs
@@ -612,30 +612,6 @@
 
         try
         {
-            Dt_Task taskNews = new Dt_Task
-            {
-                CurrentAddress = input.Position,
-                Grade = 1,
-                Roadway = "CWSC1",
-                TargetAddress = "CWSC1",
-                Dispatchertime = DateTime.Now,
-                MaterialNo = "",
-                NextAddress = "CWSC1",
-                OrderNo = null,
-                PalletCode = input.PalletCode,
-                SourceAddress = input.Position,
-                TaskState = (int)TaskInStatusEnum.InNew,
-                TaskType = (int)TaskInboundTypeEnum.InTray,
-                TaskNum = await BaseDal.GetTaskNo(),
-                Creater = "Systeam",
-                ProductionLine = input.ProductionLine,
-                //ProcessCode = processCode
-            };
-
-            var taskDTOs = CreateTaskDTO(taskNews);
-            BaseDal.AddData(taskNews);
-            return content.OK(data: taskDTOs);
-
             // 鏌ヨ浠诲姟
             var task = await QueryTaskByPalletCode(input.PalletCode);
             if (task != null)

--
Gitblit v1.9.3