fix: file upload dir define

dev
Jonguk. Lim 6 months ago
parent e604765c7b
commit 44ed7fa182

@ -20,15 +20,15 @@
</resultMap> </resultMap>
<sql id="fileDirs">SELECT INF_TYPE <sql id="fileDirs">SELECT INF_TYPE
, CONCAT('/applications/adds/files/', DIR, DATE_FORMAT(CURRENT_DATE, '/%Y/%m/%d/')) DIR , CONCAT('d:/data/adds/files/', DIR, DATE_FORMAT(CURRENT_DATE, '/%Y/%m/%d/')) DIR
FROM ( FROM (
SELECT '00' INF_TYPE, 'attachment/' DIR FROM DUAL UNION SELECT '00' INF_TYPE, 'attachment' DIR FROM DUAL UNION
SELECT '01' INF_TYPE, 'document/' DIR FROM DUAL UNION SELECT '01' INF_TYPE, 'document' DIR FROM DUAL UNION
SELECT '02' INF_TYPE, 'article/' DIR FROM DUAL UNION SELECT '02' INF_TYPE, 'article' DIR FROM DUAL UNION
SELECT '100' INF_TYPE, 'attachment/dsuse' DIR FROM DUAL UNION SELECT '100' INF_TYPE, 'dsuseprdimg' DIR FROM DUAL UNION /* 폐기상품이미지 */
SELECT '110' INF_TYPE, 'attachment/dsusedtl' DIR FROM DUAL UNION SELECT '110' INF_TYPE, 'dsuseimg' DIR FROM DUAL UNION /* 폐기 이미지 */
SELECT '200' INF_TYPE, 'document/dsuse' DIR FROM DUAL SELECT '200' INF_TYPE, 'dsusedoc' DIR FROM DUAL /* 폐기보고 문서 */
) FILE_DIRS</sql> ) FILE_DIRS</sql>
<sql id="selectFiles"> <sql id="selectFiles">

Loading…
Cancel
Save