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