This commit is contained in:
霍尔 committed 2023-10-26 09:55:15 +08:00
1 parent 523dee5e38
commit f9bf7be066
12 files changed
+635 -42

No files matched your search

@@ -42,13 +42,13 @@ public class ReceiptSLInController : BaseController
// 查找没任务的仓位,分两边查,那边站台能用 查哪边
var box = _unitWork.Find<Location>(x => (x.ZoneCode == ZoneCodeEnum.散料库)
& (x.Status != LocationStatus.任务锁)
&& x.Status != LocationStatus.任务锁
&& x.Status != LocationStatus.满货
&& x.Status != LocationStatus.空仓位
&& x.Row == stations.First().Row).FirstOrDefault();
if (box == null && stations.Count == 2)
box = _unitWork.Find<Location>(x => (x.ZoneCode == ZoneCodeEnum.散料库)
& (x.Status != LocationStatus.任务锁)
&& x.Status != LocationStatus.任务锁
&& x.Status != LocationStatus.满货
&& x.Status != LocationStatus.空仓位
&& x.Row == stations.Last().Row).FirstOrDefault();