From fb79dc54d6484146b74d29bf5644df880fc1fa01 Mon Sep 17 00:00:00 2001
From: dengjunjie <dengjunjie@hnkhzn.com>
Date: 星期四, 19 六月 2025 12:16:54 +0800
Subject: [PATCH] WMS添加AGV任务完成取消
---
代码管理/WMS/WIDESEA_WMSServer/WIDESEA_WMSServer/Controllers/Stock/StockInfoController.cs | 13 ++++++++-----
1 files changed, 8 insertions(+), 5 deletions(-)
diff --git "a/\344\273\243\347\240\201\347\256\241\347\220\206/WMS/WIDESEA_WMSServer/WIDESEA_WMSServer/Controllers/Stock/StockInfoController.cs" "b/\344\273\243\347\240\201\347\256\241\347\220\206/WMS/WIDESEA_WMSServer/WIDESEA_WMSServer/Controllers/Stock/StockInfoController.cs"
index 3846217..49107c0 100644
--- "a/\344\273\243\347\240\201\347\256\241\347\220\206/WMS/WIDESEA_WMSServer/WIDESEA_WMSServer/Controllers/Stock/StockInfoController.cs"
+++ "b/\344\273\243\347\240\201\347\256\241\347\220\206/WMS/WIDESEA_WMSServer/WIDESEA_WMSServer/Controllers/Stock/StockInfoController.cs"
@@ -14,16 +14,14 @@
[ApiController]
public class StockInfoController : ApiBaseController<IStockInfoService, Dt_StockInfo>
{
- private readonly IStockInfoRepository _stockInfoRepository;
- public StockInfoController(IStockInfoService service, IStockInfoRepository stockInfoRepository) : base(service)
+ public StockInfoController(IStockInfoService service) : base(service)
{
- _stockInfoRepository = stockInfoRepository;
}
- [HttpPost, Route("GetAllStockViews"), AllowAnonymous]
+ [HttpPost, Route("GetAllStockViews"),AllowAnonymous]
public List<StockViewDTO> GetAllStockViews()
{
- return _stockInfoRepository.GetAllStockViews();
+ return Service.Repository.GetAllStockViews();
}
[HttpPost, Route("GetStockSelectViews"), AllowAnonymous]
@@ -31,5 +29,10 @@
{
return Service.GetStockSelectViews(materielCode);
}
+ [HttpPost, Route("GetPalletStockInfo"), AllowAnonymous]
+ public Dt_StockInfo GetPalletStockInfo([FromBody] string roadwayNo)
+ {
+ return Service.Repository.GetPalletStockInfo(roadwayNo);
+ }
}
}
--
Gitblit v1.9.3