diff --git a/src/main/resources/sql/mapper/base/file-mapper.xml b/src/main/resources/sql/mapper/base/file-mapper.xml index caff7b8..2e4fc90 100644 --- a/src/main/resources/sql/mapper/base/file-mapper.xml +++ b/src/main/resources/sql/mapper/base/file-mapper.xml @@ -19,7 +19,7 @@ -CONCAT(#{addsFileRootPath}, DIR, DATE_FORMAT(CURRENT_DATE, '%Y/%m/%d/')) +CONCAT(#{addsFileRootPath}, DIR, DATE_FORMAT(CURRENT_DATE, '/%Y/%m/%d/')) (CASE WHEN REPLACE(FILE_PATH,#{type},'/files/') LIKE '_:%' THEN SUBSTR(REPLACE(FILE_PATH,#{type},'/files/'),3)