From fa8ab2c595a158e84d9212794a692257ea935062 Mon Sep 17 00:00:00 2001 From: leebj Date: Tue, 28 May 2024 13:20:52 +0900 Subject: [PATCH] =?UTF-8?q?=ED=82=A4=20=EC=B1=84=EB=B2=88=20=EC=88=98?= =?UTF-8?q?=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 | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/main/resources/sql/mapper/fims/numbering.xml b/src/main/resources/sql/mapper/fims/numbering.xml index d985ea8d..174d4c3a 100644 --- a/src/main/resources/sql/mapper/fims/numbering.xml +++ b/src/main/resources/sql/mapper/fims/numbering.xml @@ -22,12 +22,12 @@ SELECT SELECT CONCAT( - #{sggCd} + ${sggCd} , , LPAD(CAST(IFNULL(MAX(SUBSTRING(${TABLE_KEY}, 9+1)) + 1, 1) AS INT), ${pad}-9, '0') ) AS NEW_ID FROM ${TABLE_NAME} - WHERE ${TABLE_KEY} LIKE CONCAT(#{sggCd}, , '%') + WHERE ${TABLE_KEY} LIKE CONCAT(${sggCd}, , '%') \ No newline at end of file