From bfeb2c1d033db5a49fd2a16919d3624ba8c0ceef Mon Sep 17 00:00:00 2001 From: mjkhan21 Date: Fri, 28 Jun 2024 09:31:05 +0900 Subject: [PATCH] =?UTF-8?q?=ED=8C=8C=EC=9D=BC=20=EC=95=84=EC=9D=B4?= =?UTF-8?q?=EB=94=94=20=EC=B6=94=EC=B6=9C=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/base/file-mapper.xml | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/main/resources/sql/mapper/base/file-mapper.xml b/src/main/resources/sql/mapper/base/file-mapper.xml index 55ecb7cd..de3cbad8 100644 --- a/src/main/resources/sql/mapper/base/file-mapper.xml +++ b/src/main/resources/sql/mapper/base/file-mapper.xml @@ -62,8 +62,8 @@ SELECT A.*, FILE_PATH URL SELECT NEW_ID, CONCAT(DIR, NEW_ID, '.', #{file.extension}) PATH FROM ( SELECT NVL(MAX(FILE_ID) + 1, CONCAT(THIS_DAY, '00001')) NEW_ID - FROM TB_FILE A, () B - WHERE FILE_ID LIKE CONCAT(THIS_DAY, '%') + FROM () B LEFT OUTER JOIN + TB_FILE A ON FILE_ID LIKE CONCAT(THIS_DAY, '%') ) T1, ( WHERE INF_TYPE = #{file.infoType}