From 815a846f605bd458fcb86939486ebe9c6fad2d53 Mon Sep 17 00:00:00 2001 From: sjh88 Date: Thu, 4 Jan 2024 16:15:19 +0900 Subject: [PATCH] =?UTF-8?q?fix:=20seq=EA=B0=92=20=EC=B4=88=EA=B8=B0?= =?UTF-8?q?=ED=99=94=20=EC=97=B0=EB=8F=84=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/residentAndDisabled-mapper.xml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/main/resources/sql/residentAndDisabled-mapper.xml b/src/main/resources/sql/residentAndDisabled-mapper.xml index 8acab9c..3670291 100644 --- a/src/main/resources/sql/residentAndDisabled-mapper.xml +++ b/src/main/resources/sql/residentAndDisabled-mapper.xml @@ -170,7 +170,7 @@ sc_state ) VALUES ( gn_recall_sc_seq.NEXTVAL, - (SELECT RPAD(NVL(MAX(e.sc_seq), '2022'), 10, '0') + 1 + (SELECT RPAD(NVL(MAX(e.sc_seq), #{curYear}), 10, '0') + 1 FROM gn_recall_sc e WHERE e.sc_datagb = #{scDatagb} AND e.sc_seq LIKE #{curYear} ||'%'),