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,