From 18d2f40bbf40469b033de6f07ca8a8e3bc191132 Mon Sep 17 00:00:00 2001 From: dengjunjie <dengjunjie@hnkhzn.com> Date: 星期六, 26 四月 2025 19:21:40 +0800 Subject: [PATCH] 优化代码 --- 项目代码/WMS/WIDESEA_WMSServer/WIDESEA_IStockRepository/IStockInfoRepository.cs | 11 ++++++++++- 1 files changed, 10 insertions(+), 1 deletions(-) diff --git "a/\351\241\271\347\233\256\344\273\243\347\240\201/WMS/WIDESEA_WMSServer/WIDESEA_IStockRepository/IStockInfoRepository.cs" "b/\351\241\271\347\233\256\344\273\243\347\240\201/WMS/WIDESEA_WMSServer/WIDESEA_IStockRepository/IStockInfoRepository.cs" index 2cdd70c..03081fa 100644 --- "a/\351\241\271\347\233\256\344\273\243\347\240\201/WMS/WIDESEA_WMSServer/WIDESEA_IStockRepository/IStockInfoRepository.cs" +++ "b/\351\241\271\347\233\256\344\273\243\347\240\201/WMS/WIDESEA_WMSServer/WIDESEA_IStockRepository/IStockInfoRepository.cs" @@ -4,6 +4,7 @@ using System.Text; using System.Threading.Tasks; using WIDESEA_Core.BaseRepository; +using WIDESEA_Core.Enums; using WIDESEA_DTO.Stock; using WIDESEA_Model.Models; @@ -14,10 +15,17 @@ List<StockViewDTO> GetAllStockViews(); Dt_StockInfo GetStockInfo(string palletCode); - + Dt_StockInfo GetStockInfo(int id); List<Dt_StockInfo> GetStockInfos(string materielCode); + List<Dt_StockInfo> GetDt_StockInfos(string LocationCode); List<Dt_StockInfo> GetStockInfos(string materielCode, List<string> locationCodes); + /// <summary> + /// 鏍规嵁璐т綅缂栧彿鑾峰彇缁勭洏搴撳瓨淇℃伅 + /// </summary> + /// <param name="materielCode"></param> + /// <returns></returns> + List<Dt_StockInfo> LocationCodesGetStockInfos(List<string> locationCodes, StockStatusEmun statusEmun = StockStatusEmun.宸插叆搴�); List<Dt_StockInfo> GetStockInfosByIds(List<int> ids); @@ -28,5 +36,6 @@ bool UpdateDataWithDetail(Dt_StockInfo stockInfo); Dt_StockInfo GetPalletStockInfo(string roadwayNo); + List<object> GetBatchNoStockInfo(string materielCode); } } -- Gitblit v1.9.3