의견진술 통계 표시

main
이범준 1 year ago
parent 5fa0c89ee1
commit 69e87fe7e2

@ -64,6 +64,15 @@ public class StatBean extends AbstractComponent {
m1.invoke(someQuery, from); m1.invoke(someQuery, from);
Method m2 = someQuery.getClass().getDeclaredMethod("setSchSndngYmdTo", String.class); Method m2 = someQuery.getClass().getDeclaredMethod("setSchSndngYmdTo", String.class);
m2.invoke(someQuery, to); m2.invoke(someQuery, to);
} else if(dayCol.equals("RCPT_YMD")) {
if(className.equals("LevyExclQuery")) {
Method m1 = someQuery.getClass().getDeclaredMethod("setSchRcptYmdFrom", String.class);
m1.invoke(someQuery, from);
Method m2 = someQuery.getClass().getDeclaredMethod("setSchRcptYmdTo", String.class);
m2.invoke(someQuery, to);
}
} }

@ -201,7 +201,7 @@ public class StatServiceBean extends AbstractServiceBean implements StatService
statBean.daySetting(levyExclQuery, levyExclQuery.getClass().getName(), dayColumn, firstDay, lastDay); statBean.daySetting(levyExclQuery, levyExclQuery.getClass().getName(), dayColumn, firstDay, lastDay);
} }
//queryResult = opnnSbmsnService.getList(levyExclQuery) queryResult = opnnSbmsnService.getOpnnSbmsnList(levyExclQuery);
} }

@ -45,7 +45,31 @@
</c:forEach> </c:forEach>
</span> </span>
</div> </div>
<div class="col-3">
<label class="form-label fw-bold form-search-title text-end">그룹단위1</label>
<span class="form-search-linebox">
</span>
</div>
<div class="col-3">
<label class="form-label fw-bold form-search-title text-end">그룹단위2</label>
<span class="form-search-linebox">
</span>
</div>
<div class="col-3">
<label class="form-label fw-bold form-search-title text-end">그룹단위3</label>
<span class="form-search-linebox">
</span>
</div>
<div class="col-3">
<label class="form-label fw-bold form-search-title text-end">그룹단위4</label>
<span class="form-search-linebox">
</span>
</div>
</div> </div>
</div> <!-- / 메인 조건 --> </div> <!-- / 메인 조건 -->
</form> </form>
@ -76,6 +100,40 @@ $(document).ready(function(){
$P.searchStat = () => { $P.searchStat = () => {
var defaultQuery = {
structureType : "list",
refCol : ["OPNN_SBMSN_STTS_CD"],
ctgrType : ["code"],
dtlCtgr : ["FIM031"]
};
var codeSubsetInfoList = [
{
sourceGroup : "FIM002",
sourceCodes : ["08","09","10","11"],
targetCode : "minwon",
targetCodeVal : "민원"
},
{
sourceGroup : "FIM002",
sourceCodes : ["06","13"],
targetCode : "dobo",
targetCodeVal : "도보"
}
];
var queryInQuery1 = fnJsonArrayToFormData(codeSubsetInfoList,"codeSubsetInfoList");
var mergedQuery = { ...defaultQuery, ...queryInQuery1 };
ajax.get({
url : wctx.url("/stat/stat01/010/info.do"),
data : mergedQuery,
success : (resp) => {
}
});
} }
/************************************************************************** /**************************************************************************

Loading…
Cancel
Save