This commit is contained in:
qianhao.xu 2024-12-27 16:52:59 +08:00
parent 17ba645e2c
commit aed6f06e2d

View File

@ -134,7 +134,7 @@ namespace DOAN.Service.MES.quality.FQC
.RightJoin<ProReportwork01>((t1, t2) => t1.Workorder == t2.Workorder) .RightJoin<ProReportwork01>((t1, t2) => t1.Workorder == t2.Workorder)
.RightJoin<QcFinishedproductDefectCollection>((t1, t2, t3) => t2.Workorder == t3.Workorder) .RightJoin<QcFinishedproductDefectCollection>((t1, t2, t3) => t2.Workorder == t3.Workorder)
.Where(predicate.ToExpression()) .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 .Select((t1, t2, t3) => new ResultFQCShowDto
{ {
Workorder = t3.Workorder, Workorder = t3.Workorder,