From 4cb31bfbc8483a78c85cc94e4a143a15bc46f5b2 Mon Sep 17 00:00:00 2001
From: wanshenmean <cathay_xy@163.com>
Date: 星期二, 10 三月 2026 16:25:25 +0800
Subject: [PATCH] 更新Visual Studio文档布局和WMS文件
---
Code/WMS/WIDESEA_WMSServer/WIDESEA_WMSServer/Controllers/TaskInfo/TaskController.cs | 4 ++--
1 files changed, 2 insertions(+), 2 deletions(-)
diff --git a/Code/WMS/WIDESEA_WMSServer/WIDESEA_WMSServer/Controllers/TaskInfo/TaskController.cs b/Code/WMS/WIDESEA_WMSServer/WIDESEA_WMSServer/Controllers/TaskInfo/TaskController.cs
index 6ece3ee..ee26111 100644
--- a/Code/WMS/WIDESEA_WMSServer/WIDESEA_WMSServer/Controllers/TaskInfo/TaskController.cs
+++ b/Code/WMS/WIDESEA_WMSServer/WIDESEA_WMSServer/Controllers/TaskInfo/TaskController.cs
@@ -106,9 +106,9 @@
/// <param name="taskDto"></param>
/// <returns></returns>
[HttpGet, HttpPost, Route("UpdateTaskByStatus"), AllowAnonymous]
- public async Task<WebResponseContent?> UpdateTaskByStatusAsync([FromBody] int taskId, int newStatus)
+ public async Task<WebResponseContent?> UpdateTaskByStatusAsync([FromBody] UpdateTaskDto taskDto)
{
- return await Service.UpdateTaskByStatusAsync(taskId, newStatus);
+ return await Service.UpdateTaskByStatusAsync(taskDto.Id, taskDto.NewStatus);
}
/// <summary>
--
Gitblit v1.9.3