diff --git a/src/main/java/cokr/xit/fims/sprt/SprtQuery.java b/src/main/java/cokr/xit/fims/sprt/SprtQuery.java index 8dc7dd95..654e51c7 100644 --- a/src/main/java/cokr/xit/fims/sprt/SprtQuery.java +++ b/src/main/java/cokr/xit/fims/sprt/SprtQuery.java @@ -21,10 +21,10 @@ public class SprtQuery extends CmmnQuery { private String cvlcptDscsnId; // 민원 상담 ID private List ischKeywordSet; // 통합조회 키워드 - private List ischOnlyDataSet; //특정자료만 조회 private List ischExclDataSet; //특정자료 제외 - private List ischInclDataSet; //특정자료 포함 + private String schSggGroupYn; + private String instCd; private String vhrno; // 차량번호 private String rtpyrNo; // 납부자 번호 @@ -148,12 +148,22 @@ public class SprtQuery extends CmmnQuery { return self(); } - public List getIschInclDataSet() { - return ifEmpty(ischInclDataSet, () -> null); + public String getSchSggGroupYn() { + return ifEmpty(schSggGroupYn, () -> null); + } + + public T setSchSggGroupYn(String schSggGroupYn) { + this.schSggGroupYn = schSggGroupYn; + + return self(); + } + + public String getInstCd() { + return ifEmpty(instCd, () -> null); } - public T setIschInclDataSet(List ischInclDataSet) { - this.ischInclDataSet = ischInclDataSet; + public T setInstCd(String instCd) { + this.instCd = instCd; return self(); } diff --git a/src/main/java/cokr/xit/fims/sprt/web/Sprt01Controller.java b/src/main/java/cokr/xit/fims/sprt/web/Sprt01Controller.java index 76f4a494..92e77479 100644 --- a/src/main/java/cokr/xit/fims/sprt/web/Sprt01Controller.java +++ b/src/main/java/cokr/xit/fims/sprt/web/Sprt01Controller.java @@ -115,6 +115,7 @@ public class Sprt01Controller extends ApplicationController { String deptCd = currentUser.getDeptCode(); String sggCd = globalStngMapper.selectSggCd(deptCd); query.setSggCd(sggCd); + query.setInstCd(institute); List list = null; list = sprt01Service.getIntegrationDataList(query); @@ -136,7 +137,6 @@ public class Sprt01Controller extends ApplicationController { List ischOnlyDataSet = new ArrayList<>(); List ischExclDataSet = new ArrayList<>(); - List ischInclDataSet = new ArrayList<>(); while(pns.hasMoreElements()) { @@ -154,15 +154,13 @@ public class Sprt01Controller extends ApplicationController { continue; } - if(key.startsWith("ischOnlyData") || key.startsWith("ischExclData") || key.startsWith("ischInclData")) { + if(key.startsWith("ischOnlyData") || key.startsWith("ischExclData")) { String word = this.fnFirstLower(key.substring(12)); if(key.startsWith("ischOnlyData")) { ischOnlyDataSet.add(word); } else if(key.startsWith("ischExclData")) { ischExclDataSet.add(word); - } else if(key.startsWith("ischInclData")) { - ischInclDataSet.add(word); } continue; } @@ -226,7 +224,6 @@ public class Sprt01Controller extends ApplicationController { query.setIschKeywordSet(ischKeywordSet); query.setIschOnlyDataSet(ischOnlyDataSet); query.setIschExclDataSet(ischExclDataSet); - query.setIschInclDataSet(ischInclDataSet); } private String fnFirstLower(String string) { diff --git a/src/main/resources/sql/mapper/fims/sprt/integrationSearch-mapper.xml b/src/main/resources/sql/mapper/fims/sprt/integrationSearch-mapper.xml index 4d3fa6e6..f4da0054 100644 --- a/src/main/resources/sql/mapper/fims/sprt/integrationSearch-mapper.xml +++ b/src/main/resources/sql/mapper/fims/sprt/integrationSearch-mapper.xml @@ -159,7 +159,14 @@ LEFT OUTER JOIN TB_PAYER P ON (C.RTPYR_ID = P.RTPYR_ID) LEFT OUTER JOIN TB_LEVY L ON (C.CRDN_ID = L.CRDN_ID AND L.DEL_YN = 'N') /* 부과 대장 */ LEFT OUTER JOIN TB_RCVMT R ON (L.LEVY_ID = R.LEVY_ID AND R.DEL_YN = 'N') /* 수납 대장 */ WHERE C.DEL_YN = 'N' + + + AND C.SGG_CD IN (SELECT SGG_CD FROM TB_SGG_INFO WHERE INST_CD = #{instCd}) + + AND C.SGG_CD = #{sggCd} + + AND C.TASK_SE_CD = #{taskSeCd} @@ -284,13 +291,6 @@ LEFT OUTER JOIN TB_RCVMT R ON (L.LEVY_ID = R.LEVY_ID AND R.DEL_YN = 'N - - - - - - - diff --git a/src/main/webapp/WEB-INF/jsp/fims/sprt/sprt01010-main.jsp b/src/main/webapp/WEB-INF/jsp/fims/sprt/sprt01010-main.jsp index 2869b7ed..ab3cba45 100644 --- a/src/main/webapp/WEB-INF/jsp/fims/sprt/sprt01010-main.jsp +++ b/src/main/webapp/WEB-INF/jsp/fims/sprt/sprt01010-main.jsp @@ -211,7 +211,7 @@ integrationSearch.fnSearchList = () => { if(!key.startsWith("isch")){ continue; } - if(key.startsWith("ischOnlyData") || key.startsWith("ischExclData") || key.startsWith("ischInclData") + if(key.startsWith("ischOnlyData") || key.startsWith("ischExclData") || key.endsWith("Similar")){ continue; } diff --git a/src/main/webapp/WEB-INF/jsp/fims/sprt/sprt01011-info.jsp b/src/main/webapp/WEB-INF/jsp/fims/sprt/sprt01011-info.jsp index ae3c4fb5..311d31be 100644 --- a/src/main/webapp/WEB-INF/jsp/fims/sprt/sprt01011-info.jsp +++ b/src/main/webapp/WEB-INF/jsp/fims/sprt/sprt01011-info.jsp @@ -52,8 +52,9 @@