移交统计表,管道试压包完成计算逻辑调整
This commit is contained in:
@@ -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
|
||||
|
||||
|
||||
Reference in New Issue
Block a user