From 3908961332a9801f98c3298181c97313a09cadc0 Mon Sep 17 00:00:00 2001 From: leebeomjun Date: Wed, 31 May 2023 08:47:15 +0900 Subject: [PATCH] =?UTF-8?q?fix=20:=20=EC=88=98=EC=A0=95=20=EC=A4=91?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .../sql/mapper/biz/rt/rt-reglt-and-erpp-mysql-mapper.xml | 9 +++++++-- .../WEB-INF/jsp/fims/biz/rt/rtAnswerTargetDataForm.jsp | 4 ++++ 2 files changed, 11 insertions(+), 2 deletions(-) diff --git a/src/main/resources/sql/mapper/biz/rt/rt-reglt-and-erpp-mysql-mapper.xml b/src/main/resources/sql/mapper/biz/rt/rt-reglt-and-erpp-mysql-mapper.xml index 5f63cc20..0046929c 100644 --- a/src/main/resources/sql/mapper/biz/rt/rt-reglt-and-erpp-mysql-mapper.xml +++ b/src/main/resources/sql/mapper/biz/rt/rt-reglt-and-erpp-mysql-mapper.xml @@ -253,7 +253,8 @@ /* rt-reglt-and-erpp-mysql-mapper|insertRtRtpyr-납부자 정보 등록|julim */ - SELECT LPAD(NEXTVAL(seq_rt_payer), 12, '0') + SELECT LPAD(IFNULL(MAX(CAST(rtpyr_id AS UNSIGNED))+1, 1), 20, '0') AS rtpyrId + FROM tb_payer INSERT INTO tb_payer ( @@ -339,6 +340,10 @@ /* rt-reglt-and-erpp-mysql-mapper|saveRtRtpyr-납부자 정보 등록 / 변경|julim */ + + SELECT LPAD(IFNULL(MAX(CAST(rtpyr_id AS UNSIGNED))+1, 1), 20, '0') AS rtpyrId + FROM tb_payer + INSERT INTO tb_payer ( rtpyr_id @@ -372,7 +377,7 @@ , reg_dt , rgtr ) VALUES ( - LPAD(NEXTVAL(seq_rt_payer), 12, '0') + #{rtpyrId} , #{sggCd} , #{sysSeCd} , #{rtpyrSeCd} diff --git a/src/main/webapp/WEB-INF/jsp/fims/biz/rt/rtAnswerTargetDataForm.jsp b/src/main/webapp/WEB-INF/jsp/fims/biz/rt/rtAnswerTargetDataForm.jsp index 0b201004..0d11e9de 100644 --- a/src/main/webapp/WEB-INF/jsp/fims/biz/rt/rtAnswerTargetDataForm.jsp +++ b/src/main/webapp/WEB-INF/jsp/fims/biz/rt/rtAnswerTargetDataForm.jsp @@ -102,6 +102,10 @@ 선택 | n건 답변내용미리보기 선택자료 답변등록 + 복사등록 원본자료 없음 + 민원내용 원본 + 개별답변완료로 수정 + 표지정보 조회