From 367d20436a0dabfba9d0c972efd7dc530e485b18 Mon Sep 17 00:00:00 2001 From: mjkhan21 Date: Wed, 24 Apr 2024 15:42:16 +0900 Subject: [PATCH] =?UTF-8?q?UNION=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/file-mapper.xml | 12 ++++++------ 1 file changed, 6 insertions(+), 6 deletions(-) diff --git a/src/main/resources/sql/mapper/file-mapper.xml b/src/main/resources/sql/mapper/file-mapper.xml index 55ecb7c..344379d 100644 --- a/src/main/resources/sql/mapper/file-mapper.xml +++ b/src/main/resources/sql/mapper/file-mapper.xml @@ -22,13 +22,13 @@ SELECT INF_TYPE , CONCAT('files/', DIR, DATE_FORMAT(CURRENT_DATE, '/%Y/%m/%d/')) DIR FROM ( - SELECT '010' INF_TYPE, 'interface/attachment/smg' DIR UNION - SELECT '020' INF_TYPE, 'interface/attachment/saeol' DIR UNION - SELECT '030' INF_TYPE, 'interface/attachment/epost' DIR UNION + SELECT '010' INF_TYPE, 'interface/attachment/smg' DIR FROM DUAL UNION + SELECT '020' INF_TYPE, 'interface/attachment/saeol' DIR FROM DUAL UNION + SELECT '030' INF_TYPE, 'interface/attachment/epost' DIR FROM DUAL UNION - SELECT '100' INF_TYPE, 'attachment/violation' DIR UNION - SELECT '110' INF_TYPE, 'attachment/opinion' DIR UNION - SELECT '190' INF_TYPE, 'attachment/capture' DIR + SELECT '100' INF_TYPE, 'attachment/violation' DIR FROM DUAL UNION + SELECT '110' INF_TYPE, 'attachment/opinion' DIR FROM DUAL UNION + SELECT '190' INF_TYPE, 'attachment/capture' DIR FROM DUAL ) FILE_DIRS