From 7ac6ad15e5af1024f4d21d33bb3af98ffce43874 Mon Sep 17 00:00:00 2001 From: HuBingJie <3146306518@qq.com> Date: 星期四, 18 九月 2025 14:59:20 +0800 Subject: [PATCH] 1 --- 代码管理/WCS/WCS/WIDESEAWCS_Server/WIDESEAWCS_Server/Controllers/Task/TaskController.cs | 24 ++++++++++++++++++++++++ 1 files changed, 24 insertions(+), 0 deletions(-) diff --git "a/\344\273\243\347\240\201\347\256\241\347\220\206/WCS/WCS/WIDESEAWCS_Server/WIDESEAWCS_Server/Controllers/Task/TaskController.cs" "b/\344\273\243\347\240\201\347\256\241\347\220\206/WCS/WCS/WIDESEAWCS_Server/WIDESEAWCS_Server/Controllers/Task/TaskController.cs" index 88265c1..eb4eac8 100644 --- "a/\344\273\243\347\240\201\347\256\241\347\220\206/WCS/WCS/WIDESEAWCS_Server/WIDESEAWCS_Server/Controllers/Task/TaskController.cs" +++ "b/\344\273\243\347\240\201\347\256\241\347\220\206/WCS/WCS/WIDESEAWCS_Server/WIDESEAWCS_Server/Controllers/Task/TaskController.cs" @@ -37,6 +37,30 @@ return Service.RollbackTaskStatusToLast(taskNum); } + /// <summary> + /// 鎵归噺鎵嬪姩瀹屾垚 + /// </summary> + /// <param name="ids"></param> + /// <returns></returns> + [HttpPost,HttpGet, Route("CompletedManually")] + public WebResponseContent CompletedManually([FromBody] int[] id) + { + int taskid = id[0]; + return Service.CompletedManually(taskid); + } + + /// <summary> + /// 鍙栨秷浠诲姟 + /// </summary> + /// <param name="id"></param> + /// <returns></returns> + [HttpPost,HttpGet, Route("MHWCSTaskCancel")] + public WebResponseContent MHWCSTaskCancel([FromBody] int[] id) + { + int taskid = id[0]; + return Service.MHWCSTaskCancel(taskid); + } + -- Gitblit v1.9.3