From d878d164699ad5eafb1241b1de0a108ff79d18a4 Mon Sep 17 00:00:00 2001
From: yanjinhui <3306209981@qq.com>
Date: 星期三, 15 四月 2026 17:37:01 +0800
Subject: [PATCH] 优化跨楼层任务
---
代码管理/WCS/WIDESEAWCS_Server/WIDESEAWCS_TaskInfoService/KLSTaskMethods.cs | 8 +++++---
1 files changed, 5 insertions(+), 3 deletions(-)
diff --git "a/\344\273\243\347\240\201\347\256\241\347\220\206/WCS/WIDESEAWCS_Server/WIDESEAWCS_TaskInfoService/KLSTaskMethods.cs" "b/\344\273\243\347\240\201\347\256\241\347\220\206/WCS/WIDESEAWCS_Server/WIDESEAWCS_TaskInfoService/KLSTaskMethods.cs"
index 79e5094..d0beb41 100644
--- "a/\344\273\243\347\240\201\347\256\241\347\220\206/WCS/WIDESEAWCS_Server/WIDESEAWCS_TaskInfoService/KLSTaskMethods.cs"
+++ "b/\344\273\243\347\240\201\347\256\241\347\220\206/WCS/WIDESEAWCS_Server/WIDESEAWCS_TaskInfoService/KLSTaskMethods.cs"
@@ -365,14 +365,16 @@
TargetAddress = taskDTO.toLocationCode,
Creater = "WMS",
};
- content = SendHIKROBOTTask(dt_Task);
- if (!content.Status) throw new Exception(content.Message);
dt_Task.Dispatchertime = DateTime.Now;
BaseDal.AddData(dt_Task);
+ return content.OK(data: new
+ {
+ taskCode = taskDTO.taskCode,
+ Message = "鎴愬姛"
+ });
}
catch (Exception ex)
{
-
content.Error(ex.Message);
}
return content;
--
Gitblit v1.9.3