毛坯,抛光,一次合格仓库添加总零件计数,工单排程修改编号为字符串,仓库看板统计优化,产线数量除3计算

This commit is contained in:
2024-08-22 10:43:05 +08:00
parent 9084aca672
commit 0801e5e9ef
12 changed files with 91 additions and 2 deletions

View File

@@ -614,6 +614,14 @@ namespace ZR.Service.mes.qc
.Queryable<QcQualityStatisticsTotal>()
.Where(predicate1)
.Sum(it => it.BaofeiTotal) ?? 0;
// 除三优化
boardData.ProductRequireTotal = boardData.ProductRequireTotal / 3;
boardData.ProductQualifiedTotal = boardData.ProductQualifiedTotal / 3;
boardData.ProductQualifiedNotDoorknobTotal = boardData.ProductQualifiedNotDoorknobTotal / 3;
boardData.ProductPolishTotal = boardData.ProductPolishTotal / 3;
boardData.ProductSandingTotal = boardData.ProductSandingTotal / 3;
boardData.ProductDiscardTotal = boardData.ProductDiscardTotal / 3;
return boardData;
}