xu.lu 1 year ago
parent
commit
5421bdd7db

+ 1 - 1
业务工程/分拣库/WCS.WorkEngineering/Systems/桁架码垛/桁架.cs

@@ -226,7 +226,7 @@ namespace WCS.WorkEngineering.Systems
                         var isTime = x.AddTime < DateTime.Now.AddHours(-6);
                         var isPut = pickUpDevices.Any(p => p.key == x.LocationNo.ToString() && p.Count == x.Quantity);
                         //满足取货条件,或者是超六小时
-                        return isPut || (pickUpDevices.Any(p => p.key == x.LocationNo.ToString() && p.HPCount > 0) && isTime);
+                        return isPut || (pickUpDevices.Any(p => p.key == x.LocationNo.ToString() && p.Count == x.Quantity) && isTime);
                     });
                 if (!cacheLines.Any())
                 {