통계 수정

main
이범준 1 year ago
parent c409611ed2
commit a9c7abbfa7

@ -346,7 +346,7 @@ public class CrdnStngBean extends AbstractComponent {
} }
} }
return ""; return "판단불가";
} }

@ -168,6 +168,9 @@ public class StatBean extends AbstractComponent {
if(ifEmpty(groupInfo.getCtgrType(), ()-> "").equals("")) { if(ifEmpty(groupInfo.getCtgrType(), ()-> "").equals("")) {
key = colValue; key = colValue;
if(key.equals("")) {
key = "(정보없음)";
}
if(i == 0) { if(i == 0) {
compositeKey.setLevel1(key); compositeKey.setLevel1(key);
} }
@ -206,6 +209,10 @@ public class StatBean extends AbstractComponent {
} else { } else {
key = colValue; key = colValue;
} }
if(key.equals("")) {
key = "(날짜없음)";
}
} else if(ctgrType.equals("code") || ctgrType.equals("otherCode")) { } else if(ctgrType.equals("code") || ctgrType.equals("otherCode")) {
if(ctgrType.equals("code") if(ctgrType.equals("code")
@ -224,6 +231,10 @@ public class StatBean extends AbstractComponent {
key = colValue; key = colValue;
if(key.equals("")) {
key = "(정보없음)";
}
} else if(ctgrType.equals("method")) { } else if(ctgrType.equals("method")) {
if(addOption.equals("businessYnOfCar")){ if(addOption.equals("businessYnOfCar")){
@ -239,10 +250,16 @@ public class StatBean extends AbstractComponent {
} else { } else {
key = colValue; key = colValue;
if(key.equals("")) {
key = "(정보없음)";
}
} }
} else { } else {
key = colValue; key = colValue;
if(key.equals("")) {
key = "(정보없음)";
}
} }
if(i == 0) { if(i == 0) {

@ -139,6 +139,7 @@
</span> </span>
<span id="detailArea--${pageName}" hidden> <span id="detailArea--${pageName}" hidden>
<h2 class="mt-4">상세조회</h2>
<div class="card-datatable text-nowrap"> <div class="card-datatable text-nowrap">
<div class="dataTables_wrapper dt-bootstrap5 no-footer"> <div class="dataTables_wrapper dt-bootstrap5 no-footer">
<div class="table-responsive" <div class="table-responsive"
@ -422,6 +423,7 @@ $(document).ready(function(){
//통계 그리드 렌더링 //통계 그리드 렌더링
$P.renderStat = (stat) => { $P.renderStat = (stat) => {
$("#masterTbody--${pageName}").html(""); $("#masterTbody--${pageName}").html("");
$("#detailTbody--${pageName}").html("");
var statItems = stat.statItems; var statItems = stat.statItems;

@ -83,7 +83,7 @@
data-ref-col="VHRNO" data-ctgr-type="" data-dtl-ctgr="" data-ref-col="VHRNO" data-ctgr-type="" data-dtl-ctgr=""
>차량번호</option> >차량번호</option>
<option value="crdnStdgNm" <option value="crdnStdgNm"
data-ref-col="CRDN_STDNG_NM" data-ctgr-type="" data-dtl-ctgr="" data-ref-col="CRDN_STDG_NM" data-ctgr-type="" data-dtl-ctgr=""
>단속동</option> >단속동</option>
<option value="crdnRoadNm" <option value="crdnRoadNm"
data-ref-col="CRDN_ROAD_NM" data-ctgr-type="" data-dtl-ctgr="" data-ref-col="CRDN_ROAD_NM" data-ctgr-type="" data-dtl-ctgr=""

@ -80,7 +80,7 @@
data-ref-col="VHRNO" data-ctgr-type="" data-dtl-ctgr="" data-ref-col="VHRNO" data-ctgr-type="" data-dtl-ctgr=""
>차량번호</option> >차량번호</option>
<option value="crdnStdgNm" <option value="crdnStdgNm"
data-ref-col="CRDN_STDNG_NM" data-ctgr-type="" data-dtl-ctgr="" data-ref-col="CRDN_STDG_NM" data-ctgr-type="" data-dtl-ctgr=""
>단속동</option> >단속동</option>
<option value="crdnSttsCd" <option value="crdnSttsCd"
data-ref-col="CRDN_STTS_CD" data-ctgr-type="code" data-dtl-ctgr="FIM010" data-ref-col="CRDN_STTS_CD" data-ctgr-type="code" data-dtl-ctgr="FIM010"

Loading…
Cancel
Save