feat: 공통 파일업로드 및 저장 적용

dev
Jonguk. Lim 6 months ago
parent e81513d248
commit 49af878af2

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

Loading…
Cancel
Save