|
|
|
@ -22,13 +22,13 @@
|
|
|
|
|
<sql id="fileDirs">SELECT INF_TYPE
|
|
|
|
|
, CONCAT('files/', DIR, DATE_FORMAT(CURRENT_DATE, '/%Y/%m/%d/')) DIR
|
|
|
|
|
FROM (
|
|
|
|
|
SELECT '010' INF_TYPE, 'interface/attachment/smg' DIR UNION <!-- 국민 신문고 -->
|
|
|
|
|
SELECT '020' INF_TYPE, 'interface/attachment/saeol' DIR UNION <!-- 세올 -->
|
|
|
|
|
SELECT '030' INF_TYPE, 'interface/attachment/epost' DIR UNION <!-- epost -->
|
|
|
|
|
SELECT '010' INF_TYPE, 'interface/attachment/smg' DIR FROM DUAL UNION <!-- 국민 신문고 -->
|
|
|
|
|
SELECT '020' INF_TYPE, 'interface/attachment/saeol' DIR FROM DUAL UNION <!-- 세올 -->
|
|
|
|
|
SELECT '030' INF_TYPE, 'interface/attachment/epost' DIR FROM DUAL UNION <!-- epost -->
|
|
|
|
|
|
|
|
|
|
SELECT '100' INF_TYPE, 'attachment/violation' DIR UNION <!-- 단속 정보 -->
|
|
|
|
|
SELECT '110' INF_TYPE, 'attachment/opinion' DIR UNION <!-- 의견 진술 -->
|
|
|
|
|
SELECT '190' INF_TYPE, 'attachment/capture' DIR <!-- 캡쳐용 동영상 -->
|
|
|
|
|
SELECT '100' INF_TYPE, 'attachment/violation' DIR FROM DUAL UNION <!-- 단속 정보 -->
|
|
|
|
|
SELECT '110' INF_TYPE, 'attachment/opinion' DIR FROM DUAL UNION <!-- 의견 진술 -->
|
|
|
|
|
SELECT '190' INF_TYPE, 'attachment/capture' DIR FROM DUAL <!-- 캡쳐용 동영상 -->
|
|
|
|
|
) FILE_DIRS</sql>
|
|
|
|
|
|
|
|
|
|
<sql id="selectFiles">
|
|
|
|
|