From aed6f06e2d84217282e50d764317ecc82544d3ee Mon Sep 17 00:00:00 2001 From: "qianhao.xu" Date: Fri, 27 Dec 2024 16:52:59 +0800 Subject: [PATCH] 122 --- DOAN.Service/MES/Quality/FQC/QcFinishedproductDefectService.cs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/DOAN.Service/MES/Quality/FQC/QcFinishedproductDefectService.cs b/DOAN.Service/MES/Quality/FQC/QcFinishedproductDefectService.cs index e2ffdd9..e7feb9d 100644 --- a/DOAN.Service/MES/Quality/FQC/QcFinishedproductDefectService.cs +++ b/DOAN.Service/MES/Quality/FQC/QcFinishedproductDefectService.cs @@ -134,7 +134,7 @@ namespace DOAN.Service.MES.quality.FQC .RightJoin((t1, t2) => t1.Workorder == t2.Workorder) .RightJoin((t1, t2, t3) => t2.Workorder == t3.Workorder) .Where(predicate.ToExpression()) - .GroupBy((t1,t2,t3)=>new { t3.Workorder, t1.productionName, t1.productionCode, t2.PlanNum, t2.FinishNum }) + .GroupBy((t1,t2,t3)=>new { t3.Workorder, t2.PlanNum, t2.FinishNum, t1.productionName, t1.productionCode }) .Select((t1, t2, t3) => new ResultFQCShowDto { Workorder = t3.Workorder,