Commit c9531543 LN

出库失败盘不需要更新位置

1 个父辈 58121589
......@@ -316,6 +316,8 @@ namespace OnlineStore.DeviceLibrary
{
lock (waitInListLock)
{
bool needRemove = false;
int index = 0;
//判断是否是自己排队列表中的入库信息
foreach (InOutParam cc in waitInStoreList)
{
......@@ -328,10 +330,18 @@ namespace OnlineStore.DeviceLibrary
}
else
{
LogUtil.error(Name + "托盘号【"+currTrayNum+"】入库信息【"+cc.ToStr()+"】料仓未验证成功,不拦截托盘,更新此托盘为NG");
LogUtil.error(Name + "托盘号【"+currTrayNum+"】入库信息【"+cc.ToStr()+ "】料仓未验证成功,不拦截托盘,更新此托盘为NG,从waitInStoreList中删除");
TrayManager.UpdateInStoreNG(currTrayNum, true,"Box验证入库失败");
}
needRemove = true;
break;
}
}
index++;
}
if (needRemove && index >= 0 && index < waitInStoreList.Count)
{
waitInStoreList.RemoveAt(index);
LogUtil.info("从waitInStoreList中删除 index=" + index + "的任务");
}
}
}
......
支持 Markdown 格式
你添加了 0 到此讨论。请谨慎行事。
Finish editing this message first!