修改点数

修改 新增明细限制
新增定时器 清除已完成单据
入库查找 先层 后列
This commit is contained in:
zgf committed 2023-11-29 17:36:19 +08:00
1 parent 54b51891a0
commit e7c558ecf9
5 files changed
+30 -14

No files matched your search

@@ -205,7 +205,10 @@ namespace HHWMS.Web
&& x.Type == LocationTypeEnum.盘料库位
&& (x.Status == LocationStatus.有货 || x.Status == LocationStatus.空容器)
&& x.Length == Length && !x.IsStop)
.OrderByDescending(x => x.Length - x.Width).FirstOrDefault();
.OrderByDescending(x => x.Length - x.Width)
.ThenBy(x => x.Layer)
.ThenByDescending(x => x.Line)
.FirstOrDefault();
if (Length == 23 && container == null && station.Row == 3)
{
station = _unitwork.Find<Location>(x => x.Type.Equals(LocationTypeEnum.堆垛机工位)