From 20d3c9cb36e2ef82d5c45fd277c1f9cf8189a304 Mon Sep 17 00:00:00 2001 From: minuk926 Date: Thu, 2 Feb 2023 15:28:07 +0900 Subject: [PATCH] =?UTF-8?q?feat:=20=EB=8B=A8=EC=86=8D=20=EC=B4=88=EA=B8=B0?= =?UTF-8?q?=20=EC=9E=90=EB=A3=8C=20=ED=8E=B8=EC=A7=91=20=EA=B8=B0=EB=8A=A5?= =?UTF-8?q?=20=EC=B6=94=EA=B0=80?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .../support/tag/code/CodeRadioBoxTag.java | 27 ++++- .../rt/rtCrackdownExtrInterfaceMgtForm.jsp | 102 +++++++++--------- src/main/webapp/WEB-INF/tlds/code.tld | 5 + 3 files changed, 80 insertions(+), 54 deletions(-) diff --git a/src/main/java/kr/xit/framework/support/tag/code/CodeRadioBoxTag.java b/src/main/java/kr/xit/framework/support/tag/code/CodeRadioBoxTag.java index 1dc0d4c1..f1485ec8 100644 --- a/src/main/java/kr/xit/framework/support/tag/code/CodeRadioBoxTag.java +++ b/src/main/java/kr/xit/framework/support/tag/code/CodeRadioBoxTag.java @@ -11,6 +11,7 @@ import javax.servlet.jsp.tagext.TagSupport; import org.springframework.util.StringUtils; import kr.xit.framework.biz.cache.util.CacheServiceUtils; +import kr.xit.framework.support.util.Checks; import lombok.Getter; import lombok.Setter; @@ -27,7 +28,9 @@ public class CodeRadioBoxTag extends TagSupport { private String cls = ""; private String alt = ""; private String onclick = ""; - + + private String type = ""; + public int doStartTag() throws JspException { JspWriter out = pageContext.getOut(); try { @@ -40,9 +43,27 @@ public class CodeRadioBoxTag extends TagSupport { // paraMap.put("etc_2", this.etc_2); // paraMap.put("etc_3", this.etc_3); - List> list = CacheServiceUtils.getComboCodes(codeId); + List> list = CacheServiceUtils.getComboCodes(codeId, type); int index = 0; + + sb.append("").append("\n"); + + sb.append("").append("\n"); + + index++; + for (Map map : list) { sb.append("").append("\n"); - + sb.append("").append("\n"); diff --git a/src/main/webapp/WEB-INF/jsp/fims/biz/rt/rtCrackdownExtrInterfaceMgtForm.jsp b/src/main/webapp/WEB-INF/jsp/fims/biz/rt/rtCrackdownExtrInterfaceMgtForm.jsp index 7476ed54..caa334d4 100644 --- a/src/main/webapp/WEB-INF/jsp/fims/biz/rt/rtCrackdownExtrInterfaceMgtForm.jsp +++ b/src/main/webapp/WEB-INF/jsp/fims/biz/rt/rtCrackdownExtrInterfaceMgtForm.jsp @@ -14,61 +14,59 @@ Date Author Description <%@ include file="/WEB-INF/jsp/framework/taglibs.jsp" %>
- @@ -177,6 +175,8 @@ Date Author Description * event **************************************************************************/ $(() => { + $('in').change(() => fnTab0Biz.search()); + $('#btnSearch').on('click', () => fnTab0Biz.search()); $('#btnRegist').on('click', () => { @@ -443,8 +443,8 @@ Date Author Description ,sch_date_from: $('#sch_date_from').val() ,sch_date_to: $('#sch_date_to').val() ,[$('#sch_opt').val()]: $('#sch_word').val() - ,sysCode: $('#sysCode').val() - ,regltSeCode: $('#regltSeCode').val() + ,sysCode: $('input:radio[name=sysCode]:checked').val() + ,regltSeCode: $('input:radio[name=regltSeCode]:checked').val() //,cnfmYn: $('input[name=regltYn]:checked').val() ,cnfmYn: $('#cnfmYn').val() } diff --git a/src/main/webapp/WEB-INF/tlds/code.tld b/src/main/webapp/WEB-INF/tlds/code.tld index 3789c337..9489cb33 100644 --- a/src/main/webapp/WEB-INF/tlds/code.tld +++ b/src/main/webapp/WEB-INF/tlds/code.tld @@ -94,6 +94,11 @@ false true + + type + false + true + etc_1 false