From 0c54ccf256e19c80f447c3b625d912a6807e0d7f Mon Sep 17 00:00:00 2001 From: wanshenmean <cathay_xy@163.com> Date: 星期五, 21 三月 2025 14:50:21 +0800 Subject: [PATCH] 添加忽略项 --- 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