From e9b4a4107bdd7a7c737192827d4ee17e23c362f6 Mon Sep 17 00:00:00 2001 From: huangxiaoqiang <huangxiaoqiang@hnkhzn.com> Date: 星期五, 21 三月 2025 14:23:15 +0800 Subject: [PATCH] 1 --- CodeManagement/WMS/WIDESEA_WMSServer/WIDESEA_StorageTaskServices/Task/Dt_TaskService.cs | 25 +++++++++++++++++++++++++ 1 files changed, 25 insertions(+), 0 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 bce3b1b..1fd2cbc 100644 --- a/CodeManagement/WMS/WIDESEA_WMSServer/WIDESEA_StorageTaskServices/Task/Dt_TaskService.cs +++ b/CodeManagement/WMS/WIDESEA_WMSServer/WIDESEA_StorageTaskServices/Task/Dt_TaskService.cs @@ -636,6 +636,31 @@ 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