From 0d9fb6555efa42e27de4d57d3fb7b8d82a78ef45 Mon Sep 17 00:00:00 2001 From: wanshenmean <cathay_xy@163.com> Date: 星期四, 27 三月 2025 14:10:43 +0800 Subject: [PATCH] 优化任务处理逻辑并清理代码 --- CodeManagement/WMS/WIDESEA_WMSServer/WIDESEA_WMSServer/Controllers/TaskController.cs | 12 ++++++++++++ 1 files changed, 12 insertions(+), 0 deletions(-) diff --git a/CodeManagement/WMS/WIDESEA_WMSServer/WIDESEA_WMSServer/Controllers/TaskController.cs b/CodeManagement/WMS/WIDESEA_WMSServer/WIDESEA_WMSServer/Controllers/TaskController.cs index cd1bff6..e2d7bc1 100644 --- a/CodeManagement/WMS/WIDESEA_WMSServer/WIDESEA_WMSServer/Controllers/TaskController.cs +++ b/CodeManagement/WMS/WIDESEA_WMSServer/WIDESEA_WMSServer/Controllers/TaskController.cs @@ -215,4 +215,16 @@ { return await Service.SetEmptyOutbyInToOutOneAsync(input); } + + /// <summary> + /// 闈欑疆鏌ヨ瀹炴墭 + /// </summary> + /// <param name="ProductLine">浜х嚎</param> + /// <returns></returns> + [HttpPost, AllowAnonymous, Route("QueryStockInfoForRealTrayJZAsync")] + [TypeFilter(typeof(ThrottleFilter), Arguments = new object[] { 5 })] // 5绉掕妭娴� + public async Task<WebResponseContent> QueryStockInfoForRealTrayJZAsync(string ProductLine) + { + return await Service.QueryStockInfoForRealTrayJZAsync(ProductLine); + } } \ No newline at end of file -- Gitblit v1.9.3