wangxinhui
17 小时以前 39d468b76e60c05ffcdf749f7ed1d3c443d542f8
项目代码/WMS/WMSServices/WIDESEA_StockRepository/StockInfoRepository.cs
@@ -42,7 +42,7 @@
        /// </summary>
        public List<Dt_StockInfo> GetStockInfos(string materielCode, decimal width, List<string> locationCodes)
        {
            List<Dt_StockInfo> stockInfos = Db.Queryable<Dt_StockInfo>().Where(x => locationCodes.Contains(x.LocationCode) && x.MaterielCode.StartsWith(materielCode) && x.StockStatus == StockStatusEmun.鍏ュ簱瀹屾垚.ObjToInt() && x.MaterielWide == width && x.StockOutLength <= 0 && x.StockLength > 0).OrderBy(x => x.CreateDate).ToList();
            List<Dt_StockInfo> stockInfos = Db.Queryable<Dt_StockInfo>().Where(x => locationCodes.Contains(x.LocationCode) && x.MaterielCode.StartsWith(materielCode) && x.StockStatus == (int)StockStatusEmun.鍏ュ簱瀹屾垚 && x.MaterielWide == width && x.StockOutLength <= 0 && x.StockLength > 0).OrderBy(x => x.IsFull).OrderBy(x => x.CreateDate).ToList();
            return stockInfos;
        }