1
wankeda
3 天以前 a3014a01e07619105d597d0c51cf195217b0806f
WMS/WIDESEA_WMSServer/WIDESEA_StockService/Service/StockInfoService.cs
@@ -80,6 +80,13 @@
            return BaseDal.GetStockInfos(materielCode, locationCodes);
        }
        //public List<Dt_StockInfo> GetUseableStocks(string materielCode, string batchNo, int warehoseId)
        //{
        //    List<string> locationCodes = _basicRepository.LocationInfoRepository.GetCanOutLocationCodes(warehoseId);
        //    return BaseDal.GetStockInfos(materielCode, batchNo, locationCodes);
        //}
        public List<StockSelectViewDTO> GetStockSelectViews(string materielCode)
        {
            List<string> roadways = _basicRepository.RoadwayInfoRepository.CanOutRoadwayNos;
@@ -289,5 +296,13 @@
            [ExporterHeader(DisplayName = "物料状态")]
            public string Wlstatus { get; set; }
        }
        public List<Dt_StockInfo> GetUseableStocks(string materielCode, string batchNo, int warehoseId)
        {
            List<string> locationCodes = _basicRepository.LocationInfoRepository.GetCanOutLocationCodes(warehoseId);
            return BaseDal.GetStockInfos(materielCode, batchNo, locationCodes);
        }
    }
}