shjung před 2 roky
rodič
revize
b58f20b00d

+ 33 - 33
src/main/java/com/its/op/dto/its/atrd/AtrdStatDailyDto.java

@@ -29,75 +29,75 @@ public class AtrdStatDailyDto {
     private String DRCT_CD_DESC;
     @ApiModelProperty("구간거리")
     @JsonProperty("sect_lngt")
-    private int    SECT_LNGT;
+    private String SECT_LNGT;
     @ApiModelProperty("유형")
     @JsonProperty("trf_type")
     private String TRF_TYPE;
     @ApiModelProperty("평균속도")
     @JsonProperty("avg_sped")
-    private int    AVG_SPED;
+    private String AVG_SPED;
 
     @JsonProperty("c01") @ApiModelProperty("01일")
-    private int    C01;     // 01시, 01일
+    private String C01;     // 01시, 01일
     @JsonProperty("c02") @ApiModelProperty("02일")
-    private int    C02;     // 02시, 02일
+    private String C02;     // 02시, 02일
     @JsonProperty("c03") @ApiModelProperty("03일")
-    private int    C03;     // 03시, 03일
+    private String C03;     // 03시, 03일
     @JsonProperty("c04") @ApiModelProperty("04일")
-    private int    C04;     // 04시, 04일
+    private String C04;     // 04시, 04일
     @JsonProperty("c05") @ApiModelProperty("05일")
-    private int    C05;     // 05시, 05일
+    private String C05;     // 05시, 05일
     @JsonProperty("c06") @ApiModelProperty("06일")
-    private int    C06;     // 06시, 06일
+    private String C06;     // 06시, 06일
     @JsonProperty("c07") @ApiModelProperty("07일")
-    private int    C07;     // 07시, 07일
+    private String C07;     // 07시, 07일
     @JsonProperty("c08") @ApiModelProperty("08일")
-    private int    C08;     // 08시, 08일
+    private String C08;     // 08시, 08일
     @JsonProperty("c09") @ApiModelProperty("09일")
-    private int    C09;     // 09시, 09일
+    private String C09;     // 09시, 09일
     @JsonProperty("c10") @ApiModelProperty("10일")
-    private int    C10;     // 10시, 10일
+    private String C10;     // 10시, 10일
     @JsonProperty("c11") @ApiModelProperty("11일")
-    private int    C11;     // 11시, 11일
+    private String C11;     // 11시, 11일
     @JsonProperty("c12") @ApiModelProperty("12일")
-    private int    C12;     // 12시, 12일
+    private String C12;     // 12시, 12일
     @JsonProperty("c13") @ApiModelProperty("13일")
-    private int    C13;     // 13시, 13일
+    private String C13;     // 13시, 13일
     @JsonProperty("c14") @ApiModelProperty("14일")
-    private int    C14;     // 14시, 14일
+    private String C14;     // 14시, 14일
     @JsonProperty("c15") @ApiModelProperty("15일")
-    private int    C15;     // 15시, 15일
+    private String C15;     // 15시, 15일
     @JsonProperty("c16") @ApiModelProperty("16일")
-    private int    C16;     // 16시, 16일
+    private String C16;     // 16시, 16일
     @JsonProperty("c17") @ApiModelProperty("17일")
-    private int    C17;     // 17시, 17일
+    private String C17;     // 17시, 17일
     @JsonProperty("c18") @ApiModelProperty("18일")
-    private int    C18;     // 18시, 18일
+    private String C18;     // 18시, 18일
     @JsonProperty("c19") @ApiModelProperty("19일")
-    private int    C19;     // 19시, 19일
+    private String C19;     // 19시, 19일
     @JsonProperty("c20") @ApiModelProperty("20일")
-    private int    C20;     // 20시, 20일
+    private String C20;     // 20시, 20일
     @JsonProperty("c21") @ApiModelProperty("21일")
-    private int    C21;     // 21시, 21일
+    private String C21;     // 21시, 21일
     @JsonProperty("c22") @ApiModelProperty("22일")
-    private int    C22;     // 22시, 22일
+    private String C22;     // 22시, 22일
     @JsonProperty("c23") @ApiModelProperty("23일")
-    private int    C23;     // 23시, 23일
+    private String C23;     // 23시, 23일
     @JsonProperty("c24") @ApiModelProperty("24일")
-    private int    C24;     //       24일
+    private String C24;     //       24일
     @JsonProperty("c25") @ApiModelProperty("25일")
-    private int    C25;     //       25일
+    private String C25;     //       25일
     @JsonProperty("c26") @ApiModelProperty("26일")
-    private int    C26;     //       26일
+    private String C26;     //       26일
     @JsonProperty("c27") @ApiModelProperty("27일")
-    private int    C27;     //       27일
+    private String C27;     //       27일
     @JsonProperty("c28") @ApiModelProperty("28일")
-    private int    C28;     //       28일
+    private String C28;     //       28일
     @JsonProperty("c29") @ApiModelProperty("29일")
-    private int    C29;     //       29일
+    private String C29;     //       29일
     @JsonProperty("c30") @ApiModelProperty("30일")
-    private int    C30;     //       30일
+    private String C30;     //       30일
     @JsonProperty("c31") @ApiModelProperty("31일")
-    private int    C31;     //       31일
+    private String C31;     //       31일
 
 }

+ 26 - 26
src/main/java/com/its/op/dto/its/atrd/AtrdStatHourlyDto.java

