dengjunjie
2024-12-29 7f078e66be9959d94fc78344f195b7b4656812be
代码管理/WMS/WIDESEA_WMSServer/WIDESEA_OutboundService/OutboundOrderService.cs
@@ -178,9 +178,9 @@
            {
                Dt_OutboundOrder outboundOrder = Db.Queryable<Dt_OutboundOrder>().Where(x=>x.Id==id).Includes(x=>x.Details).First();
                Dt_Warehouse warehouse = _basicService.WarehouseService.Repository.QueryFirst(x => x.WarehouseId == outboundOrder.WarehouseId);
                //娴嬭瘯鏋跺簱缁橢RP涓婃姤鍑哄簱瀹屾垚
                ERPIssueModel issueModel = new ERPIssueModel();
                List<Dt_StockInfo> stockInfos = new List<Dt_StockInfo>();
                //娴嬭瘯鏋跺簱缁橢RP涓婃姤鍑哄簱瀹屾垚
                if (stockInfo==null)
                {
                    stockInfos = TestOutStocksUpdate(warehouse).Data as List<Dt_StockInfo> ?? new List<Dt_StockInfo>();