From 6fd78cabdc018496ee47bebeaa20fa9f4d076448 Mon Sep 17 00:00:00 2001 From: jjh Date: Mon, 30 Oct 2023 18:04:29 +0900 Subject: [PATCH] =?UTF-8?q?=EB=AF=BC=EC=9B=90=EC=83=81=EB=8B=B4=20?= =?UTF-8?q?=EB=93=B1=EB=A1=9D=20=EC=88=98=EC=A0=95.?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- src/main/resources/sql/mapper/fims/sprt/cvlcptDscsn-mapper.xml | 2 +- src/main/webapp/WEB-INF/jsp/fims/sprt/sprt02080-info.jsp | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/src/main/resources/sql/mapper/fims/sprt/cvlcptDscsn-mapper.xml b/src/main/resources/sql/mapper/fims/sprt/cvlcptDscsn-mapper.xml index 78fd867e..b631b0f7 100644 --- a/src/main/resources/sql/mapper/fims/sprt/cvlcptDscsn-mapper.xml +++ b/src/main/resources/sql/mapper/fims/sprt/cvlcptDscsn-mapper.xml @@ -116,7 +116,7 @@ /* 민원 상담 내용 등록(cvlcptDscsnMapper.insertCvlcptDscsn) */ - + SELECT CONCAT(DATE_FORMAT(CURRENT_DATE, '%Y'), LPAD(CAST(IFNULL(MAX(SUBSTRING(CVLCPT_DSCSN_ID, 5)) + 1, 1) AS INT), 16, '0')) AS NEW_ID FROM TB_CVLCPT_DSCSN WHERE CVLCPT_DSCSN_ID LIKE CONCAT(DATE_FORMAT(CURRENT_DATE, '%Y'), '%') 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 3b687d04..6fc9f0fa 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 @@ -300,7 +300,7 @@ let cvlcptDscsnId = ${pageName}Control.dataset.getValue("CVLCPT_DSCSN_ID"); // 민원 상담 ID 가 없다면.. return - if (cvlcptDscsnId == undefined || cvlcptDscsnId == "") { + if (cvlcptDscsnId == null || cvlcptDscsnId == "") { return; }