@@ -29,61 +29,61 @@ public class AtrdStatHourlyDto {
     private String DRCT_CD_DESC;
     @ApiModelProperty("구간거리")
     @JsonProperty("sect_lngt")
-    private int    SECT_LNGT;
+    private String SECT_LNGT;
     @ApiModelProperty("유형")
     @JsonProperty("trf_type")
     private String TRF_TYPE;
     @ApiModelProperty("평균속도")
     @JsonProperty("avg_sped")
-    private int    AVG_SPED;
+    private String AVG_SPED;
 
     @JsonProperty("c00") @ApiModelProperty("00시")
-    private int    C00;     // 00시
+    private String C00;     // 00시
     @JsonProperty("c01") @ApiModelProperty("01시")
-    private int    C01;     // 01시, 01일
+    private String C01;     // 01시, 01일
     @JsonProperty("c02") @ApiModelProperty("02시")
-    private int    C02;     // 02시, 02일
+    private String C02;     // 02시, 02일
     @JsonProperty("c03") @ApiModelProperty("03시")
-    private int    C03;     // 03시, 03일
+    private String C03;     // 03시, 03일
     @JsonProperty("c04") @ApiModelProperty("04시")
-    private int    C04;     // 04시, 04일
+    private String C04;     // 04시, 04일
     @JsonProperty("c05") @ApiModelProperty("05시")
-    private int    C05;     // 05시, 05일
+    private String C05;     // 05시, 05일
     @JsonProperty("c06") @ApiModelProperty("06시")
-    private int    C06;     // 06시, 06일
+    private String C06;     // 06시, 06일
     @JsonProperty("c07") @ApiModelProperty("07시")
-    private int    C07;     // 07시, 07일
+    private String C07;     // 07시, 07일
     @JsonProperty("c08") @ApiModelProperty("08시")
-    private int    C08;     // 08시, 08일
+    private String C08;     // 08시, 08일
     @JsonProperty("c09") @ApiModelProperty("09시")
-    private int    C09;     // 09시, 09일
+    private String C09;     // 09시, 09일
     @JsonProperty("c10") @ApiModelProperty("10시")
-    private int    C10;     // 10시, 10일
+    private String C10;     // 10시, 10일
     @JsonProperty("c11") @ApiModelProperty("11시")
-    private int    C11;     // 11시, 11일
+    private String C11;     // 11시, 11일
     @JsonProperty("c12") @ApiModelProperty("12시")
-    private int    C12;     // 12시, 12일
+    private String C12;     // 12시, 12일
     @JsonProperty("c13") @ApiModelProperty("13시")
-    private int    C13;     // 13시, 13일
+    private String C13;     // 13시, 13일
     @JsonProperty("c14") @ApiModelProperty("14시")
-    private int    C14;     // 14시, 14일
+    private String C14;     // 14시, 14일
     @JsonProperty("c15") @ApiModelProperty("15시")
-    private int    C15;     // 15시, 15일
+    private String C15;     // 15시, 15일
     @JsonProperty("c16") @ApiModelProperty("16시")
-    private int    C16;     // 16시, 16일
+    private String C16;     // 16시, 16일
     @JsonProperty("c17") @ApiModelProperty("17시")
-    private int    C17;     // 17시, 17일
+    private String C17;     // 17시, 17일
     @JsonProperty("c18") @ApiModelProperty("18시")
-    private int    C18;     // 18시, 18일
+    private String C18;     // 18시, 18일
     @JsonProperty("c19") @ApiModelProperty("19시")
-    private int    C19;     // 19시, 19일
+    private String C19;     // 19시, 19일
     @JsonProperty("c20") @ApiModelProperty("20시")
-    private int    C20;     // 20시, 20일
+    private String C20;     // 20시, 20일
     @JsonProperty("c21") @ApiModelProperty("21시")
-    private int    C21;     // 21시, 21일
+    private String C21;     // 21시, 21일
     @JsonProperty("c22") @ApiModelProperty("22시")
-    private int    C22;     // 22시, 22일
+    private String C22;     // 22시, 22일
     @JsonProperty("c23") @ApiModelProperty("23시")
-    private int    C23;     // 23시, 23일
+    private String C23;     // 23시, 23일
 
 }

+ 34 - 34
src/main/java/com/its/op/dto/its/vds/VdsDtctTfvlDayDto.java

