From 4b483d9d06bead231b88ca212fd799196668a057 Mon Sep 17 00:00:00 2001
From: wanshenmean <cathay_xy@163.com>
Date: 星期二, 28 四月 2026 22:58:27 +0800
Subject: [PATCH] fix(任务服务): 修复出库任务选择逻辑和货位分配问题
---
Code/WMS/WIDESEA_WMSServer/WIDESEA_WMSServer/Controllers/Stock/StockController.cs | 9 ++++-----
1 files changed, 4 insertions(+), 5 deletions(-)
diff --git a/Code/WMS/WIDESEA_WMSServer/WIDESEA_WMSServer/Controllers/Stock/StockController.cs b/Code/WMS/WIDESEA_WMSServer/WIDESEA_WMSServer/Controllers/Stock/StockController.cs
index d6d062c..52d41df 100644
--- a/Code/WMS/WIDESEA_WMSServer/WIDESEA_WMSServer/Controllers/Stock/StockController.cs
+++ b/Code/WMS/WIDESEA_WMSServer/WIDESEA_WMSServer/Controllers/Stock/StockController.cs
@@ -1,5 +1,4 @@
锘縰sing Microsoft.AspNetCore.Authorization;
-using Microsoft.AspNetCore.Http;
using Microsoft.AspNetCore.Mvc;
using WIDESEA_Core;
using WIDESEA_Core.BaseController;
@@ -25,8 +24,8 @@
/// </summary>
/// <param name="stock"></param>
/// <returns></returns>
- [HttpGet,HttpPost,Route("GroupPalletAsync"), AllowAnonymous]
- public async Task<WebResponseContent> GroupPallet([FromBody]StockDTO stock)
+ [HttpGet, HttpPost, Route("GroupPalletAsync"), AllowAnonymous]
+ public async Task<WebResponseContent> GroupPallet([FromBody] StockDTO stock)
{
return await Service.GroupPalletAsync(stock);
}
@@ -36,7 +35,7 @@
/// </summary>
/// <param name="stock"></param>
/// <returns></returns>
- [HttpGet, HttpPost, Route("ChangePalletAsync"),AllowAnonymous]
+ [HttpGet, HttpPost, Route("ChangePalletAsync"), AllowAnonymous]
public async Task<WebResponseContent> ChangePalletAsync([FromBody] StockDTO stock)
{
return await Service.ChangePalletAsync(stock);
@@ -97,4 +96,4 @@
return await Service.GetStockDetailCountByPalletCodeAsync(palletCode);
}
}
-}
+}
\ No newline at end of file
--
Gitblit v1.9.3