From dcacc1fbcb885a958d6a9715c360ebb4aeac0894 Mon Sep 17 00:00:00 2001 From: 肖洋 <cathay_xy@163.com> Date: 星期二, 17 十二月 2024 19:40:59 +0800 Subject: [PATCH] 新增多个库页面:常温库、分容库、高温库,并更新导航栏以包含这些新页面 --- Code Management/WCS/WIDESEAWCS_Server/WIDESEAWCS_TaskInfoService/Partial/TaskService.cs | 9 +++++++++ 1 files changed, 9 insertions(+), 0 deletions(-) diff --git a/Code Management/WCS/WIDESEAWCS_Server/WIDESEAWCS_TaskInfoService/Partial/TaskService.cs b/Code Management/WCS/WIDESEAWCS_Server/WIDESEAWCS_TaskInfoService/Partial/TaskService.cs index 359b548..24e985a 100644 --- a/Code Management/WCS/WIDESEAWCS_Server/WIDESEAWCS_TaskInfoService/Partial/TaskService.cs +++ b/Code Management/WCS/WIDESEAWCS_Server/WIDESEAWCS_TaskInfoService/Partial/TaskService.cs @@ -146,6 +146,15 @@ task.NextAddress = stationinfo.stationChildCode; task.TargetAddress = taskDTO.TargetAddress; } + else if (task.TaskType.GetTaskTypeGroup() == TaskTypeGroup.RelocationGroup) + { + task.TaskState = (int)TaskStatus.Created; + task.SourceAddress = taskDTO.SourceAddress; + task.CurrentAddress = taskDTO.SourceAddress; + task.NextAddress = taskDTO.TargetAddress; + task.TargetAddress = taskDTO.TargetAddress; + } + BaseDal.AddData(task); _taskExecuteDetailService.AddTaskExecuteDetail(task.WMSId, "鎺ユ敹WMS浠诲姟"); -- Gitblit v1.9.3