diff --git a/SlnMesnac.WCS/WCS/CreateTaskByRecord.cs b/SlnMesnac.WCS/WCS/CreateTaskByRecord.cs index 9f8cec2..53e6422 100644 --- a/SlnMesnac.WCS/WCS/CreateTaskByRecord.cs +++ b/SlnMesnac.WCS/WCS/CreateTaskByRecord.cs @@ -1001,7 +1001,7 @@ namespace SlnMesnac.WCS.WCS #endregion 如果有补空箱任务,并且起点是要送料机台的库位,就不再生成移库任务 //需要生成从该库位到其他机台的移库任务,找寻移库终点库位 - moveEndLocation = AllWmsBaseLocationList.LastOrDefault(x => x.LocationId != moveStartLocation.LocationId && x.LocationStatus == 0 && string.IsNullOrEmpty(x.ContainerCode) && x.LocationId<=22); + moveEndLocation = AllWmsBaseLocationList.LastOrDefault(x => x.LocationId != moveStartLocation.LocationId && x.LocationStatus == 0 && string.IsNullOrEmpty(x.ContainerCode) && x.LocationId<=20); if (moveEndLocation == null) { // 没有可以移库的库位,请等待