移交优化

This commit is contained in:
2024-11-25 09:35:14 +08:00
parent da8977ac94
commit ce75af6899
16 changed files with 92 additions and 71 deletions
@@ -61,7 +61,7 @@ else CONVERT(DECIMAL(10,2),100*(ISNULL(tpi2.ReinstateScount,0)*1.0/ISNULL(tpi.P
(ISNULL(TseCount,0)+ISNULL(TreCount,0)) as EqCount,ISNULL((ISNULL(TseSCount,0)+ISNULL(TreSCount,0)),0) as EqScount,
case (ISNULL(TseCount,0)+ISNULL(TreCount,0))
when 0 then 0
else CONVERT(DECIMAL(10,2),100 *((ISNULL(TseSCount,0)+ISNULL(TreSCount,0)*1.0/ISNULL((ISNULL(TseCount,0)+ISNULL(TreCount,0)),0)))) end EqPercent,
else CONVERT(DECIMAL(10,2),100 *(((ISNULL(TseSCount,0)+ISNULL(TreSCount,0))*1.0/(ISNULL(TseCount,0)+ISNULL(TreCount,0))))) end EqPercent,
ISNULL(TeCount,0) TeCount,ISNULL(TeScount,0) TeScount,
case ISNULL(TeCount,0)