@@ -28,7 +28,7 @@ public class VdsDtctTfvlDayDto {
     private String DTCT_NMBR;
     @ApiModelProperty("설치차로")
     @JsonProperty("istl_lane")
-    private int    ISTL_LANE;
+    private String ISTL_LANE;
     @ApiModelProperty("VDS 검지기 명")
     @JsonProperty("vds_dtct_nm")
     private String VDS_DTCT_NM;
@@ -49,73 +49,73 @@ public class VdsDtctTfvlDayDto {
 
     @ApiModelProperty("교통량합")
     @JsonProperty("tot_tfvl")
-    private int    TOTTFVL;
+    private String TOTTFVL;
 
     @ApiModelProperty("교통량평균")
     @JsonProperty("avg_tfvl")
-    private int    AVGTFVL;
+    private String AVGTFVL;
 
     @JsonProperty("c01") @ApiModelProperty("01일")
-    private int    C01;     // 01시, 01일
+    private String C01;     // 01시, 01일
     @JsonProperty("c02") @ApiModelProperty("02일")
-    private int    C02;     // 02시, 02일
+    private String C02;     // 02시, 02일
     @JsonProperty("c03") @ApiModelProperty("03일")
-    private int    C03;     // 03시, 03일
+    private String C03;     // 03시, 03일
     @JsonProperty("c04") @ApiModelProperty("04일")
-    private int    C04;     // 04시, 04일
+    private String C04;     // 04시, 04일
     @JsonProperty("c05") @ApiModelProperty("05일")
-    private int    C05;     // 05시, 05일
+    private String C05;     // 05시, 05일
     @JsonProperty("c06") @ApiModelProperty("06일")
-    private int    C06;     // 06시, 06일
+    private String C06;     // 06시, 06일
     @JsonProperty("c07") @ApiModelProperty("07일")
-    private int    C07;     // 07시, 07일
+    private String C07;     // 07시, 07일
     @JsonProperty("c08") @ApiModelProperty("08일")
-    private int    C08;     // 08시, 08일
+    private String C08;     // 08시, 08일
     @JsonProperty("c09") @ApiModelProperty("09일")
-    private int    C09;     // 09시, 09일
+    private String C09;     // 09시, 09일
     @JsonProperty("c10") @ApiModelProperty("10일")
-    private int    C10;     // 10시, 10일
+    private String C10;     // 10시, 10일
     @JsonProperty("c11") @ApiModelProperty("11일")
-    private int    C11;     // 11시, 11일
+    private String C11;     // 11시, 11일
     @JsonProperty("c12") @ApiModelProperty("12일")
-    private int    C12;     // 12시, 12일
+    private String C12;     // 12시, 12일
     @JsonProperty("c13") @ApiModelProperty("13일")
-    private int    C13;     // 13시, 13일
+    private String C13;     // 13시, 13일
     @JsonProperty("c14") @ApiModelProperty("14일")
-    private int    C14;     // 14시, 14일
+    private String C14;     // 14시, 14일
     @JsonProperty("c15") @ApiModelProperty("15일")
-    private int    C15;     // 15시, 15일
+    private String C15;     // 15시, 15일
     @JsonProperty("c16") @ApiModelProperty("16일")
-    private int    C16;     // 16시, 16일
+    private String C16;     // 16시, 16일
     @JsonProperty("c17") @ApiModelProperty("17일")
-    private int    C17;     // 17시, 17일
+    private String C17;     // 17시, 17일
     @JsonProperty("c18") @ApiModelProperty("18일")
-    private int    C18;     // 18시, 18일
+    private String C18;     // 18시, 18일
     @JsonProperty("c19") @ApiModelProperty("19일")
-    private int    C19;     // 19시, 19일
+    private String C19;     // 19시, 19일
     @JsonProperty("c20") @ApiModelProperty("20일")
-    private int    C20;     // 20시, 20일
+    private String C20;     // 20시, 20일
     @JsonProperty("c21") @ApiModelProperty("21일")
-    private int    C21;     // 21시, 21일
+    private String C21;     // 21시, 21일
     @JsonProperty("c22") @ApiModelProperty("22일")
-    private int    C22;     // 22시, 22일
+    private String C22;     // 22시, 22일
     @JsonProperty("c23") @ApiModelProperty("23일")
-    private int    C23;     // 23시, 23일
+    private String C23;     // 23시, 23일
     @JsonProperty("c24") @ApiModelProperty("24일")
-    private int    C24;     //       24일
+    private String C24;     //       24일
     @JsonProperty("c25") @ApiModelProperty("25일")
-    private int    C25;     //       25일
+    private String C25;     //       25일
     @JsonProperty("c26") @ApiModelProperty("26일")
-    private int    C26;     //       26일
+    private String C26;     //       26일
     @JsonProperty("c27") @ApiModelProperty("27일")
-    private int    C27;     //       27일
+    private String C27;     //       27일
     @JsonProperty("c28") @ApiModelProperty("28일")
-    private int    C28;     //       28일
+    private String C28;     //       28일
     @JsonProperty("c29") @ApiModelProperty("29일")
-    private int    C29;     //       29일
+    private String C29;     //       29일
     @JsonProperty("c30") @ApiModelProperty("30일")
-    private int    C30;     //       30일
+    private String C30;     //       30일
     @JsonProperty("c31") @ApiModelProperty("31일")
-    private int    C31;     //       31일
+    private String C31;     //       31일
 
 }

+ 27 - 27
src/main/java/com/its/op/dto/its/vds/VdsDtctTfvlHourDto.java

@@ -29,7 +29,7 @@ public class VdsDtctTfvlHourDto {
     private String DTCT_NMBR;
     @ApiModelProperty("설치차로")
     @JsonProperty("istl_lane")
-    private int    ISTL_LANE;
+    private String ISTL_LANE;
     @ApiModelProperty("VDS 검지기 명")
     @JsonProperty("vds_dtct_nm")
     private String VDS_DTCT_NM;
@@ -50,59 +50,59 @@ public class VdsDtctTfvlHourDto {
 
     @ApiModelProperty("교통량합")
     @JsonProperty("tot_tfvl")
-    private int    TOTTFVL;
+    private String TOTTFVL;
 
     @ApiModelProperty("교통량평균")
     @JsonProperty("avg_tfvl")
-    private int    AVGTFVL;
+    private String AVGTFVL;
 
     @JsonProperty("c00") @ApiModelProperty("00시")
-    private int    C00;     // 00시
+    private String C00;     // 00시
     @JsonProperty("c01") @ApiModelProperty("01시")
-    private int    C01;     // 01시, 01일
+    private String C01;     // 01시, 01일
     @JsonProperty("c02") @ApiModelProperty("02시")
-    private int    C02;     // 02시, 02일
+    private String C02;     // 02시, 02일
     @JsonProperty("c03") @ApiModelProperty("03시")
-    private int    C03;     // 03시, 03일
+    private String C03;     // 03시, 03일
     @JsonProperty("c04") @ApiModelProperty("04시")
-    private int    C04;     // 04시, 04일
+    private String C04;     // 04시, 04일
     @JsonProperty("c05") @ApiModelProperty("05시")
-    private int    C05;     // 05시, 05일
+    private String C05;     // 05시, 05일
     @JsonProperty("c06") @ApiModelProperty("06시")
-    private int    C06;     // 06시, 06일
+    private String C06;     // 06시, 06일
     @JsonProperty("c07") @ApiModelProperty("07시")
-    private int    C07;     // 07시, 07일
+    private String C07;     // 07시, 07일
     @JsonProperty("c08") @ApiModelProperty("08시")
-    private int    C08;     // 08시, 08일
+    private String C08;     // 08시, 08일
     @JsonProperty("c09") @ApiModelProperty("09시")
-    private int    C09;     // 09시, 09일
+    private String C09;     // 09시, 09일
     @JsonProperty("c10") @ApiModelProperty("10시")
-    private int    C10;     // 10시, 10일
+    private String C10;     // 10시, 10일
     @JsonProperty("c11") @ApiModelProperty("11시")
-    private int    C11;     // 11시, 11일
+    private String C11;     // 11시, 11일
     @JsonProperty("c12") @ApiModelProperty("12시")
-    private int    C12;     // 12시, 12일
+    private String C12;     // 12시, 12일
     @JsonProperty("c13") @ApiModelProperty("13시")
-    private int    C13;     // 13시, 13일
+    private String C13;     // 13시, 13일
     @JsonProperty("c14") @ApiModelProperty("14시")
-    private int    C14;     // 14시, 14일
+    private String C14;     // 14시, 14일
     @JsonProperty("c15") @ApiModelProperty("15시")
-    private int    C15;     // 15시, 15일
+    private String C15;     // 15시, 15일
     @JsonProperty("c16") @ApiModelProperty("16시")
-    private int    C16;     // 16시, 16일
+    private String C16;     // 16시, 16일
     @JsonProperty("c17") @ApiModelProperty("17시")
-    private int    C17;     // 17시, 17일
+    private String C17;     // 17시, 17일
     @JsonProperty("c18") @ApiModelProperty("18시")
-    private int    C18;     // 18시, 18일
+    private String C18;     // 18시, 18일
     @JsonProperty("c19") @ApiModelProperty("19시")
-    private int    C19;     // 19시, 19일
+    private String C19;     // 19시, 19일
     @JsonProperty("c20") @ApiModelProperty("20시")
-    private int    C20;     // 20시, 20일
+    private String C20;     // 20시, 20일
     @JsonProperty("c21") @ApiModelProperty("21시")
-    private int    C21;     // 21시, 21일
+    private String C21;     // 21시, 21일
     @JsonProperty("c22") @ApiModelProperty("22시")
-    private int    C22;     // 22시, 22일
+    private String C22;     // 22시, 22일
     @JsonProperty("c23") @ApiModelProperty("23시")
-    private int    C23;     // 23시, 23일
+    private String C23;     // 23시, 23일
 
 }

+ 15 - 15
src/main/java/com/its/op/dto/its/vds/VdsDtctTfvlMonthDto.java

@@ -28,7 +28,7 @@ public class VdsDtctTfvlMonthDto {
     private String DTCT_NMBR;
     @ApiModelProperty("설치차로")
     @JsonProperty("istl_lane")
-    private int    ISTL_LANE;
+    private String ISTL_LANE;
     @ApiModelProperty("VDS 검지기 명")
     @JsonProperty("vds_dtct_nm")
     private String VDS_DTCT_NM;
@@ -49,34 +49,34 @@ public class VdsDtctTfvlMonthDto {
 
     @ApiModelProperty("교통량합")
     @JsonProperty("tot_tfvl")
-    private int    TOTTFVL;
+    private String TOTTFVL;
 
     @ApiModelProperty("교통량평균")
     @JsonProperty("avg_tfvl")
-    private int    AVGTFVL;
+    private String AVGTFVL;
 
     @JsonProperty("c01") @ApiModelProperty("01월")
-    private int    C01;     // 01시, 01월
+    private String C01;     // 01시, 01월
     @JsonProperty("c02") @ApiModelProperty("02월")
-    private int    C02;     // 02시, 02월
+    private String C02;     // 02시, 02월
     @JsonProperty("c03") @ApiModelProperty("03월")
-    private int    C03;     // 03시, 03월
+    private String C03;     // 03시, 03월
     @JsonProperty("c04") @ApiModelProperty("04월")
-    private int    C04;     // 04시, 04월
+    private String C04;     // 04시, 04월
     @JsonProperty("c05") @ApiModelProperty("05월")
-    private int    C05;     // 05시, 05월
+    private String C05;     // 05시, 05월
     @JsonProperty("c06") @ApiModelProperty("06월")
-    private int    C06;     // 06시, 06월
+    private String C06;     // 06시, 06월
     @JsonProperty("c07") @ApiModelProperty("07월")
-    private int    C07;     // 07시, 07월
+    private String C07;     // 07시, 07월
     @JsonProperty("c08") @ApiModelProperty("08월")
-    private int    C08;     // 08시, 08월
+    private String C08;     // 08시, 08월
     @JsonProperty("c09") @ApiModelProperty("09월")
-    private int    C09;     // 09시, 09월
+    private String C09;     // 09시, 09월
     @JsonProperty("c10") @ApiModelProperty("10월")
-    private int    C10;     // 10시, 10월
+    private String C10;     // 10시, 10월
     @JsonProperty("c11") @ApiModelProperty("11월")
-    private int    C11;     // 11시, 11월
+    private String C11;     // 11시, 11월
     @JsonProperty("c12") @ApiModelProperty("12월")
-    private int    C12;     // 12시, 12월
+    private String C12;     // 12시, 12월
 }

+ 101 - 104
src/main/resources/mybatis/mapper/its/vds/VdsDtctTfvlStatMapper.xml

@@ -7,32 +7,32 @@
        <![CDATA[
         SELECT LY.VDS_CTLR_NMBR, LY.VDS_CTLR_ID, LY.LCTN, LY.VDS_DTCT_NMBR AS DTCT_NMBR, LY.ISTL_LANE, LY.VDS_DTCT_NM,
                LY.DTCT_TYPE, LY.DTCT_TYPE_NM, LX.TRFTYPE, LY.VDS_CTLR_NMBR || '.' || LY.LCTN AS NM,
-               DECODE(LX.VDS_DTCT_NMBR, NULL, 0, DECODE(TOTTFVL, 0, 0, TOTTFVL)) AS TOTTFVL,
-               DECODE(LX.VDS_DTCT_NMBR, NULL, 0, DECODE(AVGTFVL, 0, 0, AVGTFVL)) AS AVGTFVL,
-               DECODE(LX.VDS_DTCT_NMBR, NULL, 0, DECODE(L00, NULL, 0, L00)) AS C00,
-               DECODE(LX.VDS_DTCT_NMBR, NULL, 0, DECODE(L01, NULL, 0, L01)) AS C01,
-               DECODE(LX.VDS_DTCT_NMBR, NULL, 0, DECODE(L02, NULL, 0, L02)) AS C02,
-               DECODE(LX.VDS_DTCT_NMBR, NULL, 0, DECODE(L03, NULL, 0, L03)) AS C03,
-               DECODE(LX.VDS_DTCT_NMBR, NULL, 0, DECODE(L04, NULL, 0, L04)) AS C04,
-               DECODE(LX.VDS_DTCT_NMBR, NULL, 0, DECODE(L05, NULL, 0, L05)) AS C05,
-               DECODE(LX.VDS_DTCT_NMBR, NULL, 0, DECODE(L06, NULL, 0, L06)) AS C06,
-               DECODE(LX.VDS_DTCT_NMBR, NULL, 0, DECODE(L07, NULL, 0, L07)) AS C07,
-               DECODE(LX.VDS_DTCT_NMBR, NULL, 0, DECODE(L08, NULL, 0, L08)) AS C08,
-               DECODE(LX.VDS_DTCT_NMBR, NULL, 0, DECODE(L09, NULL, 0, L09)) AS C09,
-               DECODE(LX.VDS_DTCT_NMBR, NULL, 0, DECODE(L10, NULL, 0, L10)) AS C10,
-               DECODE(LX.VDS_DTCT_NMBR, NULL, 0, DECODE(L11, NULL, 0, L11)) AS C11,
-               DECODE(LX.VDS_DTCT_NMBR, NULL, 0, DECODE(L12, NULL, 0, L12)) AS C12,
-               DECODE(LX.VDS_DTCT_NMBR, NULL, 0, DECODE(L13, NULL, 0, L13)) AS C13,
-               DECODE(LX.VDS_DTCT_NMBR, NULL, 0, DECODE(L14, NULL, 0, L14)) AS C14,
-               DECODE(LX.VDS_DTCT_NMBR, NULL, 0, DECODE(L15, NULL, 0, L15)) AS C15,
-               DECODE(LX.VDS_DTCT_NMBR, NULL, 0, DECODE(L16, NULL, 0, L16)) AS C16,
-               DECODE(LX.VDS_DTCT_NMBR, NULL, 0, DECODE(L17, NULL, 0, L17)) AS C17,
-               DECODE(LX.VDS_DTCT_NMBR, NULL, 0, DECODE(L18, NULL, 0, L18)) AS C18,
-               DECODE(LX.VDS_DTCT_NMBR, NULL, 0, DECODE(L19, NULL, 0, L19)) AS C19,
-               DECODE(LX.VDS_DTCT_NMBR, NULL, 0, DECODE(L20, NULL, 0, L20)) AS C20,
-               DECODE(LX.VDS_DTCT_NMBR, NULL, 0, DECODE(L21, NULL, 0, L21)) AS C21,
-               DECODE(LX.VDS_DTCT_NMBR, NULL, 0, DECODE(L22, NULL, 0, L22)) AS C22,
-               DECODE(LX.VDS_DTCT_NMBR, NULL, 0, DECODE(L23, NULL, 0, L23)) AS C23
+               DECODE(LX.VDS_DTCT_NMBR, NULL, '-', DECODE(TOTTFVL, 0, 0, TOTTFVL)) AS TOTTFVL,
+               DECODE(LX.VDS_DTCT_NMBR, NULL, '-', DECODE(AVGTFVL, 0, 0, AVGTFVL)) AS AVGTFVL,
+               DECODE(LX.VDS_DTCT_NMBR, NULL, '-', DECODE(L00, NULL, '-', L00)) AS C00,
+               DECODE(LX.VDS_DTCT_NMBR, NULL, '-', DECODE(L01, NULL, '-', L01)) AS C01,
+               DECODE(LX.VDS_DTCT_NMBR, NULL, '-', DECODE(L02, NULL, '-', L02)) AS C02,
+               DECODE(LX.VDS_DTCT_NMBR, NULL, '-', DECODE(L03, NULL, '-', L03)) AS C03,
+               DECODE(LX.VDS_DTCT_NMBR, NULL, '-', DECODE(L04, NULL, '-', L04)) AS C04,
+               DECODE(LX.VDS_DTCT_NMBR, NULL, '-', DECODE(L05, NULL, '-', L05)) AS C05,
+               DECODE(LX.VDS_DTCT_NMBR, NULL, '-', DECODE(L06, NULL, '-', L06)) AS C06,
+               DECODE(LX.VDS_DTCT_NMBR, NULL, '-', DECODE(L07, NULL, '-', L07)) AS C07,
+               DECODE(LX.VDS_DTCT_NMBR, NULL, '-', DECODE(L08, NULL, '-', L08)) AS C08,
+               DECODE(LX.VDS_DTCT_NMBR, NULL, '-', DECODE(L09, NULL, '-', L09)) AS C09,
+               DECODE(LX.VDS_DTCT_NMBR, NULL, '-', DECODE(L10, NULL, '-', L10)) AS C10,
+               DECODE(LX.VDS_DTCT_NMBR, NULL, '-', DECODE(L11, NULL, '-', L11)) AS C11,
+               DECODE(LX.VDS_DTCT_NMBR, NULL, '-', DECODE(L12, NULL, '-', L12)) AS C12,
+               DECODE(LX.VDS_DTCT_NMBR, NULL, '-', DECODE(L13, NULL, '-', L13)) AS C13,
+               DECODE(LX.VDS_DTCT_NMBR, NULL, '-', DECODE(L14, NULL, '-', L14)) AS C14,
+               DECODE(LX.VDS_DTCT_NMBR, NULL, '-', DECODE(L15, NULL, '-', L15)) AS C15,
+               DECODE(LX.VDS_DTCT_NMBR, NULL, '-', DECODE(L16, NULL, '-', L16)) AS C16,
+               DECODE(LX.VDS_DTCT_NMBR, NULL, '-', DECODE(L17, NULL, '-', L17)) AS C17,
+               DECODE(LX.VDS_DTCT_NMBR, NULL, '-', DECODE(L18, NULL, '-', L18)) AS C18,
+               DECODE(LX.VDS_DTCT_NMBR, NULL, '-', DECODE(L19, NULL, '-', L19)) AS C19,
+               DECODE(LX.VDS_DTCT_NMBR, NULL, '-', DECODE(L20, NULL, '-', L20)) AS C20,
+               DECODE(LX.VDS_DTCT_NMBR, NULL, '-', DECODE(L21, NULL, '-', L21)) AS C21,
+               DECODE(LX.VDS_DTCT_NMBR, NULL, '-', DECODE(L22, NULL, '-', L22)) AS C22,
+               DECODE(LX.VDS_DTCT_NMBR, NULL, '-', DECODE(L23, NULL, '-', L23)) AS C23
         FROM (
                  SELECT GROUPING(VDS_DTCT_NMBR) AS GROUPING_VDS_DTCT_NMBR,
                         GROUPING(ISTL_LANE) AS GROUPING_ISTL_LANE,
@@ -109,61 +109,60 @@
        <![CDATA[
         SELECT LY.VDS_CTLR_NMBR, LY.VDS_CTLR_ID, LY.LCTN, LY.VDS_DTCT_NMBR AS DTCT_NMBR, LY.ISTL_LANE, LY.VDS_DTCT_NM,
                LY.DTCT_TYPE, LY.DTCT_TYPE_NM, LX.TRFTYPE,  LY.VDS_CTLR_NMBR || '.' || LY.LCTN AS NM,
-               DECODE(LX.VDS_DTCT_NMBR, NULL, 0, DECODE(TOTTFVL, 0, 0, TOTTFVL)) AS TOTTFVL,
-               DECODE(LX.VDS_DTCT_NMBR, NULL, 0, DECODE(AVGTFVL, 0, 0, AVGTFVL)) AS AVGTFVLX,
+               DECODE(LX.VDS_DTCT_NMBR, NULL, '-', DECODE(TOTTFVL, 0, 0, TOTTFVL)) AS TOTTFVL,
+               DECODE(LX.VDS_DTCT_NMBR, NULL, '-', DECODE(AVGTFVL, 0, 0, AVGTFVL)) AS AVGTFVLX,
                DECODE(NVL(L01,0)+NVL(L02,0)+NVL(L03,0)+NVL(L04,0)+NVL(L05,0)+NVL(L06,0)+NVL(L07,0)+
                       NVL(L08,0)+NVL(L09,0)+NVL(L10,0)+NVL(L11,0)+NVL(L12,0)+NVL(L13,0)+NVL(L14,0)+
                       NVL(L15,0)+NVL(L16,0)+NVL(L17,0)+NVL(L18,0)+NVL(L19,0)+NVL(L20,0)+NVL(L21,0)+
                       NVL(L22,0)+NVL(L23,0)+NVL(L24,0)+NVL(L25,0)+NVL(L26,0)+NVL(L27,0)+NVL(L28,0)+
                       NVL(L29,0)+NVL(L30,0)+NVL(L31,0), 0, 0,
-                      ROUND(
-                                  (NVL(L01,0)+NVL(L02,0)+NVL(L03,0)+NVL(L04,0)+NVL(L05,0)+NVL(L06,0)+NVL(L07,0)+
-                                   NVL(L08,0)+NVL(L09,0)+NVL(L10,0)+NVL(L11,0)+NVL(L12,0)+NVL(L13,0)+NVL(L14,0)+
-                                   NVL(L15,0)+NVL(L16,0)+NVL(L17,0)+NVL(L18,0)+NVL(L19,0)+NVL(L20,0)+NVL(L21,0)+
-                                   NVL(L22,0)+NVL(L23,0)+NVL(L24,0)+NVL(L25,0)+NVL(L26,0)+NVL(L27,0)+NVL(L28,0)+
-                                   NVL(L29,0)+NVL(L30,0)+NVL(L31,0)) /
-                                  (DECODE(L01,NULL,0,1)+DECODE(L02,NULL,0,1)+DECODE(L03,NULL,0,1)+
-                                   DECODE(L04,NULL,0,1)+DECODE(L05,NULL,0,1)+DECODE(L06,NULL,0,1)+
-                                   DECODE(L07,NULL,0,1)+DECODE(L08,NULL,0,1)+DECODE(L09,NULL,0,1)+
-                                   DECODE(L10,NULL,0,1)+DECODE(L11,NULL,0,1)+DECODE(L12,NULL,0,1)+
-                                   DECODE(L13,NULL,0,1)+DECODE(L14,NULL,0,1)+DECODE(L15,NULL,0,1)+
-                                   DECODE(L16,NULL,0,1)+DECODE(L17,NULL,0,1)+DECODE(L18,NULL,0,1)+
-                                   DECODE(L19,NULL,0,1)+DECODE(L20,NULL,0,1)+DECODE(L21,NULL,0,1)+
-                                   DECODE(L22,NULL,0,1)+DECODE(L23,NULL,0,1)+DECODE(L24,NULL,0,1)+
-                                   DECODE(L25,NULL,0,1)+DECODE(L26,NULL,0,1)+DECODE(L27,NULL,0,1)+
-                                   DECODE(L28,NULL,0,1)+DECODE(L29,NULL,0,1)+DECODE(L30,NULL,0,1)+
-                                   DECODE(L31,NULL,0,1)), 0)) AS AVGTFVL,
-               DECODE(LX.VDS_DTCT_NMBR, NULL, 0, DECODE(L01, NULL, 0, L01)) AS C01,
-               DECODE(LX.VDS_DTCT_NMBR, NULL, 0, DECODE(L02, NULL, 0, L02)) AS C02,
-               DECODE(LX.VDS_DTCT_NMBR, NULL, 0, DECODE(L03, NULL, 0, L03)) AS C03,
-               DECODE(LX.VDS_DTCT_NMBR, NULL, 0, DECODE(L04, NULL, 0, L04)) AS C04,
-               DECODE(LX.VDS_DTCT_NMBR, NULL, 0, DECODE(L05, NULL, 0, L05)) AS C05,
-               DECODE(LX.VDS_DTCT_NMBR, NULL, 0, DECODE(L06, NULL, 0, L06)) AS C06,
-               DECODE(LX.VDS_DTCT_NMBR, NULL, 0, DECODE(L07, NULL, 0, L07)) AS C07,
-               DECODE(LX.VDS_DTCT_NMBR, NULL, 0, DECODE(L08, NULL, 0, L08)) AS C08,
-               DECODE(LX.VDS_DTCT_NMBR, NULL, 0, DECODE(L09, NULL, 0, L09)) AS C09,
-               DECODE(LX.VDS_DTCT_NMBR, NULL, 0, DECODE(L10, NULL, 0, L10)) AS C10,
-               DECODE(LX.VDS_DTCT_NMBR, NULL, 0, DECODE(L11, NULL, 0, L11)) AS C11,
-               DECODE(LX.VDS_DTCT_NMBR, NULL, 0, DECODE(L12, NULL, 0, L12)) AS C12,
-               DECODE(LX.VDS_DTCT_NMBR, NULL, 0, DECODE(L13, NULL, 0, L13)) AS C13,
-               DECODE(LX.VDS_DTCT_NMBR, NULL, 0, DECODE(L14, NULL, 0, L14)) AS C14,
-               DECODE(LX.VDS_DTCT_NMBR, NULL, 0, DECODE(L15, NULL, 0, L15)) AS C15,
-               DECODE(LX.VDS_DTCT_NMBR, NULL, 0, DECODE(L16, NULL, 0, L16)) AS C16,
-               DECODE(LX.VDS_DTCT_NMBR, NULL, 0, DECODE(L17, NULL, 0, L17)) AS C17,
-               DECODE(LX.VDS_DTCT_NMBR, NULL, 0, DECODE(L18, NULL, 0, L18)) AS C18,
-               DECODE(LX.VDS_DTCT_NMBR, NULL, 0, DECODE(L19, NULL, 0, L19)) AS C19,
-               DECODE(LX.VDS_DTCT_NMBR, NULL, 0, DECODE(L20, NULL, 0, L20)) AS C20,
-               DECODE(LX.VDS_DTCT_NMBR, NULL, 0, DECODE(L21, NULL, 0, L21)) AS C21,
-               DECODE(LX.VDS_DTCT_NMBR, NULL, 0, DECODE(L22, NULL, 0, L22)) AS C22,
-               DECODE(LX.VDS_DTCT_NMBR, NULL, 0, DECODE(L23, NULL, 0, L23)) AS C23,
-               DECODE(LX.VDS_DTCT_NMBR, NULL, 0, DECODE(L24, NULL, 0, L24)) AS C24,
-               DECODE(LX.VDS_DTCT_NMBR, NULL, 0, DECODE(L25, NULL, 0, L25)) AS C25,
-               DECODE(LX.VDS_DTCT_NMBR, NULL, 0, DECODE(L26, NULL, 0, L26)) AS C26,
-               DECODE(LX.VDS_DTCT_NMBR, NULL, 0, DECODE(L27, NULL, 0, L27)) AS C27,
-               DECODE(LX.VDS_DTCT_NMBR, NULL, 0, DECODE(L28, NULL, 0, L28)) AS C28,
-               DECODE(LX.VDS_DTCT_NMBR, NULL, 0, DECODE(L29, NULL, 0, L29)) AS C29,
-               DECODE(LX.VDS_DTCT_NMBR, NULL, 0, DECODE(L30, NULL, 0, L30)) AS C30,
-               DECODE(LX.VDS_DTCT_NMBR, NULL, 0, DECODE(L31, NULL, 0, L31)) AS C31
+                      ROUND((NVL(L01,0)+NVL(L02,0)+NVL(L03,0)+NVL(L04,0)+NVL(L05,0)+NVL(L06,0)+NVL(L07,0)+
+                           NVL(L08,0)+NVL(L09,0)+NVL(L10,0)+NVL(L11,0)+NVL(L12,0)+NVL(L13,0)+NVL(L14,0)+
+                           NVL(L15,0)+NVL(L16,0)+NVL(L17,0)+NVL(L18,0)+NVL(L19,0)+NVL(L20,0)+NVL(L21,0)+
+                           NVL(L22,0)+NVL(L23,0)+NVL(L24,0)+NVL(L25,0)+NVL(L26,0)+NVL(L27,0)+NVL(L28,0)+
+                           NVL(L29,0)+NVL(L30,0)+NVL(L31,0)) /
+                          (DECODE(L01,NULL,0,1)+DECODE(L02,NULL,0,1)+DECODE(L03,NULL,0,1)+
+                           DECODE(L04,NULL,0,1)+DECODE(L05,NULL,0,1)+DECODE(L06,NULL,0,1)+
+                           DECODE(L07,NULL,0,1)+DECODE(L08,NULL,0,1)+DECODE(L09,NULL,0,1)+
+                           DECODE(L10,NULL,0,1)+DECODE(L11,NULL,0,1)+DECODE(L12,NULL,0,1)+
+                           DECODE(L13,NULL,0,1)+DECODE(L14,NULL,0,1)+DECODE(L15,NULL,0,1)+
+                           DECODE(L16,NULL,0,1)+DECODE(L17,NULL,0,1)+DECODE(L18,NULL,0,1)+
+                           DECODE(L19,NULL,0,1)+DECODE(L20,NULL,0,1)+DECODE(L21,NULL,0,1)+
+                           DECODE(L22,NULL,0,1)+DECODE(L23,NULL,0,1)+DECODE(L24,NULL,0,1)+
+                           DECODE(L25,NULL,0,1)+DECODE(L26,NULL,0,1)+DECODE(L27,NULL,0,1)+
+                           DECODE(L28,NULL,0,1)+DECODE(L29,NULL,0,1)+DECODE(L30,NULL,0,1)+
+                           DECODE(L31,NULL,0,1)), 0)) AS AVGTFVL,
+               DECODE(LX.VDS_DTCT_NMBR, NULL, '-', DECODE(L01, NULL, '-', L01)) AS C01,
+               DECODE(LX.VDS_DTCT_NMBR, NULL, '-', DECODE(L02, NULL, '-', L02)) AS C02,
+               DECODE(LX.VDS_DTCT_NMBR, NULL, '-', DECODE(L03, NULL, '-', L03)) AS C03,
+               DECODE(LX.VDS_DTCT_NMBR, NULL, '-', DECODE(L04, NULL, '-', L04)) AS C04,
+               DECODE(LX.VDS_DTCT_NMBR, NULL, '-', DECODE(L05, NULL, '-', L05)) AS C05,
+               DECODE(LX.VDS_DTCT_NMBR, NULL, '-', DECODE(L06, NULL, '-', L06)) AS C06,
+               DECODE(LX.VDS_DTCT_NMBR, NULL, '-', DECODE(L07, NULL, '-', L07)) AS C07,
+               DECODE(LX.VDS_DTCT_NMBR, NULL, '-', DECODE(L08, NULL, '-', L08)) AS C08,
+               DECODE(LX.VDS_DTCT_NMBR, NULL, '-', DECODE(L09, NULL, '-', L09)) AS C09,
+               DECODE(LX.VDS_DTCT_NMBR, NULL, '-', DECODE(L10, NULL, '-', L10)) AS C10,
+               DECODE(LX.VDS_DTCT_NMBR, NULL, '-', DECODE(L11, NULL, '-', L11)) AS C11,
+               DECODE(LX.VDS_DTCT_NMBR, NULL, '-', DECODE(L12, NULL, '-', L12)) AS C12,
+               DECODE(LX.VDS_DTCT_NMBR, NULL, '-', DECODE(L13, NULL, '-', L13)) AS C13,
+               DECODE(LX.VDS_DTCT_NMBR, NULL, '-', DECODE(L14, NULL, '-', L14)) AS C14,
+               DECODE(LX.VDS_DTCT_NMBR, NULL, '-', DECODE(L15, NULL, '-', L15)) AS C15,
+               DECODE(LX.VDS_DTCT_NMBR, NULL, '-', DECODE(L16, NULL, '-', L16)) AS C16,
+               DECODE(LX.VDS_DTCT_NMBR, NULL, '-', DECODE(L17, NULL, '-', L17)) AS C17,
+               DECODE(LX.VDS_DTCT_NMBR, NULL, '-', DECODE(L18, NULL, '-', L18)) AS C18,
+               DECODE(LX.VDS_DTCT_NMBR, NULL, '-', DECODE(L19, NULL, '-', L19)) AS C19,
+               DECODE(LX.VDS_DTCT_NMBR, NULL, '-', DECODE(L20, NULL, '-', L20)) AS C20,
+               DECODE(LX.VDS_DTCT_NMBR, NULL, '-', DECODE(L21, NULL, '-', L21)) AS C21,
+               DECODE(LX.VDS_DTCT_NMBR, NULL, '-', DECODE(L22, NULL, '-', L22)) AS C22,
+               DECODE(LX.VDS_DTCT_NMBR, NULL, '-', DECODE(L23, NULL, '-', L23)) AS C23,
+               DECODE(LX.VDS_DTCT_NMBR, NULL, '-', DECODE(L24, NULL, '-', L24)) AS C24,
+               DECODE(LX.VDS_DTCT_NMBR, NULL, '-', DECODE(L25, NULL, '-', L25)) AS C25,
+               DECODE(LX.VDS_DTCT_NMBR, NULL, '-', DECODE(L26, NULL, '-', L26)) AS C26,
+               DECODE(LX.VDS_DTCT_NMBR, NULL, '-', DECODE(L27, NULL, '-', L27)) AS C27,
+               DECODE(LX.VDS_DTCT_NMBR, NULL, '-', DECODE(L28, NULL, '-', L28)) AS C28,
+               DECODE(LX.VDS_DTCT_NMBR, NULL, '-', DECODE(L29, NULL, '-', L29)) AS C29,
+               DECODE(LX.VDS_DTCT_NMBR, NULL, '-', DECODE(L30, NULL, '-', L30)) AS C30,
+               DECODE(LX.VDS_DTCT_NMBR, NULL, '-', DECODE(L31, NULL, '-', L31)) AS C31
         FROM (
                  SELECT GROUPING(VDS_DTCT_NMBR) AS GROUPING_VDS_DTCT_NMBR,
                         GROUPING(ISTL_LANE) AS GROUPING_ISTL_LANE,
@@ -210,7 +209,7 @@
                                  TO_CHAR(Y.ISTL_LANE) AS ISTL_LANE,  X.TRFTYPE, X.STATDAY, X.TFVL
                           FROM (SELECT /*+ INDEX(A PK_VDS_DTCT_STAT_HH) */
                                     'DTCT' AS TRFTYPE,
-                                    A.VDS_DTCT_NMBR AS VDS_VDS_DTCT_NMBR, SUBSTR(A.STAT_DT, 7, 2) AS STATDAY,
+                                    A.VDS_DTCT_NMBR AS VDS_DTCT_NMBR, SUBSTR(A.STAT_DT, 7, 2) AS STATDAY,
                                     A.TFVL AS TFVL
                                 FROM TB_VDS_DTCT_STAT_HH A
                                 WHERE 1=1
@@ -220,7 +219,7 @@
                                TB_VDS_DTCT Y
                           WHERE 1=1
                             AND Y.DEL_YN = 'N'
-                            AND Y.VDS_DTCT_NMBR = X.VDS_VDS_DTCT_NMBR
+                            AND Y.VDS_DTCT_NMBR = X.VDS_DTCT_NMBR
                       )
                  GROUP BY ROLLUP (VDS_DTCT_NMBR, ISTL_LANE, TRFTYPE)
                  HAVING GROUPING(TRFTYPE) = 0
@@ -246,31 +245,29 @@
 
     <select id="findAllMonthStatByDateRange" parameterType="java.util.HashMap" resultType="com.its.op.dto.its.vds.VdsDtctTfvlMonthDto">
        <![CDATA[
-        SELECT LY.VDS_CTLR_NMBR, LY.VDS_CTLR_ID, LY.VDS_NM, LY.VDS_DTCT_NMBR, LY.ISTL_LANE, LY.VDS_DTCT_NM,
-               LY.DTCT_TYPE, LY.DTCT_TYPE_NM, LX.TRFTYPE,  LY.VDS_CTLR_NMBR || '.' || LY.VDS_NM AS NM,
-               DECODE(LX.VDS_DTCT_NMBR, NULL, 0, DECODE(TOTTFVL, 0, 0, TOTTFVL)) AS TOTTFVL,
-               DECODE(LX.VDS_DTCT_NMBR, NULL, 0, DECODE(AVGTFVL, 0, 0, AVGTFVL)) AS AVGTFVLX,
+        SELECT LY.VDS_CTLR_NMBR, LY.VDS_CTLR_ID, LY.LCTN, LY.VDS_DTCT_NMBR, LY.ISTL_LANE, LY.VDS_DTCT_NM,
+               LY.DTCT_TYPE, LY.DTCT_TYPE_NM, LX.TRFTYPE,  LY.VDS_CTLR_NMBR || '.' || LY.LCTN AS NM,
+               DECODE(LX.VDS_DTCT_NMBR, NULL, '-', DECODE(TOTTFVL, 0, 0, TOTTFVL)) AS TOTTFVL,
+               DECODE(LX.VDS_DTCT_NMBR, NULL, '-', DECODE(AVGTFVL, 0, 0, AVGTFVL)) AS AVGTFVLX,
                DECODE(NVL(L01,0)+NVL(L02,0)+NVL(L03,0)+NVL(L04,0)+NVL(L05,0)+NVL(L06,0)+NVL(L07,0)+
                       NVL(L08,0)+NVL(L09,0)+NVL(L10,0)+NVL(L11,0)+NVL(L12,0), 0, 0,
-                      ROUND(
-                                  (NVL(L01,0)+NVL(L02,0)+NVL(L03,0)+NVL(L04,0)+NVL(L05,0)+NVL(L06,0)+NVL(L07,0)+
-                                   NVL(L08,0)+NVL(L09,0)+NVL(L10,0)+NVL(L11,0)+NVL(L12,0)) /
-                                  (DECODE(L01,NULL,0,1)+DECODE(L02,NULL,0,1)+DECODE(L03,NULL,0,1)+
-                                   DECODE(L04,NULL,0,1)+DECODE(L05,NULL,0,1)+DECODE(L06,NULL,0,1)+
-                                   DECODE(L07,NULL,0,1)+DECODE(L08,NULL,0,1)+DECODE(L09,NULL,0,1)+
-                                   DECODE(L10,NULL,0,1)+DECODE(L11,NULL,0,1)+DECODE(L12,NULL,0,1)), 0)) AS AVGTFVL,
-               DECODE(LX.VDS_DTCT_NMBR, NULL, 0, DECODE(L01, NULL, 0, L01)) AS C01,
-               DECODE(LX.VDS_DTCT_NMBR, NULL, 0, DECODE(L02, NULL, 0, L02)) AS C02,
-               DECODE(LX.VDS_DTCT_NMBR, NULL, 0, DECODE(L03, NULL, 0, L03)) AS C03,
-               DECODE(LX.VDS_DTCT_NMBR, NULL, 0, DECODE(L04, NULL, 0, L04)) AS C04,
-               DECODE(LX.VDS_DTCT_NMBR, NULL, 0, DECODE(L05, NULL, 0, L05)) AS C05,
-               DECODE(LX.VDS_DTCT_NMBR, NULL, 0, DECODE(L06, NULL, 0, L06)) AS C06,
-               DECODE(LX.VDS_DTCT_NMBR, NULL, 0, DECODE(L07, NULL, 0, L07)) AS C07,
-               DECODE(LX.VDS_DTCT_NMBR, NULL, 0, DECODE(L08, NULL, 0, L08)) AS C08,
-               DECODE(LX.VDS_DTCT_NMBR, NULL, 0, DECODE(L09, NULL, 0, L09)) AS C09,
-               DECODE(LX.VDS_DTCT_NMBR, NULL, 0, DECODE(L10, NULL, 0, L10)) AS C10,
-               DECODE(LX.VDS_DTCT_NMBR, NULL, 0, DECODE(L11, NULL, 0, L11)) AS C11,
-               DECODE(LX.VDS_DTCT_NMBR, NULL, 0, DECODE(L12, NULL, 0, L12)) AS C12
+                      ROUND((NVL(L01,0)+NVL(L02,0)+NVL(L03,0)+NVL(L04,0)+NVL(L05,0)+NVL(L06,0)+NVL(L07,0)+ NVL(L08,0)+NVL(L09,0)+NVL(L10,0)+NVL(L11,0)+NVL(L12,0)) /
+                            (DECODE(L01,NULL,0,1)+DECODE(L02,NULL,0,1)+DECODE(L03,NULL,0,1)+
+                             DECODE(L04,NULL,0,1)+DECODE(L05,NULL,0,1)+DECODE(L06,NULL,0,1)+
+                             DECODE(L07,NULL,0,1)+DECODE(L08,NULL,0,1)+DECODE(L09,NULL,0,1)+
+                             DECODE(L10,NULL,0,1)+DECODE(L11,NULL,0,1)+DECODE(L12,NULL,0,1)), 0)) AS AVGTFVL,
+               DECODE(LX.VDS_DTCT_NMBR, NULL, '-', DECODE(L01, NULL, '-', L01)) AS C01,
+               DECODE(LX.VDS_DTCT_NMBR, NULL, '-', DECODE(L02, NULL, '-', L02)) AS C02,
+               DECODE(LX.VDS_DTCT_NMBR, NULL, '-', DECODE(L03, NULL, '-', L03)) AS C03,
+               DECODE(LX.VDS_DTCT_NMBR, NULL, '-', DECODE(L04, NULL, '-', L04)) AS C04,
+               DECODE(LX.VDS_DTCT_NMBR, NULL, '-', DECODE(L05, NULL, '-', L05)) AS C05,
+               DECODE(LX.VDS_DTCT_NMBR, NULL, '-', DECODE(L06, NULL, '-', L06)) AS C06,
+               DECODE(LX.VDS_DTCT_NMBR, NULL, '-', DECODE(L07, NULL, '-', L07)) AS C07,
+               DECODE(LX.VDS_DTCT_NMBR, NULL, '-', DECODE(L08, NULL, '-', L08)) AS C08,
+               DECODE(LX.VDS_DTCT_NMBR, NULL, '-', DECODE(L09, NULL, '-', L09)) AS C09,
+               DECODE(LX.VDS_DTCT_NMBR, NULL, '-', DECODE(L10, NULL, '-', L10)) AS C10,
+               DECODE(LX.VDS_DTCT_NMBR, NULL, '-', DECODE(L11, NULL, '-', L11)) AS C11,
+               DECODE(LX.VDS_DTCT_NMBR, NULL, '-', DECODE(L12, NULL, '-', L12)) AS C12
         FROM (
                  SELECT GROUPING(VDS_DTCT_NMBR) AS GROUPING_VDS_DTCT_NMBR,
                         GROUPING(ISTL_LANE) AS GROUPING_ISTL_LANE,
@@ -298,16 +295,16 @@
                                  TO_CHAR(Y.ISTL_LANE) AS ISTL_LANE,  X.TRFTYPE, X.STATDAY, X.TFVL
                           FROM (SELECT /*+ INDEX(A PK_VDS_DTCT_MN_STAT) */
                                     'DTCT' AS TRFTYPE,
-                                    A.VDS_DTCT_NMBR AS VDS_VDS_DTCT_NMBR, SUBSTR(A.STAT_DT, 5, 2) AS STATDAY,
+                                    A.VDS_DTCT_NMBR AS VDS_DTCT_NMBR, SUBSTR(A.STAT_DT, 5, 2) AS STATDAY,
                                     A.TFVL AS TFVL
-                                FROM TB_VDS_DTCT_MN_STAT A
+                                FROM TB_VDS_DTCT_STAT_MN A
                                 WHERE 1=1
                                   AND A.STAT_DT BETWEEN #{FROM_DT} AND #{TO_DT}
                                ) X,
                                TB_VDS_DTCT Y
                           WHERE 1=1
                             AND Y.DEL_YN = 'N'
-                            AND Y.VDS_DTCT_NMBR = X.VDS_VDS_DTCT_NMBR
+                            AND Y.VDS_DTCT_NMBR = X.VDS_DTCT_NMBR
                       )
                  GROUP BY ROLLUP (VDS_DTCT_NMBR, ISTL_LANE, TRFTYPE)
                  HAVING GROUPING(TRFTYPE) = 0