파일저장시 경로 오류 수정

dev
이범준 4 months ago
parent 74a6fab616
commit 2689339367

@ -19,7 +19,7 @@
<result property="useYN" column="USE_YN"/> <result property="useYN" column="USE_YN"/>
</resultMap> </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 <sql id="fileUrl">(CASE
WHEN REPLACE(FILE_PATH,#{type},'/files/') LIKE '_:%' WHEN REPLACE(FILE_PATH,#{type},'/files/') LIKE '_:%'
THEN SUBSTR(REPLACE(FILE_PATH,#{type},'/files/'),3) THEN SUBSTR(REPLACE(FILE_PATH,#{type},'/files/'),3)

Loading…
Cancel
Save