|
|
|
@ -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)
|
|
|
|
|