From ff923f1797c96fc3750e4a2f53a6f9194983cccc Mon Sep 17 00:00:00 2001 From: jjh Date: Thu, 7 Sep 2023 09:37:44 +0900 Subject: [PATCH] =?UTF-8?q?=EA=B0=9C=EB=B3=84=EC=B4=9D=EC=A0=95=EB=B3=B4?= =?UTF-8?q?=20-=20=EB=AF=BC=EC=9B=90=EC=83=81=EB=8B=B4=20=EC=88=98?= =?UTF-8?q?=EC=A0=95.?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .../java/cokr/xit/fims/sprt/service/bean/Sprt04Bean.java | 2 +- .../resources/sql/mapper/fims/sprt/cvlcptDscsnCn-mapper.xml | 2 +- src/main/webapp/WEB-INF/jsp/fims/sprt/sprt02030-info.jsp | 6 +++--- src/main/webapp/WEB-INF/jsp/fims/sprt/sprt02080-info.jsp | 3 ++- 4 files changed, 7 insertions(+), 6 deletions(-) diff --git a/src/main/java/cokr/xit/fims/sprt/service/bean/Sprt04Bean.java b/src/main/java/cokr/xit/fims/sprt/service/bean/Sprt04Bean.java index 25d0594f..c37687db 100644 --- a/src/main/java/cokr/xit/fims/sprt/service/bean/Sprt04Bean.java +++ b/src/main/java/cokr/xit/fims/sprt/service/bean/Sprt04Bean.java @@ -42,7 +42,7 @@ public class Sprt04Bean extends AbstractComponent { * @return 민원 상담 내용 객체 목록 */ public List getCvlcptDscsnCns(SprtQuery req) { - if (req.getOrderBy().equals("")) { + if (req.getOrderBy() == null) { req.setOrderBy("CDC.REG_DT DESC"); } diff --git a/src/main/resources/sql/mapper/fims/sprt/cvlcptDscsnCn-mapper.xml b/src/main/resources/sql/mapper/fims/sprt/cvlcptDscsnCn-mapper.xml index 7caac8ed..3d58c1d5 100644 --- a/src/main/resources/sql/mapper/fims/sprt/cvlcptDscsnCn-mapper.xml +++ b/src/main/resources/sql/mapper/fims/sprt/cvlcptDscsnCn-mapper.xml @@ -129,7 +129,7 @@ , NULL /* 차량번호 */ - , ( SELECT RTPYR_NO FROM TB_CRDN X WHERE X.RTPYR_ID = #{cvlcptDscsnCn.rtpyrId} ) /* 납부자 번호 */ + , #{cvlcptDscsnCn.rtpyrNo} /* 납부자 번호 */ , NULL /* 차량번호 */ diff --git a/src/main/webapp/WEB-INF/jsp/fims/sprt/sprt02030-info.jsp b/src/main/webapp/WEB-INF/jsp/fims/sprt/sprt02030-info.jsp index 9ff7ec70..eea3d40a 100644 --- a/src/main/webapp/WEB-INF/jsp/fims/sprt/sprt02030-info.jsp +++ b/src/main/webapp/WEB-INF/jsp/fims/sprt/sprt02030-info.jsp @@ -283,11 +283,11 @@ ajax.get({ url : wctx.url("/sprt/sprt02/030/info.do") - , headers: { Accept: "application/json; charset=utf-8" } // json + , headers: { Accept: "application/json; charset=utf-8" } // json , data : { crdnId : crdnId } , success : resp => { - // Dataset 셋팅 - ${pageName}Control.setData([resp.opnnSbmsn]); + ${pageName}Control.dataset.clear(); + ${pageName}Control.setData([resp.opnnSbmsn]); // Dataset 셋팅 } }); } diff --git a/src/main/webapp/WEB-INF/jsp/fims/sprt/sprt02080-info.jsp b/src/main/webapp/WEB-INF/jsp/fims/sprt/sprt02080-info.jsp index e3faccf2..51860b11 100644 --- a/src/main/webapp/WEB-INF/jsp/fims/sprt/sprt02080-info.jsp +++ b/src/main/webapp/WEB-INF/jsp/fims/sprt/sprt02080-info.jsp @@ -165,7 +165,8 @@ , headers: { Accept: "application/json; charset=utf-8" } // json , data : params || {} , success : resp => { - ${pageName}Control.setData(${cvlcptDscsnCn}); // Dataset 셋팅 + ${pageName}Control.dataset.clear(); + ${pageName}Control.setData(resp.cvlcptDscsnCn); // Dataset 셋팅 } }); }