移交统计表,管道试压包完成计算逻辑调整

This commit is contained in:
夏菊 2024-12-07 10:57:40 +08:00
parent f31a3fe9fa
commit f419dd641d
1 changed files with 1 additions and 1 deletions

View File

@ -96,7 +96,7 @@ left join (select count(*)as PipingCount,ProjectId,TestPackage from Transfer_Pip
group by ProjectId,TestPackage)
tpi on f.ProjectId=tpi.ProjectId and f.SubSysNo=tpi.TestPackage
left join (select count(*)as PipingScount,ProjectId,TestPackage from Transfer_Piping where FINALStatus='Completed'
left join (select count(*)as PipingScount,ProjectId,TestPackage from Transfer_Piping where PressureTestCompleted='Completed'
group by ProjectId,TestPackage)
tpi1 on f.ProjectId=tpi1.ProjectId and f.SubSysNo=tpi1.TestPackage