From 33718f5ed08d9621a993f889454486fc73ab419e Mon Sep 17 00:00:00 2001 From: leebeomjun Date: Fri, 18 Aug 2023 15:12:04 +0900 Subject: [PATCH] =?UTF-8?q?=EB=B3=B5=EC=82=AC=20=EC=9E=90=EB=A3=8C=20?= =?UTF-8?q?=EC=A1=B4=EC=9E=AC=20=EC=97=AC=EB=B6=80=20=ED=91=9C=EC=8B=9C=20?= =?UTF-8?q?=EA=B8=B0=EB=8A=A5=20=EC=B6=94=EA=B0=80?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .../mapper/fims/cvlc/crdnCvlcpt-mapper.xml | 151 ++++++++++-------- .../WEB-INF/jsp/fims/cvlc/cvlc01030-main.jsp | 24 ++- .../css/fims/framework/common/xit-core.css | 5 + 3 files changed, 105 insertions(+), 75 deletions(-) diff --git a/src/main/resources/sql/mapper/fims/cvlc/crdnCvlcpt-mapper.xml b/src/main/resources/sql/mapper/fims/cvlc/crdnCvlcpt-mapper.xml index a99e4c52..aab944ea 100644 --- a/src/main/resources/sql/mapper/fims/cvlc/crdnCvlcpt-mapper.xml +++ b/src/main/resources/sql/mapper/fims/cvlc/crdnCvlcpt-mapper.xml @@ -227,65 +227,6 @@ AND (SELECT VLTN_ARTCL FROM TB_VLTN_INFO WHERE VLTN_ID = C.VLTN_ID) LIKE CONCAT( - - - - +/* 민원답변대상자료 목록 조회(crdnCvlcptMapper.selectCivilComplaintAnswerTargetDataList) */ + +SELECT C.CRDN_ID + , C.CRDN_REG_SE_CD + , (SELECT VLTN_ARTCL + FROM TB_VLTN_INFO + WHERE VLTN_ID = C.VLTN_ID) AS VLTN_ARTCL + , CC.CVLCPT_APLCNT_NM + , CC.CVLCPT_PRCS_PIC_NM + , (SELECT TELNO + FROM TB_USER + WHERE USER_ID = CC.CVLCPT_PRCS_PIC + ) AS CVLCPT_PRCS_PIC_TELNO + , CC.CVLCPT_RCPT_YMD + , CC.CVLCPT_PRCS_PRNMNT_DT + , CONCAT(C.CRDN_YMD,'',C.CRDN_TM) AS CRDN_YMD_TM + , CC.CVLCPT_RCPT_NO + , C.VHRNO + , LE.LEVY_EXCL_RSN_CD + , C.ETC_CN + , (CASE + WHEN C.CRDN_ID IN (SELECT DISTINCT(A.BFR_CRDN_ID) FROM TB_CRDN A WHERE A.DEL_YN = 'N' AND A.CRDN_REG_SE_CD = '04') + THEN 'Y' + ELSE 'N' + END) AS COPY_EXIST_YN + FROM TB_CRDN C + INNER JOIN TB_CRDN_CVLCPT CC ON (C.CVLCPT_LINK_YN = 'Y' AND C.LINK_ID = CC.CVLCPT_LINK_ID) + LEFT OUTER JOIN TB_LEVY_EXCL LE ON (C.CRDN_ID = LE.CRDN_ID) + WHERE C.DEL_YN = 'N' + AND C.TASK_SE_CD = #{taskSeCd} + AND C.CRDN_STTS_CD IN ('21','81','83') + AND C.CRDN_REG_SE_CD = '02' + AND CC.CVLCPT_PRCS_CD IN ('02','03','04') + + + + + + C.CRDN_REG_SE_CD + CC.CVLCPT_APLCNT_NM + CC.CVLCPT_PRCS_PIC_NM + CC.CVLCPT_PRCS_PIC_TELNO + CC.CVLCPT_RCPT_YMD + CC.CVLCPT_PRCS_PRNMNT_DT + C.CRDN_YMD + CC.CVLCPT_RCPT_NO + C.VHRNO + LE.LEVY_EXCL_RSN_CD + C.ETC_CN + + #{term} + + + +AND (SELECT VLTN_ARTCL FROM TB_VLTN_INFO WHERE VLTN_ID = C.VLTN_ID) LIKE CONCAT('%', #{term}, '%') + + + + + + AND CC.CVLCPT_RCPT_YMD = ]]> #{schCvlcptRcptYmdFrom} + AND CC.CVLCPT_RCPT_YMD #{schCvlcptRcptYmdTo} + +AND CC.CVLCPT_PRCS_CD = #{cvlcptPrcsCd} + + + + + + \ No newline at end of file diff --git a/src/main/webapp/WEB-INF/jsp/fims/cvlc/cvlc01030-main.jsp b/src/main/webapp/WEB-INF/jsp/fims/cvlc/cvlc01030-main.jsp index 0485584d..d5960261 100644 --- a/src/main/webapp/WEB-INF/jsp/fims/cvlc/cvlc01030-main.jsp +++ b/src/main/webapp/WEB-INF/jsp/fims/cvlc/cvlc01030-main.jsp @@ -64,6 +64,9 @@ +
+ 빨간색 글자로 표시된 자료는 복사등록 자료가 있습니다. +
@@ -91,8 +94,6 @@ data-main-option="mainOption--${pageName}" data-sub-option="subOption--${pageName}"> No. - 등록구분 위반내용 {ROW_NUM} - {CRDN_REG_SE_CD} {VLTN_ARTCL} {CVLCPT_APLCNT_NM} {CVLCPT_PRCS_PIC_NM} @@ -138,7 +138,7 @@ @@ -218,7 +218,7 @@ $(document).ready(function(){ * pageObject.function **************************************************************************/ $P.fnReset = () => { - $('#schCvlcptRcptYmdFrom--${pageName}').datepicker('setDate', DateUtil.getDateDay(-5475).date); + $('#schCvlcptRcptYmdFrom--${pageName}').datepicker('setDate', DateUtil.getDateDay(-31).date); $('#schCvlcptRcptYmdTo--${pageName}').datepicker('setDate', new Date()); $P.crdnControl.setData([]); } @@ -296,6 +296,20 @@ $(document).ready(function(){ $P.crdnControl.untilPageNum = 0; } + $("#crdnTbody--${pageName}").find("tr[data-key]").each(function(item){ + var crdnId = this.dataset.key; + + var data = crdnList.getData(crdnId); + + if(data.COPY_EXIST_YN == "Y"){ + $(this).addClass("text-red"); + } else { + $(this).removeClass("text-red"); + } + + }); + + if($("#table-responsive--${pageName}").find("input[name='gridAllCheckbox']").is(":checked")){ $("#table-responsive--${pageName}").find("input[name='gridCheckbox']").prop("checked",true); } diff --git a/src/main/webapp/resources/css/fims/framework/common/xit-core.css b/src/main/webapp/resources/css/fims/framework/common/xit-core.css index b6b74060..ba769d44 100644 --- a/src/main/webapp/resources/css/fims/framework/common/xit-core.css +++ b/src/main/webapp/resources/css/fims/framework/common/xit-core.css @@ -11911,6 +11911,11 @@ button.list-group-item-gray.active { color: #fff !important; } +.text-red { + --bs-text-opacity: 1; + color: red !important; +} + .text-orange { --bs-text-opacity: 1; color: orange !important;