From 232cdf071bfe3bd2b77ba05accba89b67fcc1edc Mon Sep 17 00:00:00 2001 From: Zhang-Hong-Lin <a3219986988@163.com> Date: 星期四, 26 六月 2025 18:51:14 +0800 Subject: [PATCH] 优化bug与添加一键删除按钮 --- 项目代码/WCS/WIDESEAWCS_Server/WIDESEAWCS_Server/Controllers/Task/TaskController.cs | 42 ++++++++++++++++++++++++++++++++++++++++++ 1 files changed, 42 insertions(+), 0 deletions(-) diff --git "a/\351\241\271\347\233\256\344\273\243\347\240\201/WCS/WIDESEAWCS_Server/WIDESEAWCS_Server/Controllers/Task/TaskController.cs" "b/\351\241\271\347\233\256\344\273\243\347\240\201/WCS/WIDESEAWCS_Server/WIDESEAWCS_Server/Controllers/Task/TaskController.cs" index fc5ab5c..7be3506 100644 --- "a/\351\241\271\347\233\256\344\273\243\347\240\201/WCS/WIDESEAWCS_Server/WIDESEAWCS_Server/Controllers/Task/TaskController.cs" +++ "b/\351\241\271\347\233\256\344\273\243\347\240\201/WCS/WIDESEAWCS_Server/WIDESEAWCS_Server/Controllers/Task/TaskController.cs" @@ -48,5 +48,47 @@ { return Service.RollbackTaskStatusToLast(taskNum); } + + [HttpPost, HttpGet, Route("AtOnceUpdate")] + public WebResponseContent AtOnceUpdate(int taskid) + { + return Service.AtOnceUpdate(taskid); + } + + [HttpPost, HttpGet, Route("speciadelete")] + public WebResponseContent speciadelete([FromBody] Dt_Task task) + { + return Service.speciadelete(task); + } + + [HttpPost, HttpGet, Route("speciaupdate")] + public WebResponseContent speciaupdate([FromBody] Dt_Task task) + { + return Service.speciaupdate(task); + } + + [HttpPost, HttpGet, Route("banzidong")] + public WebResponseContent banzidong(string wei,string weis) + { + return Service.banzidong(wei,weis); + } + + [HttpPost, HttpGet, Route("tichuruku")] + public WebResponseContent tichuruku(string wei) + { + return Service.tichuruku(wei); + } + + [HttpPost, HttpGet, Route("tichuchuku")] + public WebResponseContent tichuchuku(string wei) + { + return Service.tichuchuku(wei); + } + + [HttpPost, HttpGet, Route("zhijiechuku")] + public WebResponseContent zhijiechuku() + { + return Service.zhijiechuku(); + } } } -- Gitblit v1.9.3