From 69e87fe7e2778d07b7e4f7402b8f74fa7ce1f6d1 Mon Sep 17 00:00:00 2001 From: leebeomjun Date: Mon, 6 Nov 2023 15:51:02 +0900 Subject: [PATCH] =?UTF-8?q?=EC=9D=98=EA=B2=AC=EC=A7=84=EC=88=A0=20?= =?UTF-8?q?=ED=86=B5=EA=B3=84=20=ED=91=9C=EC=8B=9C?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .../xit/fims/stat/service/bean/StatBean.java | 9 +++ .../stat/service/bean/StatServiceBean.java | 2 +- .../WEB-INF/jsp/fims/stat/stat01010-main.jsp | 60 ++++++++++++++++++- 3 files changed, 69 insertions(+), 2 deletions(-) diff --git a/src/main/java/cokr/xit/fims/stat/service/bean/StatBean.java b/src/main/java/cokr/xit/fims/stat/service/bean/StatBean.java index bed2971e..8d506762 100644 --- a/src/main/java/cokr/xit/fims/stat/service/bean/StatBean.java +++ b/src/main/java/cokr/xit/fims/stat/service/bean/StatBean.java @@ -64,6 +64,15 @@ public class StatBean extends AbstractComponent { m1.invoke(someQuery, from); Method m2 = someQuery.getClass().getDeclaredMethod("setSchSndngYmdTo", String.class); 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); + } + } diff --git a/src/main/java/cokr/xit/fims/stat/service/bean/StatServiceBean.java b/src/main/java/cokr/xit/fims/stat/service/bean/StatServiceBean.java index 6c1dec5c..0dc2c7fe 100644 --- a/src/main/java/cokr/xit/fims/stat/service/bean/StatServiceBean.java +++ b/src/main/java/cokr/xit/fims/stat/service/bean/StatServiceBean.java @@ -201,7 +201,7 @@ public class StatServiceBean extends AbstractServiceBean implements StatService statBean.daySetting(levyExclQuery, levyExclQuery.getClass().getName(), dayColumn, firstDay, lastDay); } - //queryResult = opnnSbmsnService.getList(levyExclQuery) + queryResult = opnnSbmsnService.getOpnnSbmsnList(levyExclQuery); } diff --git a/src/main/webapp/WEB-INF/jsp/fims/stat/stat01010-main.jsp b/src/main/webapp/WEB-INF/jsp/fims/stat/stat01010-main.jsp index 16721103..81eb510c 100644 --- a/src/main/webapp/WEB-INF/jsp/fims/stat/stat01010-main.jsp +++ b/src/main/webapp/WEB-INF/jsp/fims/stat/stat01010-main.jsp @@ -45,7 +45,31 @@ - + +
+ + + + +
+
+ + + + +
+
+ + + + +
+
+ + + + +
@@ -76,6 +100,40 @@ $(document).ready(function(){ $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) => { + + } + }); + } /**************************************************************************