From 2a05c3f701b1703621163789271b7faa1499b405 Mon Sep 17 00:00:00 2001 From: leebj Date: Tue, 9 Jul 2024 16:50:56 +0900 Subject: [PATCH] =?UTF-8?q?=ED=82=A4=20=EC=B1=84=EB=B2=88=20=EC=98=A4?= =?UTF-8?q?=EB=A5=98=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/numbering.xml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/main/resources/sql/mapper/fims/numbering.xml b/src/main/resources/sql/mapper/fims/numbering.xml index eced5a79..ee494cd1 100644 --- a/src/main/resources/sql/mapper/fims/numbering.xml +++ b/src/main/resources/sql/mapper/fims/numbering.xml @@ -32,7 +32,7 @@ FROM DUAL -SELECT CONCAT(, LPAD(CAST( +SELECT CONCAT(${sggCd}, , LPAD(CAST( CASE WHEN (SELECT MAX(SUBSTRING(${TABLE_KEY}, 9+1)) + 1 FROM ${TABLE_NAME} WHERE ${TABLE_KEY} LIKE CONCAT(${sggCd}, , '%')) IS NULL OR