파일저장시 경로 오류 수정

dev
이범준 4 months ago
parent f7fdba7678
commit 95ed4afe68

@ -19,7 +19,7 @@
<result property="useYN" column="USE_YN"/>
</resultMap>
<sql id="fileDir">CONCAT(#{addsFileRootPath}, DIR, DATE_FORMAT(CURRENT_DATE, '%Y/%m/%d/'))</sql>
<sql id="fileDir">CONCAT(#{addsFileRootPath}, DIR, DATE_FORMAT(CURRENT_DATE, '/%Y/%m/%d/'))</sql>
<sql id="fileUrl">(CASE
WHEN REPLACE(FILE_PATH,#{type},'/files/') LIKE '_:%'
THEN SUBSTR(REPLACE(FILE_PATH,#{type},'/files/'),3)

Loading…
Cancel
Save