This commit is contained in:
霍尔 committed 2023-10-16 20:33:44 +08:00
1 parent c494b7b1ef
commit 523dee5e38
15 files changed
+304 -128

No files matched your search

@@ -36,7 +36,8 @@ public class ReceiptSLInController : BaseController
// 查询站台占用
var stations = _unitWork.Find<Location>(x => (x.Code == StationCode.散料库左抽屉
|| x.Code == StationCode.散料库右抽屉)
&& x.Status != LocationStatus.任务锁).ToList();
&& x.Status == LocationStatus.空仓位
).ToList();
if (stations.Count == 0) return JsonMore(null, 500, "无可用站台!");
// 查找没任务的仓位,分两边查,那边站台能用 查哪边