From 5af11cc200dd5ebe474b9c0475883b0e6d1e3759 Mon Sep 17 00:00:00 2001
From: wanshenmean <cathay_xy@163.com>
Date: 星期三, 11 三月 2026 10:00:49 +0800
Subject: [PATCH] 重构整个项目:改进代码质量和架构
---
Code/WMS/WIDESEA_WMSServer/WIDESEA_WMSServer/Controllers/TaskInfo/TaskController.cs | 10 +++++-----
1 files changed, 5 insertions(+), 5 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 ee26111..030aaf0 100644
--- a/Code/WMS/WIDESEA_WMSServer/WIDESEA_WMSServer/Controllers/TaskInfo/TaskController.cs
+++ b/Code/WMS/WIDESEA_WMSServer/WIDESEA_WMSServer/Controllers/TaskInfo/TaskController.cs
@@ -4,7 +4,7 @@
using WIDESEA_Common.CommonEnum;
using WIDESEA_Core;
using WIDESEA_Core.BaseController;
-using WIDESEA_DTO;
+using WIDESEA_DTO.GradingMachine;
using WIDESEA_DTO.Stock;
using WIDESEA_DTO.Task;
using WIDESEA_ITaskInfoService;
@@ -117,7 +117,7 @@
/// <param name="input"></param>
/// <returns></returns>
[HttpGet, HttpPost, Route("InOrOutCompleted"), AllowAnonymous]
- public async Task<WebResponseContent?> InOrOutCompletedAsync([FromBody] InputDto input)
+ public async Task<WebResponseContent?> InOrOutCompletedAsync([FromBody] GradingMachineInputDto input)
{
return await Service.InOrOutCompletedAsync(input);
}
@@ -128,7 +128,7 @@
/// <param name="input"></param>
/// <returns></returns>
[HttpGet, HttpPost, Route("SendLocationStatus"), AllowAnonymous]
- public async Task<WebResponseContent?> SendLocationStatusAsync([FromBody] InputDto input)
+ public async Task<WebResponseContent?> SendLocationStatusAsync([FromBody] GradingMachineInputDto input)
{
return await Service.SendLocationStatusAsync(input);
}
@@ -139,7 +139,7 @@
/// <param name="input"></param>
/// <returns></returns>
[HttpGet, HttpPost, Route("RequestOutbound"), AllowAnonymous]
- public async Task<WebResponseContent?> RequestOutboundAsync([FromBody] InputDto input)
+ public async Task<WebResponseContent?> RequestOutboundAsync([FromBody] GradingMachineInputDto input)
{
return await Service.RequestOutboundAsync(input);
}
@@ -150,7 +150,7 @@
/// <param name="input"></param>
/// <returns></returns>
[HttpGet, HttpPost, Route("GetPalletCodeCell"), AllowAnonymous]
- public async Task<WebResponseContent?> GetPalletCodeCellAsync([FromBody] InputDto input)
+ public async Task<WebResponseContent?> GetPalletCodeCellAsync([FromBody] GradingMachineInputDto input)
{
return await Service.GetPalletCodeCellAsync(input);
}
--
Gitblit v1.9.3