Commit 4efbc382 by zxw

出库 7 判断为正常出库

parent 9018597c
......@@ -880,11 +880,11 @@ namespace LiteChannel.Commons
}
else
{
var successCount = res_data.data.Count(x => new[] { 1, 2, 8, 14, 15, 17 }.Contains(x.currentState));
var successCount = res_data.data.Count(x => new[] { 1, 2, 7, 8, 14, 15, 17 }.Contains(x.currentState));
var bfCount = res_data.data.Count(x => new[] { 6 }.Contains(x.currentState));
var failCount = eps.Count - successCount - bfCount;
var failEpcList = eps.Where(x =>
res_data.data.Where(y => new[] { 1, 2, 8, 14, 15, 17 }.Contains(y.currentState)).Count(y => y.epc == x.RFID) == 0)
res_data.data.Where(y => new[] { 1, 2, 7, 8, 14, 15, 17 }.Contains(y.currentState)).Count(y => y.epc == x.RFID) == 0)
.Select(x => x.RFID);
......
Markdown 格式
0%
您添加了 0 到此讨论。请谨慎行事。
请先完成此评论的编辑!
注册 或者 后发表评论