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 셋팅 } }); }