毛坯,抛光,一次合格仓库添加总零件计数,工单排程修改编号为字符串,仓库看板统计优化,产线数量除3计算
This commit is contained in:
@@ -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;
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user