|
@@ -43,6 +43,8 @@ PIVOT(
|
|
|
" nvl(max(case when p.clctSystCd = 'UTIS01' then p.sped end), 0) AS utis01, " +
|
|
|
" nvl(max(case when p.clctSystCd = 'UTIS02' then p.sped end), 0) AS utis02, " +
|
|
|
" nvl(max(case when p.clctSystCd = 'VDS01' then p.sped end), 0) AS vds01, " +
|
|
|
+ " nvl(max(case when p.clctSystCd = 'DSRC01' then p.sped end), 0) AS dsrc01, " +
|
|
|
+ " nvl(max(case when p.clctSystCd = 'GITS01' then p.sped end), 0) AS gits01, " +
|
|
|
" nvl(max(case when p.clctSystCd = 'MOCT01' then p.sped end), 0) AS moct01 " +
|
|
|
" FROM TbLinkTrafClctHs p " +
|
|
|
" WHERE p.prcnDt BETWEEN :fromDt AND :toDt " +
|
|
@@ -56,6 +58,8 @@ PIVOT(
|
|
|
" nvl(max(case when p.clctSystCd = 'UTIS01' then p.sped end), 0) AS utis01, " +
|
|
|
" nvl(max(case when p.clctSystCd = 'UTIS02' then p.sped end), 0) AS utis02, " +
|
|
|
" nvl(max(case when p.clctSystCd = 'VDS01' then p.sped end), 0) AS vds01, " +
|
|
|
+ " nvl(max(case when p.clctSystCd = 'DSRC01' then p.sped end), 0) AS dsrc01, " +
|
|
|
+ " nvl(max(case when p.clctSystCd = 'GITS01' then p.sped end), 0) AS gits01, " +
|
|
|
" nvl(max(case when p.clctSystCd = 'MOCT01' then p.sped end), 0) AS moct01 " +
|
|
|
" FROM TbLinkTrafClctHs p inner join p.link l inner join l.fromNode fn inner join l.toNode tn " +
|
|
|
" WHERE p.prcnDt BETWEEN :fromDt AND :toDt " +
|
|
@@ -69,6 +73,8 @@ PIVOT(
|
|
|
" nvl(max(case when p.clctSystCd = 'UTIS01' then p.sped end), 0) AS utis01, " +
|
|
|
" nvl(max(case when p.clctSystCd = 'UTIS02' then p.sped end), 0) AS utis02, " +
|
|
|
" nvl(max(case when p.clctSystCd = 'VDS01' then p.sped end), 0) AS vds01, " +
|
|
|
+ " nvl(max(case when p.clctSystCd = 'DSRC01' then p.sped end), 0) AS dsrc01, " +
|
|
|
+ " nvl(max(case when p.clctSystCd = 'GITS01' then p.sped end), 0) AS gits01, " +
|
|
|
" nvl(max(case when p.clctSystCd = 'MOCT01' then p.sped end), 0) AS moct01 " +
|
|
|
" FROM TbLinkTrafClctHs p inner join p.link l inner join l.fromNode fn inner join l.toNode tn " +
|
|
|
" WHERE p.prcnDt BETWEEN :fromDt AND :toDt " +
|