From 5be086f36d5fbcde9aaa6f775961f292aaae6ec1 Mon Sep 17 00:00:00 2001 From: hutongqing <hutongqing@hnkhzn.com> Date: 星期日, 22 十二月 2024 22:53:31 +0800 Subject: [PATCH] 1 --- 代码管理/WCS/WIDESEAWCS_Server/WIDESEAWCS_Server/Controllers/Task/TaskController.cs | 16 +++++++++++----- 1 files changed, 11 insertions(+), 5 deletions(-) diff --git "a/\344\273\243\347\240\201\347\256\241\347\220\206/WCS/WIDESEAWCS_Server/WIDESEAWCS_Server/Controllers/Task/TaskController.cs" "b/\344\273\243\347\240\201\347\256\241\347\220\206/WCS/WIDESEAWCS_Server/WIDESEAWCS_Server/Controllers/Task/TaskController.cs" index fc5ab5c..aab8236 100644 --- "a/\344\273\243\347\240\201\347\256\241\347\220\206/WCS/WIDESEAWCS_Server/WIDESEAWCS_Server/Controllers/Task/TaskController.cs" +++ "b/\344\273\243\347\240\201\347\256\241\347\220\206/WCS/WIDESEAWCS_Server/WIDESEAWCS_Server/Controllers/Task/TaskController.cs" @@ -25,17 +25,23 @@ return Service.ReceiveWMSTask(taskDTOs); } + [HttpPost, HttpGet, Route("RequestAssignLocation"), AllowAnonymous] + public string? RequestAssignLocation(int taskNum, string roadwayNo) + { + return Service.RequestAssignLocation(taskNum, roadwayNo); + } + [HttpPost, HttpGet, Route("UpdateTaskExceptionMessage")] public WebResponseContent UpdateTaskExceptionMessage(int taskNum, string message) { return Service.UpdateTaskExceptionMessage(taskNum, message); } - [HttpPost, HttpGet, Route("UpdateTaskStatusToNext")] - public WebResponseContent UpdateTaskStatusToNext(int taskNum) - { - return Service.UpdateTaskStatusToNext(taskNum); - } + //[HttpPost, HttpGet, Route("UpdateTaskStatusToNext")] + //public WebResponseContent UpdateTaskStatusToNext(int taskNum) + //{ + // return Service.UpdateTaskStatusToNext(taskNum); + //} [HttpPost, HttpGet, Route("TaskStatusRecovery")] public WebResponseContent TaskStatusRecovery(int taskNum) -- Gitblit v1.9.3