刘磊
2024-12-19 8c9ea4fb36c8d1c2b2d2d517d63504b90f530f8c
Code Management/WMS/WIDESEA_WMSServer/WIDESEA_StoragIntegrationServices/MCS/Partial/RequestChangeLocation.cs
@@ -138,7 +138,7 @@
            if (CanRelocation == null) throw new Exception("申请移库失败:无可用库位");
            //查找库存信息
            var stockInfo = _stockInfoRepository.QueryFirst(t => t.LocationCode == location.LocationCode);
            var stockInfo = _stockInfoRepository.QueryFirst(x => x.LocationCode == location.LocationCode && x.LocationInfo.RoadwayNo == location.RoadwayNo);
            if (stockInfo == null) throw new Exception("申请移库失败:无库存记录");