+++ .gitignore
... | ... | @@ -0,0 +1,141 @@ |
| 1 | +### Eclipse ### | |
| 2 | +.metadata | |
| 3 | +bin/ | |
| 4 | +tmp/ | |
| 5 | +*.tmp | |
| 6 | +*.bak | |
| 7 | +*.swp | |
| 8 | +*~.nib | |
| 9 | +local.properties | |
| 10 | +.settings/ | |
| 11 | +.loadpath | |
| 12 | +.recommenders | |
| 13 | + | |
| 14 | +# External tool builders | |
| 15 | +.externalToolBuilders/ | |
| 16 | + | |
| 17 | +# Locally stored "Eclipse launch configurations" | |
| 18 | +*.launch | |
| 19 | + | |
| 20 | +# PyDev specific (Python IDE for Eclipse) | |
| 21 | +*.pydevproject | |
| 22 | + | |
| 23 | +# CDT-specific (C/C++ Development Tooling) | |
| 24 | +.cproject | |
| 25 | + | |
| 26 | +# CDT- autotools | |
| 27 | +.autotools | |
| 28 | + | |
| 29 | +# Java annotation processor (APT) | |
| 30 | +.factorypath | |
| 31 | + | |
| 32 | +# PDT-specific (PHP Development Tools) | |
| 33 | +.buildpath | |
| 34 | + | |
| 35 | +# sbteclipse plugin | |
| 36 | +.target | |
| 37 | + | |
| 38 | +# Tern plugin | |
| 39 | +.tern-project | |
| 40 | + | |
| 41 | +# TeXlipse plugin | |
| 42 | +.texlipse | |
| 43 | + | |
| 44 | +# STS (Spring Tool Suite) | |
| 45 | +.springBeans | |
| 46 | + | |
| 47 | +# Code Recommenders | |
| 48 | +.recommenders/ | |
| 49 | + | |
| 50 | +# Annotation Processing | |
| 51 | +.apt_generated/ | |
| 52 | +.apt_generated_test/ | |
| 53 | + | |
| 54 | +# Scala IDE specific (Scala & Java development for Eclipse) | |
| 55 | +.cache-main | |
| 56 | +.scala_dependencies | |
| 57 | +.worksheet | |
| 58 | + | |
| 59 | +# Uncomment this line if you wish to ignore the project description file. | |
| 60 | +# Typically, this file would be tracked if it contains build/dependency configurations: | |
| 61 | +#.project | |
| 62 | + | |
| 63 | +### Eclipse Patch ### | |
| 64 | +# Spring Boot Tooling | |
| 65 | +.sts4-cache/ | |
| 66 | + | |
| 67 | +### Java-Web ### | |
| 68 | +## ignoring target file | |
| 69 | +target/ | |
| 70 | + | |
| 71 | +### macOS ### | |
| 72 | +# General | |
| 73 | +.DS_Store | |
| 74 | +.AppleDouble | |
| 75 | +.LSOverride | |
| 76 | + | |
| 77 | +# Icon must end with two \r | |
| 78 | +Icon | |
| 79 | + | |
| 80 | +# Thumbnails | |
| 81 | +._* | |
| 82 | + | |
| 83 | +# Files that might appear in the root of a volume | |
| 84 | +.DocumentRevisions-V100 | |
| 85 | +.fseventsd | |
| 86 | +.Spotlight-V100 | |
| 87 | +.TemporaryItems | |
| 88 | +.Trashes | |
| 89 | +.VolumeIcon.icns | |
| 90 | +.com.apple.timemachine.donotpresent | |
| 91 | + | |
| 92 | +# Directories potentially created on remote AFP share | |
| 93 | +.AppleDB | |
| 94 | +.AppleDesktop | |
| 95 | +Network Trash Folder | |
| 96 | +Temporary Items | |
| 97 | +.apdisk | |
| 98 | + | |
| 99 | +### Maven ### | |
| 100 | +pom.xml.tag | |
| 101 | +pom.xml.releaseBackup | |
| 102 | +pom.xml.versionsBackup | |
| 103 | +pom.xml.next | |
| 104 | +release.properties | |
| 105 | +dependency-reduced-pom.xml | |
| 106 | +buildNumber.properties | |
| 107 | +.mvn/timing.properties | |
| 108 | +# https://github.com/takari/maven-wrapper#usage-without-binary-jar | |
| 109 | +.mvn/wrapper/maven-wrapper.jar | |
| 110 | + | |
| 111 | +### Windows ### | |
| 112 | +# Windows thumbnail cache files | |
| 113 | +Thumbs.db | |
| 114 | +Thumbs.db:encryptable | |
| 115 | +ehthumbs.db | |
| 116 | +ehthumbs_vista.db | |
| 117 | + | |
| 118 | +# Dump file | |
| 119 | +*.stackdump | |
| 120 | + | |
| 121 | +# Folder config file | |
| 122 | +[Dd]esktop.ini | |
| 123 | + | |
| 124 | +# Recycle Bin used on file shares | |
| 125 | +$RECYCLE.BIN/ | |
| 126 | + | |
| 127 | +# Windows Installer files | |
| 128 | +*.cab | |
| 129 | +*.msi | |
| 130 | +*.msix | |
| 131 | +*.msm | |
| 132 | +*.msp | |
| 133 | + | |
| 134 | +# Windows shortcuts | |
| 135 | +*.lnk | |
| 136 | +/.classpath | |
| 137 | +.classpath | |
| 138 | +.project | |
| 139 | + | |
| 140 | +# libs | |
| 141 | +.repo |
--- base/Documents/BaseForMySql_v1.0.erwin
+++ base/Documents/BaseForMySql_v1.0.erwin
| Binary file is not shown |
--- base/Documents/MySql_기본데이터.sql
+++ base/Documents/MySql_기본데이터.sql
... | ... | @@ -1,210 +1,210 @@ |
| 1 |
-/* 주의사항 : COMTNROLEINFO쪽 ROLE_PTN 제대로 들어갔는지 확인 198번째 줄 */ |
|
| 2 |
- |
|
| 3 |
-INSERT INTO comtecopseq (TABLE_NAME, NEXT_ID) VALUES ('DUS_ID','1');
|
|
| 4 |
-INSERT INTO comtecopseq (TABLE_NAME, NEXT_ID) VALUES ('WEBLOG_ID','1');
|
|
| 5 |
-INSERT INTO comtecopseq (TABLE_NAME, NEXT_ID) VALUES ('BANNER_ID','1');
|
|
| 6 |
-INSERT INTO comtecopseq (TABLE_NAME, NEXT_ID) VALUES ('POPUP_ID','1');
|
|
| 7 |
-INSERT INTO comtecopseq (TABLE_NAME, NEXT_ID) VALUES ('LINK_SITE_ID','1');
|
|
| 8 |
-INSERT INTO comtecopseq (TABLE_NAME, NEXT_ID) VALUES ('EVENTINFO_ID','1');
|
|
| 9 |
-INSERT INTO comtecopseq (TABLE_NAME, NEXT_ID) VALUES ('SITE_ID','2');
|
|
| 10 |
-INSERT INTO comtecopseq (TABLE_NAME, NEXT_ID) VALUES ('MENU_ID','2');
|
|
| 11 |
-INSERT INTO comtecopseq (TABLE_NAME, NEXT_ID) VALUES ('BBS_CTGRYMASTER_ID','1');
|
|
| 12 |
-INSERT INTO comtecopseq (TABLE_NAME, NEXT_ID) VALUES ('BBS_CTGRY_ID','1');
|
|
| 13 |
-INSERT INTO comtecopseq (TABLE_NAME, NEXT_ID) VALUES ('BBS_NTT_NO','1');
|
|
| 14 |
-INSERT INTO comtecopseq (TABLE_NAME, NEXT_ID) VALUES ('BBS_CMT_NO','1');
|
|
| 15 |
-INSERT INTO comtecopseq (TABLE_NAME, NEXT_ID) VALUES ('BBS_ID','1');
|
|
| 16 |
-INSERT INTO comtecopseq (TABLE_NAME, NEXT_ID) VALUES ('CMMNTY_ID','1');
|
|
| 17 |
-INSERT INTO comtecopseq (TABLE_NAME, NEXT_ID) VALUES ('FILE_ID','1');
|
|
| 18 |
-INSERT INTO comtecopseq (TABLE_NAME, NEXT_ID) VALUES ('EVENTITEM_ID','1');
|
|
| 19 |
-INSERT INTO comtecopseq (TABLE_NAME, NEXT_ID) VALUES ('EVENTITEMEX_ID','1');
|
|
| 20 |
-INSERT INTO comtecopseq (TABLE_NAME, NEXT_ID) VALUES ('EVENTCNSR_ID','1');
|
|
| 21 |
-INSERT INTO comtecopseq (TABLE_NAME, NEXT_ID) VALUES ('EVENTANWPER_ID','1');
|
|
| 22 |
-INSERT INTO comtecopseq (TABLE_NAME, NEXT_ID) VALUES ('EVENTFORM_ID','1');
|
|
| 23 |
-INSERT INTO comtecopseq (TABLE_NAME, NEXT_ID) VALUES ('EVENTFANWPER_ID','1');
|
|
| 24 |
-INSERT INTO comtecopseq (TABLE_NAME, NEXT_ID) VALUES ('LYT_TMPLAT_ID','1');
|
|
| 25 |
-INSERT INTO comtecopseq (TABLE_NAME, NEXT_ID) VALUES ('LYT_TMPLAT_HIS_ID','1');
|
|
| 26 |
-INSERT INTO comtecopseq (TABLE_NAME, NEXT_ID) VALUES ('BBS_TMPLAT_ID','1');
|
|
| 27 |
-INSERT INTO comtecopseq (TABLE_NAME, NEXT_ID) VALUES ('BBS_TMPLAT_HIS_ID','1');
|
|
| 28 |
-INSERT INTO comtecopseq (TABLE_NAME, NEXT_ID) VALUES ('LOGINLOG_ID','1');
|
|
| 29 |
-INSERT INTO comtecopseq (TABLE_NAME, NEXT_ID) VALUES ('LYT_SOURC_ID','1');
|
|
| 30 |
-INSERT INTO comtecopseq (TABLE_NAME, NEXT_ID) VALUES ('LYT_SOURC_HIS_ID','1');
|
|
| 31 |
-INSERT INTO comtecopseq (TABLE_NAME, NEXT_ID) VALUES ('MNU_HIS_ID','1');
|
|
| 32 |
-INSERT INTO comtecopseq (TABLE_NAME, NEXT_ID) VALUES ('BBS_SOURC_ID','1');
|
|
| 33 |
-INSERT INTO comtecopseq (TABLE_NAME, NEXT_ID) VALUES ('BBS_SOURC_HIS_ID','1');
|
|
| 34 |
-INSERT INTO comtecopseq (TABLE_NAME, NEXT_ID) VALUES ('VISITSCHUL_ID','1');
|
|
| 35 |
-INSERT INTO comtecopseq (TABLE_NAME, NEXT_ID) VALUES ('TMP_ID','1');
|
|
| 36 |
- |
|
| 37 |
-INSERT INTO comtccmmnclcode (CL_CODE, CL_CODE_NM, CL_CODE_DC, USE_AT, FRST_REGISTER_PNTTM, FRST_REGISTER_ID, LAST_UPDUSR_PNTTM, LAST_UPDUSR_ID) VALUES ('EFC','전자정부 프레임워크 공통서비스','전자정부 프레임워크 공통서비스','Y',NOW(),'SYSTEM',null,null);
|
|
| 38 |
- |
|
| 39 |
-INSERT INTO comtccmmncode (CL_CODE, CODE_ID, CODE_ID_NM, CODE_ID_DC, USE_AT, FRST_REGISTER_PNTTM, FRST_REGISTER_ID, LAST_UPDUSR_PNTTM, LAST_UPDUSR_ID) VALUES ('EFC','COM109','배너주제분류코드','배너주제분류코드','N',NOW(),'SYSTEM',NULL,NULL);
|
|
| 40 |
-INSERT INTO comtccmmncode (CL_CODE, CODE_ID, CODE_ID_NM, CODE_ID_DC, USE_AT, FRST_REGISTER_PNTTM, FRST_REGISTER_ID, LAST_UPDUSR_PNTTM, LAST_UPDUSR_ID) VALUES ('EFC','999','컨텐츠분류코드','컨텐츠분류코드','N',NOW(),'admin',NULL,NULL);
|
|
| 41 |
-INSERT INTO comtccmmncode (CL_CODE, CODE_ID, CODE_ID_NM, CODE_ID_DC, USE_AT, FRST_REGISTER_PNTTM, FRST_REGISTER_ID, LAST_UPDUSR_PNTTM, LAST_UPDUSR_ID) VALUES ('EFC','COM001','등록구분','게시판, 커뮤니티, 동호회 등록구분코드','Y',NOW(),'SYSTEM',NULL,NULL);
|
|
| 42 |
-INSERT INTO comtccmmncode (CL_CODE, CODE_ID, CODE_ID_NM, CODE_ID_DC, USE_AT, FRST_REGISTER_PNTTM, FRST_REGISTER_ID, LAST_UPDUSR_PNTTM, LAST_UPDUSR_ID) VALUES ('EFC','COM020','일정구분','일정구분 부서일지정보/일지정보 상태구분','Y',NOW(),'SYSTEM',NULL,NULL);
|
|
| 43 |
-INSERT INTO comtccmmncode (CL_CODE, CODE_ID, CODE_ID_NM, CODE_ID_DC, USE_AT, FRST_REGISTER_PNTTM, FRST_REGISTER_ID, LAST_UPDUSR_PNTTM, LAST_UPDUSR_ID) VALUES ('EFC','COM035','행사유형','행사/이벤트/캠페인 구분','Y',NOW(),'SYSTEM',NULL,NULL);
|
|
| 44 |
-INSERT INTO comtccmmncode (CL_CODE, CODE_ID, CODE_ID_NM, CODE_ID_DC, USE_AT, FRST_REGISTER_PNTTM, FRST_REGISTER_ID, LAST_UPDUSR_PNTTM, LAST_UPDUSR_ID) VALUES ('EFC','COM910','메뉴컨텐츠구분','메뉴컨텐츠구분','Y',NOW(),'SYSTEM',NULL,NULL);
|
|
| 45 |
-INSERT INTO comtccmmncode (CL_CODE, CODE_ID, CODE_ID_NM, CODE_ID_DC, USE_AT, FRST_REGISTER_PNTTM, FRST_REGISTER_ID, LAST_UPDUSR_PNTTM, LAST_UPDUSR_ID) VALUES ('EFC','COM912','게시판속성코드','게시판속성코드','Y',NOW(),'SYSTEM',NULL,NULL);
|
|
| 46 |
-INSERT INTO comtccmmncode (CL_CODE, CODE_ID, CODE_ID_NM, CODE_ID_DC, USE_AT, FRST_REGISTER_PNTTM, FRST_REGISTER_ID, LAST_UPDUSR_PNTTM, LAST_UPDUSR_ID) VALUES ('EFC','COM201','커뮤니티구분코드','커뮤니티구분코드','Y',NOW(),'SYSTEM',NULL,NULL);
|
|
| 47 |
-INSERT INTO comtccmmncode (CL_CODE, CODE_ID, CODE_ID_NM, CODE_ID_DC, USE_AT, FRST_REGISTER_PNTTM, FRST_REGISTER_ID, LAST_UPDUSR_PNTTM, LAST_UPDUSR_ID) VALUES ('EFC','COM202','승인정책코드','승인정책코드','Y',NOW(),'SYSTEM',NULL,NULL);
|
|
| 48 |
-INSERT INTO comtccmmncode (CL_CODE, CODE_ID, CODE_ID_NM, CODE_ID_DC, USE_AT, FRST_REGISTER_PNTTM, FRST_REGISTER_ID, LAST_UPDUSR_PNTTM, LAST_UPDUSR_ID) VALUES ('EFC','COM203','재가입정책코드','재가입정책코드','Y',NOW(),'SYSTEM',NULL,NULL);
|
|
| 49 |
-INSERT INTO comtccmmncode (CL_CODE, CODE_ID, CODE_ID_NM, CODE_ID_DC, USE_AT, FRST_REGISTER_PNTTM, FRST_REGISTER_ID, LAST_UPDUSR_PNTTM, LAST_UPDUSR_ID) VALUES ('EFC','COM005','템플릿구분코드','템플릿구분코드','Y',NOW(),'SYSTEM',NULL,NULL);
|
|
| 50 |
-INSERT INTO comtccmmncode (CL_CODE, CODE_ID, CODE_ID_NM, CODE_ID_DC, USE_AT, FRST_REGISTER_PNTTM, FRST_REGISTER_ID, LAST_UPDUSR_PNTTM, LAST_UPDUSR_ID) VALUES ('EFC','COM006','승인유형코드','승인유형코드','Y',NOW(),'SYSTEM',NULL,NULL);
|
|
| 51 |
-INSERT INTO comtccmmncode (CL_CODE, CODE_ID, CODE_ID_NM, CODE_ID_DC, USE_AT, FRST_REGISTER_PNTTM, FRST_REGISTER_ID, LAST_UPDUSR_PNTTM, LAST_UPDUSR_ID) VALUES ('EFC','COM007','승인상태','승인상태','Y',NOW(),'SYSTEM',NULL,NULL);
|
|
| 52 |
-INSERT INTO comtccmmncode (CL_CODE, CODE_ID, CODE_ID_NM, CODE_ID_DC, USE_AT, FRST_REGISTER_PNTTM, FRST_REGISTER_ID, LAST_UPDUSR_PNTTM, LAST_UPDUSR_ID) VALUES ('EFC','COM032','작업유형코드','작업유형코드','Y',NOW(),'SYSTEM',NULL,NULL);
|
|
| 53 |
-INSERT INTO comtccmmncode (CL_CODE, CODE_ID, CODE_ID_NM, CODE_ID_DC, USE_AT, FRST_REGISTER_PNTTM, FRST_REGISTER_ID, LAST_UPDUSR_PNTTM, LAST_UPDUSR_ID) VALUES ('EFC','COM003','대상업무유형코드','대상업무유형코드','Y',NOW(),'SYSTEM',NULL,NULL);
|
|
| 54 |
-INSERT INTO comtccmmncode (CL_CODE, CODE_ID, CODE_ID_NM, CODE_ID_DC, USE_AT, FRST_REGISTER_PNTTM, FRST_REGISTER_ID, LAST_UPDUSR_PNTTM, LAST_UPDUSR_ID) VALUES ('EFC','COM105','QNA카테고리코드','QNA카테고리코드','N',NOW(),'SYSTEM',NULL,NULL);
|
|
| 55 |
-INSERT INTO comtccmmncode (CL_CODE, CODE_ID, CODE_ID_NM, CODE_ID_DC, USE_AT, FRST_REGISTER_PNTTM, FRST_REGISTER_ID, LAST_UPDUSR_PNTTM, LAST_UPDUSR_ID) VALUES ('EFC','COM108','처리상태코드','처리상태코드','Y',NOW(),'SYSTEM',NULL,NULL);
|
|
| 56 |
-INSERT INTO comtccmmncode (CL_CODE, CODE_ID, CODE_ID_NM, CODE_ID_DC, USE_AT, FRST_REGISTER_PNTTM, FRST_REGISTER_ID, LAST_UPDUSR_PNTTM, LAST_UPDUSR_ID) VALUES ('EFC','COM104','FAQ카테고리코드','FAQ카테고리코드','N',NOW(),'SYSTEM',NULL,NULL);
|
|
| 57 |
-INSERT INTO comtccmmncode (CL_CODE, CODE_ID, CODE_ID_NM, CODE_ID_DC, USE_AT, FRST_REGISTER_PNTTM, FRST_REGISTER_ID, LAST_UPDUSR_PNTTM, LAST_UPDUSR_ID) VALUES ('EFC','COM107','배너구분코드','배너구분코드','Y',NOW(),'SYSTEM',NULL,NULL);
|
|
| 58 |
-INSERT INTO comtccmmncode (CL_CODE, CODE_ID, CODE_ID_NM, CODE_ID_DC, USE_AT, FRST_REGISTER_PNTTM, FRST_REGISTER_ID, LAST_UPDUSR_PNTTM, LAST_UPDUSR_ID) VALUES ('EFC','COM023','사이트주제분류코드','사이트주제분류코드','Y',NOW(),'SYSTEM',NULL,NULL);
|
|
| 59 |
-INSERT INTO comtccmmncode (CL_CODE, CODE_ID, CODE_ID_NM, CODE_ID_DC, USE_AT, FRST_REGISTER_PNTTM, FRST_REGISTER_ID, LAST_UPDUSR_PNTTM, LAST_UPDUSR_ID) VALUES ('EFC','COM800','사용자구분코드','사용자구분코드','Y',NOW(),'SYSTEM',NULL,NULL);
|
|
| 60 |
-INSERT INTO comtccmmncode (CL_CODE, CODE_ID, CODE_ID_NM, CODE_ID_DC, USE_AT, FRST_REGISTER_PNTTM, FRST_REGISTER_ID, LAST_UPDUSR_PNTTM, LAST_UPDUSR_ID) VALUES ('EFC','COM915','메인컨텐츠','메인컨텐츠','Y',NOW(),'SYSTEM',NULL,NULL);
|
|
| 61 |
-INSERT INTO comtccmmncode (CL_CODE, CODE_ID, CODE_ID_NM, CODE_ID_DC, USE_AT, FRST_REGISTER_PNTTM, FRST_REGISTER_ID, LAST_UPDUSR_PNTTM, LAST_UPDUSR_ID) VALUES ('EFC','COM918','게시판소스구분','게시판소스구분','Y',NOW(),'SYSTEM',NULL,NULL);
|
|
| 62 |
-INSERT INTO comtccmmncode (CL_CODE, CODE_ID, CODE_ID_NM, CODE_ID_DC, USE_AT, FRST_REGISTER_PNTTM, FRST_REGISTER_ID, LAST_UPDUSR_PNTTM, LAST_UPDUSR_ID) VALUES ('EFC','COM919','게시판템플릿구분','게시판템플릿구분','Y',NOW(),'SYSTEM',NULL,NULL);
|
|
| 63 |
-INSERT INTO comtccmmncode (CL_CODE, CODE_ID, CODE_ID_NM, CODE_ID_DC, USE_AT, FRST_REGISTER_PNTTM, FRST_REGISTER_ID, LAST_UPDUSR_PNTTM, LAST_UPDUSR_ID) VALUES ('EFC','COM916','템플릿대분류코드','템플릿대분류코드','Y',NOW(),'SYSTEM',NULL,NULL);
|
|
| 64 |
-INSERT INTO comtccmmncode (CL_CODE, CODE_ID, CODE_ID_NM, CODE_ID_DC, USE_AT, FRST_REGISTER_PNTTM, FRST_REGISTER_ID, LAST_UPDUSR_PNTTM, LAST_UPDUSR_ID) VALUES ('EFC','COM917','템플릿중분류코드','템플릿중분류코드','Y',NOW(),'SYSTEM',NULL,NULL);
|
|
| 65 |
-INSERT INTO comtccmmncode (CL_CODE, CODE_ID, CODE_ID_NM, CODE_ID_DC, USE_AT, FRST_REGISTER_PNTTM, FRST_REGISTER_ID, LAST_UPDUSR_PNTTM, LAST_UPDUSR_ID) VALUES ('EFC','COM920','기관유형코드','기관유형코드','Y',NOW(),'SYSTEM',NULL,NULL);
|
|
| 66 |
-INSERT INTO comtccmmncode (CL_CODE, CODE_ID, CODE_ID_NM, CODE_ID_DC, USE_AT, FRST_REGISTER_PNTTM, FRST_REGISTER_ID, LAST_UPDUSR_PNTTM, LAST_UPDUSR_ID) VALUES ('EFC','COM914','HTML소스 구분코드','HTML소스 구분코드','Y',NOW(),'SYSTEM',NULL,NULL);
|
|
| 67 |
-INSERT INTO comtccmmncode (CL_CODE, CODE_ID, CODE_ID_NM, CODE_ID_DC, USE_AT, FRST_REGISTER_PNTTM, FRST_REGISTER_ID, LAST_UPDUSR_PNTTM, LAST_UPDUSR_ID) VALUES ('EFC', 'COM017', '휴일구분', '휴일의 구분', 'Y', NOW(), 'SYSTEM', NOW(), 'SYSTEM');
|
|
| 68 |
- |
|
| 69 |
- |
|
| 70 |
-INSERT INTO comtccmmndetailcode (CODE_NM, CODE_DC, USE_AT, CODE, CODE_ID, FRST_REGISTER_PNTTM, FRST_REGISTER_ID, LAST_UPDUSR_PNTTM, LAST_UPDUSR_ID) VALUES ('직속기관','직속기관','Y','4','COM109',NOW(),'23432',NULL,NULL);
|
|
| 71 |
-INSERT INTO comtccmmndetailcode (CODE_NM, CODE_DC, USE_AT, CODE, CODE_ID, FRST_REGISTER_PNTTM, FRST_REGISTER_ID, LAST_UPDUSR_PNTTM, LAST_UPDUSR_ID) VALUES ('지역교육청','지역교육청','Y','5','COM109',NOW(),'23432',NULL,NULL);
|
|
| 72 |
-INSERT INTO comtccmmndetailcode (CODE_NM, CODE_DC, USE_AT, CODE, CODE_ID, FRST_REGISTER_PNTTM, FRST_REGISTER_ID, LAST_UPDUSR_PNTTM, LAST_UPDUSR_ID) VALUES ('시·도교육청','시·도교육청','Y','6','COM109',NOW(),'23432',NULL,NULL);
|
|
| 73 |
-INSERT INTO comtccmmndetailcode (CODE_NM, CODE_DC, USE_AT, CODE, CODE_ID, FRST_REGISTER_PNTTM, FRST_REGISTER_ID, LAST_UPDUSR_PNTTM, LAST_UPDUSR_ID) VALUES ('타시도연구정보원','타시도연구정보원','Y','7','COM109',NOW(),'23432',NULL,NULL);
|
|
| 74 |
-INSERT INTO comtccmmndetailcode (CODE_NM, CODE_DC, USE_AT, CODE, CODE_ID, FRST_REGISTER_PNTTM, FRST_REGISTER_ID, LAST_UPDUSR_PNTTM, LAST_UPDUSR_ID) VALUES ('커뮤니티','커뮤니티','Y','2','COM104',NOW(),'admin',NULL,NULL);
|
|
| 75 |
-INSERT INTO comtccmmndetailcode (CODE_NM, CODE_DC, USE_AT, CODE, CODE_ID, FRST_REGISTER_PNTTM, FRST_REGISTER_ID, LAST_UPDUSR_PNTTM, LAST_UPDUSR_ID) VALUES ('에듀스마켓','에듀스마켓','Y','3','COM105',NOW(),'admin',NULL,NULL);
|
|
| 76 |
-INSERT INTO comtccmmndetailcode (CODE_NM, CODE_DC, USE_AT, CODE, CODE_ID, FRST_REGISTER_PNTTM, FRST_REGISTER_ID, LAST_UPDUSR_PNTTM, LAST_UPDUSR_ID) VALUES ('마일리지','마일리지','Y','3','COM104',NOW(),'admin',NULL,NULL);
|
|
| 77 |
-INSERT INTO comtccmmndetailcode (CODE_NM, CODE_DC, USE_AT, CODE, CODE_ID, FRST_REGISTER_PNTTM, FRST_REGISTER_ID, LAST_UPDUSR_PNTTM, LAST_UPDUSR_ID) VALUES ('커뮤니티','커뮤니티','Y','4','COM105',NOW(),'admin',NULL,NULL);
|
|
| 78 |
-INSERT INTO comtccmmndetailcode (CODE_NM, CODE_DC, USE_AT, CODE, CODE_ID, FRST_REGISTER_PNTTM, FRST_REGISTER_ID, LAST_UPDUSR_PNTTM, LAST_UPDUSR_ID) VALUES ('교육관련','교육관련','Y','2','COM109',NOW(),'SYSTEM',NULL,NULL);
|
|
| 79 |
-INSERT INTO comtccmmndetailcode (CODE_NM, CODE_DC, USE_AT, CODE, CODE_ID, FRST_REGISTER_PNTTM, FRST_REGISTER_ID, LAST_UPDUSR_PNTTM, LAST_UPDUSR_ID) VALUES ('기타','기타','Y','99','COM109',NOW(),'SYSTEM',NULL,NULL);
|
|
| 80 |
-INSERT INTO comtccmmndetailcode (CODE_NM, CODE_DC, USE_AT, CODE, CODE_ID, FRST_REGISTER_PNTTM, FRST_REGISTER_ID, LAST_UPDUSR_PNTTM, LAST_UPDUSR_ID) VALUES ('사이트 게시판 이용등록','사이트 게시판 이용등록','Y','REGC01','COM001',NOW(),'SYSTEM',NULL,NULL);
|
|
| 81 |
-INSERT INTO comtccmmndetailcode (CODE_NM, CODE_DC, USE_AT, CODE, CODE_ID, FRST_REGISTER_PNTTM, FRST_REGISTER_ID, LAST_UPDUSR_PNTTM, LAST_UPDUSR_ID) VALUES ('커뮤니티 등록','커뮤니티 등록','Y','REGC02','COM001',NOW(),'SYSTEM',NULL,NULL);
|
|
| 82 |
-INSERT INTO comtccmmndetailcode (CODE_NM, CODE_DC, USE_AT, CODE, CODE_ID, FRST_REGISTER_PNTTM, FRST_REGISTER_ID, LAST_UPDUSR_PNTTM, LAST_UPDUSR_ID) VALUES ('커뮤니티 게시판 등록','커뮤니티 게시판 등록','Y','REGC06','COM001',NOW(),'SYSTEM',NULL,NULL);
|
|
| 83 |
-INSERT INTO comtccmmndetailcode (CODE_NM, CODE_DC, USE_AT, CODE, CODE_ID, FRST_REGISTER_PNTTM, FRST_REGISTER_ID, LAST_UPDUSR_PNTTM, LAST_UPDUSR_ID) VALUES ('행사및일반일정','행사및일반일정','Y','1','COM020',NOW(),'SYSTEM',NULL,NULL);
|
|
| 84 |
-INSERT INTO comtccmmndetailcode (CODE_NM, CODE_DC, USE_AT, CODE, CODE_ID, FRST_REGISTER_PNTTM, FRST_REGISTER_ID, LAST_UPDUSR_PNTTM, LAST_UPDUSR_ID) VALUES ('설문조사','설문조사','Y','3','COM020',NOW(),'SYSTEM',NULL,NULL);
|
|
| 85 |
-INSERT INTO comtccmmndetailcode (CODE_NM, CODE_DC, USE_AT, CODE, CODE_ID, FRST_REGISTER_PNTTM, FRST_REGISTER_ID, LAST_UPDUSR_PNTTM, LAST_UPDUSR_ID) VALUES ('객관식','객관식','Y','1','COM035',NOW(),'SYSTEM',NULL,NULL);
|
|
| 86 |
-INSERT INTO comtccmmndetailcode (CODE_NM, CODE_DC, USE_AT, CODE, CODE_ID, FRST_REGISTER_PNTTM, FRST_REGISTER_ID, LAST_UPDUSR_PNTTM, LAST_UPDUSR_ID) VALUES ('주관식','주관식','Y','2','COM035',NOW(),'SYSTEM',NULL,NULL);
|
|
| 87 |
-INSERT INTO comtccmmndetailcode (CODE_NM, CODE_DC, USE_AT, CODE, CODE_ID, FRST_REGISTER_PNTTM, FRST_REGISTER_ID, LAST_UPDUSR_PNTTM, LAST_UPDUSR_ID) VALUES ('없음','없음','Y','CTS01','COM910',NOW(),'SYSTEM',NULL,NULL);
|
|
| 88 |
-INSERT INTO comtccmmndetailcode (CODE_NM, CODE_DC, USE_AT, CODE, CODE_ID, FRST_REGISTER_PNTTM, FRST_REGISTER_ID, LAST_UPDUSR_PNTTM, LAST_UPDUSR_ID) VALUES ('일반게시판','게시판','Y','CTS02','COM910',NOW(),'SYSTEM',NULL,NULL);
|
|
| 89 |
-INSERT INTO comtccmmndetailcode (CODE_NM, CODE_DC, USE_AT, CODE, CODE_ID, FRST_REGISTER_PNTTM, FRST_REGISTER_ID, LAST_UPDUSR_PNTTM, LAST_UPDUSR_ID) VALUES ('프로그램','프로그램','Y','CTS04','COM910',NOW(),'SYSTEM',NULL,NULL);
|
|
| 90 |
-INSERT INTO comtccmmndetailcode (CODE_NM, CODE_DC, USE_AT, CODE, CODE_ID, FRST_REGISTER_PNTTM, FRST_REGISTER_ID, LAST_UPDUSR_PNTTM, LAST_UPDUSR_ID) VALUES ('IFRAME','IFRAME','Y','CTS05','COM910',NOW(),'SYSTEM',NULL,NULL);
|
|
| 91 |
-INSERT INTO comtccmmndetailcode (CODE_NM, CODE_DC, USE_AT, CODE, CODE_ID, FRST_REGISTER_PNTTM, FRST_REGISTER_ID, LAST_UPDUSR_PNTTM, LAST_UPDUSR_ID) VALUES ('포틀릿','포틀릿','Y','CTS06','COM910',NOW(),'SYSTEM',NULL,NULL);
|
|
| 92 |
-INSERT INTO comtccmmndetailcode (CODE_NM, CODE_DC, USE_AT, CODE, CODE_ID, FRST_REGISTER_PNTTM, FRST_REGISTER_ID, LAST_UPDUSR_PNTTM, LAST_UPDUSR_ID) VALUES ('앨범형게시판','앨범형게시판','Y','BBSA02','COM912',NOW(),'SYSTEM',NULL,NULL);
|
|
| 93 |
-INSERT INTO comtccmmndetailcode (CODE_NM, CODE_DC, USE_AT, CODE, CODE_ID, FRST_REGISTER_PNTTM, FRST_REGISTER_ID, LAST_UPDUSR_PNTTM, LAST_UPDUSR_ID) VALUES ('일반형게시판','일반형게시판','Y','BBSA03','COM912',NOW(),'SYSTEM',NULL,NULL);
|
|
| 94 |
-INSERT INTO comtccmmndetailcode (CODE_NM, CODE_DC, USE_AT, CODE, CODE_ID, FRST_REGISTER_PNTTM, FRST_REGISTER_ID, LAST_UPDUSR_PNTTM, LAST_UPDUSR_ID) VALUES ('일반커뮤니티','일반커뮤니티','Y','CMY01','COM201',NOW(),'SYSTEM',NULL,NULL);
|
|
| 95 |
-INSERT INTO comtccmmndetailcode (CODE_NM, CODE_DC, USE_AT, CODE, CODE_ID, FRST_REGISTER_PNTTM, FRST_REGISTER_ID, LAST_UPDUSR_PNTTM, LAST_UPDUSR_ID) VALUES ('학급커뮤니티','학급커뮤니티','Y','CMY02','COM201',NOW(),'SYSTEM',NULL,NULL);
|
|
| 96 |
-INSERT INTO comtccmmndetailcode (CODE_NM, CODE_DC, USE_AT, CODE, CODE_ID, FRST_REGISTER_PNTTM, FRST_REGISTER_ID, LAST_UPDUSR_PNTTM, LAST_UPDUSR_ID) VALUES ('자동승인','자동승인','Y','PY01','COM202',NOW(),'SYSTEM',NULL,NULL);
|
|
| 97 |
-INSERT INTO comtccmmndetailcode (CODE_NM, CODE_DC, USE_AT, CODE, CODE_ID, FRST_REGISTER_PNTTM, FRST_REGISTER_ID, LAST_UPDUSR_PNTTM, LAST_UPDUSR_ID) VALUES ('수동승인','수동승인','Y','PY02','COM202',NOW(),'SYSTEM',NULL,NULL);
|
|
| 98 |
-INSERT INTO comtccmmndetailcode (CODE_NM, CODE_DC, USE_AT, CODE, CODE_ID, FRST_REGISTER_PNTTM, FRST_REGISTER_ID, LAST_UPDUSR_PNTTM, LAST_UPDUSR_ID) VALUES ('재가입허용','재가입허용','Y','SA01','COM203',NOW(),'SYSTEM',NULL,NULL);
|
|
| 99 |
-INSERT INTO comtccmmndetailcode (CODE_NM, CODE_DC, USE_AT, CODE, CODE_ID, FRST_REGISTER_PNTTM, FRST_REGISTER_ID, LAST_UPDUSR_PNTTM, LAST_UPDUSR_ID) VALUES ('재가입불허','재가입불허','Y','SA02','COM203',NOW(),'SYSTEM',NULL,NULL);
|
|
| 100 |
-INSERT INTO comtccmmndetailcode (CODE_NM, CODE_DC, USE_AT, CODE, CODE_ID, FRST_REGISTER_PNTTM, FRST_REGISTER_ID, LAST_UPDUSR_PNTTM, LAST_UPDUSR_ID) VALUES ('홈페이지템플릿','홈페이지템플릿','Y','sit','COM005',NOW(),'SYSTEM',NULL,NULL);
|
|
| 101 |
-INSERT INTO comtccmmndetailcode (CODE_NM, CODE_DC, USE_AT, CODE, CODE_ID, FRST_REGISTER_PNTTM, FRST_REGISTER_ID, LAST_UPDUSR_PNTTM, LAST_UPDUSR_ID) VALUES ('커뮤니티템플릿','커뮤니티템플릿','Y','cmy','COM005',NOW(),'SYSTEM',NULL,NULL);
|
|
| 102 |
-INSERT INTO comtccmmndetailcode (CODE_NM, CODE_DC, USE_AT, CODE, CODE_ID, FRST_REGISTER_PNTTM, FRST_REGISTER_ID, LAST_UPDUSR_PNTTM, LAST_UPDUSR_ID) VALUES ('커뮤니티등록','커뮤니티등록','Y','CF01','COM006',NOW(),'SYSTEM',NULL,NULL);
|
|
| 103 |
-INSERT INTO comtccmmndetailcode (CODE_NM, CODE_DC, USE_AT, CODE, CODE_ID, FRST_REGISTER_PNTTM, FRST_REGISTER_ID, LAST_UPDUSR_PNTTM, LAST_UPDUSR_ID) VALUES ('커뮤니티삭제','커뮤니티삭제','Y','CF02','COM006',NOW(),'SYSTEM',NULL,NULL);
|
|
| 104 |
-INSERT INTO comtccmmndetailcode (CODE_NM, CODE_DC, USE_AT, CODE, CODE_ID, FRST_REGISTER_PNTTM, FRST_REGISTER_ID, LAST_UPDUSR_PNTTM, LAST_UPDUSR_ID) VALUES ('커뮤니티운영자등록','커뮤니티운영자등록','Y','CF05','COM006',NOW(),'SYSTEM',NULL,NULL);
|
|
| 105 |
-INSERT INTO comtccmmndetailcode (CODE_NM, CODE_DC, USE_AT, CODE, CODE_ID, FRST_REGISTER_PNTTM, FRST_REGISTER_ID, LAST_UPDUSR_PNTTM, LAST_UPDUSR_ID) VALUES ('커뮤니티운영자삭제','커뮤니티운영자삭제','Y','CF06','COM006',NOW(),'SYSTEM',NULL,NULL);
|
|
| 106 |
-INSERT INTO comtccmmndetailcode (CODE_NM, CODE_DC, USE_AT, CODE, CODE_ID, FRST_REGISTER_PNTTM, FRST_REGISTER_ID, LAST_UPDUSR_PNTTM, LAST_UPDUSR_ID) VALUES ('게시판이용등록','게시판이용등록','Y','CF09','COM006',NOW(),'SYSTEM',NULL,NULL);
|
|
| 107 |
-INSERT INTO comtccmmndetailcode (CODE_NM, CODE_DC, USE_AT, CODE, CODE_ID, FRST_REGISTER_PNTTM, FRST_REGISTER_ID, LAST_UPDUSR_PNTTM, LAST_UPDUSR_ID) VALUES ('게시판삭제','게시판삭제','Y','CF10','COM006',NOW(),'SYSTEM',NULL,NULL);
|
|
| 108 |
-INSERT INTO comtccmmndetailcode (CODE_NM, CODE_DC, USE_AT, CODE, CODE_ID, FRST_REGISTER_PNTTM, FRST_REGISTER_ID, LAST_UPDUSR_PNTTM, LAST_UPDUSR_ID) VALUES ('커뮤니티사용자등록','커뮤니티사용자등록','Y','CF11','COM006',NOW(),'SYSTEM',NULL,NULL);
|
|
| 109 |
-INSERT INTO comtccmmndetailcode (CODE_NM, CODE_DC, USE_AT, CODE, CODE_ID, FRST_REGISTER_PNTTM, FRST_REGISTER_ID, LAST_UPDUSR_PNTTM, LAST_UPDUSR_ID) VALUES ('커뮤니티사용자탈퇴','커뮤니티사용자탈퇴','Y','CF12','COM006',NOW(),'SYSTEM',NULL,NULL);
|
|
| 110 |
-INSERT INTO comtccmmndetailcode (CODE_NM, CODE_DC, USE_AT, CODE, CODE_ID, FRST_REGISTER_PNTTM, FRST_REGISTER_ID, LAST_UPDUSR_PNTTM, LAST_UPDUSR_ID) VALUES ('승인요청','승인요청','Y','AP01','COM007',NOW(),'SYSTEM',NULL,NULL);
|
|
| 111 |
-INSERT INTO comtccmmndetailcode (CODE_NM, CODE_DC, USE_AT, CODE, CODE_ID, FRST_REGISTER_PNTTM, FRST_REGISTER_ID, LAST_UPDUSR_PNTTM, LAST_UPDUSR_ID) VALUES ('승인허가','승인허가','Y','AP02','COM007',NOW(),'SYSTEM',NULL,NULL);
|
|
| 112 |
-INSERT INTO comtccmmndetailcode (CODE_NM, CODE_DC, USE_AT, CODE, CODE_ID, FRST_REGISTER_PNTTM, FRST_REGISTER_ID, LAST_UPDUSR_PNTTM, LAST_UPDUSR_ID) VALUES ('승인반려','승인반려','Y','AP03','COM007',NOW(),'SYSTEM',NULL,NULL);
|
|
| 113 |
-INSERT INTO comtccmmndetailcode (CODE_NM, CODE_DC, USE_AT, CODE, CODE_ID, FRST_REGISTER_PNTTM, FRST_REGISTER_ID, LAST_UPDUSR_PNTTM, LAST_UPDUSR_ID) VALUES ('회원가입','회원가입','Y','WC01','COM032',NOW(),'SYSTEM',NULL,NULL);
|
|
| 114 |
-INSERT INTO comtccmmndetailcode (CODE_NM, CODE_DC, USE_AT, CODE, CODE_ID, FRST_REGISTER_PNTTM, FRST_REGISTER_ID, LAST_UPDUSR_PNTTM, LAST_UPDUSR_ID) VALUES ('사용자등록','사용자등록','Y','WC02','COM032',NOW(),'SYSTEM',NULL,NULL);
|
|
| 115 |
-INSERT INTO comtccmmndetailcode (CODE_NM, CODE_DC, USE_AT, CODE, CODE_ID, FRST_REGISTER_PNTTM, FRST_REGISTER_ID, LAST_UPDUSR_PNTTM, LAST_UPDUSR_ID) VALUES ('회원탈퇴','회원탈퇴','Y','WC03','COM032',NOW(),'SYSTEM',NULL,NULL);
|
|
| 116 |
-INSERT INTO comtccmmndetailcode (CODE_NM, CODE_DC, USE_AT, CODE, CODE_ID, FRST_REGISTER_PNTTM, FRST_REGISTER_ID, LAST_UPDUSR_PNTTM, LAST_UPDUSR_ID) VALUES ('사용자삭제','사용자삭제','Y','WC04','COM032',NOW(),'SYSTEM',NULL,NULL);
|
|
| 117 |
-INSERT INTO comtccmmndetailcode (CODE_NM, CODE_DC, USE_AT, CODE, CODE_ID, FRST_REGISTER_PNTTM, FRST_REGISTER_ID, LAST_UPDUSR_PNTTM, LAST_UPDUSR_ID) VALUES ('게시판','게시판','Y','BBS','COM003',NOW(),'SYSTEM',NULL,NULL);
|
|
| 118 |
-INSERT INTO comtccmmndetailcode (CODE_NM, CODE_DC, USE_AT, CODE, CODE_ID, FRST_REGISTER_PNTTM, FRST_REGISTER_ID, LAST_UPDUSR_PNTTM, LAST_UPDUSR_ID) VALUES ('커뮤니티','커뮤니티','Y','CMY','COM003',NOW(),'SYSTEM',NULL,NULL);
|
|
| 119 |
-INSERT INTO comtccmmndetailcode (CODE_NM, CODE_DC, USE_AT, CODE, CODE_ID, FRST_REGISTER_PNTTM, FRST_REGISTER_ID, LAST_UPDUSR_PNTTM, LAST_UPDUSR_ID) VALUES ('회원가입','회원가입','Y','1','COM105',NOW(),'SYSTEM',NULL,NULL);
|
|
| 120 |
-INSERT INTO comtccmmndetailcode (CODE_NM, CODE_DC, USE_AT, CODE, CODE_ID, FRST_REGISTER_PNTTM, FRST_REGISTER_ID, LAST_UPDUSR_PNTTM, LAST_UPDUSR_ID) VALUES ('기타','기타','Y','99','COM105',NOW(),'SYSTEM',NULL,NULL);
|
|
| 121 |
-INSERT INTO comtccmmndetailcode (CODE_NM, CODE_DC, USE_AT, CODE, CODE_ID, FRST_REGISTER_PNTTM, FRST_REGISTER_ID, LAST_UPDUSR_PNTTM, LAST_UPDUSR_ID) VALUES ('접수대기','접수대기','Y','QA01','COM108',NOW(),'SYSTEM',NULL,NULL);
|
|
| 122 |
-INSERT INTO comtccmmndetailcode (CODE_NM, CODE_DC, USE_AT, CODE, CODE_ID, FRST_REGISTER_PNTTM, FRST_REGISTER_ID, LAST_UPDUSR_PNTTM, LAST_UPDUSR_ID) VALUES ('처리중','처리중','Y','QA02','COM108',NOW(),'SYSTEM',NULL,NULL);
|
|
| 123 |
-INSERT INTO comtccmmndetailcode (CODE_NM, CODE_DC, USE_AT, CODE, CODE_ID, FRST_REGISTER_PNTTM, FRST_REGISTER_ID, LAST_UPDUSR_PNTTM, LAST_UPDUSR_ID) VALUES ('처리완료','처리완료','Y','QA03','COM108',NOW(),'SYSTEM',NULL,NULL);
|
|
| 124 |
-INSERT INTO comtccmmndetailcode (CODE_NM, CODE_DC, USE_AT, CODE, CODE_ID, FRST_REGISTER_PNTTM, FRST_REGISTER_ID, LAST_UPDUSR_PNTTM, LAST_UPDUSR_ID) VALUES ('회원정보','회원정보','Y','1','COM104',NOW(),'SYSTEM',NULL,NULL);
|
|
| 125 |
-INSERT INTO comtccmmndetailcode (CODE_NM, CODE_DC, USE_AT, CODE, CODE_ID, FRST_REGISTER_PNTTM, FRST_REGISTER_ID, LAST_UPDUSR_PNTTM, LAST_UPDUSR_ID) VALUES ('기타','기타','Y','99','COM104',NOW(),'SYSTEM',NULL,NULL);
|
|
| 126 |
-INSERT INTO comtccmmndetailcode (CODE_NM, CODE_DC, USE_AT, CODE, CODE_ID, FRST_REGISTER_PNTTM, FRST_REGISTER_ID, LAST_UPDUSR_PNTTM, LAST_UPDUSR_ID) VALUES ('하단배너','하단배너','Y','BAN004','COM107',NOW(),'SYSTEM',NULL,NULL);
|
|
| 127 |
-INSERT INTO comtccmmndetailcode (CODE_NM, CODE_DC, USE_AT, CODE, CODE_ID, FRST_REGISTER_PNTTM, FRST_REGISTER_ID, LAST_UPDUSR_PNTTM, LAST_UPDUSR_ID) VALUES ('관련사이트','관련사이트','Y','1','COM023',NOW(),'SYSTEM',NULL,NULL);
|
|
| 128 |
-INSERT INTO comtccmmndetailcode (CODE_NM, CODE_DC, USE_AT, CODE, CODE_ID, FRST_REGISTER_PNTTM, FRST_REGISTER_ID, LAST_UPDUSR_PNTTM, LAST_UPDUSR_ID) VALUES ('부속기관','부속기관','Y','2','COM023',NOW(),'SYSTEM',NULL,NULL);
|
|
| 129 |
-INSERT INTO comtccmmndetailcode (CODE_NM, CODE_DC, USE_AT, CODE, CODE_ID, FRST_REGISTER_PNTTM, FRST_REGISTER_ID, LAST_UPDUSR_PNTTM, LAST_UPDUSR_ID) VALUES ('기타','기타','Y','CMY05','COM201',NOW(),'SYSTEM',NULL,NULL);
|
|
| 130 |
-INSERT INTO comtccmmndetailcode (CODE_NM, CODE_DC, USE_AT, CODE, CODE_ID, FRST_REGISTER_PNTTM, FRST_REGISTER_ID, LAST_UPDUSR_PNTTM, LAST_UPDUSR_ID) VALUES ('게시판','게시판','Y','SMCTS01','COM915',NOW(),'SYSTEM',NULL,NULL);
|
|
| 131 |
-INSERT INTO comtccmmndetailcode (CODE_NM, CODE_DC, USE_AT, CODE, CODE_ID, FRST_REGISTER_PNTTM, FRST_REGISTER_ID, LAST_UPDUSR_PNTTM, LAST_UPDUSR_ID) VALUES ('공통','공통','Y','BSSE_01','COM918',NOW(),'SYSTEM',NULL,NULL);
|
|
| 132 |
-INSERT INTO comtccmmndetailcode (CODE_NM, CODE_DC, USE_AT, CODE, CODE_ID, FRST_REGISTER_PNTTM, FRST_REGISTER_ID, LAST_UPDUSR_PNTTM, LAST_UPDUSR_ID) VALUES ('공통','공통','Y','BTSE_01','COM919',NOW(),'SYSTEM',NULL,NULL);
|
|
| 133 |
-INSERT INTO comtccmmndetailcode (CODE_NM, CODE_DC, USE_AT, CODE, CODE_ID, FRST_REGISTER_PNTTM, FRST_REGISTER_ID, LAST_UPDUSR_PNTTM, LAST_UPDUSR_ID) VALUES ('홈페이지','홈페이지','Y','sit','COM916',NOW(),'SYSTEM',NULL,NULL);
|
|
| 134 |
-INSERT INTO comtccmmndetailcode (CODE_NM, CODE_DC, USE_AT, CODE, CODE_ID, FRST_REGISTER_PNTTM, FRST_REGISTER_ID, LAST_UPDUSR_PNTTM, LAST_UPDUSR_ID) VALUES ('커뮤니티','커뮤니티','Y','cmy','COM916',NOW(),'SYSTEM',NULL,NULL);
|
|
| 135 |
-INSERT INTO comtccmmndetailcode (CODE_NM, CODE_DC, USE_AT, CODE, CODE_ID, FRST_REGISTER_PNTTM, FRST_REGISTER_ID, LAST_UPDUSR_PNTTM, LAST_UPDUSR_ID) VALUES ('기관','기관','Y','1','COM917',NOW(),'SYSTEM',NULL,NULL);
|
|
| 136 |
-INSERT INTO comtccmmndetailcode (CODE_NM, CODE_DC, USE_AT, CODE, CODE_ID, FRST_REGISTER_PNTTM, FRST_REGISTER_ID, LAST_UPDUSR_PNTTM, LAST_UPDUSR_ID) VALUES ('기관','기관','Y','1','COM920',NOW(),'SYSTEM',NULL,NULL);
|
|
| 137 |
-INSERT INTO comtccmmndetailcode (CODE_NM, CODE_DC, USE_AT, CODE, CODE_ID, FRST_REGISTER_PNTTM, FRST_REGISTER_ID, LAST_UPDUSR_PNTTM, LAST_UPDUSR_ID) VALUES ('민원상담게시판','민원상담게시판','Y','BBSA11','COM912',NOW(),'admin',NULL,NULL);
|
|
| 138 |
-INSERT INTO comtccmmndetailcode (CODE_NM, CODE_DC, USE_AT, CODE, CODE_ID, FRST_REGISTER_PNTTM, FRST_REGISTER_ID, LAST_UPDUSR_PNTTM, LAST_UPDUSR_ID) VALUES ('HTML','HTML','Y','HTML','COM914',NOW(),'SYSTEM',NULL,NULL);
|
|
| 139 |
-INSERT INTO comtccmmndetailcode (CODE_NM, CODE_DC, USE_AT, CODE, CODE_ID, FRST_REGISTER_PNTTM, FRST_REGISTER_ID, LAST_UPDUSR_PNTTM, LAST_UPDUSR_ID) VALUES ('JSP','JSP','Y','JSP','COM914',NOW(),'SYSTEM',NULL,NULL);
|
|
| 140 |
-INSERT INTO comtccmmndetailcode (CODE_ID, CODE, CODE_NM, CODE_DC, USE_AT, FRST_REGISTER_PNTTM, FRST_REGISTER_ID, LAST_UPDUSR_PNTTM, LAST_UPDUSR_ID) VALUES ('COM017', '01', '법정휴일', '법정휴일', 'Y', NOW(), 'SYSTEM', NOW(), 'SYSTEM');
|
|
| 141 |
-INSERT INTO comtccmmndetailcode (CODE_ID, CODE, CODE_NM, CODE_DC, USE_AT, FRST_REGISTER_PNTTM, FRST_REGISTER_ID, LAST_UPDUSR_PNTTM, LAST_UPDUSR_ID) VALUES ('COM017', '02', '법정공휴일', '법정공휴일', 'Y', NOW(), 'SYSTEM', NOW(), 'SYSTEM');
|
|
| 142 |
-INSERT INTO comtccmmndetailcode (CODE_ID, CODE, CODE_NM, CODE_DC, USE_AT, FRST_REGISTER_PNTTM, FRST_REGISTER_ID, LAST_UPDUSR_PNTTM, LAST_UPDUSR_ID) VALUES ('COM017', '03', '임시공휴일', '임시공휴일', 'Y', NOW(), 'SYSTEM', NOW(), 'SYSTEM');
|
|
| 143 |
- |
|
| 144 |
-INSERT INTO comtnauthorinfo (AUTHOR_CODE, AUTHOR_NM, AUTHOR_DC, AUTHOR_CREAT_DE) VALUES ('01','모든사용자','',NOW());
|
|
| 145 |
-INSERT INTO comtnauthorinfo (AUTHOR_CODE, AUTHOR_NM, AUTHOR_DC, AUTHOR_CREAT_DE) VALUES ('02','시민','',NOW());
|
|
| 146 |
-INSERT INTO comtnauthorinfo (AUTHOR_CODE, AUTHOR_NM, AUTHOR_DC, AUTHOR_CREAT_DE) VALUES ('04','학부모','',NOW());
|
|
| 147 |
-INSERT INTO comtnauthorinfo (AUTHOR_CODE, AUTHOR_NM, AUTHOR_DC, AUTHOR_CREAT_DE) VALUES ('06','학생','',NOW());
|
|
| 148 |
-INSERT INTO comtnauthorinfo (AUTHOR_CODE, AUTHOR_NM, AUTHOR_DC, AUTHOR_CREAT_DE) VALUES ('08','교사','',NOW());
|
|
| 149 |
-INSERT INTO comtnauthorinfo (AUTHOR_CODE, AUTHOR_NM, AUTHOR_DC, AUTHOR_CREAT_DE) VALUES ('10','업무관리자','',NOW());
|
|
| 150 |
-INSERT INTO comtnauthorinfo (AUTHOR_CODE, AUTHOR_NM, AUTHOR_DC, AUTHOR_CREAT_DE) VALUES ('99','통합관리자','',NOW());
|
|
| 151 |
- |
|
| 152 |
- |
|
| 153 |
-INSERT INTO comtnroles_hierarchy (PARENT_ROLE, CHILD_ROLE) VALUES ('01','02');
|
|
| 154 |
-INSERT INTO comtnroles_hierarchy (PARENT_ROLE, CHILD_ROLE) VALUES ('02','04');
|
|
| 155 |
-INSERT INTO comtnroles_hierarchy (PARENT_ROLE, CHILD_ROLE) VALUES ('04','06');
|
|
| 156 |
-INSERT INTO comtnroles_hierarchy (PARENT_ROLE, CHILD_ROLE) VALUES ('06','08');
|
|
| 157 |
-INSERT INTO comtnroles_hierarchy (PARENT_ROLE, CHILD_ROLE) VALUES ('08','10');
|
|
| 158 |
-INSERT INTO comtnroles_hierarchy (PARENT_ROLE, CHILD_ROLE) VALUES ('10','99');
|
|
| 159 |
- |
|
| 160 |
-INSERT INTO comtnroleinfo (ROLE_CODE, ROLE_DC, ROLE_CREAT_DE, ROLE_NM, ROLE_PTN, ROLE_TYP, ROLE_SORT) VALUES ('web-000001','관리자접근권한',NOW(),'보안등급이상','\A/mng/.*\Z','url','2');
|
|
| 161 |
- |
|
| 162 |
-INSERT INTO comtnauthorrolerelate (CREAT_DT, AUTHOR_CODE, ROLE_CODE) VALUES ( NOW(), '10', 'web-000001' ); |
|
| 163 |
- |
|
| 164 |
-INSERT INTO comtnmber (USER_ID, USER_SE_CODE, PASSWORD, USER_NM, EMAIL_ADRES, TLPHON_NO, MOBLPHON_NO, ZIP, ADRES, ADRES_DETAIL, BRTHDY, SLRCLD_LRR_CODE, SEXDSTN, EMAIL_RECPTN_AT, MOBLPHON_RECPTN_AT, PHOTO_ORIGINAL_FILE_NM, PHOTO_STRE_FILE_NM, DELETE_AT, DELETE_PNTTM, DELETE_RESN, CONFM_AT, CONFM_PNTTM, CREDT_ID, CRTFCT_DN, CRTFCT_SERIAL, SITE_ID, FRST_REGIST_IP, FRST_REGIST_PNTTM, LAST_UPDUSR_ID, LAST_UPDUSR_PNTTM) |
|
| 165 |
- VALUES ('admin','99','6b86b273ff34fce19d6b804eff5a3f5747ada4eaa22f1d49c01e52ddb7875b4b','관리자','sj1004class@hanmail.net','02-0000-0000','010-0000-0000','111222','333','4444','','','','','','','','N',NOW(),'1','Y',NOW(),'20121123111910','','','SITE_000000000000001','',NOW(),null,null);
|
|
| 166 |
- |
|
| 167 |
-INSERT INTO comtnsiteinfo ( |
|
| 168 |
- SITE_ID, SITE_NM, SITE_URL, |
|
| 169 |
- FRST_REGISTER_PNTTM, FRST_REGISTER_ID, LAST_UPDUSR_PNTTM, |
|
| 170 |
- LAST_UPDUSR_ID, USE_AT, ACTVTY_AT, |
|
| 171 |
- UPEND_LOGO_FILE_NM, LPT_LOGO_FILE_NM, LYT_TMPLAT_ID, |
|
| 172 |
- ADRES_FILE_NM, ADRES_REPLC_TEXT, INDVDLINFO_POLICY, |
|
| 173 |
- USE_STPLAT, EMAIL_COLCT_POLICY, MOBILE_USE_AT, |
|
| 174 |
- CMY_TMPLAT_ID, CPYRHT_STTEMNT_SVC, INSTT_CODE, |
|
| 175 |
- BRWSR_SJ, TLPHON_NO, FAX_NO, |
|
| 176 |
- ADRES, MOUSE_SCRTY_APPLC_AT, KYBRD_SCRTY_APPLC_AT, |
|
| 177 |
- DPLCT_LOGIN_PERM_AT, PASSWORD_MUMM_LT, PASSWORD_MXMM_LT, |
|
| 178 |
- PASSWORD_NUMBER_POLICY_AT, PASSWORD_CHRCTR_POLICY_AT, PASSWORD_SPCLCHRCTR_POLICY_AT, |
|
| 179 |
- PASSWORD_CHANGE_CYCLE, LYT_SOURC_ID, CMY_SOURC_ID, |
|
| 180 |
- REPRSNT_IMAGE_FILE_NM, SLOGAN_FILE_NM, SLOGAN_REPLC_TEXT, |
|
| 181 |
- LA, LO) |
|
| 182 |
-VALUES ('SITE_000000000000001','메인사이트','dev.sj.com',NOW(),'admin',NULL,NULL,'Y','Y','','','LYTTMP_0000000000001','','주소',
|
|
| 183 |
-'<p>학교명 : $SITE_NM$ <br />전화번호 : $PHONE_NO$ <br />팩스번호 : $FAX_NO$ <br />개인정보처리방침</p>', |
|
| 184 |
-'<p>학교명 : $SITE_NM$ <br />전화번호 : $PHONE_NO$ <br />팩스번호 : $FAX_NO$ <br />$SITE_NM$ 가입약관</p>', |
|
| 185 |
-'<p>학교명 : $SITE_NM$ <br />전화번호 : $PHONE_NO$ <br />팩스번호 : $FAX_NO$ <br />$SITE_NM$ 이메일수집거부</p>', |
|
| 186 |
-'Y','','<p>학교명 : $SITE_NM$ <br />전화번호 : $PHONE_NO$ <br />팩스번호 : $FAX_NO$ <br />$SITE_NM$ 저작권신고서비스</p>','1','개발','000-0000-0000','000-0000-0000','주소','N','N','Y','4','20','Y','Y','Y','6','LYTSRC_0000000000001','','SITE_201210250244444490.jpg','','슬로건대체텍스트','',''); |
|
| 187 |
- |
|
| 188 |
-/* 기본 메뉴 생성 */ |
|
| 189 |
-INSERT INTO comtnsitemnu (MENU_NM, MENU_ID, UPPER_MENU_ID, HTML_CN, EXPSR_USE_AT, USE_AT, HTML_USE_AT, CNTNTS_TY_CODE, URL, COMPOSITION_TY_CODE, PROGRM_ID, NWD_AT, STYLE_CN, SCRIPT_CN, FRST_REGISTER_PNTTM, |
|
| 190 |
-FRST_REGISTER_ID, LAST_UPDUSR_PNTTM, LAST_UPDUSR_ID, SORT_ORDR, MOBILE_USE_AT, IMAGE_FILE_NM, SITE_ID, SYS_TY_CODE, STDNT_USE_AT, STDNPRNT_USE_AT, PROFSR_USE_AT, GENERAL_USE_AT, MOBILE_STYLE_CN, MOBILE_SCRIPT_CN, |
|
| 191 |
-MOBILE_HTML_CN, HTMLSOURC_TY_CODE, MOBILE_HTMLSOURC_TY_CODE, ATCH_FILE_ID, MOBILE_ATCH_FILE_ID, PROGRM_FACTR, MENU_LEVEL) |
|
| 192 |
-VALUES ('홈페이지','MNU_0000000000000001',NULL,'','Y','Y','Y','CTS01','','CNTNTS','','N','','',NOW(),'',NOW(),'admin','0','N','','SITE_000000000000001','SYS01','N','N','N','N','JSP','HTML','','','','','','',0);
|
|
| 193 |
- |
|
| 194 |
-/* 휴일 지정이 필요할때 테이블 생성하고 넣어라*/ |
|
| 195 |
-/* |
|
| 196 |
-INSERT INTO COMTNRESTDE ( RESTDE_NO, RESTDE_DE, RESTDE_NM, RESTDE_DC, RESTDE_SE_CODE, FRST_REGISTER_PNTTM, FRST_REGISTER_ID) VALUES ( 1, '20130101', '신정', '설(신정)', '02', NOW(), 'SYSTEM' ); |
|
| 197 |
-INSERT INTO COMTNRESTDE ( RESTDE_NO, RESTDE_DE, RESTDE_NM, RESTDE_DC, RESTDE_SE_CODE, FRST_REGISTER_PNTTM, FRST_REGISTER_ID) VALUES ( 2, '20130209', '설날', '설연휴', '02', NOW(), 'SYSTEM' ); |
|
| 198 |
-INSERT INTO COMTNRESTDE ( RESTDE_NO, RESTDE_DE, RESTDE_NM, RESTDE_DC, RESTDE_SE_CODE, FRST_REGISTER_PNTTM, FRST_REGISTER_ID) VALUES ( 3, '20130210', '설날', '설연휴', '02', NOW(), 'SYSTEM' ); |
|
| 199 |
-INSERT INTO COMTNRESTDE ( RESTDE_NO, RESTDE_DE, RESTDE_NM, RESTDE_DC, RESTDE_SE_CODE, FRST_REGISTER_PNTTM, FRST_REGISTER_ID) VALUES ( 4, '20130211', '설날', '설연휴', '02', NOW(), 'SYSTEM' ); |
|
| 200 |
-INSERT INTO COMTNRESTDE ( RESTDE_NO, RESTDE_DE, RESTDE_NM, RESTDE_DC, RESTDE_SE_CODE, FRST_REGISTER_PNTTM, FRST_REGISTER_ID) VALUES ( 5, '20130301', '삼일절', '삼일절', '02', NOW(), 'SYSTEM' ); |
|
| 201 |
-INSERT INTO COMTNRESTDE ( RESTDE_NO, RESTDE_DE, RESTDE_NM, RESTDE_DC, RESTDE_SE_CODE, FRST_REGISTER_PNTTM, FRST_REGISTER_ID) VALUES ( 6, '20130505', '어린이날', '어린이날', '02', NOW(), 'SYSTEM' ); |
|
| 202 |
-INSERT INTO COMTNRESTDE ( RESTDE_NO, RESTDE_DE, RESTDE_NM, RESTDE_DC, RESTDE_SE_CODE, FRST_REGISTER_PNTTM, FRST_REGISTER_ID) VALUES ( 7, '20130517', '석가탄신일', '석가탄신일', '02', NOW(), 'SYSTEM' ); |
|
| 203 |
-INSERT INTO COMTNRESTDE ( RESTDE_NO, RESTDE_DE, RESTDE_NM, RESTDE_DC, RESTDE_SE_CODE, FRST_REGISTER_PNTTM, FRST_REGISTER_ID) VALUES ( 8, '20130606', '현충일', '현충일', '02', NOW(), 'SYSTEM' ); |
|
| 204 |
-INSERT INTO COMTNRESTDE ( RESTDE_NO, RESTDE_DE, RESTDE_NM, RESTDE_DC, RESTDE_SE_CODE, FRST_REGISTER_PNTTM, FRST_REGISTER_ID) VALUES ( 9, '20130815', '광복절', '광복절', '02', NOW(), 'SYSTEM' ); |
|
| 205 |
-INSERT INTO COMTNRESTDE ( RESTDE_NO, RESTDE_DE, RESTDE_NM, RESTDE_DC, RESTDE_SE_CODE, FRST_REGISTER_PNTTM, FRST_REGISTER_ID) VALUES ( 10, '20130918', '추석', '추석연휴', '02', NOW(), 'SYSTEM' ); |
|
| 206 |
-INSERT INTO COMTNRESTDE ( RESTDE_NO, RESTDE_DE, RESTDE_NM, RESTDE_DC, RESTDE_SE_CODE, FRST_REGISTER_PNTTM, FRST_REGISTER_ID) VALUES ( 11, '20130919', '추석', '추석연휴', '02', NOW(), 'SYSTEM' ); |
|
| 207 |
-INSERT INTO COMTNRESTDE ( RESTDE_NO, RESTDE_DE, RESTDE_NM, RESTDE_DC, RESTDE_SE_CODE, FRST_REGISTER_PNTTM, FRST_REGISTER_ID) VALUES ( 12, '20130920', '추석', '추석연휴', '02', NOW(), 'SYSTEM' ); |
|
| 208 |
-INSERT INTO COMTNRESTDE ( RESTDE_NO, RESTDE_DE, RESTDE_NM, RESTDE_DC, RESTDE_SE_CODE, FRST_REGISTER_PNTTM, FRST_REGISTER_ID) VALUES ( 13, '20131003', '개천절', '개천절', '02', NOW(), 'SYSTEM' ); |
|
| 209 |
-INSERT INTO COMTNRESTDE ( RESTDE_NO, RESTDE_DE, RESTDE_NM, RESTDE_DC, RESTDE_SE_CODE, FRST_REGISTER_PNTTM, FRST_REGISTER_ID) VALUES ( 14, '20131225', '성탄절', '성탄절', '02', NOW(), 'SYSTEM' ); |
|
| 1 |
+/* 주의사항 : COMTNROLEINFO쪽 ROLE_PTN 제대로 들어갔는지 확인 198번째 줄 */ |
|
| 2 |
+ |
|
| 3 |
+INSERT INTO comtecopseq (TABLE_NAME, NEXT_ID) VALUES ('DUS_ID','1');
|
|
| 4 |
+INSERT INTO comtecopseq (TABLE_NAME, NEXT_ID) VALUES ('WEBLOG_ID','1');
|
|
| 5 |
+INSERT INTO comtecopseq (TABLE_NAME, NEXT_ID) VALUES ('BANNER_ID','1');
|
|
| 6 |
+INSERT INTO comtecopseq (TABLE_NAME, NEXT_ID) VALUES ('POPUP_ID','1');
|
|
| 7 |
+INSERT INTO comtecopseq (TABLE_NAME, NEXT_ID) VALUES ('LINK_SITE_ID','1');
|
|
| 8 |
+INSERT INTO comtecopseq (TABLE_NAME, NEXT_ID) VALUES ('EVENTINFO_ID','1');
|
|
| 9 |
+INSERT INTO comtecopseq (TABLE_NAME, NEXT_ID) VALUES ('SITE_ID','2');
|
|
| 10 |
+INSERT INTO comtecopseq (TABLE_NAME, NEXT_ID) VALUES ('MENU_ID','2');
|
|
| 11 |
+INSERT INTO comtecopseq (TABLE_NAME, NEXT_ID) VALUES ('BBS_CTGRYMASTER_ID','1');
|
|
| 12 |
+INSERT INTO comtecopseq (TABLE_NAME, NEXT_ID) VALUES ('BBS_CTGRY_ID','1');
|
|
| 13 |
+INSERT INTO comtecopseq (TABLE_NAME, NEXT_ID) VALUES ('BBS_NTT_NO','1');
|
|
| 14 |
+INSERT INTO comtecopseq (TABLE_NAME, NEXT_ID) VALUES ('BBS_CMT_NO','1');
|
|
| 15 |
+INSERT INTO comtecopseq (TABLE_NAME, NEXT_ID) VALUES ('BBS_ID','1');
|
|
| 16 |
+INSERT INTO comtecopseq (TABLE_NAME, NEXT_ID) VALUES ('CMMNTY_ID','1');
|
|
| 17 |
+INSERT INTO comtecopseq (TABLE_NAME, NEXT_ID) VALUES ('FILE_ID','1');
|
|
| 18 |
+INSERT INTO comtecopseq (TABLE_NAME, NEXT_ID) VALUES ('EVENTITEM_ID','1');
|
|
| 19 |
+INSERT INTO comtecopseq (TABLE_NAME, NEXT_ID) VALUES ('EVENTITEMEX_ID','1');
|
|
| 20 |
+INSERT INTO comtecopseq (TABLE_NAME, NEXT_ID) VALUES ('EVENTCNSR_ID','1');
|
|
| 21 |
+INSERT INTO comtecopseq (TABLE_NAME, NEXT_ID) VALUES ('EVENTANWPER_ID','1');
|
|
| 22 |
+INSERT INTO comtecopseq (TABLE_NAME, NEXT_ID) VALUES ('EVENTFORM_ID','1');
|
|
| 23 |
+INSERT INTO comtecopseq (TABLE_NAME, NEXT_ID) VALUES ('EVENTFANWPER_ID','1');
|
|
| 24 |
+INSERT INTO comtecopseq (TABLE_NAME, NEXT_ID) VALUES ('LYT_TMPLAT_ID','1');
|
|
| 25 |
+INSERT INTO comtecopseq (TABLE_NAME, NEXT_ID) VALUES ('LYT_TMPLAT_HIS_ID','1');
|
|
| 26 |
+INSERT INTO comtecopseq (TABLE_NAME, NEXT_ID) VALUES ('BBS_TMPLAT_ID','1');
|
|
| 27 |
+INSERT INTO comtecopseq (TABLE_NAME, NEXT_ID) VALUES ('BBS_TMPLAT_HIS_ID','1');
|
|
| 28 |
+INSERT INTO comtecopseq (TABLE_NAME, NEXT_ID) VALUES ('LOGINLOG_ID','1');
|
|
| 29 |
+INSERT INTO comtecopseq (TABLE_NAME, NEXT_ID) VALUES ('LYT_SOURC_ID','1');
|
|
| 30 |
+INSERT INTO comtecopseq (TABLE_NAME, NEXT_ID) VALUES ('LYT_SOURC_HIS_ID','1');
|
|
| 31 |
+INSERT INTO comtecopseq (TABLE_NAME, NEXT_ID) VALUES ('MNU_HIS_ID','1');
|
|
| 32 |
+INSERT INTO comtecopseq (TABLE_NAME, NEXT_ID) VALUES ('BBS_SOURC_ID','1');
|
|
| 33 |
+INSERT INTO comtecopseq (TABLE_NAME, NEXT_ID) VALUES ('BBS_SOURC_HIS_ID','1');
|
|
| 34 |
+INSERT INTO comtecopseq (TABLE_NAME, NEXT_ID) VALUES ('VISITSCHUL_ID','1');
|
|
| 35 |
+INSERT INTO comtecopseq (TABLE_NAME, NEXT_ID) VALUES ('TMP_ID','1');
|
|
| 36 |
+ |
|
| 37 |
+INSERT INTO comtccmmnclcode (CL_CODE, CL_CODE_NM, CL_CODE_DC, USE_AT, FRST_REGISTER_PNTTM, FRST_REGISTER_ID, LAST_UPDUSR_PNTTM, LAST_UPDUSR_ID) VALUES ('EFC','전자정부 프레임워크 공통서비스','전자정부 프레임워크 공통서비스','Y',NOW(),'SYSTEM',null,null);
|
|
| 38 |
+ |
|
| 39 |
+INSERT INTO comtccmmncode (CL_CODE, CODE_ID, CODE_ID_NM, CODE_ID_DC, USE_AT, FRST_REGISTER_PNTTM, FRST_REGISTER_ID, LAST_UPDUSR_PNTTM, LAST_UPDUSR_ID) VALUES ('EFC','COM109','배너주제분류코드','배너주제분류코드','N',NOW(),'SYSTEM',NULL,NULL);
|
|
| 40 |
+INSERT INTO comtccmmncode (CL_CODE, CODE_ID, CODE_ID_NM, CODE_ID_DC, USE_AT, FRST_REGISTER_PNTTM, FRST_REGISTER_ID, LAST_UPDUSR_PNTTM, LAST_UPDUSR_ID) VALUES ('EFC','999','컨텐츠분류코드','컨텐츠분류코드','N',NOW(),'admin',NULL,NULL);
|
|
| 41 |
+INSERT INTO comtccmmncode (CL_CODE, CODE_ID, CODE_ID_NM, CODE_ID_DC, USE_AT, FRST_REGISTER_PNTTM, FRST_REGISTER_ID, LAST_UPDUSR_PNTTM, LAST_UPDUSR_ID) VALUES ('EFC','COM001','등록구분','게시판, 커뮤니티, 동호회 등록구분코드','Y',NOW(),'SYSTEM',NULL,NULL);
|
|
| 42 |
+INSERT INTO comtccmmncode (CL_CODE, CODE_ID, CODE_ID_NM, CODE_ID_DC, USE_AT, FRST_REGISTER_PNTTM, FRST_REGISTER_ID, LAST_UPDUSR_PNTTM, LAST_UPDUSR_ID) VALUES ('EFC','COM020','일정구분','일정구분 부서일지정보/일지정보 상태구분','Y',NOW(),'SYSTEM',NULL,NULL);
|
|
| 43 |
+INSERT INTO comtccmmncode (CL_CODE, CODE_ID, CODE_ID_NM, CODE_ID_DC, USE_AT, FRST_REGISTER_PNTTM, FRST_REGISTER_ID, LAST_UPDUSR_PNTTM, LAST_UPDUSR_ID) VALUES ('EFC','COM035','행사유형','행사/이벤트/캠페인 구분','Y',NOW(),'SYSTEM',NULL,NULL);
|
|
| 44 |
+INSERT INTO comtccmmncode (CL_CODE, CODE_ID, CODE_ID_NM, CODE_ID_DC, USE_AT, FRST_REGISTER_PNTTM, FRST_REGISTER_ID, LAST_UPDUSR_PNTTM, LAST_UPDUSR_ID) VALUES ('EFC','COM910','메뉴컨텐츠구분','메뉴컨텐츠구분','Y',NOW(),'SYSTEM',NULL,NULL);
|
|
| 45 |
+INSERT INTO comtccmmncode (CL_CODE, CODE_ID, CODE_ID_NM, CODE_ID_DC, USE_AT, FRST_REGISTER_PNTTM, FRST_REGISTER_ID, LAST_UPDUSR_PNTTM, LAST_UPDUSR_ID) VALUES ('EFC','COM912','게시판속성코드','게시판속성코드','Y',NOW(),'SYSTEM',NULL,NULL);
|
|
| 46 |
+INSERT INTO comtccmmncode (CL_CODE, CODE_ID, CODE_ID_NM, CODE_ID_DC, USE_AT, FRST_REGISTER_PNTTM, FRST_REGISTER_ID, LAST_UPDUSR_PNTTM, LAST_UPDUSR_ID) VALUES ('EFC','COM201','커뮤니티구분코드','커뮤니티구분코드','Y',NOW(),'SYSTEM',NULL,NULL);
|
|
| 47 |
+INSERT INTO comtccmmncode (CL_CODE, CODE_ID, CODE_ID_NM, CODE_ID_DC, USE_AT, FRST_REGISTER_PNTTM, FRST_REGISTER_ID, LAST_UPDUSR_PNTTM, LAST_UPDUSR_ID) VALUES ('EFC','COM202','승인정책코드','승인정책코드','Y',NOW(),'SYSTEM',NULL,NULL);
|
|
| 48 |
+INSERT INTO comtccmmncode (CL_CODE, CODE_ID, CODE_ID_NM, CODE_ID_DC, USE_AT, FRST_REGISTER_PNTTM, FRST_REGISTER_ID, LAST_UPDUSR_PNTTM, LAST_UPDUSR_ID) VALUES ('EFC','COM203','재가입정책코드','재가입정책코드','Y',NOW(),'SYSTEM',NULL,NULL);
|
|
| 49 |
+INSERT INTO comtccmmncode (CL_CODE, CODE_ID, CODE_ID_NM, CODE_ID_DC, USE_AT, FRST_REGISTER_PNTTM, FRST_REGISTER_ID, LAST_UPDUSR_PNTTM, LAST_UPDUSR_ID) VALUES ('EFC','COM005','템플릿구분코드','템플릿구분코드','Y',NOW(),'SYSTEM',NULL,NULL);
|
|
| 50 |
+INSERT INTO comtccmmncode (CL_CODE, CODE_ID, CODE_ID_NM, CODE_ID_DC, USE_AT, FRST_REGISTER_PNTTM, FRST_REGISTER_ID, LAST_UPDUSR_PNTTM, LAST_UPDUSR_ID) VALUES ('EFC','COM006','승인유형코드','승인유형코드','Y',NOW(),'SYSTEM',NULL,NULL);
|
|
| 51 |
+INSERT INTO comtccmmncode (CL_CODE, CODE_ID, CODE_ID_NM, CODE_ID_DC, USE_AT, FRST_REGISTER_PNTTM, FRST_REGISTER_ID, LAST_UPDUSR_PNTTM, LAST_UPDUSR_ID) VALUES ('EFC','COM007','승인상태','승인상태','Y',NOW(),'SYSTEM',NULL,NULL);
|
|
| 52 |
+INSERT INTO comtccmmncode (CL_CODE, CODE_ID, CODE_ID_NM, CODE_ID_DC, USE_AT, FRST_REGISTER_PNTTM, FRST_REGISTER_ID, LAST_UPDUSR_PNTTM, LAST_UPDUSR_ID) VALUES ('EFC','COM032','작업유형코드','작업유형코드','Y',NOW(),'SYSTEM',NULL,NULL);
|
|
| 53 |
+INSERT INTO comtccmmncode (CL_CODE, CODE_ID, CODE_ID_NM, CODE_ID_DC, USE_AT, FRST_REGISTER_PNTTM, FRST_REGISTER_ID, LAST_UPDUSR_PNTTM, LAST_UPDUSR_ID) VALUES ('EFC','COM003','대상업무유형코드','대상업무유형코드','Y',NOW(),'SYSTEM',NULL,NULL);
|
|
| 54 |
+INSERT INTO comtccmmncode (CL_CODE, CODE_ID, CODE_ID_NM, CODE_ID_DC, USE_AT, FRST_REGISTER_PNTTM, FRST_REGISTER_ID, LAST_UPDUSR_PNTTM, LAST_UPDUSR_ID) VALUES ('EFC','COM105','QNA카테고리코드','QNA카테고리코드','N',NOW(),'SYSTEM',NULL,NULL);
|
|
| 55 |
+INSERT INTO comtccmmncode (CL_CODE, CODE_ID, CODE_ID_NM, CODE_ID_DC, USE_AT, FRST_REGISTER_PNTTM, FRST_REGISTER_ID, LAST_UPDUSR_PNTTM, LAST_UPDUSR_ID) VALUES ('EFC','COM108','처리상태코드','처리상태코드','Y',NOW(),'SYSTEM',NULL,NULL);
|
|
| 56 |
+INSERT INTO comtccmmncode (CL_CODE, CODE_ID, CODE_ID_NM, CODE_ID_DC, USE_AT, FRST_REGISTER_PNTTM, FRST_REGISTER_ID, LAST_UPDUSR_PNTTM, LAST_UPDUSR_ID) VALUES ('EFC','COM104','FAQ카테고리코드','FAQ카테고리코드','N',NOW(),'SYSTEM',NULL,NULL);
|
|
| 57 |
+INSERT INTO comtccmmncode (CL_CODE, CODE_ID, CODE_ID_NM, CODE_ID_DC, USE_AT, FRST_REGISTER_PNTTM, FRST_REGISTER_ID, LAST_UPDUSR_PNTTM, LAST_UPDUSR_ID) VALUES ('EFC','COM107','배너구분코드','배너구분코드','Y',NOW(),'SYSTEM',NULL,NULL);
|
|
| 58 |
+INSERT INTO comtccmmncode (CL_CODE, CODE_ID, CODE_ID_NM, CODE_ID_DC, USE_AT, FRST_REGISTER_PNTTM, FRST_REGISTER_ID, LAST_UPDUSR_PNTTM, LAST_UPDUSR_ID) VALUES ('EFC','COM023','사이트주제분류코드','사이트주제분류코드','Y',NOW(),'SYSTEM',NULL,NULL);
|
|
| 59 |
+INSERT INTO comtccmmncode (CL_CODE, CODE_ID, CODE_ID_NM, CODE_ID_DC, USE_AT, FRST_REGISTER_PNTTM, FRST_REGISTER_ID, LAST_UPDUSR_PNTTM, LAST_UPDUSR_ID) VALUES ('EFC','COM800','사용자구분코드','사용자구분코드','Y',NOW(),'SYSTEM',NULL,NULL);
|
|
| 60 |
+INSERT INTO comtccmmncode (CL_CODE, CODE_ID, CODE_ID_NM, CODE_ID_DC, USE_AT, FRST_REGISTER_PNTTM, FRST_REGISTER_ID, LAST_UPDUSR_PNTTM, LAST_UPDUSR_ID) VALUES ('EFC','COM915','메인컨텐츠','메인컨텐츠','Y',NOW(),'SYSTEM',NULL,NULL);
|
|
| 61 |
+INSERT INTO comtccmmncode (CL_CODE, CODE_ID, CODE_ID_NM, CODE_ID_DC, USE_AT, FRST_REGISTER_PNTTM, FRST_REGISTER_ID, LAST_UPDUSR_PNTTM, LAST_UPDUSR_ID) VALUES ('EFC','COM918','게시판소스구분','게시판소스구분','Y',NOW(),'SYSTEM',NULL,NULL);
|
|
| 62 |
+INSERT INTO comtccmmncode (CL_CODE, CODE_ID, CODE_ID_NM, CODE_ID_DC, USE_AT, FRST_REGISTER_PNTTM, FRST_REGISTER_ID, LAST_UPDUSR_PNTTM, LAST_UPDUSR_ID) VALUES ('EFC','COM919','게시판템플릿구분','게시판템플릿구분','Y',NOW(),'SYSTEM',NULL,NULL);
|
|
| 63 |
+INSERT INTO comtccmmncode (CL_CODE, CODE_ID, CODE_ID_NM, CODE_ID_DC, USE_AT, FRST_REGISTER_PNTTM, FRST_REGISTER_ID, LAST_UPDUSR_PNTTM, LAST_UPDUSR_ID) VALUES ('EFC','COM916','템플릿대분류코드','템플릿대분류코드','Y',NOW(),'SYSTEM',NULL,NULL);
|
|
| 64 |
+INSERT INTO comtccmmncode (CL_CODE, CODE_ID, CODE_ID_NM, CODE_ID_DC, USE_AT, FRST_REGISTER_PNTTM, FRST_REGISTER_ID, LAST_UPDUSR_PNTTM, LAST_UPDUSR_ID) VALUES ('EFC','COM917','템플릿중분류코드','템플릿중분류코드','Y',NOW(),'SYSTEM',NULL,NULL);
|
|
| 65 |
+INSERT INTO comtccmmncode (CL_CODE, CODE_ID, CODE_ID_NM, CODE_ID_DC, USE_AT, FRST_REGISTER_PNTTM, FRST_REGISTER_ID, LAST_UPDUSR_PNTTM, LAST_UPDUSR_ID) VALUES ('EFC','COM920','기관유형코드','기관유형코드','Y',NOW(),'SYSTEM',NULL,NULL);
|
|
| 66 |
+INSERT INTO comtccmmncode (CL_CODE, CODE_ID, CODE_ID_NM, CODE_ID_DC, USE_AT, FRST_REGISTER_PNTTM, FRST_REGISTER_ID, LAST_UPDUSR_PNTTM, LAST_UPDUSR_ID) VALUES ('EFC','COM914','HTML소스 구분코드','HTML소스 구분코드','Y',NOW(),'SYSTEM',NULL,NULL);
|
|
| 67 |
+INSERT INTO comtccmmncode (CL_CODE, CODE_ID, CODE_ID_NM, CODE_ID_DC, USE_AT, FRST_REGISTER_PNTTM, FRST_REGISTER_ID, LAST_UPDUSR_PNTTM, LAST_UPDUSR_ID) VALUES ('EFC', 'COM017', '휴일구분', '휴일의 구분', 'Y', NOW(), 'SYSTEM', NOW(), 'SYSTEM');
|
|
| 68 |
+ |
|
| 69 |
+ |
|
| 70 |
+INSERT INTO comtccmmndetailcode (CODE_NM, CODE_DC, USE_AT, CODE, CODE_ID, FRST_REGISTER_PNTTM, FRST_REGISTER_ID, LAST_UPDUSR_PNTTM, LAST_UPDUSR_ID) VALUES ('직속기관','직속기관','Y','4','COM109',NOW(),'23432',NULL,NULL);
|
|
| 71 |
+INSERT INTO comtccmmndetailcode (CODE_NM, CODE_DC, USE_AT, CODE, CODE_ID, FRST_REGISTER_PNTTM, FRST_REGISTER_ID, LAST_UPDUSR_PNTTM, LAST_UPDUSR_ID) VALUES ('지역교육청','지역교육청','Y','5','COM109',NOW(),'23432',NULL,NULL);
|
|
| 72 |
+INSERT INTO comtccmmndetailcode (CODE_NM, CODE_DC, USE_AT, CODE, CODE_ID, FRST_REGISTER_PNTTM, FRST_REGISTER_ID, LAST_UPDUSR_PNTTM, LAST_UPDUSR_ID) VALUES ('시·도교육청','시·도교육청','Y','6','COM109',NOW(),'23432',NULL,NULL);
|
|
| 73 |
+INSERT INTO comtccmmndetailcode (CODE_NM, CODE_DC, USE_AT, CODE, CODE_ID, FRST_REGISTER_PNTTM, FRST_REGISTER_ID, LAST_UPDUSR_PNTTM, LAST_UPDUSR_ID) VALUES ('타시도연구정보원','타시도연구정보원','Y','7','COM109',NOW(),'23432',NULL,NULL);
|
|
| 74 |
+INSERT INTO comtccmmndetailcode (CODE_NM, CODE_DC, USE_AT, CODE, CODE_ID, FRST_REGISTER_PNTTM, FRST_REGISTER_ID, LAST_UPDUSR_PNTTM, LAST_UPDUSR_ID) VALUES ('커뮤니티','커뮤니티','Y','2','COM104',NOW(),'admin',NULL,NULL);
|
|
| 75 |
+INSERT INTO comtccmmndetailcode (CODE_NM, CODE_DC, USE_AT, CODE, CODE_ID, FRST_REGISTER_PNTTM, FRST_REGISTER_ID, LAST_UPDUSR_PNTTM, LAST_UPDUSR_ID) VALUES ('에듀스마켓','에듀스마켓','Y','3','COM105',NOW(),'admin',NULL,NULL);
|
|
| 76 |
+INSERT INTO comtccmmndetailcode (CODE_NM, CODE_DC, USE_AT, CODE, CODE_ID, FRST_REGISTER_PNTTM, FRST_REGISTER_ID, LAST_UPDUSR_PNTTM, LAST_UPDUSR_ID) VALUES ('마일리지','마일리지','Y','3','COM104',NOW(),'admin',NULL,NULL);
|
|
| 77 |
+INSERT INTO comtccmmndetailcode (CODE_NM, CODE_DC, USE_AT, CODE, CODE_ID, FRST_REGISTER_PNTTM, FRST_REGISTER_ID, LAST_UPDUSR_PNTTM, LAST_UPDUSR_ID) VALUES ('커뮤니티','커뮤니티','Y','4','COM105',NOW(),'admin',NULL,NULL);
|
|
| 78 |
+INSERT INTO comtccmmndetailcode (CODE_NM, CODE_DC, USE_AT, CODE, CODE_ID, FRST_REGISTER_PNTTM, FRST_REGISTER_ID, LAST_UPDUSR_PNTTM, LAST_UPDUSR_ID) VALUES ('교육관련','교육관련','Y','2','COM109',NOW(),'SYSTEM',NULL,NULL);
|
|
| 79 |
+INSERT INTO comtccmmndetailcode (CODE_NM, CODE_DC, USE_AT, CODE, CODE_ID, FRST_REGISTER_PNTTM, FRST_REGISTER_ID, LAST_UPDUSR_PNTTM, LAST_UPDUSR_ID) VALUES ('기타','기타','Y','99','COM109',NOW(),'SYSTEM',NULL,NULL);
|
|
| 80 |
+INSERT INTO comtccmmndetailcode (CODE_NM, CODE_DC, USE_AT, CODE, CODE_ID, FRST_REGISTER_PNTTM, FRST_REGISTER_ID, LAST_UPDUSR_PNTTM, LAST_UPDUSR_ID) VALUES ('사이트 게시판 이용등록','사이트 게시판 이용등록','Y','REGC01','COM001',NOW(),'SYSTEM',NULL,NULL);
|
|
| 81 |
+INSERT INTO comtccmmndetailcode (CODE_NM, CODE_DC, USE_AT, CODE, CODE_ID, FRST_REGISTER_PNTTM, FRST_REGISTER_ID, LAST_UPDUSR_PNTTM, LAST_UPDUSR_ID) VALUES ('커뮤니티 등록','커뮤니티 등록','Y','REGC02','COM001',NOW(),'SYSTEM',NULL,NULL);
|
|
| 82 |
+INSERT INTO comtccmmndetailcode (CODE_NM, CODE_DC, USE_AT, CODE, CODE_ID, FRST_REGISTER_PNTTM, FRST_REGISTER_ID, LAST_UPDUSR_PNTTM, LAST_UPDUSR_ID) VALUES ('커뮤니티 게시판 등록','커뮤니티 게시판 등록','Y','REGC06','COM001',NOW(),'SYSTEM',NULL,NULL);
|
|
| 83 |
+INSERT INTO comtccmmndetailcode (CODE_NM, CODE_DC, USE_AT, CODE, CODE_ID, FRST_REGISTER_PNTTM, FRST_REGISTER_ID, LAST_UPDUSR_PNTTM, LAST_UPDUSR_ID) VALUES ('행사및일반일정','행사및일반일정','Y','1','COM020',NOW(),'SYSTEM',NULL,NULL);
|
|
| 84 |
+INSERT INTO comtccmmndetailcode (CODE_NM, CODE_DC, USE_AT, CODE, CODE_ID, FRST_REGISTER_PNTTM, FRST_REGISTER_ID, LAST_UPDUSR_PNTTM, LAST_UPDUSR_ID) VALUES ('설문조사','설문조사','Y','3','COM020',NOW(),'SYSTEM',NULL,NULL);
|
|
| 85 |
+INSERT INTO comtccmmndetailcode (CODE_NM, CODE_DC, USE_AT, CODE, CODE_ID, FRST_REGISTER_PNTTM, FRST_REGISTER_ID, LAST_UPDUSR_PNTTM, LAST_UPDUSR_ID) VALUES ('객관식','객관식','Y','1','COM035',NOW(),'SYSTEM',NULL,NULL);
|
|
| 86 |
+INSERT INTO comtccmmndetailcode (CODE_NM, CODE_DC, USE_AT, CODE, CODE_ID, FRST_REGISTER_PNTTM, FRST_REGISTER_ID, LAST_UPDUSR_PNTTM, LAST_UPDUSR_ID) VALUES ('주관식','주관식','Y','2','COM035',NOW(),'SYSTEM',NULL,NULL);
|
|
| 87 |
+INSERT INTO comtccmmndetailcode (CODE_NM, CODE_DC, USE_AT, CODE, CODE_ID, FRST_REGISTER_PNTTM, FRST_REGISTER_ID, LAST_UPDUSR_PNTTM, LAST_UPDUSR_ID) VALUES ('없음','없음','Y','CTS01','COM910',NOW(),'SYSTEM',NULL,NULL);
|
|
| 88 |
+INSERT INTO comtccmmndetailcode (CODE_NM, CODE_DC, USE_AT, CODE, CODE_ID, FRST_REGISTER_PNTTM, FRST_REGISTER_ID, LAST_UPDUSR_PNTTM, LAST_UPDUSR_ID) VALUES ('일반게시판','게시판','Y','CTS02','COM910',NOW(),'SYSTEM',NULL,NULL);
|
|
| 89 |
+INSERT INTO comtccmmndetailcode (CODE_NM, CODE_DC, USE_AT, CODE, CODE_ID, FRST_REGISTER_PNTTM, FRST_REGISTER_ID, LAST_UPDUSR_PNTTM, LAST_UPDUSR_ID) VALUES ('프로그램','프로그램','Y','CTS04','COM910',NOW(),'SYSTEM',NULL,NULL);
|
|
| 90 |
+INSERT INTO comtccmmndetailcode (CODE_NM, CODE_DC, USE_AT, CODE, CODE_ID, FRST_REGISTER_PNTTM, FRST_REGISTER_ID, LAST_UPDUSR_PNTTM, LAST_UPDUSR_ID) VALUES ('IFRAME','IFRAME','Y','CTS05','COM910',NOW(),'SYSTEM',NULL,NULL);
|
|
| 91 |
+INSERT INTO comtccmmndetailcode (CODE_NM, CODE_DC, USE_AT, CODE, CODE_ID, FRST_REGISTER_PNTTM, FRST_REGISTER_ID, LAST_UPDUSR_PNTTM, LAST_UPDUSR_ID) VALUES ('포틀릿','포틀릿','Y','CTS06','COM910',NOW(),'SYSTEM',NULL,NULL);
|
|
| 92 |
+INSERT INTO comtccmmndetailcode (CODE_NM, CODE_DC, USE_AT, CODE, CODE_ID, FRST_REGISTER_PNTTM, FRST_REGISTER_ID, LAST_UPDUSR_PNTTM, LAST_UPDUSR_ID) VALUES ('앨범형게시판','앨범형게시판','Y','BBSA02','COM912',NOW(),'SYSTEM',NULL,NULL);
|
|
| 93 |
+INSERT INTO comtccmmndetailcode (CODE_NM, CODE_DC, USE_AT, CODE, CODE_ID, FRST_REGISTER_PNTTM, FRST_REGISTER_ID, LAST_UPDUSR_PNTTM, LAST_UPDUSR_ID) VALUES ('일반형게시판','일반형게시판','Y','BBSA03','COM912',NOW(),'SYSTEM',NULL,NULL);
|
|
| 94 |
+INSERT INTO comtccmmndetailcode (CODE_NM, CODE_DC, USE_AT, CODE, CODE_ID, FRST_REGISTER_PNTTM, FRST_REGISTER_ID, LAST_UPDUSR_PNTTM, LAST_UPDUSR_ID) VALUES ('일반커뮤니티','일반커뮤니티','Y','CMY01','COM201',NOW(),'SYSTEM',NULL,NULL);
|
|
| 95 |
+INSERT INTO comtccmmndetailcode (CODE_NM, CODE_DC, USE_AT, CODE, CODE_ID, FRST_REGISTER_PNTTM, FRST_REGISTER_ID, LAST_UPDUSR_PNTTM, LAST_UPDUSR_ID) VALUES ('학급커뮤니티','학급커뮤니티','Y','CMY02','COM201',NOW(),'SYSTEM',NULL,NULL);
|
|
| 96 |
+INSERT INTO comtccmmndetailcode (CODE_NM, CODE_DC, USE_AT, CODE, CODE_ID, FRST_REGISTER_PNTTM, FRST_REGISTER_ID, LAST_UPDUSR_PNTTM, LAST_UPDUSR_ID) VALUES ('자동승인','자동승인','Y','PY01','COM202',NOW(),'SYSTEM',NULL,NULL);
|
|
| 97 |
+INSERT INTO comtccmmndetailcode (CODE_NM, CODE_DC, USE_AT, CODE, CODE_ID, FRST_REGISTER_PNTTM, FRST_REGISTER_ID, LAST_UPDUSR_PNTTM, LAST_UPDUSR_ID) VALUES ('수동승인','수동승인','Y','PY02','COM202',NOW(),'SYSTEM',NULL,NULL);
|
|
| 98 |
+INSERT INTO comtccmmndetailcode (CODE_NM, CODE_DC, USE_AT, CODE, CODE_ID, FRST_REGISTER_PNTTM, FRST_REGISTER_ID, LAST_UPDUSR_PNTTM, LAST_UPDUSR_ID) VALUES ('재가입허용','재가입허용','Y','SA01','COM203',NOW(),'SYSTEM',NULL,NULL);
|
|
| 99 |
+INSERT INTO comtccmmndetailcode (CODE_NM, CODE_DC, USE_AT, CODE, CODE_ID, FRST_REGISTER_PNTTM, FRST_REGISTER_ID, LAST_UPDUSR_PNTTM, LAST_UPDUSR_ID) VALUES ('재가입불허','재가입불허','Y','SA02','COM203',NOW(),'SYSTEM',NULL,NULL);
|
|
| 100 |
+INSERT INTO comtccmmndetailcode (CODE_NM, CODE_DC, USE_AT, CODE, CODE_ID, FRST_REGISTER_PNTTM, FRST_REGISTER_ID, LAST_UPDUSR_PNTTM, LAST_UPDUSR_ID) VALUES ('홈페이지템플릿','홈페이지템플릿','Y','sit','COM005',NOW(),'SYSTEM',NULL,NULL);
|
|
| 101 |
+INSERT INTO comtccmmndetailcode (CODE_NM, CODE_DC, USE_AT, CODE, CODE_ID, FRST_REGISTER_PNTTM, FRST_REGISTER_ID, LAST_UPDUSR_PNTTM, LAST_UPDUSR_ID) VALUES ('커뮤니티템플릿','커뮤니티템플릿','Y','cmy','COM005',NOW(),'SYSTEM',NULL,NULL);
|
|
| 102 |
+INSERT INTO comtccmmndetailcode (CODE_NM, CODE_DC, USE_AT, CODE, CODE_ID, FRST_REGISTER_PNTTM, FRST_REGISTER_ID, LAST_UPDUSR_PNTTM, LAST_UPDUSR_ID) VALUES ('커뮤니티등록','커뮤니티등록','Y','CF01','COM006',NOW(),'SYSTEM',NULL,NULL);
|
|
| 103 |
+INSERT INTO comtccmmndetailcode (CODE_NM, CODE_DC, USE_AT, CODE, CODE_ID, FRST_REGISTER_PNTTM, FRST_REGISTER_ID, LAST_UPDUSR_PNTTM, LAST_UPDUSR_ID) VALUES ('커뮤니티삭제','커뮤니티삭제','Y','CF02','COM006',NOW(),'SYSTEM',NULL,NULL);
|
|
| 104 |
+INSERT INTO comtccmmndetailcode (CODE_NM, CODE_DC, USE_AT, CODE, CODE_ID, FRST_REGISTER_PNTTM, FRST_REGISTER_ID, LAST_UPDUSR_PNTTM, LAST_UPDUSR_ID) VALUES ('커뮤니티운영자등록','커뮤니티운영자등록','Y','CF05','COM006',NOW(),'SYSTEM',NULL,NULL);
|
|
| 105 |
+INSERT INTO comtccmmndetailcode (CODE_NM, CODE_DC, USE_AT, CODE, CODE_ID, FRST_REGISTER_PNTTM, FRST_REGISTER_ID, LAST_UPDUSR_PNTTM, LAST_UPDUSR_ID) VALUES ('커뮤니티운영자삭제','커뮤니티운영자삭제','Y','CF06','COM006',NOW(),'SYSTEM',NULL,NULL);
|
|
| 106 |
+INSERT INTO comtccmmndetailcode (CODE_NM, CODE_DC, USE_AT, CODE, CODE_ID, FRST_REGISTER_PNTTM, FRST_REGISTER_ID, LAST_UPDUSR_PNTTM, LAST_UPDUSR_ID) VALUES ('게시판이용등록','게시판이용등록','Y','CF09','COM006',NOW(),'SYSTEM',NULL,NULL);
|
|
| 107 |
+INSERT INTO comtccmmndetailcode (CODE_NM, CODE_DC, USE_AT, CODE, CODE_ID, FRST_REGISTER_PNTTM, FRST_REGISTER_ID, LAST_UPDUSR_PNTTM, LAST_UPDUSR_ID) VALUES ('게시판삭제','게시판삭제','Y','CF10','COM006',NOW(),'SYSTEM',NULL,NULL);
|
|
| 108 |
+INSERT INTO comtccmmndetailcode (CODE_NM, CODE_DC, USE_AT, CODE, CODE_ID, FRST_REGISTER_PNTTM, FRST_REGISTER_ID, LAST_UPDUSR_PNTTM, LAST_UPDUSR_ID) VALUES ('커뮤니티사용자등록','커뮤니티사용자등록','Y','CF11','COM006',NOW(),'SYSTEM',NULL,NULL);
|
|
| 109 |
+INSERT INTO comtccmmndetailcode (CODE_NM, CODE_DC, USE_AT, CODE, CODE_ID, FRST_REGISTER_PNTTM, FRST_REGISTER_ID, LAST_UPDUSR_PNTTM, LAST_UPDUSR_ID) VALUES ('커뮤니티사용자탈퇴','커뮤니티사용자탈퇴','Y','CF12','COM006',NOW(),'SYSTEM',NULL,NULL);
|
|
| 110 |
+INSERT INTO comtccmmndetailcode (CODE_NM, CODE_DC, USE_AT, CODE, CODE_ID, FRST_REGISTER_PNTTM, FRST_REGISTER_ID, LAST_UPDUSR_PNTTM, LAST_UPDUSR_ID) VALUES ('승인요청','승인요청','Y','AP01','COM007',NOW(),'SYSTEM',NULL,NULL);
|
|
| 111 |
+INSERT INTO comtccmmndetailcode (CODE_NM, CODE_DC, USE_AT, CODE, CODE_ID, FRST_REGISTER_PNTTM, FRST_REGISTER_ID, LAST_UPDUSR_PNTTM, LAST_UPDUSR_ID) VALUES ('승인허가','승인허가','Y','AP02','COM007',NOW(),'SYSTEM',NULL,NULL);
|
|
| 112 |
+INSERT INTO comtccmmndetailcode (CODE_NM, CODE_DC, USE_AT, CODE, CODE_ID, FRST_REGISTER_PNTTM, FRST_REGISTER_ID, LAST_UPDUSR_PNTTM, LAST_UPDUSR_ID) VALUES ('승인반려','승인반려','Y','AP03','COM007',NOW(),'SYSTEM',NULL,NULL);
|
|
| 113 |
+INSERT INTO comtccmmndetailcode (CODE_NM, CODE_DC, USE_AT, CODE, CODE_ID, FRST_REGISTER_PNTTM, FRST_REGISTER_ID, LAST_UPDUSR_PNTTM, LAST_UPDUSR_ID) VALUES ('회원가입','회원가입','Y','WC01','COM032',NOW(),'SYSTEM',NULL,NULL);
|
|
| 114 |
+INSERT INTO comtccmmndetailcode (CODE_NM, CODE_DC, USE_AT, CODE, CODE_ID, FRST_REGISTER_PNTTM, FRST_REGISTER_ID, LAST_UPDUSR_PNTTM, LAST_UPDUSR_ID) VALUES ('사용자등록','사용자등록','Y','WC02','COM032',NOW(),'SYSTEM',NULL,NULL);
|
|
| 115 |
+INSERT INTO comtccmmndetailcode (CODE_NM, CODE_DC, USE_AT, CODE, CODE_ID, FRST_REGISTER_PNTTM, FRST_REGISTER_ID, LAST_UPDUSR_PNTTM, LAST_UPDUSR_ID) VALUES ('회원탈퇴','회원탈퇴','Y','WC03','COM032',NOW(),'SYSTEM',NULL,NULL);
|
|
| 116 |
+INSERT INTO comtccmmndetailcode (CODE_NM, CODE_DC, USE_AT, CODE, CODE_ID, FRST_REGISTER_PNTTM, FRST_REGISTER_ID, LAST_UPDUSR_PNTTM, LAST_UPDUSR_ID) VALUES ('사용자삭제','사용자삭제','Y','WC04','COM032',NOW(),'SYSTEM',NULL,NULL);
|
|
| 117 |
+INSERT INTO comtccmmndetailcode (CODE_NM, CODE_DC, USE_AT, CODE, CODE_ID, FRST_REGISTER_PNTTM, FRST_REGISTER_ID, LAST_UPDUSR_PNTTM, LAST_UPDUSR_ID) VALUES ('게시판','게시판','Y','BBS','COM003',NOW(),'SYSTEM',NULL,NULL);
|
|
| 118 |
+INSERT INTO comtccmmndetailcode (CODE_NM, CODE_DC, USE_AT, CODE, CODE_ID, FRST_REGISTER_PNTTM, FRST_REGISTER_ID, LAST_UPDUSR_PNTTM, LAST_UPDUSR_ID) VALUES ('커뮤니티','커뮤니티','Y','CMY','COM003',NOW(),'SYSTEM',NULL,NULL);
|
|
| 119 |
+INSERT INTO comtccmmndetailcode (CODE_NM, CODE_DC, USE_AT, CODE, CODE_ID, FRST_REGISTER_PNTTM, FRST_REGISTER_ID, LAST_UPDUSR_PNTTM, LAST_UPDUSR_ID) VALUES ('회원가입','회원가입','Y','1','COM105',NOW(),'SYSTEM',NULL,NULL);
|
|
| 120 |
+INSERT INTO comtccmmndetailcode (CODE_NM, CODE_DC, USE_AT, CODE, CODE_ID, FRST_REGISTER_PNTTM, FRST_REGISTER_ID, LAST_UPDUSR_PNTTM, LAST_UPDUSR_ID) VALUES ('기타','기타','Y','99','COM105',NOW(),'SYSTEM',NULL,NULL);
|
|
| 121 |
+INSERT INTO comtccmmndetailcode (CODE_NM, CODE_DC, USE_AT, CODE, CODE_ID, FRST_REGISTER_PNTTM, FRST_REGISTER_ID, LAST_UPDUSR_PNTTM, LAST_UPDUSR_ID) VALUES ('접수대기','접수대기','Y','QA01','COM108',NOW(),'SYSTEM',NULL,NULL);
|
|
| 122 |
+INSERT INTO comtccmmndetailcode (CODE_NM, CODE_DC, USE_AT, CODE, CODE_ID, FRST_REGISTER_PNTTM, FRST_REGISTER_ID, LAST_UPDUSR_PNTTM, LAST_UPDUSR_ID) VALUES ('처리중','처리중','Y','QA02','COM108',NOW(),'SYSTEM',NULL,NULL);
|
|
| 123 |
+INSERT INTO comtccmmndetailcode (CODE_NM, CODE_DC, USE_AT, CODE, CODE_ID, FRST_REGISTER_PNTTM, FRST_REGISTER_ID, LAST_UPDUSR_PNTTM, LAST_UPDUSR_ID) VALUES ('처리완료','처리완료','Y','QA03','COM108',NOW(),'SYSTEM',NULL,NULL);
|
|
| 124 |
+INSERT INTO comtccmmndetailcode (CODE_NM, CODE_DC, USE_AT, CODE, CODE_ID, FRST_REGISTER_PNTTM, FRST_REGISTER_ID, LAST_UPDUSR_PNTTM, LAST_UPDUSR_ID) VALUES ('회원정보','회원정보','Y','1','COM104',NOW(),'SYSTEM',NULL,NULL);
|
|
| 125 |
+INSERT INTO comtccmmndetailcode (CODE_NM, CODE_DC, USE_AT, CODE, CODE_ID, FRST_REGISTER_PNTTM, FRST_REGISTER_ID, LAST_UPDUSR_PNTTM, LAST_UPDUSR_ID) VALUES ('기타','기타','Y','99','COM104',NOW(),'SYSTEM',NULL,NULL);
|
|
| 126 |
+INSERT INTO comtccmmndetailcode (CODE_NM, CODE_DC, USE_AT, CODE, CODE_ID, FRST_REGISTER_PNTTM, FRST_REGISTER_ID, LAST_UPDUSR_PNTTM, LAST_UPDUSR_ID) VALUES ('하단배너','하단배너','Y','BAN004','COM107',NOW(),'SYSTEM',NULL,NULL);
|
|
| 127 |
+INSERT INTO comtccmmndetailcode (CODE_NM, CODE_DC, USE_AT, CODE, CODE_ID, FRST_REGISTER_PNTTM, FRST_REGISTER_ID, LAST_UPDUSR_PNTTM, LAST_UPDUSR_ID) VALUES ('관련사이트','관련사이트','Y','1','COM023',NOW(),'SYSTEM',NULL,NULL);
|
|
| 128 |
+INSERT INTO comtccmmndetailcode (CODE_NM, CODE_DC, USE_AT, CODE, CODE_ID, FRST_REGISTER_PNTTM, FRST_REGISTER_ID, LAST_UPDUSR_PNTTM, LAST_UPDUSR_ID) VALUES ('부속기관','부속기관','Y','2','COM023',NOW(),'SYSTEM',NULL,NULL);
|
|
| 129 |
+INSERT INTO comtccmmndetailcode (CODE_NM, CODE_DC, USE_AT, CODE, CODE_ID, FRST_REGISTER_PNTTM, FRST_REGISTER_ID, LAST_UPDUSR_PNTTM, LAST_UPDUSR_ID) VALUES ('기타','기타','Y','CMY05','COM201',NOW(),'SYSTEM',NULL,NULL);
|
|
| 130 |
+INSERT INTO comtccmmndetailcode (CODE_NM, CODE_DC, USE_AT, CODE, CODE_ID, FRST_REGISTER_PNTTM, FRST_REGISTER_ID, LAST_UPDUSR_PNTTM, LAST_UPDUSR_ID) VALUES ('게시판','게시판','Y','SMCTS01','COM915',NOW(),'SYSTEM',NULL,NULL);
|
|
| 131 |
+INSERT INTO comtccmmndetailcode (CODE_NM, CODE_DC, USE_AT, CODE, CODE_ID, FRST_REGISTER_PNTTM, FRST_REGISTER_ID, LAST_UPDUSR_PNTTM, LAST_UPDUSR_ID) VALUES ('공통','공통','Y','BSSE_01','COM918',NOW(),'SYSTEM',NULL,NULL);
|
|
| 132 |
+INSERT INTO comtccmmndetailcode (CODE_NM, CODE_DC, USE_AT, CODE, CODE_ID, FRST_REGISTER_PNTTM, FRST_REGISTER_ID, LAST_UPDUSR_PNTTM, LAST_UPDUSR_ID) VALUES ('공통','공통','Y','BTSE_01','COM919',NOW(),'SYSTEM',NULL,NULL);
|
|
| 133 |
+INSERT INTO comtccmmndetailcode (CODE_NM, CODE_DC, USE_AT, CODE, CODE_ID, FRST_REGISTER_PNTTM, FRST_REGISTER_ID, LAST_UPDUSR_PNTTM, LAST_UPDUSR_ID) VALUES ('홈페이지','홈페이지','Y','sit','COM916',NOW(),'SYSTEM',NULL,NULL);
|
|
| 134 |
+INSERT INTO comtccmmndetailcode (CODE_NM, CODE_DC, USE_AT, CODE, CODE_ID, FRST_REGISTER_PNTTM, FRST_REGISTER_ID, LAST_UPDUSR_PNTTM, LAST_UPDUSR_ID) VALUES ('커뮤니티','커뮤니티','Y','cmy','COM916',NOW(),'SYSTEM',NULL,NULL);
|
|
| 135 |
+INSERT INTO comtccmmndetailcode (CODE_NM, CODE_DC, USE_AT, CODE, CODE_ID, FRST_REGISTER_PNTTM, FRST_REGISTER_ID, LAST_UPDUSR_PNTTM, LAST_UPDUSR_ID) VALUES ('기관','기관','Y','1','COM917',NOW(),'SYSTEM',NULL,NULL);
|
|
| 136 |
+INSERT INTO comtccmmndetailcode (CODE_NM, CODE_DC, USE_AT, CODE, CODE_ID, FRST_REGISTER_PNTTM, FRST_REGISTER_ID, LAST_UPDUSR_PNTTM, LAST_UPDUSR_ID) VALUES ('기관','기관','Y','1','COM920',NOW(),'SYSTEM',NULL,NULL);
|
|
| 137 |
+INSERT INTO comtccmmndetailcode (CODE_NM, CODE_DC, USE_AT, CODE, CODE_ID, FRST_REGISTER_PNTTM, FRST_REGISTER_ID, LAST_UPDUSR_PNTTM, LAST_UPDUSR_ID) VALUES ('민원상담게시판','민원상담게시판','Y','BBSA11','COM912',NOW(),'admin',NULL,NULL);
|
|
| 138 |
+INSERT INTO comtccmmndetailcode (CODE_NM, CODE_DC, USE_AT, CODE, CODE_ID, FRST_REGISTER_PNTTM, FRST_REGISTER_ID, LAST_UPDUSR_PNTTM, LAST_UPDUSR_ID) VALUES ('HTML','HTML','Y','HTML','COM914',NOW(),'SYSTEM',NULL,NULL);
|
|
| 139 |
+INSERT INTO comtccmmndetailcode (CODE_NM, CODE_DC, USE_AT, CODE, CODE_ID, FRST_REGISTER_PNTTM, FRST_REGISTER_ID, LAST_UPDUSR_PNTTM, LAST_UPDUSR_ID) VALUES ('JSP','JSP','Y','JSP','COM914',NOW(),'SYSTEM',NULL,NULL);
|
|
| 140 |
+INSERT INTO comtccmmndetailcode (CODE_ID, CODE, CODE_NM, CODE_DC, USE_AT, FRST_REGISTER_PNTTM, FRST_REGISTER_ID, LAST_UPDUSR_PNTTM, LAST_UPDUSR_ID) VALUES ('COM017', '01', '법정휴일', '법정휴일', 'Y', NOW(), 'SYSTEM', NOW(), 'SYSTEM');
|
|
| 141 |
+INSERT INTO comtccmmndetailcode (CODE_ID, CODE, CODE_NM, CODE_DC, USE_AT, FRST_REGISTER_PNTTM, FRST_REGISTER_ID, LAST_UPDUSR_PNTTM, LAST_UPDUSR_ID) VALUES ('COM017', '02', '법정공휴일', '법정공휴일', 'Y', NOW(), 'SYSTEM', NOW(), 'SYSTEM');
|
|
| 142 |
+INSERT INTO comtccmmndetailcode (CODE_ID, CODE, CODE_NM, CODE_DC, USE_AT, FRST_REGISTER_PNTTM, FRST_REGISTER_ID, LAST_UPDUSR_PNTTM, LAST_UPDUSR_ID) VALUES ('COM017', '03', '임시공휴일', '임시공휴일', 'Y', NOW(), 'SYSTEM', NOW(), 'SYSTEM');
|
|
| 143 |
+ |
|
| 144 |
+INSERT INTO comtnauthorinfo (AUTHOR_CODE, AUTHOR_NM, AUTHOR_DC, AUTHOR_CREAT_DE) VALUES ('01','모든사용자','',NOW());
|
|
| 145 |
+INSERT INTO comtnauthorinfo (AUTHOR_CODE, AUTHOR_NM, AUTHOR_DC, AUTHOR_CREAT_DE) VALUES ('02','시민','',NOW());
|
|
| 146 |
+INSERT INTO comtnauthorinfo (AUTHOR_CODE, AUTHOR_NM, AUTHOR_DC, AUTHOR_CREAT_DE) VALUES ('04','학부모','',NOW());
|
|
| 147 |
+INSERT INTO comtnauthorinfo (AUTHOR_CODE, AUTHOR_NM, AUTHOR_DC, AUTHOR_CREAT_DE) VALUES ('06','학생','',NOW());
|
|
| 148 |
+INSERT INTO comtnauthorinfo (AUTHOR_CODE, AUTHOR_NM, AUTHOR_DC, AUTHOR_CREAT_DE) VALUES ('08','교사','',NOW());
|
|
| 149 |
+INSERT INTO comtnauthorinfo (AUTHOR_CODE, AUTHOR_NM, AUTHOR_DC, AUTHOR_CREAT_DE) VALUES ('10','업무관리자','',NOW());
|
|
| 150 |
+INSERT INTO comtnauthorinfo (AUTHOR_CODE, AUTHOR_NM, AUTHOR_DC, AUTHOR_CREAT_DE) VALUES ('99','통합관리자','',NOW());
|
|
| 151 |
+ |
|
| 152 |
+ |
|
| 153 |
+INSERT INTO comtnroles_hierarchy (PARENT_ROLE, CHILD_ROLE) VALUES ('01','02');
|
|
| 154 |
+INSERT INTO comtnroles_hierarchy (PARENT_ROLE, CHILD_ROLE) VALUES ('02','04');
|
|
| 155 |
+INSERT INTO comtnroles_hierarchy (PARENT_ROLE, CHILD_ROLE) VALUES ('04','06');
|
|
| 156 |
+INSERT INTO comtnroles_hierarchy (PARENT_ROLE, CHILD_ROLE) VALUES ('06','08');
|
|
| 157 |
+INSERT INTO comtnroles_hierarchy (PARENT_ROLE, CHILD_ROLE) VALUES ('08','10');
|
|
| 158 |
+INSERT INTO comtnroles_hierarchy (PARENT_ROLE, CHILD_ROLE) VALUES ('10','99');
|
|
| 159 |
+ |
|
| 160 |
+INSERT INTO comtnroleinfo (ROLE_CODE, ROLE_DC, ROLE_CREAT_DE, ROLE_NM, ROLE_PTN, ROLE_TYP, ROLE_SORT) VALUES ('web-000001','관리자접근권한',NOW(),'보안등급이상','\A/mng/.*\Z','url','2');
|
|
| 161 |
+ |
|
| 162 |
+INSERT INTO comtnauthorrolerelate (CREAT_DT, AUTHOR_CODE, ROLE_CODE) VALUES ( NOW(), '10', 'web-000001' ); |
|
| 163 |
+ |
|
| 164 |
+INSERT INTO comtnmber (USER_ID, USER_SE_CODE, PASSWORD, USER_NM, EMAIL_ADRES, TLPHON_NO, MOBLPHON_NO, ZIP, ADRES, ADRES_DETAIL, BRTHDY, SLRCLD_LRR_CODE, SEXDSTN, EMAIL_RECPTN_AT, MOBLPHON_RECPTN_AT, PHOTO_ORIGINAL_FILE_NM, PHOTO_STRE_FILE_NM, DELETE_AT, DELETE_PNTTM, DELETE_RESN, CONFM_AT, CONFM_PNTTM, CREDT_ID, CRTFCT_DN, CRTFCT_SERIAL, SITE_ID, FRST_REGIST_IP, FRST_REGIST_PNTTM, LAST_UPDUSR_ID, LAST_UPDUSR_PNTTM) |
|
| 165 |
+ VALUES ('admin','99','6b86b273ff34fce19d6b804eff5a3f5747ada4eaa22f1d49c01e52ddb7875b4b','관리자','sj1004class@hanmail.net','02-0000-0000','010-0000-0000','111222','333','4444','','','','','','','','N',NOW(),'1','Y',NOW(),'20121123111910','','','SITE_000000000000001','',NOW(),null,null);
|
|
| 166 |
+ |
|
| 167 |
+INSERT INTO comtnsiteinfo ( |
|
| 168 |
+ SITE_ID, SITE_NM, SITE_URL, |
|
| 169 |
+ FRST_REGISTER_PNTTM, FRST_REGISTER_ID, LAST_UPDUSR_PNTTM, |
|
| 170 |
+ LAST_UPDUSR_ID, USE_AT, ACTVTY_AT, |
|
| 171 |
+ UPEND_LOGO_FILE_NM, LPT_LOGO_FILE_NM, LYT_TMPLAT_ID, |
|
| 172 |
+ ADRES_FILE_NM, ADRES_REPLC_TEXT, INDVDLINFO_POLICY, |
|
| 173 |
+ USE_STPLAT, EMAIL_COLCT_POLICY, MOBILE_USE_AT, |
|
| 174 |
+ CMY_TMPLAT_ID, CPYRHT_STTEMNT_SVC, INSTT_CODE, |
|
| 175 |
+ BRWSR_SJ, TLPHON_NO, FAX_NO, |
|
| 176 |
+ ADRES, MOUSE_SCRTY_APPLC_AT, KYBRD_SCRTY_APPLC_AT, |
|
| 177 |
+ DPLCT_LOGIN_PERM_AT, PASSWORD_MUMM_LT, PASSWORD_MXMM_LT, |
|
| 178 |
+ PASSWORD_NUMBER_POLICY_AT, PASSWORD_CHRCTR_POLICY_AT, PASSWORD_SPCLCHRCTR_POLICY_AT, |
|
| 179 |
+ PASSWORD_CHANGE_CYCLE, LYT_SOURC_ID, CMY_SOURC_ID, |
|
| 180 |
+ REPRSNT_IMAGE_FILE_NM, SLOGAN_FILE_NM, SLOGAN_REPLC_TEXT, |
|
| 181 |
+ LA, LO) |
|
| 182 |
+VALUES ('SITE_000000000000001','메인사이트','devcms.foxedu.co.kr',NOW(),'admin',NULL,NULL,'Y','Y','','','LYTTMP_0000000000001','','주소',
|
|
| 183 |
+'<p>학교명 : $SITE_NM$ <br />전화번호 : $PHONE_NO$ <br />팩스번호 : $FAX_NO$ <br />개인정보처리방침</p>', |
|
| 184 |
+'<p>학교명 : $SITE_NM$ <br />전화번호 : $PHONE_NO$ <br />팩스번호 : $FAX_NO$ <br />$SITE_NM$ 가입약관</p>', |
|
| 185 |
+'<p>학교명 : $SITE_NM$ <br />전화번호 : $PHONE_NO$ <br />팩스번호 : $FAX_NO$ <br />$SITE_NM$ 이메일수집거부</p>', |
|
| 186 |
+'Y','','<p>학교명 : $SITE_NM$ <br />전화번호 : $PHONE_NO$ <br />팩스번호 : $FAX_NO$ <br />$SITE_NM$ 저작권신고서비스</p>','1','개발','000-0000-0000','000-0000-0000','주소','N','N','Y','4','20','Y','Y','Y','6','LYTSRC_0000000000001','','SITE_201210250244444490.jpg','','슬로건대체텍스트','',''); |
|
| 187 |
+ |
|
| 188 |
+/* 기본 메뉴 생성 */ |
|
| 189 |
+INSERT INTO comtnsitemnu (MENU_NM, MENU_ID, UPPER_MENU_ID, HTML_CN, EXPSR_USE_AT, USE_AT, HTML_USE_AT, CNTNTS_TY_CODE, URL, COMPOSITION_TY_CODE, PROGRM_ID, NWD_AT, STYLE_CN, SCRIPT_CN, FRST_REGISTER_PNTTM, |
|
| 190 |
+FRST_REGISTER_ID, LAST_UPDUSR_PNTTM, LAST_UPDUSR_ID, SORT_ORDR, MOBILE_USE_AT, IMAGE_FILE_NM, SITE_ID, SYS_TY_CODE, STDNT_USE_AT, STDNPRNT_USE_AT, PROFSR_USE_AT, GENERAL_USE_AT, MOBILE_STYLE_CN, MOBILE_SCRIPT_CN, |
|
| 191 |
+MOBILE_HTML_CN, HTMLSOURC_TY_CODE, MOBILE_HTMLSOURC_TY_CODE, ATCH_FILE_ID, MOBILE_ATCH_FILE_ID, PROGRM_FACTR, MENU_LEVEL) |
|
| 192 |
+VALUES ('홈페이지','MNU_0000000000000001',NULL,'','Y','Y','Y','CTS01','','CNTNTS','','N','','',NOW(),'',NOW(),'admin','0','N','','SITE_000000000000001','SYS01','N','N','N','N','JSP','HTML','','','','','','',0);
|
|
| 193 |
+ |
|
| 194 |
+/* 휴일 지정이 필요할때 테이블 생성하고 넣어라*/ |
|
| 195 |
+/* |
|
| 196 |
+INSERT INTO COMTNRESTDE ( RESTDE_NO, RESTDE_DE, RESTDE_NM, RESTDE_DC, RESTDE_SE_CODE, FRST_REGISTER_PNTTM, FRST_REGISTER_ID) VALUES ( 1, '20130101', '신정', '설(신정)', '02', NOW(), 'SYSTEM' ); |
|
| 197 |
+INSERT INTO COMTNRESTDE ( RESTDE_NO, RESTDE_DE, RESTDE_NM, RESTDE_DC, RESTDE_SE_CODE, FRST_REGISTER_PNTTM, FRST_REGISTER_ID) VALUES ( 2, '20130209', '설날', '설연휴', '02', NOW(), 'SYSTEM' ); |
|
| 198 |
+INSERT INTO COMTNRESTDE ( RESTDE_NO, RESTDE_DE, RESTDE_NM, RESTDE_DC, RESTDE_SE_CODE, FRST_REGISTER_PNTTM, FRST_REGISTER_ID) VALUES ( 3, '20130210', '설날', '설연휴', '02', NOW(), 'SYSTEM' ); |
|
| 199 |
+INSERT INTO COMTNRESTDE ( RESTDE_NO, RESTDE_DE, RESTDE_NM, RESTDE_DC, RESTDE_SE_CODE, FRST_REGISTER_PNTTM, FRST_REGISTER_ID) VALUES ( 4, '20130211', '설날', '설연휴', '02', NOW(), 'SYSTEM' ); |
|
| 200 |
+INSERT INTO COMTNRESTDE ( RESTDE_NO, RESTDE_DE, RESTDE_NM, RESTDE_DC, RESTDE_SE_CODE, FRST_REGISTER_PNTTM, FRST_REGISTER_ID) VALUES ( 5, '20130301', '삼일절', '삼일절', '02', NOW(), 'SYSTEM' ); |
|
| 201 |
+INSERT INTO COMTNRESTDE ( RESTDE_NO, RESTDE_DE, RESTDE_NM, RESTDE_DC, RESTDE_SE_CODE, FRST_REGISTER_PNTTM, FRST_REGISTER_ID) VALUES ( 6, '20130505', '어린이날', '어린이날', '02', NOW(), 'SYSTEM' ); |
|
| 202 |
+INSERT INTO COMTNRESTDE ( RESTDE_NO, RESTDE_DE, RESTDE_NM, RESTDE_DC, RESTDE_SE_CODE, FRST_REGISTER_PNTTM, FRST_REGISTER_ID) VALUES ( 7, '20130517', '석가탄신일', '석가탄신일', '02', NOW(), 'SYSTEM' ); |
|
| 203 |
+INSERT INTO COMTNRESTDE ( RESTDE_NO, RESTDE_DE, RESTDE_NM, RESTDE_DC, RESTDE_SE_CODE, FRST_REGISTER_PNTTM, FRST_REGISTER_ID) VALUES ( 8, '20130606', '현충일', '현충일', '02', NOW(), 'SYSTEM' ); |
|
| 204 |
+INSERT INTO COMTNRESTDE ( RESTDE_NO, RESTDE_DE, RESTDE_NM, RESTDE_DC, RESTDE_SE_CODE, FRST_REGISTER_PNTTM, FRST_REGISTER_ID) VALUES ( 9, '20130815', '광복절', '광복절', '02', NOW(), 'SYSTEM' ); |
|
| 205 |
+INSERT INTO COMTNRESTDE ( RESTDE_NO, RESTDE_DE, RESTDE_NM, RESTDE_DC, RESTDE_SE_CODE, FRST_REGISTER_PNTTM, FRST_REGISTER_ID) VALUES ( 10, '20130918', '추석', '추석연휴', '02', NOW(), 'SYSTEM' ); |
|
| 206 |
+INSERT INTO COMTNRESTDE ( RESTDE_NO, RESTDE_DE, RESTDE_NM, RESTDE_DC, RESTDE_SE_CODE, FRST_REGISTER_PNTTM, FRST_REGISTER_ID) VALUES ( 11, '20130919', '추석', '추석연휴', '02', NOW(), 'SYSTEM' ); |
|
| 207 |
+INSERT INTO COMTNRESTDE ( RESTDE_NO, RESTDE_DE, RESTDE_NM, RESTDE_DC, RESTDE_SE_CODE, FRST_REGISTER_PNTTM, FRST_REGISTER_ID) VALUES ( 12, '20130920', '추석', '추석연휴', '02', NOW(), 'SYSTEM' ); |
|
| 208 |
+INSERT INTO COMTNRESTDE ( RESTDE_NO, RESTDE_DE, RESTDE_NM, RESTDE_DC, RESTDE_SE_CODE, FRST_REGISTER_PNTTM, FRST_REGISTER_ID) VALUES ( 13, '20131003', '개천절', '개천절', '02', NOW(), 'SYSTEM' ); |
|
| 209 |
+INSERT INTO COMTNRESTDE ( RESTDE_NO, RESTDE_DE, RESTDE_NM, RESTDE_DC, RESTDE_SE_CODE, FRST_REGISTER_PNTTM, FRST_REGISTER_ID) VALUES ( 14, '20131225', '성탄절', '성탄절', '02', NOW(), 'SYSTEM' ); |
|
| 210 | 210 |
*/(파일 끝에 줄바꿈 문자 없음) |
--- base/src/main/java/egovframework/com/auth/web/AuthController.java
... | ... | @@ -1,127 +0,0 @@ |
| 1 | -package egovframework.com.auth.web; | |
| 2 | - | |
| 3 | -import java.io.IOException; | |
| 4 | -import java.io.PrintWriter; | |
| 5 | -import java.util.HashMap; | |
| 6 | -import java.util.Map; | |
| 7 | - | |
| 8 | -import javax.annotation.Resource; | |
| 9 | -import javax.servlet.http.HttpServletRequest; | |
| 10 | -import javax.servlet.http.HttpServletResponse; | |
| 11 | -import javax.servlet.http.HttpSession; | |
| 12 | - | |
| 13 | -import org.apache.commons.logging.Log; | |
| 14 | -import org.apache.commons.logging.LogFactory; | |
| 15 | -import org.json.simple.parser.JSONParser; | |
| 16 | -import org.springframework.stereotype.Controller; | |
| 17 | -import org.springframework.ui.ModelMap; | |
| 18 | -import org.springframework.web.bind.annotation.ModelAttribute; | |
| 19 | -import org.springframework.web.bind.annotation.RequestMapping; | |
| 20 | -import org.springframework.web.bind.annotation.RequestParam; | |
| 21 | -import org.springframework.web.bind.annotation.ResponseBody; | |
| 22 | - | |
| 23 | -import com.github.scribejava.core.model.OAuth2AccessToken; | |
| 24 | -import com.google.gson.Gson; | |
| 25 | - | |
| 26 | -import egovframework.com.auth.service.NaverLoginService; | |
| 27 | -import egovframework.com.auth.service.NaverUser; | |
| 28 | -import egovframework.com.cmm.EgovMessageSource; | |
| 29 | -import egovframework.com.uat.uia.service.LoginVO; | |
| 30 | -import egovframework.rte.fdl.property.EgovPropertyService; | |
| 31 | -import net.sf.json.JSONObject; | |
| 32 | - | |
| 33 | - | |
| 34 | -@Controller | |
| 35 | -public class AuthController {
| |
| 36 | - | |
| 37 | - @Resource(name = "naverLoginService") | |
| 38 | - private NaverLoginService naverLoginService; | |
| 39 | - | |
| 40 | - @Resource(name="egovMessageSource") | |
| 41 | - EgovMessageSource egovMessageSource; | |
| 42 | - | |
| 43 | - @Resource(name = "propertiesService") | |
| 44 | - protected EgovPropertyService propertyService; | |
| 45 | - | |
| 46 | - protected static final Log LOG = LogFactory.getLog(AuthController.class); | |
| 47 | - | |
| 48 | - //네이버웨일 return auth | |
| 49 | - @RequestMapping(value="/auth/naverLogin.do") | |
| 50 | - public String naverLogin(@ModelAttribute("loginVO") LoginVO loginVO,HttpServletRequest request,HttpServletResponse response,ModelMap model, HttpSession session)throws Exception {
| |
| 51 | - /* 네이버아이디로 인증 URL을 생성하기 위하여 getAuthorizationUrl메소드 호출 */ | |
| 52 | - String naverAuthUrl = naverLoginService.getAuthorizationUrl(session); | |
| 53 | - | |
| 54 | - //네이버 | |
| 55 | - model.addAttribute("url", naverAuthUrl);
| |
| 56 | - | |
| 57 | - return "redirect:"+naverAuthUrl; | |
| 58 | - } | |
| 59 | - | |
| 60 | - //네이버웨일 return auth | |
| 61 | - @RequestMapping(value="/auth/login.do") | |
| 62 | - public String login(@ModelAttribute("loginVO") LoginVO loginVO, @RequestParam String code, @RequestParam String state, HttpSession session, HttpServletRequest request,HttpServletResponse response,ModelMap model)throws Exception {
| |
| 63 | - System.out.println("여기는 callback");
| |
| 64 | - OAuth2AccessToken oauthToken; | |
| 65 | - oauthToken = naverLoginService.getAccessToken(session, code, state); | |
| 66 | - | |
| 67 | - //로그인 사용자 정보를 읽어온다. | |
| 68 | - String apiResult = naverLoginService.getUserProfile(oauthToken); | |
| 69 | - System.out.println(apiResult); | |
| 70 | - | |
| 71 | - Gson gson = new Gson(); | |
| 72 | - | |
| 73 | - NaverUser user = gson.fromJson(apiResult, NaverUser.class); | |
| 74 | - if(user.getPrimaryEmail() != null) {
| |
| 75 | - session.setAttribute("naverUser", user);
| |
| 76 | - model.addAttribute("token", oauthToken.getAccessToken());
| |
| 77 | - } | |
| 78 | - | |
| 79 | - model.addAttribute("result", apiResult);
| |
| 80 | - | |
| 81 | - return "auth/naverSuccess"; | |
| 82 | - } | |
| 83 | - | |
| 84 | - //네이버웨일 로그인 url생성 | |
| 85 | - @RequestMapping(value="/auth/whaleAuth.do") | |
| 86 | - public void whaleAuth(@ModelAttribute("loginVO") LoginVO loginVO,HttpServletRequest request,HttpServletResponse response,ModelMap model, HttpSession session)throws Exception {
| |
| 87 | - //response.setHeader("Access-Control-Allow-Origin", "*");
| |
| 88 | - | |
| 89 | - String successYn = "Y"; | |
| 90 | - String naverAuthUrl = naverLoginService.getAuthorizationUrl(session); | |
| 91 | - | |
| 92 | - response.setHeader("Access-Control-Allow-Origin", "*");
| |
| 93 | - | |
| 94 | - JSONObject jo = new JSONObject(); | |
| 95 | - response.setContentType("application/json;charset=utf-8");
| |
| 96 | - | |
| 97 | - jo.put("successYn", successYn);
| |
| 98 | - jo.put("url", naverAuthUrl);
| |
| 99 | - | |
| 100 | - PrintWriter printwriter = response.getWriter(); | |
| 101 | - printwriter.println(jo.toString()); | |
| 102 | - printwriter.flush(); | |
| 103 | - printwriter.close(); | |
| 104 | - } | |
| 105 | - | |
| 106 | - @RequestMapping(value = "/auth/myinfo.do") | |
| 107 | - public void myinfo(String token, HttpServletRequest request,HttpServletResponse response) throws Exception {
| |
| 108 | - response.setHeader("Access-Control-Allow-Origin", "*");
| |
| 109 | - | |
| 110 | - OAuth2AccessToken searchToken = new OAuth2AccessToken(token); | |
| 111 | - String apiResult = naverLoginService.getUserProfile(searchToken); | |
| 112 | - | |
| 113 | - String successYn = "Y"; | |
| 114 | - JSONObject jo = new JSONObject(); | |
| 115 | - response.setContentType("application/json;charset=utf-8");
| |
| 116 | - | |
| 117 | - jo.put("successYn", successYn);
| |
| 118 | - jo.put("items", apiResult);
| |
| 119 | - | |
| 120 | - PrintWriter printwriter = response.getWriter(); | |
| 121 | - printwriter.println(jo.toString()); | |
| 122 | - printwriter.flush(); | |
| 123 | - printwriter.close(); | |
| 124 | - | |
| 125 | - } | |
| 126 | - | |
| 127 | -}(파일 끝에 줄바꿈 문자 없음) |
--- base/src/main/java/egovframework/com/cmm/ComDefaultCodeVO.java
... | ... | @@ -1,199 +0,0 @@ |
| 1 | -package egovframework.com.cmm; | |
| 2 | - | |
| 3 | -import java.io.Serializable; | |
| 4 | - | |
| 5 | -import org.apache.commons.lang.builder.ToStringBuilder; | |
| 6 | - | |
| 7 | -/** | |
| 8 | - * 클래스 | |
| 9 | - * @author 공통서비스개발팀 이삼섭 | |
| 10 | - * @since 2009.06.01 | |
| 11 | - * @version 1.0 | |
| 12 | - * @see | |
| 13 | - * | |
| 14 | - * <pre> | |
| 15 | - * << 개정이력(Modification Information) >> | |
| 16 | - * | |
| 17 | - * 수정일 수정자 수정내용 | |
| 18 | - * ------- -------- --------------------------- | |
| 19 | - * 2009.3.11 이삼섭 최초 생성 | |
| 20 | - * | |
| 21 | - * </pre> | |
| 22 | - */ | |
| 23 | -@SuppressWarnings("serial")
| |
| 24 | -public class ComDefaultCodeVO implements Serializable {
| |
| 25 | - /** | |
| 26 | - * 코드 ID | |
| 27 | - */ | |
| 28 | - private String codeId = ""; | |
| 29 | - | |
| 30 | - /** | |
| 31 | - * 상세코드 | |
| 32 | - */ | |
| 33 | - private String code = ""; | |
| 34 | - | |
| 35 | - /** | |
| 36 | - * 코드ID명 | |
| 37 | - */ | |
| 38 | - private String codeIdNm = ""; | |
| 39 | - | |
| 40 | - /** | |
| 41 | - * 코드명 | |
| 42 | - */ | |
| 43 | - private String codeNm = ""; | |
| 44 | - | |
| 45 | - /** | |
| 46 | - * 코드설명 | |
| 47 | - */ | |
| 48 | - private String codeDc = ""; | |
| 49 | - | |
| 50 | - /** | |
| 51 | - * 특정테이블명 | |
| 52 | - */ | |
| 53 | - private String tableNm = ""; //특정테이블에서 코드정보를추출시 사용 | |
| 54 | - | |
| 55 | - /** | |
| 56 | - * 상세 조건 여부 | |
| 57 | - */ | |
| 58 | - private String haveDetailCondition = "N"; | |
| 59 | - | |
| 60 | - /** | |
| 61 | - * 상세 조건 | |
| 62 | - */ | |
| 63 | - private String detailCondition = ""; | |
| 64 | - | |
| 65 | - /** | |
| 66 | - * codeId attribute를 리턴한다. | |
| 67 | - * @return the codeId | |
| 68 | - */ | |
| 69 | - public String getCodeId() {
| |
| 70 | - return codeId; | |
| 71 | - } | |
| 72 | - | |
| 73 | - /** | |
| 74 | - * codeId attribute 값을 설정한다. | |
| 75 | - * @param codeId the codeId to set | |
| 76 | - */ | |
| 77 | - public void setCodeId(String codeId) {
| |
| 78 | - this.codeId = codeId; | |
| 79 | - } | |
| 80 | - | |
| 81 | - /** | |
| 82 | - * codeIdNm attribute를 리턴한다. | |
| 83 | - * @return the codeIdNm | |
| 84 | - */ | |
| 85 | - public String getCodeIdNm() {
| |
| 86 | - return codeIdNm; | |
| 87 | - } | |
| 88 | - | |
| 89 | - /** | |
| 90 | - * codeIdNm attribute 값을 설정한다. | |
| 91 | - * @param codeIdNm the codeIdNm to set | |
| 92 | - */ | |
| 93 | - public void setCodeIdNm(String codeIdNm) {
| |
| 94 | - this.codeIdNm = codeIdNm; | |
| 95 | - } | |
| 96 | - | |
| 97 | - /** | |
| 98 | - * code attribute를 리턴한다. | |
| 99 | - * @return the code | |
| 100 | - */ | |
| 101 | - public String getCode() {
| |
| 102 | - return code; | |
| 103 | - } | |
| 104 | - | |
| 105 | - /** | |
| 106 | - * code attribute 값을 설정한다. | |
| 107 | - * @param code the code to set | |
| 108 | - */ | |
| 109 | - public void setCode(String code) {
| |
| 110 | - this.code = code; | |
| 111 | - } | |
| 112 | - | |
| 113 | - /** | |
| 114 | - * codeNm attribute를 리턴한다. | |
| 115 | - * @return the codeNm | |
| 116 | - */ | |
| 117 | - public String getCodeNm() {
| |
| 118 | - return codeNm; | |
| 119 | - } | |
| 120 | - | |
| 121 | - /** | |
| 122 | - * codeNm attribute 값을 설정한다. | |
| 123 | - * @param codeNm the codeNm to set | |
| 124 | - */ | |
| 125 | - public void setCodeNm(String codeNm) {
| |
| 126 | - this.codeNm = codeNm; | |
| 127 | - } | |
| 128 | - | |
| 129 | - /** | |
| 130 | - * codeDc attribute를 리턴한다. | |
| 131 | - * @return the codeDc | |
| 132 | - */ | |
| 133 | - public String getCodeDc() {
| |
| 134 | - return codeDc; | |
| 135 | - } | |
| 136 | - | |
| 137 | - /** | |
| 138 | - * codeDc attribute 값을 설정한다. | |
| 139 | - * @param codeDc the codeDc to set | |
| 140 | - */ | |
| 141 | - public void setCodeDc(String codeDc) {
| |
| 142 | - this.codeDc = codeDc; | |
| 143 | - } | |
| 144 | - | |
| 145 | - /** | |
| 146 | - * tableNm attribute를 리턴한다. | |
| 147 | - * @return the tableNm | |
| 148 | - */ | |
| 149 | - public String getTableNm() {
| |
| 150 | - return tableNm; | |
| 151 | - } | |
| 152 | - | |
| 153 | - /** | |
| 154 | - * tableNm attribute 값을 설정한다. | |
| 155 | - * @param tableNm the tableNm to set | |
| 156 | - */ | |
| 157 | - public void setTableNm(String tableNm) {
| |
| 158 | - this.tableNm = tableNm; | |
| 159 | - } | |
| 160 | - | |
| 161 | - /** | |
| 162 | - * haveDetailCondition attribute를 리턴한다. | |
| 163 | - * @return the haveDetailCondition | |
| 164 | - */ | |
| 165 | - public String getHaveDetailCondition() {
| |
| 166 | - return haveDetailCondition; | |
| 167 | - } | |
| 168 | - | |
| 169 | - /** | |
| 170 | - * haveDetailCondition attribute 값을 설정한다. | |
| 171 | - * @param haveDetailCondition the haveDetailCondition to set | |
| 172 | - */ | |
| 173 | - public void setHaveDetailCondition(String haveDetailCondition) {
| |
| 174 | - this.haveDetailCondition = haveDetailCondition; | |
| 175 | - } | |
| 176 | - | |
| 177 | - /** | |
| 178 | - * detailCondition attribute를 리턴한다. | |
| 179 | - * @return the detailCondition | |
| 180 | - */ | |
| 181 | - public String getDetailCondition() {
| |
| 182 | - return detailCondition; | |
| 183 | - } | |
| 184 | - | |
| 185 | - /** | |
| 186 | - * detailCondition attribute 값을 설정한다. | |
| 187 | - * @param detailCondition the detailCondition to set | |
| 188 | - */ | |
| 189 | - public void setDetailCondition(String detailCondition) {
| |
| 190 | - this.detailCondition = detailCondition; | |
| 191 | - } | |
| 192 | - | |
| 193 | - /** | |
| 194 | - * toString 메소드를 대치한다. | |
| 195 | - */ | |
| 196 | - public String toString() {
| |
| 197 | - return ToStringBuilder.reflectionToString(this); | |
| 198 | - } | |
| 199 | -} |
--- base/src/main/java/egovframework/com/cmm/ComDefaultVO.java
+++ base/src/main/java/egovframework/com/cmm/ComDefaultVO.java
... | ... | @@ -1,442 +1,479 @@ |
| 1 |
-package egovframework.com.cmm; |
|
| 2 |
- |
|
| 3 |
-import java.io.Serializable; |
|
| 4 |
-import java.util.List; |
|
| 5 |
- |
|
| 6 |
-import org.apache.commons.lang.builder.ToStringBuilder; |
|
| 7 |
- |
|
| 8 |
-/** |
|
| 9 |
- * @Class Name : ComDefaultVO.java |
|
| 10 |
- * @Description : ComDefaultVO class |
|
| 11 |
- * @Modification Information |
|
| 12 |
- * @ |
|
| 13 |
- * @ 수정일 수정자 수정내용 |
|
| 14 |
- * @ ------- -------- --------------------------- |
|
| 15 |
- * @ 2009.02.02 조재영 최초 생성 |
|
| 16 |
- * |
|
| 17 |
- * @author 공통서비스 개발팀 조재영 |
|
| 18 |
- * @since 2009.02.01 |
|
| 19 |
- * @version 1.0 |
|
| 20 |
- * @see |
|
| 21 |
- * |
|
| 22 |
- */ |
|
| 23 |
-@SuppressWarnings("serial")
|
|
| 24 |
-public class ComDefaultVO implements Serializable {
|
|
| 25 |
- |
|
| 26 |
- /** |
|
| 27 |
- * 검색분류 |
|
| 28 |
- */ |
|
| 29 |
- private String searchCate = ""; |
|
| 30 |
- |
|
| 31 |
- /** |
|
| 32 |
- * 검색 카테고리리스트 |
|
| 33 |
- */ |
|
| 34 |
- private List<String> searchCateList; |
|
| 35 |
- |
|
| 36 |
- /** |
|
| 37 |
- * 검색대상 |
|
| 38 |
- */ |
|
| 39 |
- private String searchTarget = ""; |
|
| 40 |
- |
|
| 41 |
- /** |
|
| 42 |
- * 검색레벨 |
|
| 43 |
- */ |
|
| 44 |
- private String searchLevel = ""; |
|
| 45 |
- |
|
| 46 |
- /** |
|
| 47 |
- * 검색모드 |
|
| 48 |
- */ |
|
| 49 |
- private String searchMode = ""; |
|
| 50 |
- |
|
| 51 |
- /** 선택모드여부 */ |
|
| 52 |
- private String selectMode = "N"; |
|
| 53 |
- |
|
| 54 |
- /** |
|
| 55 |
- * 검색조건 |
|
| 56 |
- */ |
|
| 57 |
- private String searchCondition = ""; |
|
| 58 |
- |
|
| 59 |
- /** |
|
| 60 |
- * 검색Keyword |
|
| 61 |
- */ |
|
| 62 |
- private String searchKeyword = ""; |
|
| 63 |
- |
|
| 64 |
- /** |
|
| 65 |
- * 검색사용여부 |
|
| 66 |
- */ |
|
| 67 |
- private String searchUseYn = ""; |
|
| 68 |
- |
|
| 69 |
- /** |
|
| 70 |
- * 현재페이지 |
|
| 71 |
- */ |
|
| 72 |
- private int pageIndex = 1; |
|
| 73 |
- |
|
| 74 |
- /** |
|
| 75 |
- * 페이지갯수 |
|
| 76 |
- */ |
|
| 77 |
- private int pageUnit = 10; |
|
| 78 |
- |
|
| 79 |
- /** |
|
| 80 |
- * 페이지사이즈 |
|
| 81 |
- */ |
|
| 82 |
- private int pageSize = 10; |
|
| 83 |
- |
|
| 84 |
- /** |
|
| 85 |
- * firstIndex |
|
| 86 |
- */ |
|
| 87 |
- private int firstIndex = 1; |
|
| 88 |
- |
|
| 89 |
- /** |
|
| 90 |
- * lastIndex |
|
| 91 |
- */ |
|
| 92 |
- private int lastIndex = 1; |
|
| 93 |
- |
|
| 94 |
- /** |
|
| 95 |
- * recordCountPerPage |
|
| 96 |
- */ |
|
| 97 |
- private int recordCountPerPage = 10; |
|
| 98 |
- |
|
| 99 |
- /** |
|
| 100 |
- * 검색KeywordFrom |
|
| 101 |
- */ |
|
| 102 |
- private String searchKeywordFrom = ""; |
|
| 103 |
- |
|
| 104 |
- /** |
|
| 105 |
- * 검색KeywordTo |
|
| 106 |
- */ |
|
| 107 |
- private String searchKeywordTo = ""; |
|
| 108 |
- |
|
| 109 |
- /** |
|
| 110 |
- * sortTyCode |
|
| 111 |
- */ |
|
| 112 |
- private String sortTyCode = ""; |
|
| 113 |
- |
|
| 114 |
- /** |
|
| 115 |
- * 관리자여부 |
|
| 116 |
- */ |
|
| 117 |
- private String adminAt = "N"; |
|
| 118 |
- |
|
| 119 |
- private String menuId = ""; |
|
| 120 |
- |
|
| 121 |
- private String searchMltmdClCode; |
|
| 122 |
- |
|
| 123 |
- /** |
|
| 124 |
- * 검색-시작일 |
|
| 125 |
- */ |
|
| 126 |
- private String searchBeginDt; |
|
| 127 |
- |
|
| 128 |
- /** |
|
| 129 |
- * 검색-종료일 |
|
| 130 |
- */ |
|
| 131 |
- private String searchEndDt; |
|
| 132 |
- |
|
| 133 |
- private String fromDate; |
|
| 134 |
- |
|
| 135 |
- private String toDate; |
|
| 136 |
- |
|
| 137 |
- |
|
| 138 |
- /** 컬럼명으로 정렬 */ |
|
| 139 |
- private String searchSortValue; |
|
| 140 |
- |
|
| 141 |
- private String sessionId; |
|
| 142 |
- |
|
| 143 |
- |
|
| 144 |
- public String getMenuId() {
|
|
| 145 |
- return menuId; |
|
| 146 |
- } |
|
| 147 |
- |
|
| 148 |
- public void setMenuId(String menuId) {
|
|
| 149 |
- this.menuId = menuId; |
|
| 150 |
- } |
|
| 151 |
- |
|
| 152 |
- public String getSearchCate() {
|
|
| 153 |
- return searchCate; |
|
| 154 |
- } |
|
| 155 |
- |
|
| 156 |
- public void setSearchCate(String searchCate) {
|
|
| 157 |
- this.searchCate = searchCate; |
|
| 158 |
- } |
|
| 159 |
- |
|
| 160 |
- public List<String> getSearchCateList() {
|
|
| 161 |
- return searchCateList; |
|
| 162 |
- } |
|
| 163 |
- |
|
| 164 |
- public void setSearchCateList(List<String> searchCateList) {
|
|
| 165 |
- this.searchCateList = searchCateList; |
|
| 166 |
- } |
|
| 167 |
- |
|
| 168 |
- public String getSearchTarget() {
|
|
| 169 |
- return searchTarget; |
|
| 170 |
- } |
|
| 171 |
- |
|
| 172 |
- public void setSearchTarget(String searchTarget) {
|
|
| 173 |
- this.searchTarget = searchTarget; |
|
| 174 |
- } |
|
| 175 |
- |
|
| 176 |
- public String getSearchLevel() {
|
|
| 177 |
- return searchLevel; |
|
| 178 |
- } |
|
| 179 |
- |
|
| 180 |
- public void setSearchLevel(String searchLevel) {
|
|
| 181 |
- this.searchLevel = searchLevel; |
|
| 182 |
- } |
|
| 183 |
- |
|
| 184 |
- /** |
|
| 185 |
- * @return |
|
| 186 |
- */ |
|
| 187 |
- public int getFirstIndex() {
|
|
| 188 |
- return firstIndex; |
|
| 189 |
- } |
|
| 190 |
- |
|
| 191 |
- /** |
|
| 192 |
- * @param firstIndex |
|
| 193 |
- */ |
|
| 194 |
- public void setFirstIndex(int firstIndex) {
|
|
| 195 |
- this.firstIndex = firstIndex; |
|
| 196 |
- } |
|
| 197 |
- |
|
| 198 |
- /** |
|
| 199 |
- * @return |
|
| 200 |
- */ |
|
| 201 |
- public int getLastIndex() {
|
|
| 202 |
- return lastIndex; |
|
| 203 |
- } |
|
| 204 |
- |
|
| 205 |
- /** |
|
| 206 |
- * @param lastIndex |
|
| 207 |
- */ |
|
| 208 |
- public void setLastIndex(int lastIndex) {
|
|
| 209 |
- this.lastIndex = lastIndex; |
|
| 210 |
- } |
|
| 211 |
- |
|
| 212 |
- /** |
|
| 213 |
- * @return |
|
| 214 |
- */ |
|
| 215 |
- public int getRecordCountPerPage() {
|
|
| 216 |
- return recordCountPerPage; |
|
| 217 |
- } |
|
| 218 |
- |
|
| 219 |
- /** |
|
| 220 |
- * @param recordCountPerPage |
|
| 221 |
- */ |
|
| 222 |
- public void setRecordCountPerPage(int recordCountPerPage) {
|
|
| 223 |
- this.recordCountPerPage = recordCountPerPage; |
|
| 224 |
- } |
|
| 225 |
- |
|
| 226 |
- /** |
|
| 227 |
- * @return |
|
| 228 |
- */ |
|
| 229 |
- public String getSearchMode() {
|
|
| 230 |
- return searchMode; |
|
| 231 |
- } |
|
| 232 |
- |
|
| 233 |
- /** |
|
| 234 |
- * @param searchMode |
|
| 235 |
- */ |
|
| 236 |
- public void setSearchMode(String searchMode) {
|
|
| 237 |
- this.searchMode = searchMode; |
|
| 238 |
- } |
|
| 239 |
- |
|
| 240 |
- |
|
| 241 |
- /** |
|
| 242 |
- * @return |
|
| 243 |
- */ |
|
| 244 |
- public String getSearchCondition() {
|
|
| 245 |
- return searchCondition; |
|
| 246 |
- } |
|
| 247 |
- |
|
| 248 |
- /** |
|
| 249 |
- * @param searchCondition |
|
| 250 |
- */ |
|
| 251 |
- public void setSearchCondition(String searchCondition) {
|
|
| 252 |
- this.searchCondition = searchCondition; |
|
| 253 |
- } |
|
| 254 |
- |
|
| 255 |
- /** |
|
| 256 |
- * @return |
|
| 257 |
- */ |
|
| 258 |
- public String getSearchKeyword() {
|
|
| 259 |
- return searchKeyword; |
|
| 260 |
- } |
|
| 261 |
- |
|
| 262 |
- /** |
|
| 263 |
- * @param searchKeyword |
|
| 264 |
- */ |
|
| 265 |
- public void setSearchKeyword(String searchKeyword) {
|
|
| 266 |
- this.searchKeyword = searchKeyword; |
|
| 267 |
- } |
|
| 268 |
- |
|
| 269 |
- /** |
|
| 270 |
- * @return |
|
| 271 |
- */ |
|
| 272 |
- public String getSearchUseYn() {
|
|
| 273 |
- return searchUseYn; |
|
| 274 |
- } |
|
| 275 |
- |
|
| 276 |
- /** |
|
| 277 |
- * @param searchUseYn |
|
| 278 |
- */ |
|
| 279 |
- public void setSearchUseYn(String searchUseYn) {
|
|
| 280 |
- this.searchUseYn = searchUseYn; |
|
| 281 |
- } |
|
| 282 |
- |
|
| 283 |
- /** |
|
| 284 |
- * @return |
|
| 285 |
- */ |
|
| 286 |
- public int getPageIndex() {
|
|
| 287 |
- return pageIndex; |
|
| 288 |
- } |
|
| 289 |
- |
|
| 290 |
- /** |
|
| 291 |
- * @param pageIndex |
|
| 292 |
- */ |
|
| 293 |
- public void setPageIndex(int pageIndex) {
|
|
| 294 |
- this.pageIndex = pageIndex; |
|
| 295 |
- } |
|
| 296 |
- |
|
| 297 |
- /** |
|
| 298 |
- * @return |
|
| 299 |
- */ |
|
| 300 |
- public int getPageUnit() {
|
|
| 301 |
- return pageUnit; |
|
| 302 |
- } |
|
| 303 |
- |
|
| 304 |
- /** |
|
| 305 |
- * @param pageUnit |
|
| 306 |
- */ |
|
| 307 |
- public void setPageUnit(int pageUnit) {
|
|
| 308 |
- this.pageUnit = pageUnit; |
|
| 309 |
- } |
|
| 310 |
- |
|
| 311 |
- /** |
|
| 312 |
- * @return |
|
| 313 |
- */ |
|
| 314 |
- public int getPageSize() {
|
|
| 315 |
- return pageSize; |
|
| 316 |
- } |
|
| 317 |
- |
|
| 318 |
- /** |
|
| 319 |
- * @param pageSize |
|
| 320 |
- */ |
|
| 321 |
- public void setPageSize(int pageSize) {
|
|
| 322 |
- this.pageSize = pageSize; |
|
| 323 |
- } |
|
| 324 |
- |
|
| 325 |
- public String toString() {
|
|
| 326 |
- return ToStringBuilder.reflectionToString(this); |
|
| 327 |
- } |
|
| 328 |
- |
|
| 329 |
- |
|
| 330 |
- /** |
|
| 331 |
- * searchKeywordFrom attribute를 리턴한다. |
|
| 332 |
- * @return String |
|
| 333 |
- */ |
|
| 334 |
- public String getSearchKeywordFrom() {
|
|
| 335 |
- return searchKeywordFrom; |
|
| 336 |
- } |
|
| 337 |
- |
|
| 338 |
- /** |
|
| 339 |
- * searchKeywordFrom attribute 값을 설정한다. |
|
| 340 |
- * @param searchKeywordFrom String |
|
| 341 |
- */ |
|
| 342 |
- public void setSearchKeywordFrom(String searchKeywordFrom) {
|
|
| 343 |
- this.searchKeywordFrom = searchKeywordFrom; |
|
| 344 |
- } |
|
| 345 |
- |
|
| 346 |
- /** |
|
| 347 |
- * searchKeywordTo attribute를 리턴한다. |
|
| 348 |
- * @return String |
|
| 349 |
- */ |
|
| 350 |
- public String getSearchKeywordTo() {
|
|
| 351 |
- return searchKeywordTo; |
|
| 352 |
- } |
|
| 353 |
- |
|
| 354 |
- /** |
|
| 355 |
- * searchKeywordTo attribute 값을 설정한다. |
|
| 356 |
- * @param searchKeywordTo String |
|
| 357 |
- */ |
|
| 358 |
- public void setSearchKeywordTo(String searchKeywordTo) {
|
|
| 359 |
- this.searchKeywordTo = searchKeywordTo; |
|
| 360 |
- } |
|
| 361 |
- |
|
| 362 |
- public String getSelectMode() {
|
|
| 363 |
- return selectMode; |
|
| 364 |
- } |
|
| 365 |
- |
|
| 366 |
- public void setSelectMode(String selectMode) {
|
|
| 367 |
- this.selectMode = selectMode; |
|
| 368 |
- } |
|
| 369 |
- |
|
| 370 |
- public String getSortTyCode() {
|
|
| 371 |
- return sortTyCode; |
|
| 372 |
- } |
|
| 373 |
- |
|
| 374 |
- public void setSortTyCode(String sortTyCode) {
|
|
| 375 |
- this.sortTyCode = sortTyCode; |
|
| 376 |
- } |
|
| 377 |
- |
|
| 378 |
- public String getAdminAt() {
|
|
| 379 |
- return adminAt; |
|
| 380 |
- } |
|
| 381 |
- |
|
| 382 |
- public void setAdminAt(String adminAt) {
|
|
| 383 |
- this.adminAt = adminAt; |
|
| 384 |
- } |
|
| 385 |
- |
|
| 386 |
- public String getSearchMltmdClCode() {
|
|
| 387 |
- return searchMltmdClCode; |
|
| 388 |
- } |
|
| 389 |
- |
|
| 390 |
- public void setSearchMltmdClCode(String searchMltmdClCode) {
|
|
| 391 |
- this.searchMltmdClCode = searchMltmdClCode; |
|
| 392 |
- } |
|
| 393 |
- |
|
| 394 |
- public String getSearchBeginDt() {
|
|
| 395 |
- return searchBeginDt; |
|
| 396 |
- } |
|
| 397 |
- |
|
| 398 |
- public void setSearchBeginDt(String searchBeginDt) {
|
|
| 399 |
- this.searchBeginDt = searchBeginDt; |
|
| 400 |
- } |
|
| 401 |
- |
|
| 402 |
- public String getSearchEndDt() {
|
|
| 403 |
- return searchEndDt; |
|
| 404 |
- } |
|
| 405 |
- |
|
| 406 |
- public void setSearchEndDt(String searchEndDt) {
|
|
| 407 |
- this.searchEndDt = searchEndDt; |
|
| 408 |
- } |
|
| 409 |
- |
|
| 410 |
- public String getFromDate() {
|
|
| 411 |
- return fromDate; |
|
| 412 |
- } |
|
| 413 |
- |
|
| 414 |
- public void setFromDate(String fromDate) {
|
|
| 415 |
- this.fromDate = fromDate; |
|
| 416 |
- } |
|
| 417 |
- |
|
| 418 |
- public String getToDate() {
|
|
| 419 |
- return toDate; |
|
| 420 |
- } |
|
| 421 |
- |
|
| 422 |
- public void setToDate(String toDate) {
|
|
| 423 |
- this.toDate = toDate; |
|
| 424 |
- } |
|
| 425 |
- |
|
| 426 |
- public String getSearchSortValue() {
|
|
| 427 |
- return searchSortValue; |
|
| 428 |
- } |
|
| 429 |
- |
|
| 430 |
- public void setSearchSortValue(String searchSortValue) {
|
|
| 431 |
- this.searchSortValue = searchSortValue; |
|
| 432 |
- } |
|
| 433 |
- |
|
| 434 |
- public String getSessionId() {
|
|
| 435 |
- return sessionId; |
|
| 436 |
- } |
|
| 437 |
- |
|
| 438 |
- public void setSessionId(String sessionId) {
|
|
| 439 |
- this.sessionId = sessionId; |
|
| 440 |
- } |
|
| 441 |
- |
|
| 442 |
-} |
|
| 1 |
+package egovframework.com.cmm; |
|
| 2 |
+ |
|
| 3 |
+import java.io.Serializable; |
|
| 4 |
+import java.util.List; |
|
| 5 |
+ |
|
| 6 |
+import org.apache.commons.lang.builder.ToStringBuilder; |
|
| 7 |
+ |
|
| 8 |
+@SuppressWarnings("serial")
|
|
| 9 |
+public class ComDefaultVO implements Serializable {
|
|
| 10 |
+ |
|
| 11 |
+ //검색분류 |
|
| 12 |
+ private String searchCate = ""; |
|
| 13 |
+ |
|
| 14 |
+ //검색 카테고리리스트 |
|
| 15 |
+ private List<String> searchCateList; |
|
| 16 |
+ |
|
| 17 |
+ //검색대상 |
|
| 18 |
+ private String searchTarget = ""; |
|
| 19 |
+ |
|
| 20 |
+ //검색레벨 |
|
| 21 |
+ private String searchLevel = ""; |
|
| 22 |
+ |
|
| 23 |
+ //검색모드 |
|
| 24 |
+ private String searchMode = ""; |
|
| 25 |
+ |
|
| 26 |
+ //선택모드여부 |
|
| 27 |
+ private String selectMode = "N"; |
|
| 28 |
+ |
|
| 29 |
+ //검색조건 |
|
| 30 |
+ private String searchCondition = ""; |
|
| 31 |
+ |
|
| 32 |
+ //검색Keyword |
|
| 33 |
+ private String searchKeyword = ""; |
|
| 34 |
+ |
|
| 35 |
+ //검색사용여부 |
|
| 36 |
+ private String searchUseYn = ""; |
|
| 37 |
+ |
|
| 38 |
+ //현재페이지 |
|
| 39 |
+ private int pageIndex = 1; |
|
| 40 |
+ |
|
| 41 |
+ //페이지갯수 |
|
| 42 |
+ private int pageUnit = 10; |
|
| 43 |
+ |
|
| 44 |
+ //페이지사이즈 |
|
| 45 |
+ private int pageSize = 10; |
|
| 46 |
+ |
|
| 47 |
+ //firstIndex |
|
| 48 |
+ private int firstIndex = 1; |
|
| 49 |
+ |
|
| 50 |
+ //lastIndex |
|
| 51 |
+ private int lastIndex = 1; |
|
| 52 |
+ |
|
| 53 |
+ //recordCountPerPage |
|
| 54 |
+ private int recordCountPerPage = 10; |
|
| 55 |
+ |
|
| 56 |
+ //검색KeywordFrom |
|
| 57 |
+ private String searchKeywordFrom = ""; |
|
| 58 |
+ |
|
| 59 |
+ //검색KeywordTo |
|
| 60 |
+ private String searchKeywordTo = ""; |
|
| 61 |
+ |
|
| 62 |
+ //sortTyCode |
|
| 63 |
+ private String sortTyCode = ""; |
|
| 64 |
+ |
|
| 65 |
+ //관리자여부 |
|
| 66 |
+ private String adminAt = "N"; |
|
| 67 |
+ |
|
| 68 |
+ //사이트 ID |
|
| 69 |
+ private String siteId; |
|
| 70 |
+ |
|
| 71 |
+ //메뉴ID |
|
| 72 |
+ private String menuId = ""; |
|
| 73 |
+ |
|
| 74 |
+ //검색-시작일 |
|
| 75 |
+ private String searchBeginDt; |
|
| 76 |
+ |
|
| 77 |
+ //검색-종료일 |
|
| 78 |
+ private String searchEndDt; |
|
| 79 |
+ |
|
| 80 |
+ //시작일 |
|
| 81 |
+ private String fromDate; |
|
| 82 |
+ |
|
| 83 |
+ //종료일 |
|
| 84 |
+ private String toDate; |
|
| 85 |
+ |
|
| 86 |
+ //컬럼명으로 정렬 |
|
| 87 |
+ private String searchSortValue; |
|
| 88 |
+ |
|
| 89 |
+ //세션ID |
|
| 90 |
+ private String sessionId; |
|
| 91 |
+ |
|
| 92 |
+ //사용여부 |
|
| 93 |
+ private String useAt; |
|
| 94 |
+ |
|
| 95 |
+ //최초등록일 |
|
| 96 |
+ private java.util.Date frstRegisterPnttm; |
|
| 97 |
+ |
|
| 98 |
+ //최초등록자ID |
|
| 99 |
+ private java.lang.String frstRegisterId; |
|
| 100 |
+ |
|
| 101 |
+ //최종수정일 |
|
| 102 |
+ private java.util.Date lastUpdusrPnttm; |
|
| 103 |
+ |
|
| 104 |
+ //최종수정자ID |
|
| 105 |
+ private java.lang.String lastUpdusrId; |
|
| 106 |
+ |
|
| 107 |
+ //최초 등록자명 |
|
| 108 |
+ private String frstRegisterNm = ""; |
|
| 109 |
+ |
|
| 110 |
+ //최종 수정자명 |
|
| 111 |
+ private String lastUpdusrNm = ""; |
|
| 112 |
+ |
|
| 113 |
+ //첨부파일ID |
|
| 114 |
+ private java.lang.String atchFileId = ""; |
|
| 115 |
+ |
|
| 116 |
+ |
|
| 117 |
+ public String getMenuId() {
|
|
| 118 |
+ return menuId; |
|
| 119 |
+ } |
|
| 120 |
+ |
|
| 121 |
+ public void setMenuId(String menuId) {
|
|
| 122 |
+ this.menuId = menuId; |
|
| 123 |
+ } |
|
| 124 |
+ |
|
| 125 |
+ public String getSearchCate() {
|
|
| 126 |
+ return searchCate; |
|
| 127 |
+ } |
|
| 128 |
+ |
|
| 129 |
+ public void setSearchCate(String searchCate) {
|
|
| 130 |
+ this.searchCate = searchCate; |
|
| 131 |
+ } |
|
| 132 |
+ |
|
| 133 |
+ public List<String> getSearchCateList() {
|
|
| 134 |
+ return searchCateList; |
|
| 135 |
+ } |
|
| 136 |
+ |
|
| 137 |
+ public void setSearchCateList(List<String> searchCateList) {
|
|
| 138 |
+ this.searchCateList = searchCateList; |
|
| 139 |
+ } |
|
| 140 |
+ |
|
| 141 |
+ public String getSearchTarget() {
|
|
| 142 |
+ return searchTarget; |
|
| 143 |
+ } |
|
| 144 |
+ |
|
| 145 |
+ public void setSearchTarget(String searchTarget) {
|
|
| 146 |
+ this.searchTarget = searchTarget; |
|
| 147 |
+ } |
|
| 148 |
+ |
|
| 149 |
+ public String getSearchLevel() {
|
|
| 150 |
+ return searchLevel; |
|
| 151 |
+ } |
|
| 152 |
+ |
|
| 153 |
+ public void setSearchLevel(String searchLevel) {
|
|
| 154 |
+ this.searchLevel = searchLevel; |
|
| 155 |
+ } |
|
| 156 |
+ |
|
| 157 |
+ /** |
|
| 158 |
+ * @return |
|
| 159 |
+ */ |
|
| 160 |
+ public int getFirstIndex() {
|
|
| 161 |
+ return firstIndex; |
|
| 162 |
+ } |
|
| 163 |
+ |
|
| 164 |
+ /** |
|
| 165 |
+ * @param firstIndex |
|
| 166 |
+ */ |
|
| 167 |
+ public void setFirstIndex(int firstIndex) {
|
|
| 168 |
+ this.firstIndex = firstIndex; |
|
| 169 |
+ } |
|
| 170 |
+ |
|
| 171 |
+ /** |
|
| 172 |
+ * @return |
|
| 173 |
+ */ |
|
| 174 |
+ public int getLastIndex() {
|
|
| 175 |
+ return lastIndex; |
|
| 176 |
+ } |
|
| 177 |
+ |
|
| 178 |
+ /** |
|
| 179 |
+ * @param lastIndex |
|
| 180 |
+ */ |
|
| 181 |
+ public void setLastIndex(int lastIndex) {
|
|
| 182 |
+ this.lastIndex = lastIndex; |
|
| 183 |
+ } |
|
| 184 |
+ |
|
| 185 |
+ /** |
|
| 186 |
+ * @return |
|
| 187 |
+ */ |
|
| 188 |
+ public int getRecordCountPerPage() {
|
|
| 189 |
+ return recordCountPerPage; |
|
| 190 |
+ } |
|
| 191 |
+ |
|
| 192 |
+ /** |
|
| 193 |
+ * @param recordCountPerPage |
|
| 194 |
+ */ |
|
| 195 |
+ public void setRecordCountPerPage(int recordCountPerPage) {
|
|
| 196 |
+ this.recordCountPerPage = recordCountPerPage; |
|
| 197 |
+ } |
|
| 198 |
+ |
|
| 199 |
+ /** |
|
| 200 |
+ * @return |
|
| 201 |
+ */ |
|
| 202 |
+ public String getSearchMode() {
|
|
| 203 |
+ return searchMode; |
|
| 204 |
+ } |
|
| 205 |
+ |
|
| 206 |
+ /** |
|
| 207 |
+ * @param searchMode |
|
| 208 |
+ */ |
|
| 209 |
+ public void setSearchMode(String searchMode) {
|
|
| 210 |
+ this.searchMode = searchMode; |
|
| 211 |
+ } |
|
| 212 |
+ |
|
| 213 |
+ |
|
| 214 |
+ /** |
|
| 215 |
+ * @return |
|
| 216 |
+ */ |
|
| 217 |
+ public String getSearchCondition() {
|
|
| 218 |
+ return searchCondition; |
|
| 219 |
+ } |
|
| 220 |
+ |
|
| 221 |
+ /** |
|
| 222 |
+ * @param searchCondition |
|
| 223 |
+ */ |
|
| 224 |
+ public void setSearchCondition(String searchCondition) {
|
|
| 225 |
+ this.searchCondition = searchCondition; |
|
| 226 |
+ } |
|
| 227 |
+ |
|
| 228 |
+ /** |
|
| 229 |
+ * @return |
|
| 230 |
+ */ |
|
| 231 |
+ public String getSearchKeyword() {
|
|
| 232 |
+ return searchKeyword; |
|
| 233 |
+ } |
|
| 234 |
+ |
|
| 235 |
+ /** |
|
| 236 |
+ * @param searchKeyword |
|
| 237 |
+ */ |
|
| 238 |
+ public void setSearchKeyword(String searchKeyword) {
|
|
| 239 |
+ this.searchKeyword = searchKeyword; |
|
| 240 |
+ } |
|
| 241 |
+ |
|
| 242 |
+ /** |
|
| 243 |
+ * @return |
|
| 244 |
+ */ |
|
| 245 |
+ public String getSearchUseYn() {
|
|
| 246 |
+ return searchUseYn; |
|
| 247 |
+ } |
|
| 248 |
+ |
|
| 249 |
+ /** |
|
| 250 |
+ * @param searchUseYn |
|
| 251 |
+ */ |
|
| 252 |
+ public void setSearchUseYn(String searchUseYn) {
|
|
| 253 |
+ this.searchUseYn = searchUseYn; |
|
| 254 |
+ } |
|
| 255 |
+ |
|
| 256 |
+ /** |
|
| 257 |
+ * @return |
|
| 258 |
+ */ |
|
| 259 |
+ public int getPageIndex() {
|
|
| 260 |
+ return pageIndex; |
|
| 261 |
+ } |
|
| 262 |
+ |
|
| 263 |
+ /** |
|
| 264 |
+ * @param pageIndex |
|
| 265 |
+ */ |
|
| 266 |
+ public void setPageIndex(int pageIndex) {
|
|
| 267 |
+ this.pageIndex = pageIndex; |
|
| 268 |
+ } |
|
| 269 |
+ |
|
| 270 |
+ /** |
|
| 271 |
+ * @return |
|
| 272 |
+ */ |
|
| 273 |
+ public int getPageUnit() {
|
|
| 274 |
+ return pageUnit; |
|
| 275 |
+ } |
|
| 276 |
+ |
|
| 277 |
+ /** |
|
| 278 |
+ * @param pageUnit |
|
| 279 |
+ */ |
|
| 280 |
+ public void setPageUnit(int pageUnit) {
|
|
| 281 |
+ this.pageUnit = pageUnit; |
|
| 282 |
+ } |
|
| 283 |
+ |
|
| 284 |
+ /** |
|
| 285 |
+ * @return |
|
| 286 |
+ */ |
|
| 287 |
+ public int getPageSize() {
|
|
| 288 |
+ return pageSize; |
|
| 289 |
+ } |
|
| 290 |
+ |
|
| 291 |
+ /** |
|
| 292 |
+ * @param pageSize |
|
| 293 |
+ */ |
|
| 294 |
+ public void setPageSize(int pageSize) {
|
|
| 295 |
+ this.pageSize = pageSize; |
|
| 296 |
+ } |
|
| 297 |
+ |
|
| 298 |
+ public String toString() {
|
|
| 299 |
+ return ToStringBuilder.reflectionToString(this); |
|
| 300 |
+ } |
|
| 301 |
+ |
|
| 302 |
+ |
|
| 303 |
+ /** |
|
| 304 |
+ * searchKeywordFrom attribute를 리턴한다. |
|
| 305 |
+ * @return String |
|
| 306 |
+ */ |
|
| 307 |
+ public String getSearchKeywordFrom() {
|
|
| 308 |
+ return searchKeywordFrom; |
|
| 309 |
+ } |
|
| 310 |
+ |
|
| 311 |
+ /** |
|
| 312 |
+ * searchKeywordFrom attribute 값을 설정한다. |
|
| 313 |
+ * @param searchKeywordFrom String |
|
| 314 |
+ */ |
|
| 315 |
+ public void setSearchKeywordFrom(String searchKeywordFrom) {
|
|
| 316 |
+ this.searchKeywordFrom = searchKeywordFrom; |
|
| 317 |
+ } |
|
| 318 |
+ |
|
| 319 |
+ /** |
|
| 320 |
+ * searchKeywordTo attribute를 리턴한다. |
|
| 321 |
+ * @return String |
|
| 322 |
+ */ |
|
| 323 |
+ public String getSearchKeywordTo() {
|
|
| 324 |
+ return searchKeywordTo; |
|
| 325 |
+ } |
|
| 326 |
+ |
|
| 327 |
+ /** |
|
| 328 |
+ * searchKeywordTo attribute 값을 설정한다. |
|
| 329 |
+ * @param searchKeywordTo String |
|
| 330 |
+ */ |
|
| 331 |
+ public void setSearchKeywordTo(String searchKeywordTo) {
|
|
| 332 |
+ this.searchKeywordTo = searchKeywordTo; |
|
| 333 |
+ } |
|
| 334 |
+ |
|
| 335 |
+ public String getSelectMode() {
|
|
| 336 |
+ return selectMode; |
|
| 337 |
+ } |
|
| 338 |
+ |
|
| 339 |
+ public void setSelectMode(String selectMode) {
|
|
| 340 |
+ this.selectMode = selectMode; |
|
| 341 |
+ } |
|
| 342 |
+ |
|
| 343 |
+ public String getSortTyCode() {
|
|
| 344 |
+ return sortTyCode; |
|
| 345 |
+ } |
|
| 346 |
+ |
|
| 347 |
+ public void setSortTyCode(String sortTyCode) {
|
|
| 348 |
+ this.sortTyCode = sortTyCode; |
|
| 349 |
+ } |
|
| 350 |
+ |
|
| 351 |
+ public String getAdminAt() {
|
|
| 352 |
+ return adminAt; |
|
| 353 |
+ } |
|
| 354 |
+ |
|
| 355 |
+ public void setAdminAt(String adminAt) {
|
|
| 356 |
+ this.adminAt = adminAt; |
|
| 357 |
+ } |
|
| 358 |
+ |
|
| 359 |
+ public String getSearchBeginDt() {
|
|
| 360 |
+ return searchBeginDt; |
|
| 361 |
+ } |
|
| 362 |
+ |
|
| 363 |
+ public void setSearchBeginDt(String searchBeginDt) {
|
|
| 364 |
+ this.searchBeginDt = searchBeginDt; |
|
| 365 |
+ } |
|
| 366 |
+ |
|
| 367 |
+ public String getSearchEndDt() {
|
|
| 368 |
+ return searchEndDt; |
|
| 369 |
+ } |
|
| 370 |
+ |
|
| 371 |
+ public void setSearchEndDt(String searchEndDt) {
|
|
| 372 |
+ this.searchEndDt = searchEndDt; |
|
| 373 |
+ } |
|
| 374 |
+ |
|
| 375 |
+ public String getFromDate() {
|
|
| 376 |
+ return fromDate; |
|
| 377 |
+ } |
|
| 378 |
+ |
|
| 379 |
+ public void setFromDate(String fromDate) {
|
|
| 380 |
+ this.fromDate = fromDate; |
|
| 381 |
+ } |
|
| 382 |
+ |
|
| 383 |
+ public String getToDate() {
|
|
| 384 |
+ return toDate; |
|
| 385 |
+ } |
|
| 386 |
+ |
|
| 387 |
+ public void setToDate(String toDate) {
|
|
| 388 |
+ this.toDate = toDate; |
|
| 389 |
+ } |
|
| 390 |
+ |
|
| 391 |
+ public String getSearchSortValue() {
|
|
| 392 |
+ return searchSortValue; |
|
| 393 |
+ } |
|
| 394 |
+ |
|
| 395 |
+ public void setSearchSortValue(String searchSortValue) {
|
|
| 396 |
+ this.searchSortValue = searchSortValue; |
|
| 397 |
+ } |
|
| 398 |
+ |
|
| 399 |
+ public String getSessionId() {
|
|
| 400 |
+ return sessionId; |
|
| 401 |
+ } |
|
| 402 |
+ |
|
| 403 |
+ public void setSessionId(String sessionId) {
|
|
| 404 |
+ this.sessionId = sessionId; |
|
| 405 |
+ } |
|
| 406 |
+ |
|
| 407 |
+ public String getUseAt() {
|
|
| 408 |
+ return useAt; |
|
| 409 |
+ } |
|
| 410 |
+ |
|
| 411 |
+ public void setUseAt(String useAt) {
|
|
| 412 |
+ this.useAt = useAt; |
|
| 413 |
+ } |
|
| 414 |
+ |
|
| 415 |
+ public java.util.Date getFrstRegisterPnttm() {
|
|
| 416 |
+ return frstRegisterPnttm; |
|
| 417 |
+ } |
|
| 418 |
+ |
|
| 419 |
+ public void setFrstRegisterPnttm(java.util.Date frstRegisterPnttm) {
|
|
| 420 |
+ this.frstRegisterPnttm = frstRegisterPnttm; |
|
| 421 |
+ } |
|
| 422 |
+ |
|
| 423 |
+ public java.lang.String getFrstRegisterId() {
|
|
| 424 |
+ return frstRegisterId; |
|
| 425 |
+ } |
|
| 426 |
+ |
|
| 427 |
+ public void setFrstRegisterId(java.lang.String frstRegisterId) {
|
|
| 428 |
+ this.frstRegisterId = frstRegisterId; |
|
| 429 |
+ } |
|
| 430 |
+ |
|
| 431 |
+ public java.util.Date getLastUpdusrPnttm() {
|
|
| 432 |
+ return lastUpdusrPnttm; |
|
| 433 |
+ } |
|
| 434 |
+ |
|
| 435 |
+ public void setLastUpdusrPnttm(java.util.Date lastUpdusrPnttm) {
|
|
| 436 |
+ this.lastUpdusrPnttm = lastUpdusrPnttm; |
|
| 437 |
+ } |
|
| 438 |
+ |
|
| 439 |
+ public java.lang.String getLastUpdusrId() {
|
|
| 440 |
+ return lastUpdusrId; |
|
| 441 |
+ } |
|
| 442 |
+ |
|
| 443 |
+ public void setLastUpdusrId(java.lang.String lastUpdusrId) {
|
|
| 444 |
+ this.lastUpdusrId = lastUpdusrId; |
|
| 445 |
+ } |
|
| 446 |
+ |
|
| 447 |
+ public String getSiteId() {
|
|
| 448 |
+ return siteId; |
|
| 449 |
+ } |
|
| 450 |
+ |
|
| 451 |
+ public void setSiteId(String siteId) {
|
|
| 452 |
+ this.siteId = siteId; |
|
| 453 |
+ } |
|
| 454 |
+ |
|
| 455 |
+ public String getFrstRegisterNm() {
|
|
| 456 |
+ return frstRegisterNm; |
|
| 457 |
+ } |
|
| 458 |
+ |
|
| 459 |
+ public void setFrstRegisterNm(String frstRegisterNm) {
|
|
| 460 |
+ this.frstRegisterNm = frstRegisterNm; |
|
| 461 |
+ } |
|
| 462 |
+ |
|
| 463 |
+ public String getLastUpdusrNm() {
|
|
| 464 |
+ return lastUpdusrNm; |
|
| 465 |
+ } |
|
| 466 |
+ |
|
| 467 |
+ public void setLastUpdusrNm(String lastUpdusrNm) {
|
|
| 468 |
+ this.lastUpdusrNm = lastUpdusrNm; |
|
| 469 |
+ } |
|
| 470 |
+ |
|
| 471 |
+ public java.lang.String getAtchFileId() {
|
|
| 472 |
+ return atchFileId; |
|
| 473 |
+ } |
|
| 474 |
+ |
|
| 475 |
+ public void setAtchFileId(java.lang.String atchFileId) {
|
|
| 476 |
+ this.atchFileId = atchFileId; |
|
| 477 |
+ } |
|
| 478 |
+ |
|
| 479 |
+} |
--- base/src/main/java/egovframework/com/cmm/ComEduVO.java
... | ... | @@ -1,273 +0,0 @@ |
| 1 | -package egovframework.com.cmm; | |
| 2 | - | |
| 3 | -import egovframework.rte.fdl.string.EgovDateUtil; | |
| 4 | - | |
| 5 | -public class ComEduVO extends ComDefaultVO {
| |
| 6 | - | |
| 7 | - private static final long serialVersionUID = 1L; | |
| 8 | - | |
| 9 | - /** EDU_YEAR */ | |
| 10 | - private java.lang.String searchEduYear; | |
| 11 | - | |
| 12 | - /** SCHUL_ID */ | |
| 13 | - private java.lang.String searchSchulId; | |
| 14 | - | |
| 15 | - private java.lang.String searchSchulGradeCode; | |
| 16 | - | |
| 17 | - /** GRADE_CODE */ | |
| 18 | - private java.lang.String searchGradeCode = "1"; | |
| 19 | - | |
| 20 | - /** CLAS_CODE */ | |
| 21 | - private java.lang.String searchClasCode; | |
| 22 | - | |
| 23 | - private java.lang.String searchSemstrCode; | |
| 24 | - | |
| 25 | - private java.lang.String searchSbjectId; | |
| 26 | - | |
| 27 | - private java.lang.String searchWeekCode; | |
| 28 | - | |
| 29 | - private java.lang.String searchDfkCode; | |
| 30 | - | |
| 31 | - private java.lang.String searchPeriodCode; | |
| 32 | - | |
| 33 | - private java.lang.String searchClasNm; | |
| 34 | - | |
| 35 | - private java.lang.String searchTimeSeCode; | |
| 36 | - | |
| 37 | - private java.lang.String searchClasTimeAppyAt; | |
| 38 | - | |
| 39 | - private java.lang.String searchTimeTableAppyAt; | |
| 40 | - | |
| 41 | - private java.lang.String searchEcshgAt; | |
| 42 | - | |
| 43 | - private java.lang.String searchSbjectIncludeEcshgAt = "N"; | |
| 44 | - | |
| 45 | - private java.lang.String searchCrsdsgnAt; | |
| 46 | - | |
| 47 | - //이전 년도/학년 여부. | |
| 48 | - private java.lang.String yearGradeType; | |
| 49 | - | |
| 50 | - private java.lang.String searchSchulTypeCode; | |
| 51 | - private java.lang.String searchSchulSeCode; | |
| 52 | - private java.lang.String searchOfcdcCode; | |
| 53 | - | |
| 54 | - private java.lang.String searchDate; | |
| 55 | - | |
| 56 | - private java.lang.String[] searchArrAuthorGradeChkCode; | |
| 57 | - | |
| 58 | - private java.lang.String searchProgAt; | |
| 59 | - private java.lang.String searchUpperSbjectId; | |
| 60 | - private java.lang.String searchSbjectNm; | |
| 61 | - | |
| 62 | - public java.lang.String getSearchEduYear() {
| |
| 63 | - return searchEduYear == null ? EgovDateUtil.getCurrentYearAsString() : searchEduYear; | |
| 64 | - } | |
| 65 | - | |
| 66 | - public void setSearchEduYear(java.lang.String searchEduYear) {
| |
| 67 | - this.searchEduYear = searchEduYear; | |
| 68 | - } | |
| 69 | - | |
| 70 | - public java.lang.String getSearchSchulId() {
| |
| 71 | - return searchSchulId; | |
| 72 | - } | |
| 73 | - | |
| 74 | - public void setSearchSchulId(java.lang.String searchSchulId) {
| |
| 75 | - this.searchSchulId = searchSchulId; | |
| 76 | - } | |
| 77 | - | |
| 78 | - public java.lang.String getSearchSchulGradeCode() {
| |
| 79 | - return searchSchulGradeCode; | |
| 80 | - } | |
| 81 | - | |
| 82 | - public void setSearchSchulGradeCode(java.lang.String searchSchulGradeCode) {
| |
| 83 | - this.searchSchulGradeCode = searchSchulGradeCode; | |
| 84 | - } | |
| 85 | - | |
| 86 | - public java.lang.String getSearchGradeCode() {
| |
| 87 | - return searchGradeCode; | |
| 88 | - } | |
| 89 | - | |
| 90 | - public void setSearchGradeCode(java.lang.String searchGradeCode) {
| |
| 91 | - this.searchGradeCode = searchGradeCode; | |
| 92 | - } | |
| 93 | - | |
| 94 | - public java.lang.String getSearchClasCode() {
| |
| 95 | - return searchClasCode; | |
| 96 | - } | |
| 97 | - | |
| 98 | - public void setSearchClasCode(java.lang.String searchClasCode) {
| |
| 99 | - this.searchClasCode = searchClasCode; | |
| 100 | - } | |
| 101 | - | |
| 102 | - public java.lang.String getSearchSemstrCode() {
| |
| 103 | - return searchSemstrCode; | |
| 104 | - } | |
| 105 | - | |
| 106 | - public void setSearchSemstrCode(java.lang.String searchSemstrCode) {
| |
| 107 | - this.searchSemstrCode = searchSemstrCode; | |
| 108 | - } | |
| 109 | - | |
| 110 | - public java.lang.String getSearchSbjectId() {
| |
| 111 | - return searchSbjectId; | |
| 112 | - } | |
| 113 | - | |
| 114 | - public void setSearchSbjectId(java.lang.String searchSbjectId) {
| |
| 115 | - this.searchSbjectId = searchSbjectId; | |
| 116 | - } | |
| 117 | - | |
| 118 | - public java.lang.String getSearchWeekCode() {
| |
| 119 | - return searchWeekCode; | |
| 120 | - } | |
| 121 | - | |
| 122 | - public void setSearchWeekCode(java.lang.String searchWeekCode) {
| |
| 123 | - this.searchWeekCode = searchWeekCode; | |
| 124 | - } | |
| 125 | - | |
| 126 | - public java.lang.String getSearchDfkCode() {
| |
| 127 | - return searchDfkCode; | |
| 128 | - } | |
| 129 | - | |
| 130 | - public void setSearchDfkCode(java.lang.String searchDfkCode) {
| |
| 131 | - this.searchDfkCode = searchDfkCode; | |
| 132 | - } | |
| 133 | - | |
| 134 | - public java.lang.String getSearchPeriodCode() {
| |
| 135 | - return searchPeriodCode; | |
| 136 | - } | |
| 137 | - | |
| 138 | - public void setSearchPeriodCode(java.lang.String searchPeriodCode) {
| |
| 139 | - this.searchPeriodCode = searchPeriodCode; | |
| 140 | - } | |
| 141 | - | |
| 142 | - public java.lang.String getSearchClasNm() {
| |
| 143 | - return searchClasNm; | |
| 144 | - } | |
| 145 | - | |
| 146 | - public void setSearchClasNm(java.lang.String searchClasNm) {
| |
| 147 | - this.searchClasNm = searchClasNm; | |
| 148 | - } | |
| 149 | - | |
| 150 | - public java.lang.String getSearchClasTimeAppyAt() {
| |
| 151 | - return searchClasTimeAppyAt; | |
| 152 | - } | |
| 153 | - | |
| 154 | - public void setSearchClasTimeAppyAt(java.lang.String searchClasTimeAppyAt) {
| |
| 155 | - this.searchClasTimeAppyAt = searchClasTimeAppyAt; | |
| 156 | - } | |
| 157 | - | |
| 158 | - public java.lang.String getSearchTimeTableAppyAt() {
| |
| 159 | - return searchTimeTableAppyAt; | |
| 160 | - } | |
| 161 | - | |
| 162 | - public void setSearchTimeTableAppyAt(java.lang.String searchTimeTableAppyAt) {
| |
| 163 | - this.searchTimeTableAppyAt = searchTimeTableAppyAt; | |
| 164 | - } | |
| 165 | - | |
| 166 | - public java.lang.String getSearchTimeSeCode() {
| |
| 167 | - return searchTimeSeCode; | |
| 168 | - } | |
| 169 | - | |
| 170 | - public void setSearchTimeSeCode(java.lang.String searchTimeSeCode) {
| |
| 171 | - this.searchTimeSeCode = searchTimeSeCode; | |
| 172 | - } | |
| 173 | - | |
| 174 | - public java.lang.String getSearchEcshgAt() {
| |
| 175 | - return searchEcshgAt; | |
| 176 | - } | |
| 177 | - | |
| 178 | - public void setSearchEcshgAt(java.lang.String searchEcshgAt) {
| |
| 179 | - this.searchEcshgAt = searchEcshgAt; | |
| 180 | - } | |
| 181 | - | |
| 182 | - public java.lang.String getSearchSbjectIncludeEcshgAt() {
| |
| 183 | - return searchSbjectIncludeEcshgAt; | |
| 184 | - } | |
| 185 | - | |
| 186 | - public void setSearchSbjectIncludeEcshgAt(java.lang.String searchSbjectIncludeEcshgAt) {
| |
| 187 | - this.searchSbjectIncludeEcshgAt = searchSbjectIncludeEcshgAt; | |
| 188 | - } | |
| 189 | - | |
| 190 | - public java.lang.String getSearchSchulTypeCode() {
| |
| 191 | - return searchSchulTypeCode; | |
| 192 | - } | |
| 193 | - | |
| 194 | - public void setSearchSchulTypeCode(java.lang.String searchSchulTypeCode) {
| |
| 195 | - this.searchSchulTypeCode = searchSchulTypeCode; | |
| 196 | - } | |
| 197 | - | |
| 198 | - public java.lang.String getSearchSchulSeCode() {
| |
| 199 | - return searchSchulSeCode; | |
| 200 | - } | |
| 201 | - | |
| 202 | - public void setSearchSchulSeCode(java.lang.String searchSchulSeCode) {
| |
| 203 | - this.searchSchulSeCode = searchSchulSeCode; | |
| 204 | - } | |
| 205 | - | |
| 206 | - public java.lang.String getSearchOfcdcCode() {
| |
| 207 | - return searchOfcdcCode; | |
| 208 | - } | |
| 209 | - | |
| 210 | - public void setSearchOfcdcCode(java.lang.String searchOfcdcCode) {
| |
| 211 | - this.searchOfcdcCode = searchOfcdcCode; | |
| 212 | - } | |
| 213 | - | |
| 214 | - public java.lang.String getSearchDate() {
| |
| 215 | - return searchDate; | |
| 216 | - } | |
| 217 | - | |
| 218 | - public void setSearchDate(java.lang.String searchDate) {
| |
| 219 | - this.searchDate = searchDate; | |
| 220 | - } | |
| 221 | - | |
| 222 | - public java.lang.String getSearchCrsdsgnAt() {
| |
| 223 | - return searchCrsdsgnAt; | |
| 224 | - } | |
| 225 | - | |
| 226 | - public void setSearchCrsdsgnAt(java.lang.String searchCrsdsgnAt) {
| |
| 227 | - this.searchCrsdsgnAt = searchCrsdsgnAt; | |
| 228 | - } | |
| 229 | - | |
| 230 | - public java.lang.String getYearGradeType() {
| |
| 231 | - return yearGradeType; | |
| 232 | - } | |
| 233 | - | |
| 234 | - public void setYearGradeType(java.lang.String yearGradeType) {
| |
| 235 | - this.yearGradeType = yearGradeType; | |
| 236 | - } | |
| 237 | - | |
| 238 | - public java.lang.String[] getSearchArrAuthorGradeChkCode() {
| |
| 239 | - return searchArrAuthorGradeChkCode; | |
| 240 | - } | |
| 241 | - | |
| 242 | - public void setSearchArrAuthorGradeChkCode(java.lang.String[] searchArrAuthorGradeChkCode) {
| |
| 243 | - this.searchArrAuthorGradeChkCode = searchArrAuthorGradeChkCode; | |
| 244 | - } | |
| 245 | - | |
| 246 | - public java.lang.String getSearchProgAt() {
| |
| 247 | - return searchProgAt; | |
| 248 | - } | |
| 249 | - | |
| 250 | - public void setSearchProgAt(java.lang.String searchProgAt) {
| |
| 251 | - this.searchProgAt = searchProgAt; | |
| 252 | - } | |
| 253 | - | |
| 254 | - public java.lang.String getSearchUpperSbjectId() {
| |
| 255 | - return searchUpperSbjectId; | |
| 256 | - } | |
| 257 | - | |
| 258 | - public void setSearchUpperSbjectId(java.lang.String searchUpperSbjectId) {
| |
| 259 | - this.searchUpperSbjectId = searchUpperSbjectId; | |
| 260 | - } | |
| 261 | - | |
| 262 | - public java.lang.String getSearchSbjectNm() {
| |
| 263 | - return searchSbjectNm; | |
| 264 | - } | |
| 265 | - | |
| 266 | - public void setSearchSbjectNm(java.lang.String searchSbjectNm) {
| |
| 267 | - this.searchSbjectNm = searchSbjectNm; | |
| 268 | - } | |
| 269 | - | |
| 270 | - | |
| 271 | - | |
| 272 | - | |
| 273 | -} |
+++ base/src/main/java/egovframework/com/cmm/service/CmmUseService.java
... | ... | @@ -0,0 +1,23 @@ |
| 1 | +package egovframework.com.cmm.service; | |
| 2 | + | |
| 3 | +import java.util.List; | |
| 4 | +import java.util.Map; | |
| 5 | + | |
| 6 | +import egovframework.com.sym.ccm.cde.service.CmmnDetailCodeVO; | |
| 7 | + | |
| 8 | +//공통코드등 전체 업무에서 공용해서 사용해야 하는 서비스를 정의하기 위한 서비스 인터페이스 | |
| 9 | +public interface CmmUseService { | |
| 10 | + | |
| 11 | + //공통코드를 조회한다. | |
| 12 | + public List<CmmnDetailCodeVO> selectCmmCodeDetail(CmmnDetailCodeVO vo) throws Exception; | |
| 13 | + | |
| 14 | + //ComDefaultCodeVO의 리스트를 받아서 여러개의 코드 리스트를 맵에 담아서 리턴한다. | |
| 15 | + public Map<String, List<CmmnDetailCodeVO>> selectCmmCodeDetails(List voList) throws Exception; | |
| 16 | + | |
| 17 | + //조직정보를 코드형태로 리턴한다. | |
| 18 | + public List<CmmnDetailCodeVO> selectOgrnztIdDetail(CmmnDetailCodeVO vo) throws Exception; | |
| 19 | + | |
| 20 | + //그룹정보를 코드형태로 리턴한다. | |
| 21 | + public List<CmmnDetailCodeVO> selectGroupIdDetail(CmmnDetailCodeVO vo) throws Exception; | |
| 22 | + | |
| 23 | +} |
--- base/src/main/java/egovframework/com/cmm/service/EgovCmmUseService.java
... | ... | @@ -1,72 +0,0 @@ |
| 1 | -package egovframework.com.cmm.service; | |
| 2 | - | |
| 3 | -import java.util.List; | |
| 4 | -import java.util.Map; | |
| 5 | - | |
| 6 | -import egovframework.com.cmm.ComDefaultCodeVO; | |
| 7 | -import egovframework.com.sym.ccm.cde.service.CmmnDetailCode; | |
| 8 | - | |
| 9 | -/** | |
| 10 | - * | |
| 11 | - * 공통코드등 전체 업무에서 공용해서 사용해야 하는 서비스를 정의하기 위한 서비스 인터페이스 | |
| 12 | - * @author 공통서비스 개발팀 이삼섭 | |
| 13 | - * @since 2009.04.01 | |
| 14 | - * @version 1.0 | |
| 15 | - * @see | |
| 16 | - * | |
| 17 | - * <pre> | |
| 18 | - * << 개정이력(Modification Information) >> | |
| 19 | - * | |
| 20 | - * 수정일 수정자 수정내용 | |
| 21 | - * ------- -------- --------------------------- | |
| 22 | - * 2009.03.11 이삼섭 최초 생성 | |
| 23 | - * | |
| 24 | - * </pre> | |
| 25 | - */ | |
| 26 | -public interface EgovCmmUseService {
| |
| 27 | - | |
| 28 | - /** | |
| 29 | - * 공통코드를 조회한다. | |
| 30 | - * | |
| 31 | - * @param vo | |
| 32 | - * @return List(코드) | |
| 33 | - * @throws Exception | |
| 34 | - */ | |
| 35 | - public List<CmmnDetailCode> selectCmmCodeDetail(ComDefaultCodeVO vo) throws Exception; | |
| 36 | - | |
| 37 | - /** | |
| 38 | - * ComDefaultCodeVO의 리스트를 받아서 여러개의 코드 리스트를 맵에 담아서 리턴한다. | |
| 39 | - * | |
| 40 | - * @param voList | |
| 41 | - * @return Map(코드) | |
| 42 | - * @throws Exception | |
| 43 | - */ | |
| 44 | - public Map<String, List<CmmnDetailCode>> selectCmmCodeDetails(List voList) throws Exception; | |
| 45 | - | |
| 46 | - /** | |
| 47 | - * 조직정보를 코드형태로 리턴한다. | |
| 48 | - * | |
| 49 | - * @param 조회조건정보 vo | |
| 50 | - * @return 조직정보 List | |
| 51 | - * @throws Exception | |
| 52 | - */ | |
| 53 | - public List<CmmnDetailCode> selectOgrnztIdDetail(ComDefaultCodeVO vo) throws Exception; | |
| 54 | - | |
| 55 | - /** | |
| 56 | - * 그룹정보를 코드형태로 리턴한다. | |
| 57 | - * | |
| 58 | - * @param 조회조건정보 vo | |
| 59 | - * @return 그룹정보 List | |
| 60 | - * @throws Exception | |
| 61 | - */ | |
| 62 | - public List<CmmnDetailCode> selectGroupIdDetail(ComDefaultCodeVO vo) throws Exception; | |
| 63 | - | |
| 64 | - /** | |
| 65 | - * 마을공통 데이타를 조회한다. | |
| 66 | - * | |
| 67 | - * @param vo | |
| 68 | - * @return List(코드) | |
| 69 | - * @throws Exception | |
| 70 | - */ | |
| 71 | - public ComDefaultCodeVO selectVglNameDetail(ComDefaultCodeVO vo) throws Exception; | |
| 72 | -} |
--- base/src/main/java/egovframework/com/cmm/service/impl/CmmUseDAO.java
... | ... | @@ -1,76 +0,0 @@ |
| 1 | -package egovframework.com.cmm.service.impl; | |
| 2 | - | |
| 3 | -import java.util.List; | |
| 4 | - | |
| 5 | -import org.springframework.stereotype.Repository; | |
| 6 | - | |
| 7 | -import egovframework.com.cmm.ComDefaultCodeVO; | |
| 8 | -import egovframework.com.sym.ccm.cde.service.CmmnDetailCode; | |
| 9 | -import egovframework.rte.psl.dataaccess.EgovAbstractDAO; | |
| 10 | - | |
| 11 | -/** | |
| 12 | - * @Class Name : CmmUseDAO.java | |
| 13 | - * @Description : 공통코드등 전체 업무에서 공용해서 사용해야 하는 서비스를 정의하기위한 데이터 접근 클래스 | |
| 14 | - * @Modification Information | |
| 15 | - * | |
| 16 | - * 수정일 수정자 수정내용 | |
| 17 | - * ------- ------- ------------------- | |
| 18 | - * 2009. 3. 11. 이삼섭 | |
| 19 | - * | |
| 20 | - * @author 공통 서비스 개발팀 이삼섭 | |
| 21 | - * @since 2009. 3. 11. | |
| 22 | - * @version | |
| 23 | - * @see | |
| 24 | - * | |
| 25 | - */ | |
| 26 | -@Repository("cmmUseDAO")
| |
| 27 | -public class CmmUseDAO extends EgovAbstractDAO {
| |
| 28 | - | |
| 29 | - | |
| 30 | - /** | |
| 31 | - * 주어진 조건에 따른 공통코드를 불러온다. | |
| 32 | - * | |
| 33 | - * @param vo | |
| 34 | - * @return | |
| 35 | - * @throws Exception | |
| 36 | - */ | |
| 37 | - @SuppressWarnings("unchecked")
| |
| 38 | - public List<CmmnDetailCode> selectCmmCodeDetail(ComDefaultCodeVO vo) throws Exception {
| |
| 39 | - return (List<CmmnDetailCode>)list("CmmUseDAO.selectCmmCodeDetail", vo);
| |
| 40 | - } | |
| 41 | - | |
| 42 | - /** | |
| 43 | - * 공통코드로 사용할 조직정보를 를 불러온다. | |
| 44 | - * | |
| 45 | - * @param vo | |
| 46 | - * @return | |
| 47 | - * @throws Exception | |
| 48 | - */ | |
| 49 | - @SuppressWarnings("unchecked")
| |
| 50 | - public List<CmmnDetailCode> selectOgrnztIdDetail(ComDefaultCodeVO vo) throws Exception {
| |
| 51 | - return (List<CmmnDetailCode>)list("CmmUseDAO.selectOgrnztIdDetail", vo);
| |
| 52 | - } | |
| 53 | - | |
| 54 | - /** | |
| 55 | - * 공통코드로 사용할그룹정보를 를 불러온다. | |
| 56 | - * | |
| 57 | - * @param vo | |
| 58 | - * @return | |
| 59 | - * @throws Exception | |
| 60 | - */ | |
| 61 | - @SuppressWarnings("unchecked")
| |
| 62 | - public List<CmmnDetailCode> selectGroupIdDetail(ComDefaultCodeVO vo) throws Exception {
| |
| 63 | - return (List<CmmnDetailCode>)list("CmmUseDAO.selectGroupIdDetail", vo);
| |
| 64 | - } | |
| 65 | - | |
| 66 | - /** | |
| 67 | - * 공통코드로 사용할그룹정보를 를 불러온다. | |
| 68 | - * | |
| 69 | - * @param vo | |
| 70 | - * @return | |
| 71 | - * @throws Exception | |
| 72 | - */ | |
| 73 | - public ComDefaultCodeVO selectVglNameDetail(ComDefaultCodeVO vo) throws Exception {
| |
| 74 | - return (ComDefaultCodeVO) select("CmmUseDAO.selectVglNameDetail", vo);
| |
| 75 | - } | |
| 76 | -} |
+++ base/src/main/java/egovframework/com/cmm/service/impl/CmmUseMapper.java
... | ... | @@ -0,0 +1,23 @@ |
| 1 | +package egovframework.com.cmm.service.impl; | |
| 2 | + | |
| 3 | +import java.util.List; | |
| 4 | + | |
| 5 | +import egovframework.com.sym.ccm.cde.service.CmmnDetailCodeVO; | |
| 6 | +import egovframework.rte.psl.dataaccess.mapper.Mapper; | |
| 7 | + | |
| 8 | +@Mapper("cmmUseMapper") | |
| 9 | +public interface CmmUseMapper { | |
| 10 | + | |
| 11 | + //주어진 조건에 따른 공통코드를 불러온다. | |
| 12 | + public List<CmmnDetailCodeVO> selectCmmCodeDetail(CmmnDetailCodeVO vo) throws Exception; | |
| 13 | + | |
| 14 | + //공통코드로 사용할 조직정보를 를 불러온다. | |
| 15 | + public List<CmmnDetailCodeVO> selectOgrnztIdDetail(CmmnDetailCodeVO vo) throws Exception; | |
| 16 | + | |
| 17 | + //공통코드로 사용할그룹정보를 를 불러온다. | |
| 18 | + public List<CmmnDetailCodeVO> selectGroupIdDetail(CmmnDetailCodeVO vo) throws Exception; | |
| 19 | + | |
| 20 | + //공통코드로 사용할그룹정보를 를 불러온다. | |
| 21 | + public CmmnDetailCodeVO selectVglNameDetail(CmmnDetailCodeVO vo) throws Exception; | |
| 22 | + | |
| 23 | +} |
+++ base/src/main/java/egovframework/com/cmm/service/impl/CmmUseServiceImpl.java
... | ... | @@ -0,0 +1,52 @@ |
| 1 | +package egovframework.com.cmm.service.impl; | |
| 2 | + | |
| 3 | +import java.util.HashMap; | |
| 4 | +import java.util.Iterator; | |
| 5 | +import java.util.List; | |
| 6 | +import java.util.Map; | |
| 7 | + | |
| 8 | +import javax.annotation.Resource; | |
| 9 | + | |
| 10 | +import org.springframework.stereotype.Service; | |
| 11 | + | |
| 12 | +import egovframework.com.cmm.service.CmmUseService; | |
| 13 | +import egovframework.com.sym.ccm.cde.service.CmmnDetailCodeVO; | |
| 14 | +import egovframework.rte.fdl.cmmn.EgovAbstractServiceImpl; | |
| 15 | + | |
| 16 | +//공통코드등 전체 업무에서 공용해서 사용해야 하는 서비스를 정의하기위한 서비스 구현 클래스 | |
| 17 | +@Service("cmmUseService") | |
| 18 | +public class CmmUseServiceImpl extends EgovAbstractServiceImpl implements CmmUseService { | |
| 19 | + | |
| 20 | + @Resource(name="cmmUseMapper") | |
| 21 | + private CmmUseMapper cmmUseMapper; | |
| 22 | + | |
| 23 | + //공통코드를 조회한다. | |
| 24 | + public List<CmmnDetailCodeVO> selectCmmCodeDetail(CmmnDetailCodeVO vo) throws Exception { | |
| 25 | + return cmmUseMapper.selectCmmCodeDetail(vo); | |
| 26 | + } | |
| 27 | + | |
| 28 | + //ComDefaultCodeVO의 리스트를 받아서 여러개의 코드 리스트를 맵에 담아서 리턴한다. | |
| 29 | + public Map<String, List<CmmnDetailCodeVO>> selectCmmCodeDetails(List voList) throws Exception { | |
| 30 | + CmmnDetailCodeVO vo; | |
| 31 | + Map<String, List<CmmnDetailCodeVO>> map = new HashMap<String, List<CmmnDetailCodeVO>>(); | |
| 32 | + | |
| 33 | + Iterator iter = voList.iterator(); | |
| 34 | + while (iter.hasNext()) { | |
| 35 | + vo = (CmmnDetailCodeVO)iter.next(); | |
| 36 | + map.put(vo.getCodeId(), cmmUseMapper.selectCmmCodeDetail(vo)); | |
| 37 | + } | |
| 38 | + | |
| 39 | + return map; | |
| 40 | + } | |
| 41 | + | |
| 42 | + //조직정보를 코드형태로 리턴한다. | |
| 43 | + public List<CmmnDetailCodeVO> selectOgrnztIdDetail(CmmnDetailCodeVO vo) throws Exception { | |
| 44 | + return cmmUseMapper.selectOgrnztIdDetail(vo); | |
| 45 | + } | |
| 46 | + | |
| 47 | + //그룹정보를 코드형태로 리턴한다. | |
| 48 | + public List<CmmnDetailCodeVO> selectGroupIdDetail(CmmnDetailCodeVO vo) throws Exception { | |
| 49 | + return cmmUseMapper.selectGroupIdDetail(vo); | |
| 50 | + } | |
| 51 | + | |
| 52 | +} |
--- base/src/main/java/egovframework/com/cmm/service/impl/EgovCmmUseServiceImpl.java
... | ... | @@ -1,102 +0,0 @@ |
| 1 | -package egovframework.com.cmm.service.impl; | |
| 2 | - | |
| 3 | -import java.util.HashMap; | |
| 4 | -import java.util.Iterator; | |
| 5 | -import java.util.List; | |
| 6 | -import java.util.Map; | |
| 7 | - | |
| 8 | -import javax.annotation.Resource; | |
| 9 | - | |
| 10 | -import org.springframework.stereotype.Service; | |
| 11 | - | |
| 12 | -import egovframework.com.cmm.ComDefaultCodeVO; | |
| 13 | -import egovframework.com.cmm.service.EgovCmmUseService; | |
| 14 | -import egovframework.com.sym.ccm.cde.service.CmmnDetailCode; | |
| 15 | -import egovframework.rte.fdl.cmmn.EgovAbstractServiceImpl; | |
| 16 | - | |
| 17 | -/** | |
| 18 | - * @Class Name : EgovCmmUseServiceImpl.java | |
| 19 | - * @Description : 공통코드등 전체 업무에서 공용해서 사용해야 하는 서비스를 정의하기위한 서비스 구현 클래스 | |
| 20 | - * @Modification Information | |
| 21 | - * | |
| 22 | - * 수정일 수정자 수정내용 | |
| 23 | - * ------- ------- ------------------- | |
| 24 | - * 2009. 3. 11. 이삼섭 | |
| 25 | - * | |
| 26 | - * @author 공통 서비스 개발팀 이삼섭 | |
| 27 | - * @since 2009. 3. 11. | |
| 28 | - * @version | |
| 29 | - * @see | |
| 30 | - * | |
| 31 | - */ | |
| 32 | -@Service("EgovCmmUseService")
| |
| 33 | -public class EgovCmmUseServiceImpl extends EgovAbstractServiceImpl implements EgovCmmUseService {
| |
| 34 | - | |
| 35 | - @Resource(name = "cmmUseDAO") | |
| 36 | - private CmmUseDAO cmmUseDAO; | |
| 37 | - | |
| 38 | - /** | |
| 39 | - * 공통코드를 조회한다. | |
| 40 | - * | |
| 41 | - * @param vo | |
| 42 | - * @return | |
| 43 | - * @throws Exception | |
| 44 | - */ | |
| 45 | - public List<CmmnDetailCode> selectCmmCodeDetail(ComDefaultCodeVO vo) throws Exception {
| |
| 46 | - return cmmUseDAO.selectCmmCodeDetail(vo); | |
| 47 | - } | |
| 48 | - | |
| 49 | - /** | |
| 50 | - * ComDefaultCodeVO의 리스트를 받아서 여러개의 코드 리스트를 맵에 담아서 리턴한다. | |
| 51 | - * | |
| 52 | - * @param voList | |
| 53 | - * @return | |
| 54 | - * @throws Exception | |
| 55 | - */ | |
| 56 | - public Map<String, List<CmmnDetailCode>> selectCmmCodeDetails(List voList) throws Exception {
| |
| 57 | - ComDefaultCodeVO vo; | |
| 58 | - Map<String, List<CmmnDetailCode>> map = new HashMap<String, List<CmmnDetailCode>>(); | |
| 59 | - | |
| 60 | - Iterator iter = voList.iterator(); | |
| 61 | - while (iter.hasNext()) {
| |
| 62 | - vo = (ComDefaultCodeVO)iter.next(); | |
| 63 | - map.put(vo.getCodeId(), cmmUseDAO.selectCmmCodeDetail(vo)); | |
| 64 | - } | |
| 65 | - | |
| 66 | - return map; | |
| 67 | - } | |
| 68 | - | |
| 69 | - /** | |
| 70 | - * 조직정보를 코드형태로 리턴한다. | |
| 71 | - * | |
| 72 | - * @param 조회조건정보 vo | |
| 73 | - * @return 조직정보 List | |
| 74 | - * @throws Exception | |
| 75 | - */ | |
| 76 | - public List<CmmnDetailCode> selectOgrnztIdDetail(ComDefaultCodeVO vo) throws Exception {
| |
| 77 | - return cmmUseDAO.selectOgrnztIdDetail(vo); | |
| 78 | - } | |
| 79 | - | |
| 80 | - /** | |
| 81 | - * 그룹정보를 코드형태로 리턴한다. | |
| 82 | - * | |
| 83 | - * @param 조회조건정보 vo | |
| 84 | - * @return 그룹정보 List | |
| 85 | - * @throws Exception | |
| 86 | - */ | |
| 87 | - public List<CmmnDetailCode> selectGroupIdDetail(ComDefaultCodeVO vo) throws Exception {
| |
| 88 | - return cmmUseDAO.selectGroupIdDetail(vo); | |
| 89 | - } | |
| 90 | - | |
| 91 | - | |
| 92 | - /** | |
| 93 | - * 마을공통 데이타를 조회한다. | |
| 94 | - * @param 조회조건정보 vo | |
| 95 | - * @return 그룹정보 List | |
| 96 | - * @throws Exception | |
| 97 | - */ | |
| 98 | - public ComDefaultCodeVO selectVglNameDetail(ComDefaultCodeVO vo) throws Exception {
| |
| 99 | - ComDefaultCodeVO comDefaultCodeVO = cmmUseDAO.selectVglNameDetail(vo); | |
| 100 | - return comDefaultCodeVO; | |
| 101 | - } | |
| 102 | -} |
--- base/src/main/java/egovframework/com/cmm/web/EgovFileDownloadController.java
+++ base/src/main/java/egovframework/com/cmm/web/EgovFileDownloadController.java
... | ... | @@ -1,964 +1,964 @@ |
| 1 |
-package egovframework.com.cmm.web; |
|
| 2 |
- |
|
| 3 |
-import java.io.BufferedInputStream; |
|
| 4 |
-import java.io.BufferedOutputStream; |
|
| 5 |
-import java.io.File; |
|
| 6 |
-import java.io.FileInputStream; |
|
| 7 |
-import java.io.FileNotFoundException; |
|
| 8 |
-import java.io.FileOutputStream; |
|
| 9 |
-import java.io.IOException; |
|
| 10 |
-import java.io.PrintWriter; |
|
| 11 |
-import java.net.URLEncoder; |
|
| 12 |
-import java.text.SimpleDateFormat; |
|
| 13 |
-import java.util.ArrayList; |
|
| 14 |
-import java.util.Date; |
|
| 15 |
-import java.util.HashMap; |
|
| 16 |
-import java.util.List; |
|
| 17 |
-import java.util.Map; |
|
| 18 |
-import java.util.zip.ZipEntry; |
|
| 19 |
-import java.util.zip.ZipOutputStream; |
|
| 20 |
- |
|
| 21 |
-import javax.annotation.Resource; |
|
| 22 |
-import javax.servlet.ServletOutputStream; |
|
| 23 |
-import javax.servlet.http.HttpServletRequest; |
|
| 24 |
-import javax.servlet.http.HttpServletResponse; |
|
| 25 |
- |
|
| 26 |
-import org.apache.log4j.Logger; |
|
| 27 |
-import org.springframework.stereotype.Controller; |
|
| 28 |
-import org.springframework.util.FileCopyUtils; |
|
| 29 |
-import org.springframework.web.bind.annotation.ModelAttribute; |
|
| 30 |
-import org.springframework.web.bind.annotation.RequestMapping; |
|
| 31 |
-import org.springframework.web.bind.annotation.RequestParam; |
|
| 32 |
- |
|
| 33 |
-import egovframework.com.cmm.service.EgovFileMngService; |
|
| 34 |
-import egovframework.com.cmm.service.FileVO; |
|
| 35 |
-import egovframework.com.sym.sit.service.EgovSiteManageService; |
|
| 36 |
-import egovframework.rte.fdl.property.EgovPropertyService; |
|
| 37 |
-import egovframework.rte.psl.dataaccess.util.EgovMap; |
|
| 38 |
- |
|
| 39 |
- |
|
| 40 |
-/** |
|
| 41 |
- * 파일 다운로드를 위한 컨트롤러 클래스 |
|
| 42 |
- * @author 공통서비스개발팀 이삼섭 |
|
| 43 |
- * @since 2009.06.01 |
|
| 44 |
- * @version 1.0 |
|
| 45 |
- * @see |
|
| 46 |
- * |
|
| 47 |
- * <pre> |
|
| 48 |
- * << 개정이력(Modification Information) >> |
|
| 49 |
- * |
|
| 50 |
- * 수정일 수정자 수정내용 |
|
| 51 |
- * ------- -------- --------------------------- |
|
| 52 |
- * 2009.3.25 이삼섭 최초 생성 |
|
| 53 |
- * |
|
| 54 |
- * Copyright (C) 2009 by MOPAS All right reserved. |
|
| 55 |
- * </pre> |
|
| 56 |
- */ |
|
| 57 |
-@Controller |
|
| 58 |
-public class EgovFileDownloadController {
|
|
| 59 |
- @Resource(name = "propertiesService") |
|
| 60 |
- protected EgovPropertyService propertyService; |
|
| 61 |
- |
|
| 62 |
- @Resource(name = "SiteManageService") |
|
| 63 |
- EgovSiteManageService siteManageService; |
|
| 64 |
- |
|
| 65 |
- @Resource(name = "EgovFileMngService") |
|
| 66 |
- private EgovFileMngService fileService; |
|
| 67 |
- |
|
| 68 |
- @Resource(name = "propertiesService") |
|
| 69 |
- protected EgovPropertyService propertiesService; |
|
| 70 |
- |
|
| 71 |
- Logger log = Logger.getLogger(this.getClass()); |
|
| 72 |
- |
|
| 73 |
- /** |
|
| 74 |
- * 브라우저 구분 얻기. |
|
| 75 |
- * |
|
| 76 |
- * @param request |
|
| 77 |
- * @return |
|
| 78 |
- */ |
|
| 79 |
- private String getBrowser(HttpServletRequest request) {
|
|
| 80 |
- String header = request.getHeader("User-Agent");
|
|
| 81 |
- if (header.indexOf("MSIE") > -1) {
|
|
| 82 |
- return "MSIE"; |
|
| 83 |
- } else if (header.indexOf("Trident") > -1) { // IE11 문자열 깨짐 방지
|
|
| 84 |
- return "Trident"; |
|
| 85 |
- } else if (header.indexOf("Chrome") > -1) {
|
|
| 86 |
- return "Chrome"; |
|
| 87 |
- } else if (header.indexOf("Opera") > -1) {
|
|
| 88 |
- return "Opera"; |
|
| 89 |
- } |
|
| 90 |
- return "Firefox"; |
|
| 91 |
- } |
|
| 92 |
- |
|
| 93 |
- /** |
|
| 94 |
- * Disposition 지정하기. |
|
| 95 |
- * |
|
| 96 |
- * @param filename |
|
| 97 |
- * @param request |
|
| 98 |
- * @param response |
|
| 99 |
- * @throws Exception |
|
| 100 |
- */ |
|
| 101 |
- private void setDisposition(String filename, HttpServletRequest request, HttpServletResponse response) throws Exception {
|
|
| 102 |
- String browser = getBrowser(request); |
|
| 103 |
- |
|
| 104 |
- String dispositionPrefix = "attachment; filename="; |
|
| 105 |
- String encodedFilename = null; |
|
| 106 |
- |
|
| 107 |
- if (browser.equals("MSIE")) {
|
|
| 108 |
- encodedFilename = URLEncoder.encode(filename, "UTF-8").replaceAll("\\+", "%20");
|
|
| 109 |
- } else if (browser.equals("Trident")) {
|
|
| 110 |
- encodedFilename = URLEncoder.encode(filename, "UTF-8").replaceAll("\\+", "%20");
|
|
| 111 |
- } else if (browser.equals("Firefox")) {
|
|
| 112 |
- encodedFilename = "\"" + new String(filename.getBytes("UTF-8"), "8859_1") + "\"";
|
|
| 113 |
- } else if (browser.equals("Opera")) {
|
|
| 114 |
- encodedFilename = "\"" + new String(filename.getBytes("UTF-8"), "8859_1") + "\"";
|
|
| 115 |
- } else if (browser.equals("Chrome")) {
|
|
| 116 |
- StringBuffer sb = new StringBuffer(); |
|
| 117 |
- for (int i = 0; i < filename.length(); i++) {
|
|
| 118 |
- char c = filename.charAt(i); |
|
| 119 |
- if (c > '~') {
|
|
| 120 |
- sb.append(URLEncoder.encode("" + c, "UTF-8"));
|
|
| 121 |
- } else {
|
|
| 122 |
- sb.append(c); |
|
| 123 |
- } |
|
| 124 |
- } |
|
| 125 |
- encodedFilename = sb.toString(); |
|
| 126 |
- } else {
|
|
| 127 |
- //throw new RuntimeException("Not supported browser");
|
|
| 128 |
- throw new IOException("Not supported browser");
|
|
| 129 |
- } |
|
| 130 |
- |
|
| 131 |
- response.setHeader("Content-Disposition", dispositionPrefix + encodedFilename);
|
|
| 132 |
- |
|
| 133 |
- if ("Opera".equals(browser)){
|
|
| 134 |
- response.setContentType("application/octet-stream;charset=UTF-8");
|
|
| 135 |
- } |
|
| 136 |
- } |
|
| 137 |
- |
|
| 138 |
- private void setDisposition(String filename, HttpServletRequest request, HttpServletResponse response, String disposition) throws Exception {
|
|
| 139 |
- String browser = getBrowser(request); |
|
| 140 |
- |
|
| 141 |
- String dispositionPrefix = disposition + "; filename="; |
|
| 142 |
- String encodedFilename = null; |
|
| 143 |
- |
|
| 144 |
- if (browser.equals("MSIE")) {
|
|
| 145 |
- encodedFilename = URLEncoder.encode(filename, "UTF-8").replaceAll("\\+", "%20");
|
|
| 146 |
- } else if (browser.equals("Trident")) {
|
|
| 147 |
- encodedFilename = URLEncoder.encode(filename, "UTF-8").replaceAll("\\+", "%20");
|
|
| 148 |
- } else if (browser.equals("Firefox")) {
|
|
| 149 |
- encodedFilename = "\"" + new String(filename.getBytes("UTF-8"), "8859_1") + "\"";
|
|
| 150 |
- } else if (browser.equals("Opera")) {
|
|
| 151 |
- encodedFilename = "\"" + new String(filename.getBytes("UTF-8"), "8859_1") + "\"";
|
|
| 152 |
- } else if (browser.equals("Chrome")) {
|
|
| 153 |
- StringBuffer sb = new StringBuffer(); |
|
| 154 |
- for (int i = 0; i < filename.length(); i++) {
|
|
| 155 |
- char c = filename.charAt(i); |
|
| 156 |
- if (c > '~') {
|
|
| 157 |
- sb.append(URLEncoder.encode("" + c, "UTF-8"));
|
|
| 158 |
- } else {
|
|
| 159 |
- sb.append(c); |
|
| 160 |
- } |
|
| 161 |
- } |
|
| 162 |
- encodedFilename = sb.toString(); |
|
| 163 |
- } else {
|
|
| 164 |
- //throw new RuntimeException("Not supported browser");
|
|
| 165 |
- throw new IOException("Not supported browser");
|
|
| 166 |
- } |
|
| 167 |
- |
|
| 168 |
- response.setHeader("Content-Disposition", dispositionPrefix + encodedFilename);
|
|
| 169 |
- |
|
| 170 |
- if ("Opera".equals(browser)){
|
|
| 171 |
- response.setContentType("application/octet-stream;charset=UTF-8");
|
|
| 172 |
- } |
|
| 173 |
- } |
|
| 174 |
- |
|
| 175 |
- |
|
| 176 |
- /** |
|
| 177 |
- * 첨부파일로 등록된 파일에 대하여 다운로드를 제공한다. |
|
| 178 |
- * |
|
| 179 |
- * @param commandMap |
|
| 180 |
- * @param response |
|
| 181 |
- * @throws Exception |
|
| 182 |
- */ |
|
| 183 |
- @RequestMapping(value = "/cmm/fms/FileDown.do") |
|
| 184 |
- public void cvplFileDownload(@RequestParam Map commandMap, HttpServletRequest request, HttpServletResponse response) throws Exception {
|
|
| 185 |
- |
|
| 186 |
- String atchFileId = (String)commandMap.get("atchFileId");
|
|
| 187 |
- String fileSn = (String)commandMap.get("fileSn");
|
|
| 188 |
- String plId = commandMap.get("plId") != null ? (String)commandMap.get("plId") : "";
|
|
| 189 |
- String userId = commandMap.get("userId") != null ? (String)commandMap.get("userId") : "";
|
|
| 190 |
- String streFileNm = commandMap.get("streFileNm") != null ? (String)commandMap.get("streFileNm") : "";
|
|
| 191 |
- |
|
| 192 |
- String strReturnMsg = ""; |
|
| 193 |
- Boolean isAuthenticated = true;//EgovUserDetailsHelper.isAuthenticated(); |
|
| 194 |
- |
|
| 195 |
- |
|
| 196 |
- //BigDecimal mlgScore = BigDecimal.ZERO; |
|
| 197 |
- //String nttId = (String)commandMap.get("nttId");
|
|
| 198 |
- //String bbsId = (String)commandMap.get("bbsId");
|
|
| 199 |
- |
|
| 200 |
- if (isAuthenticated) {
|
|
| 201 |
- |
|
| 202 |
- FileVO fileVO = new FileVO(); |
|
| 203 |
- fileVO.setAtchFileId(atchFileId); |
|
| 204 |
- fileVO.setFileSn(fileSn); |
|
| 205 |
- FileVO fvo = null; |
|
| 206 |
- fvo = fileService.selectFileInf(fileVO); |
|
| 207 |
- |
|
| 208 |
- File uFile = new File(fvo.getFileStreCours(), fvo.getStreFileNm()); |
|
| 209 |
- int fSize = (int)uFile.length(); |
|
| 210 |
- |
|
| 211 |
- if (fSize > 0) {
|
|
| 212 |
- |
|
| 213 |
- if(!"".equals(plId)){
|
|
| 214 |
- EgovMap vo = new EgovMap(); |
|
| 215 |
- vo.put("plId", plId);
|
|
| 216 |
- vo.put("streFileNm", streFileNm);
|
|
| 217 |
- vo.put("userId", userId);
|
|
| 218 |
- |
|
| 219 |
- if(fileService.selectFileDownLogCnt(vo) > 0){
|
|
| 220 |
- fileService.updateFileDownLog(vo); |
|
| 221 |
- }else{
|
|
| 222 |
- fileService.insertFileDownLog(vo); |
|
| 223 |
- } |
|
| 224 |
- } |
|
| 225 |
- |
|
| 226 |
- String mimetype = getMime(fvo.getFileExtsn());//"application/x-msdownload"; |
|
| 227 |
- |
|
| 228 |
- //20110210 faq참조하여 알아서 주석처리.. |
|
| 229 |
- response.setContentType(mimetype); |
|
| 230 |
- setDisposition(fvo.getOrignlFileNm(), request, response); |
|
| 231 |
- BufferedInputStream in = null; |
|
| 232 |
- BufferedOutputStream out = null; |
|
| 233 |
- |
|
| 234 |
- try {
|
|
| 235 |
- in = new BufferedInputStream(new FileInputStream(uFile)); |
|
| 236 |
- out = new BufferedOutputStream(response.getOutputStream()); |
|
| 237 |
- |
|
| 238 |
- FileCopyUtils.copy(in, out); |
|
| 239 |
- out.flush(); |
|
| 240 |
- }catch(FileNotFoundException e){
|
|
| 241 |
- log.debug("FileNotFoundException: "+ e.getMessage() );
|
|
| 242 |
- }catch(IOException e){
|
|
| 243 |
- log.debug("IOException: "+ e.getMessage() );
|
|
| 244 |
- }catch (Exception e) {
|
|
| 245 |
- log.debug("Exception: "+ e.getMessage() );
|
|
| 246 |
- } finally {
|
|
| 247 |
- if (in != null) {
|
|
| 248 |
- try {
|
|
| 249 |
- in.close(); |
|
| 250 |
- } catch (IOException e) {
|
|
| 251 |
- log.debug("IGNORED: "+ e.getMessage() );
|
|
| 252 |
- } |
|
| 253 |
- } |
|
| 254 |
- if (out != null) {
|
|
| 255 |
- try {
|
|
| 256 |
- out.close(); |
|
| 257 |
- } catch (IOException e) {
|
|
| 258 |
- log.debug("IGNORED: "+ e.getMessage() );
|
|
| 259 |
- } |
|
| 260 |
- } |
|
| 261 |
- } |
|
| 262 |
- |
|
| 263 |
- } else {
|
|
| 264 |
- response.setContentType("text/html;charset=UTF-8");
|
|
| 265 |
- |
|
| 266 |
- PrintWriter printwriter = response.getWriter(); |
|
| 267 |
- printwriter.println("<html>");
|
|
| 268 |
- printwriter.println("<script type=\"text/javascript\">alert('파일을 찾을수 없습니다.');window.close();</script>");
|
|
| 269 |
- printwriter.println("<br><br><br><h2>Could not get file name:<br>" + fvo.getOrignlFileNm() + "</h2>");
|
|
| 270 |
- printwriter.println("<br><br><br>");
|
|
| 271 |
- printwriter.println("</html>");
|
|
| 272 |
- printwriter.flush(); |
|
| 273 |
- printwriter.close(); |
|
| 274 |
- } |
|
| 275 |
- } else {
|
|
| 276 |
- response.setContentType("text/html;charset=UTF-8");
|
|
| 277 |
- |
|
| 278 |
- PrintWriter printwriter = response.getWriter(); |
|
| 279 |
- printwriter.println("<html>");
|
|
| 280 |
- printwriter.println("<script type=\"text/javascript\">alert('" + strReturnMsg + "');window.close();</script>");
|
|
| 281 |
- printwriter.println("<br><br><br><h2>" + strReturnMsg + "</h2>");
|
|
| 282 |
- printwriter.println("<br><br><br>");
|
|
| 283 |
- printwriter.println("</html>");
|
|
| 284 |
- printwriter.flush(); |
|
| 285 |
- printwriter.close(); |
|
| 286 |
- } |
|
| 287 |
- } |
|
| 288 |
- |
|
| 289 |
- /** |
|
| 290 |
- * 절대경로 파일 다운로드를 제공한다. |
|
| 291 |
- * |
|
| 292 |
- * @param commandMap |
|
| 293 |
- * @param response |
|
| 294 |
- * @throws Exception |
|
| 295 |
- */ |
|
| 296 |
- @RequestMapping(value = "/cmm/fms/absolutePathFileDown.do") |
|
| 297 |
- public void absolutePathFileDown(@RequestParam Map commandMap, HttpServletRequest request, HttpServletResponse response) throws Exception {
|
|
| 298 |
- String filePath = propertyService.getString((String)commandMap.get("filePath")) + File.separator;
|
|
| 299 |
- String fileNm = (String)commandMap.get("fileNm");
|
|
| 300 |
- String oriFileNm = (String)commandMap.get("oriFileNm");
|
|
| 301 |
- |
|
| 302 |
- //파일 확장자 추출 |
|
| 303 |
- int pos = fileNm.lastIndexOf( "." ); |
|
| 304 |
- String ext = fileNm.substring( pos + 1 ); |
|
| 305 |
- |
|
| 306 |
- String strReturnMsg = ""; |
|
| 307 |
- Boolean isAuthenticated = true;//EgovUserDetailsHelper.isAuthenticated(); |
|
| 308 |
- |
|
| 309 |
- if (isAuthenticated) {
|
|
| 310 |
- File uFile = new File(filePath, fileNm); |
|
| 311 |
- int fSize = (int)uFile.length(); |
|
| 312 |
- |
|
| 313 |
- if (fSize > 0) {
|
|
| 314 |
- String mimetype = getMime(ext);//"application/x-msdownload"; |
|
| 315 |
- |
|
| 316 |
- //20110210 faq참조하여 알아서 주석처리.. |
|
| 317 |
- response.setContentType(mimetype); |
|
| 318 |
- setDisposition(oriFileNm, request, response); |
|
| 319 |
- BufferedInputStream in = null; |
|
| 320 |
- BufferedOutputStream out = null; |
|
| 321 |
- |
|
| 322 |
- try {
|
|
| 323 |
- in = new BufferedInputStream(new FileInputStream(uFile)); |
|
| 324 |
- out = new BufferedOutputStream(response.getOutputStream()); |
|
| 325 |
- |
|
| 326 |
- FileCopyUtils.copy(in, out); |
|
| 327 |
- out.flush(); |
|
| 328 |
- }catch(FileNotFoundException e){
|
|
| 329 |
- log.debug("FileNotFoundException: "+ e.getMessage() );
|
|
| 330 |
- }catch(IOException e){
|
|
| 331 |
- log.debug("IOException: "+ e.getMessage() );
|
|
| 332 |
- }catch (Exception e) {
|
|
| 333 |
- log.debug("Exception: "+ e.getMessage() );
|
|
| 334 |
- } finally {
|
|
| 335 |
- if (in != null) {
|
|
| 336 |
- try {
|
|
| 337 |
- in.close(); |
|
| 338 |
- } catch (IOException e) {
|
|
| 339 |
- log.debug("IGNORED: "+ e.getMessage() );
|
|
| 340 |
- } |
|
| 341 |
- } |
|
| 342 |
- if (out != null) {
|
|
| 343 |
- try {
|
|
| 344 |
- out.close(); |
|
| 345 |
- } catch (IOException e) {
|
|
| 346 |
- log.debug("IGNORED: "+ e.getMessage() );
|
|
| 347 |
- } |
|
| 348 |
- } |
|
| 349 |
- } |
|
| 350 |
- |
|
| 351 |
- } else {
|
|
| 352 |
- response.setContentType("text/html;charset=UTF-8");
|
|
| 353 |
- |
|
| 354 |
- PrintWriter printwriter = response.getWriter(); |
|
| 355 |
- printwriter.println("<html>");
|
|
| 356 |
- printwriter.println("<script type=\"text/javascript\">alert('파일을 찾을수 없습니다.');window.close();</script>");
|
|
| 357 |
- printwriter.println("<br><br><br><h2>Could not get file name:<br>" + oriFileNm + "</h2>");
|
|
| 358 |
- printwriter.println("<br><br><br>");
|
|
| 359 |
- printwriter.println("</html>");
|
|
| 360 |
- printwriter.flush(); |
|
| 361 |
- printwriter.close(); |
|
| 362 |
- } |
|
| 363 |
- } else {
|
|
| 364 |
- response.setContentType("text/html;charset=UTF-8");
|
|
| 365 |
- |
|
| 366 |
- PrintWriter printwriter = response.getWriter(); |
|
| 367 |
- printwriter.println("<html>");
|
|
| 368 |
- printwriter.println("<script type=\"text/javascript\">alert('" + strReturnMsg + "');window.close();</script>");
|
|
| 369 |
- printwriter.println("<br><br><br><h2>" + strReturnMsg + "</h2>");
|
|
| 370 |
- printwriter.println("<br><br><br>");
|
|
| 371 |
- printwriter.println("</html>");
|
|
| 372 |
- printwriter.flush(); |
|
| 373 |
- printwriter.close(); |
|
| 374 |
- } |
|
| 375 |
- } |
|
| 376 |
- |
|
| 377 |
- /** |
|
| 378 |
- * 첨부파일 압축 다운로드 |
|
| 379 |
- * |
|
| 380 |
- * @param commandMap |
|
| 381 |
- * @param response |
|
| 382 |
- * @throws Exception |
|
| 383 |
- */ |
|
| 384 |
- @RequestMapping(value = "/cmm/fms/paperFileDownLoadZip.do") |
|
| 385 |
- public void cvplFileDownload1Zip(@ModelAttribute("searchVO") FileVO fileVO, HttpServletRequest request, HttpServletResponse response) throws Exception {
|
|
| 386 |
- List<HashMap<String, String>> sourceFiles = new ArrayList<HashMap<String, String>>(); |
|
| 387 |
- Date from = new Date(); |
|
| 388 |
- SimpleDateFormat date = new SimpleDateFormat("yyyyMMddHHmmss");
|
|
| 389 |
- String dateToString = date.format(from); |
|
| 390 |
- String downloadFileName = "hufs_" + dateToString; |
|
| 391 |
- String tempDirectoryPath = propertiesService.getString("Globals.fileStorePath") + "/zip/";
|
|
| 392 |
- String zipFile = tempDirectoryPath + downloadFileName; |
|
| 393 |
- |
|
| 394 |
- //디렉토리가 없으면 생성 |
|
| 395 |
- File tempDirectory = new File(tempDirectoryPath); |
|
| 396 |
- |
|
| 397 |
- if (!tempDirectory.exists()) {
|
|
| 398 |
- tempDirectory.mkdir(); |
|
| 399 |
- } |
|
| 400 |
- |
|
| 401 |
- //다운로드 타입(arr:파일아이디 여러개, 나머지는 한개) |
|
| 402 |
- if("arr".equals(fileVO.getDownLoadType())) {
|
|
| 403 |
- for(int i=0;i<fileVO.getAtchFileIdArr().size();i++) {
|
|
| 404 |
- if(fileVO.getAtchFileIdArr().get(i) != null && !"".equals(fileVO.getAtchFileIdArr().get(i))) {
|
|
| 405 |
- fileVO.setAtchFileId(fileVO.getAtchFileIdArr().get(i)); |
|
| 406 |
- |
|
| 407 |
- List<FileVO> fvo = fileService.selectFileInfs(fileVO); |
|
| 408 |
- |
|
| 409 |
- for(int e=0;e<fvo.size();e++) {
|
|
| 410 |
- HashMap<String, String> fileName = new HashMap<String, String>(); |
|
| 411 |
- |
|
| 412 |
- fileName.put("orignlDocNm", fvo.get(e).getFileStreCours() + File.separator + fvo.get(e).getOrignlFileNm());
|
|
| 413 |
- fileName.put("streDocNm", fvo.get(e).getFileStreCours() + File.separator + fvo.get(e).getStreFileNm());
|
|
| 414 |
- |
|
| 415 |
- sourceFiles.add(fileName); |
|
| 416 |
- } |
|
| 417 |
- } |
|
| 418 |
- } |
|
| 419 |
- } else {
|
|
| 420 |
- if(fileVO.getAtchFileId() != null && !"".equals(fileVO.getAtchFileId())) {
|
|
| 421 |
- List<FileVO> fvo = fileService.selectFileInfs(fileVO); |
|
| 422 |
- |
|
| 423 |
- for(int e=0;e<fvo.size();e++) {
|
|
| 424 |
- HashMap<String, String> fileName = new HashMap<String, String>(); |
|
| 425 |
- |
|
| 426 |
- fileName.put("orignlDocNm", fvo.get(e).getFileStreCours() + File.separator + fvo.get(e).getOrignlFileNm());
|
|
| 427 |
- fileName.put("streDocNm", fvo.get(e).getFileStreCours() + File.separator + fvo.get(e).getStreFileNm());
|
|
| 428 |
- |
|
| 429 |
- sourceFiles.add(fileName); |
|
| 430 |
- } |
|
| 431 |
- } |
|
| 432 |
- } |
|
| 433 |
- |
|
| 434 |
- try{
|
|
| 435 |
- // ZipOutputStream을 FileOutputStream 으로 감쌈 |
|
| 436 |
- FileOutputStream fout = new FileOutputStream(zipFile); |
|
| 437 |
- ZipOutputStream zout = new ZipOutputStream(fout); |
|
| 438 |
- |
|
| 439 |
- for(int i=0; i < sourceFiles.size(); i++){
|
|
| 440 |
- |
|
| 441 |
- // 본래 파일명 유지, 경로제외 파일압축을 위해 new File로 |
|
| 442 |
- ZipEntry zipEntry = new ZipEntry(new File(sourceFiles.get(i).get("orignlDocNm")).getName());
|
|
| 443 |
- zout.putNextEntry(zipEntry); |
|
| 444 |
- |
|
| 445 |
- FileInputStream fin = new FileInputStream(sourceFiles.get(i).get("streDocNm"));
|
|
| 446 |
- byte[] buffer = new byte[1024]; |
|
| 447 |
- int length; |
|
| 448 |
- |
|
| 449 |
- // input file을 1024바이트로 읽음, zip stream에 읽은 바이트를 씀 |
|
| 450 |
- while((length = fin.read(buffer)) > 0){
|
|
| 451 |
- zout.write(buffer, 0, length); |
|
| 452 |
- } |
|
| 453 |
- |
|
| 454 |
- zout.closeEntry(); |
|
| 455 |
- fin.close(); |
|
| 456 |
- } |
|
| 457 |
- |
|
| 458 |
- zout.close(); |
|
| 459 |
- |
|
| 460 |
- response.setContentType("application/zip");
|
|
| 461 |
- response.addHeader("Content-Disposition", "attachment; filename=" + downloadFileName + ".zip");
|
|
| 462 |
- |
|
| 463 |
- FileInputStream fis=new FileInputStream(zipFile); |
|
| 464 |
- BufferedInputStream bis=new BufferedInputStream(fis); |
|
| 465 |
- ServletOutputStream so=response.getOutputStream(); |
|
| 466 |
- BufferedOutputStream bos=new BufferedOutputStream(so); |
|
| 467 |
- |
|
| 468 |
- byte[] data=new byte[2048]; |
|
| 469 |
- int input=0; |
|
| 470 |
- |
|
| 471 |
- while((input=bis.read(data))!=-1){
|
|
| 472 |
- bos.write(data,0,input); |
|
| 473 |
- bos.flush(); |
|
| 474 |
- } |
|
| 475 |
- |
|
| 476 |
- if(bos!=null) bos.close(); |
|
| 477 |
- if(bis!=null) bis.close(); |
|
| 478 |
- if(so!=null) so.close(); |
|
| 479 |
- if(fis!=null) fis.close(); |
|
| 480 |
- |
|
| 481 |
- // 다운로드 후 파일 삭제 |
|
| 482 |
- File file = new File(zipFile); |
|
| 483 |
- if(file.exists()){
|
|
| 484 |
- file.delete(); |
|
| 485 |
- } |
|
| 486 |
- } catch(Exception ex){
|
|
| 487 |
- response.setContentType("text/html;charset=UTF-8");
|
|
| 488 |
- |
|
| 489 |
- PrintWriter printwriter = response.getWriter(); |
|
| 490 |
- printwriter.println("<html>");
|
|
| 491 |
- printwriter.println("<script type=\"text/javascript\">alert('파일을 찾을수 없습니다.');</script>");
|
|
| 492 |
- printwriter.println("</html>");
|
|
| 493 |
- printwriter.flush(); |
|
| 494 |
- printwriter.close(); |
|
| 495 |
- } |
|
| 496 |
- } |
|
| 497 |
- |
|
| 498 |
- public String getMime(String args) |
|
| 499 |
- {
|
|
| 500 |
- String sRtn = "application/octet-stream"; |
|
| 501 |
- String lower = args.toLowerCase(); |
|
| 502 |
- if("3dm".equals(lower)){sRtn="x-world/x-3dmf";}
|
|
| 503 |
- else if("3dmf".equals(lower)){sRtn="x-world/x-3dmf";}
|
|
| 504 |
- else if("a".equals(lower)){sRtn="application/octet-stream";}
|
|
| 505 |
- else if("aab".equals(lower)){sRtn="application/x-authorware-bin";}
|
|
| 506 |
- else if("aam".equals(lower)){sRtn="application/x-authorware-map";}
|
|
| 507 |
- else if("aas".equals(lower)){sRtn="application/x-authorware-seg";}
|
|
| 508 |
- else if("abc".equals(lower)){sRtn="text/vnd.abc";}
|
|
| 509 |
- else if("acgi".equals(lower)){sRtn="text/html";}
|
|
| 510 |
- else if("afl".equals(lower)){sRtn="video/animaflex";}
|
|
| 511 |
- else if("ai".equals(lower)){sRtn="application/postscript";}
|
|
| 512 |
- else if("aif".equals(lower)){sRtn="audio/aiff";}
|
|
| 513 |
- else if("aifc".equals(lower)){sRtn="audio/aiff";}
|
|
| 514 |
- else if("aiff".equals(lower)){sRtn="audio/x-aiff";}
|
|
| 515 |
- else if("aim".equals(lower)){sRtn="application/x-aim";}
|
|
| 516 |
- else if("aip".equals(lower)){sRtn="text/x-audiosoft-intra";}
|
|
| 517 |
- else if("ani".equals(lower)){sRtn="application/x-navi-animation";}
|
|
| 518 |
- else if("aos".equals(lower)){sRtn="application/x-nokia-9000-communicator-add-on-software";}
|
|
| 519 |
- else if("aps".equals(lower)){sRtn="application/mime";}
|
|
| 520 |
- else if("arc".equals(lower)){sRtn="application/octet-stream";}
|
|
| 521 |
- else if("arj".equals(lower)){sRtn="application/arj";}
|
|
| 522 |
- else if("art".equals(lower)){sRtn="image/x-jg";}
|
|
| 523 |
- else if("asf".equals(lower)){sRtn="video/x-ms-asf";}
|
|
| 524 |
- else if("asm".equals(lower)){sRtn="text/x-asm";}
|
|
| 525 |
- else if("asp".equals(lower)){sRtn="text/asp";}
|
|
| 526 |
- else if("asx".equals(lower)){sRtn="video/x-ms-asf";}
|
|
| 527 |
- else if("au".equals(lower)){sRtn="audio/x-au";}
|
|
| 528 |
- else if("avi".equals(lower)){sRtn="video/x-msvideo";}
|
|
| 529 |
- else if("avs".equals(lower)){sRtn="video/avs-video";}
|
|
| 530 |
- else if("bcpio".equals(lower)){sRtn="application/x-bcpio";}
|
|
| 531 |
- else if("bin".equals(lower)){sRtn="application/octet-stream";}
|
|
| 532 |
- else if("bm".equals(lower)){sRtn="image/bmp";}
|
|
| 533 |
- else if("bmp".equals(lower)){sRtn="image/bmp";}
|
|
| 534 |
- else if("boo".equals(lower)){sRtn="application/book";}
|
|
| 535 |
- else if("book".equals(lower)){sRtn="application/book";}
|
|
| 536 |
- else if("boz".equals(lower)){sRtn="application/x-bzip2";}
|
|
| 537 |
- else if("bsh".equals(lower)){sRtn="application/x-bsh";}
|
|
| 538 |
- else if("bz".equals(lower)){sRtn="application/x-bzip";}
|
|
| 539 |
- else if("bz2".equals(lower)){sRtn="application/x-bzip2";}
|
|
| 540 |
- else if("c".equals(lower)){sRtn="text/plain";}
|
|
| 541 |
- else if("c++".equals(lower)){sRtn="text/plain";}
|
|
| 542 |
- else if("cat".equals(lower)){sRtn="application/vnd.ms-pki.seccat";}
|
|
| 543 |
- else if("cc".equals(lower)){sRtn="text/plain";}
|
|
| 544 |
- else if("cc".equals(lower)){sRtn="text/x-c";}
|
|
| 545 |
- else if("ccad".equals(lower)){sRtn="application/clariscad";}
|
|
| 546 |
- else if("cco".equals(lower)){sRtn="application/x-cocoa";}
|
|
| 547 |
- else if("cdf".equals(lower)){sRtn="application/cdf";}
|
|
| 548 |
- else if("cer".equals(lower)){sRtn="application/pkix-cert";}
|
|
| 549 |
- else if("cha".equals(lower)){sRtn="application/x-chat";}
|
|
| 550 |
- else if("chat".equals(lower)){sRtn="application/x-chat";}
|
|
| 551 |
- else if("com".equals(lower)){sRtn="text/plain";}
|
|
| 552 |
- else if("conf".equals(lower)){sRtn="text/plain";}
|
|
| 553 |
- else if("cpio".equals(lower)){sRtn="application/x-cpio";}
|
|
| 554 |
- else if("cpp".equals(lower)){sRtn="text/x-c";}
|
|
| 555 |
- else if("cpt".equals(lower)){sRtn="application/mac-compactpro";}
|
|
| 556 |
- else if("crl".equals(lower)){sRtn="application/pkcs-crl";}
|
|
| 557 |
- else if("crt".equals(lower)){sRtn="application/pkix-cert";}
|
|
| 558 |
- else if("csh".equals(lower)){sRtn="application/x-csh";}
|
|
| 559 |
- else if("css".equals(lower)){sRtn="text/css";}
|
|
| 560 |
- else if("cxx".equals(lower)){sRtn="text/plain";}
|
|
| 561 |
- else if("dcr".equals(lower)){sRtn="application/x-director";}
|
|
| 562 |
- else if("deepv".equals(lower)){sRtn="application/x-deepv";}
|
|
| 563 |
- else if("def".equals(lower)){sRtn="text/plain";}
|
|
| 564 |
- else if("dif".equals(lower)){sRtn="video/x-dv";}
|
|
| 565 |
- else if("dir".equals(lower)){sRtn="application/x-director";}
|
|
| 566 |
- else if("dl".equals(lower)){sRtn="video/dl";}
|
|
| 567 |
- else if("doc".equals(lower)){sRtn="application/msword";}
|
|
| 568 |
- else if("docx".equals(lower)){sRtn="application/msword";}
|
|
| 569 |
- else if("dot".equals(lower)){sRtn="application/msword";}
|
|
| 570 |
- else if("dp".equals(lower)){sRtn="application/commonground";}
|
|
| 571 |
- else if("drw".equals(lower)){sRtn="application/drafting";}
|
|
| 572 |
- else if("dump".equals(lower)){sRtn="application/octet-stream";}
|
|
| 573 |
- else if("dv".equals(lower)){sRtn="video/x-dv";}
|
|
| 574 |
- else if("dvi".equals(lower)){sRtn="application/x-dvi";}
|
|
| 575 |
- else if("dwf".equals(lower)){sRtn="model/vnd.dwf";}
|
|
| 576 |
- else if("dwg".equals(lower)){sRtn="image/vnd.dwg";}
|
|
| 577 |
- else if("dwg".equals(lower)){sRtn="image/x-dwg";}
|
|
| 578 |
- else if("dxf".equals(lower)){sRtn="application/dxf";}
|
|
| 579 |
- else if("el".equals(lower)){sRtn="text/x-script.elisp";}
|
|
| 580 |
- else if("elc".equals(lower)){sRtn="application/x-elc";}
|
|
| 581 |
- else if("env".equals(lower)){sRtn="application/x-envoy";}
|
|
| 582 |
- else if("eps".equals(lower)){sRtn="application/postscript";}
|
|
| 583 |
- else if("es".equals(lower)){sRtn="application/x-esrehber";}
|
|
| 584 |
- else if("etx".equals(lower)){sRtn="text/x-setext";}
|
|
| 585 |
- else if("evy".equals(lower)){sRtn="application/envoy";}
|
|
| 586 |
- else if("exe".equals(lower)){sRtn="application/octet-stream";}
|
|
| 587 |
- else if("f".equals(lower)){sRtn="text/plain";}
|
|
| 588 |
- else if("f77".equals(lower)){sRtn="text/x-fortran";}
|
|
| 589 |
- else if("f90".equals(lower)){sRtn="text/plain";}
|
|
| 590 |
- else if("f90".equals(lower)){sRtn="text/x-fortran";}
|
|
| 591 |
- else if("fdf".equals(lower)){sRtn="application/vnd.fdf";}
|
|
| 592 |
- else if("fif".equals(lower)){sRtn="application/fractals";}
|
|
| 593 |
- else if("fif".equals(lower)){sRtn="image/fif";}
|
|
| 594 |
- else if("fli".equals(lower)){sRtn="video/fli";}
|
|
| 595 |
- else if("flo".equals(lower)){sRtn="image/florian";}
|
|
| 596 |
- else if("flx".equals(lower)){sRtn="text/vnd.fmi.flexstor";}
|
|
| 597 |
- else if("fmf".equals(lower)){sRtn="video/x-atomic3d-feature";}
|
|
| 598 |
- else if("for".equals(lower)){sRtn="text/plain";}
|
|
| 599 |
- else if("fpx".equals(lower)){sRtn="image/vnd.fpx";}
|
|
| 600 |
- else if("frl".equals(lower)){sRtn="application/freeloader";}
|
|
| 601 |
- else if("funk".equals(lower)){sRtn="audio/make";}
|
|
| 602 |
- else if("g".equals(lower)){sRtn="text/plain";}
|
|
| 603 |
- else if("g3".equals(lower)){sRtn="image/g3fax";}
|
|
| 604 |
- else if("gif".equals(lower)){sRtn="image/gif";}
|
|
| 605 |
- else if("gl".equals(lower)){sRtn="video/gl";}
|
|
| 606 |
- else if("gsd".equals(lower)){sRtn="audio/x-gsm";}
|
|
| 607 |
- else if("gsm".equals(lower)){sRtn="audio/x-gsm";}
|
|
| 608 |
- else if("gsp".equals(lower)){sRtn="application/x-gsp";}
|
|
| 609 |
- else if("gss".equals(lower)){sRtn="application/x-gss";}
|
|
| 610 |
- else if("gtar".equals(lower)){sRtn="application/x-gtar";}
|
|
| 611 |
- else if("gz".equals(lower)){sRtn="application/x-compressed";}
|
|
| 612 |
- else if("gzip".equals(lower)){sRtn="application/x-gzip";}
|
|
| 613 |
- else if("h".equals(lower)){sRtn="text/plain";}
|
|
| 614 |
- else if("hdf".equals(lower)){sRtn="application/x-hdf";}
|
|
| 615 |
- else if("help".equals(lower)){sRtn="application/x-helpfile";}
|
|
| 616 |
- else if("hgl".equals(lower)){sRtn="application/vnd.hp-hpgl";}
|
|
| 617 |
- else if("hh".equals(lower)){sRtn="text/plain";}
|
|
| 618 |
- else if("hlb".equals(lower)){sRtn="text/x-script";}
|
|
| 619 |
- else if("hlp".equals(lower)){sRtn="application/hlp";}
|
|
| 620 |
- else if("hpg".equals(lower)){sRtn="application/vnd.hp-hpgl";}
|
|
| 621 |
- else if("hpgl".equals(lower)){sRtn="application/vnd.hp-hpgl";}
|
|
| 622 |
- else if("hqx".equals(lower)){sRtn="application/binhex";}
|
|
| 623 |
- else if("hta".equals(lower)){sRtn="application/hta";}
|
|
| 624 |
- else if("htc".equals(lower)){sRtn="text/x-component";}
|
|
| 625 |
- else if("htm".equals(lower)){sRtn="text/html";}
|
|
| 626 |
- else if("html".equals(lower)){sRtn="text/html";}
|
|
| 627 |
- else if("htmls".equals(lower)){sRtn="text/html";}
|
|
| 628 |
- else if("htt".equals(lower)){sRtn="text/webviewhtml";}
|
|
| 629 |
- else if("htx".equals(lower)){sRtn="text/html";}
|
|
| 630 |
- else if("hwp".equals(lower)){sRtn="application/haansofthwp";}
|
|
| 631 |
- else if("ice".equals(lower)){sRtn="x-conference/x-cooltalk";}
|
|
| 632 |
- else if("ico".equals(lower)){sRtn="image/x-icon";}
|
|
| 633 |
- else if("idc".equals(lower)){sRtn="text/plain";}
|
|
| 634 |
- else if("ief".equals(lower)){sRtn="image/ief";}
|
|
| 635 |
- else if("iefs".equals(lower)){sRtn="image/ief";}
|
|
| 636 |
- else if("iges".equals(lower)){sRtn="application/iges";}
|
|
| 637 |
- else if("iges".equals(lower)){sRtn="model/iges";}
|
|
| 638 |
- else if("igs".equals(lower)){sRtn="application/iges";}
|
|
| 639 |
- else if("ima".equals(lower)){sRtn="application/x-ima";}
|
|
| 640 |
- else if("imap".equals(lower)){sRtn="application/x-httpd-imap";}
|
|
| 641 |
- else if("inf".equals(lower)){sRtn="application/inf";}
|
|
| 642 |
- else if("ip".equals(lower)){sRtn="application/x-ip2";}
|
|
| 643 |
- else if("isu".equals(lower)){sRtn="video/x-isvideo";}
|
|
| 644 |
- else if("it".equals(lower)){sRtn="audio/it";}
|
|
| 645 |
- else if("iv".equals(lower)){sRtn="application/x-inventor";}
|
|
| 646 |
- else if("ivr".equals(lower)){sRtn="i-world/i-vrml";}
|
|
| 647 |
- else if("ivy".equals(lower)){sRtn="application/x-livescreen";}
|
|
| 648 |
- else if("jam".equals(lower)){sRtn="audio/x-jam";}
|
|
| 649 |
- else if("jav".equals(lower)){sRtn="text/plain";}
|
|
| 650 |
- else if("java".equals(lower)){sRtn="text/plain";}
|
|
| 651 |
- else if("jcm".equals(lower)){sRtn="application/x-java-commerce";}
|
|
| 652 |
- else if("jfif".equals(lower)){sRtn="image/jpeg";}
|
|
| 653 |
- else if("jfif-tbnl".equals(lower)){sRtn="image/jpeg";}
|
|
| 654 |
- else if("jpe".equals(lower)){sRtn="image/jpeg";}
|
|
| 655 |
- else if("jpeg".equals(lower)){sRtn="image/jpeg";}
|
|
| 656 |
- else if("jpg".equals(lower)){sRtn="image/jpeg";}
|
|
| 657 |
- else if("jps".equals(lower)){sRtn="image/x-jps";}
|
|
| 658 |
- else if("js".equals(lower)){sRtn="application/x-javascript";}
|
|
| 659 |
- else if("jut".equals(lower)){sRtn="image/jutvision";}
|
|
| 660 |
- else if("kar".equals(lower)){sRtn="audio/midi";}
|
|
| 661 |
- else if("ksh".equals(lower)){sRtn="application/x-ksh";}
|
|
| 662 |
- else if("ksh".equals(lower)){sRtn="text/x-script.ksh";}
|
|
| 663 |
- else if("la".equals(lower)){sRtn="audio/nspaudio";}
|
|
| 664 |
- else if("la".equals(lower)){sRtn="audio/x-nspaudio";}
|
|
| 665 |
- else if("lam".equals(lower)){sRtn="audio/x-liveaudio";}
|
|
| 666 |
- else if("latex".equals(lower)){sRtn="application/x-latex";}
|
|
| 667 |
- else if("lha".equals(lower)){sRtn="application/lha";}
|
|
| 668 |
- else if("lhx".equals(lower)){sRtn="application/octet-stream";}
|
|
| 669 |
- else if("list".equals(lower)){sRtn="text/plain";}
|
|
| 670 |
- else if("lma".equals(lower)){sRtn="audio/nspaudio";}
|
|
| 671 |
- else if("lma".equals(lower)){sRtn="audio/x-nspaudio";}
|
|
| 672 |
- else if("log".equals(lower)){sRtn="text/plain";}
|
|
| 673 |
- else if("lsp".equals(lower)){sRtn="application/x-lisp";}
|
|
| 674 |
- else if("lsp".equals(lower)){sRtn="text/x-script.lisp";}
|
|
| 675 |
- else if("lst".equals(lower)){sRtn="text/plain";}
|
|
| 676 |
- else if("lsx".equals(lower)){sRtn="text/x-la-asf";}
|
|
| 677 |
- else if("ltx".equals(lower)){sRtn="application/x-latex";}
|
|
| 678 |
- else if("lzh".equals(lower)){sRtn="application/octet-stream";}
|
|
| 679 |
- else if("m".equals(lower)){sRtn="text/plain";}
|
|
| 680 |
- else if("m".equals(lower)){sRtn="text/x-m";}
|
|
| 681 |
- else if("m1v".equals(lower)){sRtn="video/mpeg";}
|
|
| 682 |
- else if("m2a".equals(lower)){sRtn="audio/mpeg";}
|
|
| 683 |
- else if("m2v".equals(lower)){sRtn="video/mpeg";}
|
|
| 684 |
- else if("m3u".equals(lower)){sRtn="audio/x-mpequrl";}
|
|
| 685 |
- else if("man".equals(lower)){sRtn="application/x-troff-man";}
|
|
| 686 |
- else if("map".equals(lower)){sRtn="application/x-navimap";}
|
|
| 687 |
- else if("mar".equals(lower)){sRtn="text/plain";}
|
|
| 688 |
- else if("mbd".equals(lower)){sRtn="application/mbedlet";}
|
|
| 689 |
- else if("mc$".equals(lower)){sRtn="application/x-magic-cap-package-1.0";}
|
|
| 690 |
- else if("mcd".equals(lower)){sRtn="application/mcad";}
|
|
| 691 |
- else if("mcf".equals(lower)){sRtn="image/vasa";}
|
|
| 692 |
- else if("mcp".equals(lower)){sRtn="application/netmc";}
|
|
| 693 |
- else if("me".equals(lower)){sRtn="application/x-troff-me";}
|
|
| 694 |
- else if("mht".equals(lower)){sRtn="message/rfc822";}
|
|
| 695 |
- else if("mhtml".equals(lower)){sRtn="message/rfc822";}
|
|
| 696 |
- else if("mid".equals(lower)){sRtn="application/x-midi";}
|
|
| 697 |
- else if("midi".equals(lower)){sRtn="application/x-midi";}
|
|
| 698 |
- else if("mif".equals(lower)){sRtn="application/x-frame";}
|
|
| 699 |
- else if("mime".equals(lower)){sRtn="message/rfc822";}
|
|
| 700 |
- else if("mjf".equals(lower)){sRtn="audio/x-vnd.audioexplosion.mjuicemediafile";}
|
|
| 701 |
- else if("mjpg".equals(lower)){sRtn="video/x-motion-jpeg";}
|
|
| 702 |
- else if("mm".equals(lower)){sRtn="application/base64";}
|
|
| 703 |
- else if("mme".equals(lower)){sRtn="application/base64";}
|
|
| 704 |
- else if("mod".equals(lower)){sRtn="audio/mod";}
|
|
| 705 |
- else if("moov".equals(lower)){sRtn="video/quicktime";}
|
|
| 706 |
- else if("mov".equals(lower)){sRtn="video/quicktime";}
|
|
| 707 |
- else if("movie".equals(lower)){sRtn="video/x-sgi-movie";}
|
|
| 708 |
- else if("mp2".equals(lower)){sRtn="audio/mpeg";}
|
|
| 709 |
- else if("mp3".equals(lower)){sRtn="audio/mpeg3";}
|
|
| 710 |
- else if("mpa".equals(lower)){sRtn="audio/mpeg";}
|
|
| 711 |
- else if("mpc".equals(lower)){sRtn="application/x-project";}
|
|
| 712 |
- else if("mpe".equals(lower)){sRtn="video/mpeg";}
|
|
| 713 |
- else if("mpeg".equals(lower)){sRtn="video/mpeg";}
|
|
| 714 |
- else if("mpg".equals(lower)){sRtn="audio/mpeg";}
|
|
| 715 |
- else if("mpga".equals(lower)){sRtn="audio/mpeg";}
|
|
| 716 |
- else if("mpp".equals(lower)){sRtn="application/vnd.ms-project";}
|
|
| 717 |
- else if("mpt".equals(lower)){sRtn="application/x-project";}
|
|
| 718 |
- else if("mpv".equals(lower)){sRtn="application/x-project";}
|
|
| 719 |
- else if("mpx".equals(lower)){sRtn="application/x-project";}
|
|
| 720 |
- else if("mrc".equals(lower)){sRtn="application/marc";}
|
|
| 721 |
- else if("ms".equals(lower)){sRtn="application/x-troff-ms";}
|
|
| 722 |
- else if("mv".equals(lower)){sRtn="video/x-sgi-movie";}
|
|
| 723 |
- else if("my".equals(lower)){sRtn="audio/make";}
|
|
| 724 |
- else if("mzz".equals(lower)){sRtn="application/x-vnd.audioexplosion.mzz";}
|
|
| 725 |
- else if("nap".equals(lower)){sRtn="image/naplps";}
|
|
| 726 |
- else if("naplps".equals(lower)){sRtn="image/naplps";}
|
|
| 727 |
- else if("nc".equals(lower)){sRtn="application/x-netcdf";}
|
|
| 728 |
- else if("ncm".equals(lower)){sRtn="application/vnd.nokia.configuration-message";}
|
|
| 729 |
- else if("nif".equals(lower)){sRtn="image/x-niff";}
|
|
| 730 |
- else if("niff".equals(lower)){sRtn="image/x-niff";}
|
|
| 731 |
- else if("nix".equals(lower)){sRtn="application/x-mix-transfer";}
|
|
| 732 |
- else if("nsc".equals(lower)){sRtn="application/x-conference";}
|
|
| 733 |
- else if("nvd".equals(lower)){sRtn="application/x-navidoc";}
|
|
| 734 |
- else if("o".equals(lower)){sRtn="application/octet-stream";}
|
|
| 735 |
- else if("oda".equals(lower)){sRtn="application/oda";}
|
|
| 736 |
- else if("omc".equals(lower)){sRtn="application/x-omc";}
|
|
| 737 |
- else if("omcd".equals(lower)){sRtn="application/x-omcdatamaker";}
|
|
| 738 |
- else if("omcr".equals(lower)){sRtn="application/x-omcregerator";}
|
|
| 739 |
- else if("p".equals(lower)){sRtn="text/x-pascal";}
|
|
| 740 |
- else if("p10".equals(lower)){sRtn="application/pkcs10";}
|
|
| 741 |
- else if("p12".equals(lower)){sRtn="application/pkcs-12";}
|
|
| 742 |
- else if("p7a".equals(lower)){sRtn="application/x-pkcs7-signature";}
|
|
| 743 |
- else if("p7c".equals(lower)){sRtn="application/pkcs7-mime";}
|
|
| 744 |
- else if("p7m".equals(lower)){sRtn="application/pkcs7-mime";}
|
|
| 745 |
- else if("p7r".equals(lower)){sRtn="application/x-pkcs7-certreqresp";}
|
|
| 746 |
- else if("p7s".equals(lower)){sRtn="application/pkcs7-signature";}
|
|
| 747 |
- else if("part".equals(lower)){sRtn="application/pro_eng";}
|
|
| 748 |
- else if("pas".equals(lower)){sRtn="text/pascal";}
|
|
| 749 |
- else if("pbm".equals(lower)){sRtn="image/x-portable-bitmap";}
|
|
| 750 |
- else if("pcl".equals(lower)){sRtn="application/vnd.hp-pcl";}
|
|
| 751 |
- else if("pct".equals(lower)){sRtn="image/x-pict";}
|
|
| 752 |
- else if("pcx".equals(lower)){sRtn="image/x-pcx";}
|
|
| 753 |
- else if("pdb".equals(lower)){sRtn="chemical/x-pdb";}
|
|
| 754 |
- else if("pdf".equals(lower)){sRtn="application/pdf";}
|
|
| 755 |
- else if("pfunk".equals(lower)){sRtn="audio/make";}
|
|
| 756 |
- else if("pgm".equals(lower)){sRtn="image/x-portable-graymap";}
|
|
| 757 |
- else if("pgm".equals(lower)){sRtn="image/x-portable-greymap";}
|
|
| 758 |
- else if("pic".equals(lower)){sRtn="image/pict";}
|
|
| 759 |
- else if("pict".equals(lower)){sRtn="image/pict";}
|
|
| 760 |
- else if("pkg".equals(lower)){sRtn="application/x-newton-compatible-pkg";}
|
|
| 761 |
- else if("pko".equals(lower)){sRtn="application/vnd.ms-pki.pko";}
|
|
| 762 |
- else if("pl".equals(lower)){sRtn="text/plain";}
|
|
| 763 |
- else if("plx".equals(lower)){sRtn="application/x-pixclscript";}
|
|
| 764 |
- else if("pm".equals(lower)){sRtn="image/x-xpixmap";}
|
|
| 765 |
- else if("pm4".equals(lower)){sRtn="application/x-pagemaker";}
|
|
| 766 |
- else if("pm5".equals(lower)){sRtn="application/x-pagemaker";}
|
|
| 767 |
- else if("png".equals(lower)){sRtn="image/png";}
|
|
| 768 |
- else if("pnm".equals(lower)){sRtn="application/x-portable-anymap";}
|
|
| 769 |
- else if("pot".equals(lower)){sRtn="application/mspowerpoint";}
|
|
| 770 |
- else if("pov".equals(lower)){sRtn="model/x-pov";}
|
|
| 771 |
- else if("ppa".equals(lower)){sRtn="application/vnd.ms-powerpoint";}
|
|
| 772 |
- else if("ppm".equals(lower)){sRtn="image/x-portable-pixmap";}
|
|
| 773 |
- else if("pps".equals(lower)){sRtn="application/mspowerpoint";}
|
|
| 774 |
- else if("ppt".equals(lower)){sRtn="application/mspowerpoint";}
|
|
| 775 |
- else if("ppt".equals(lower)){sRtn="application/vnd.ms-powerpoint";}
|
|
| 776 |
- else if("pptx".equals(lower)){sRtn="application/vnd.ms-powerpoint";}
|
|
| 777 |
- else if("ppz".equals(lower)){sRtn="application/mspowerpoint";}
|
|
| 778 |
- else if("pre".equals(lower)){sRtn="application/x-freelance";}
|
|
| 779 |
- else if("prt".equals(lower)){sRtn="application/pro_eng";}
|
|
| 780 |
- else if("ps".equals(lower)){sRtn="application/postscript";}
|
|
| 781 |
- else if("psd".equals(lower)){sRtn="application/octet-stream";}
|
|
| 782 |
- else if("pvu".equals(lower)){sRtn="paleovu/x-pv";}
|
|
| 783 |
- else if("pwz".equals(lower)){sRtn="application/vnd.ms-powerpoint";}
|
|
| 784 |
- else if("py".equals(lower)){sRtn="text/x-script.phyton";}
|
|
| 785 |
- else if("pyc".equals(lower)){sRtn="applicaiton/x-bytecode.python";}
|
|
| 786 |
- else if("qcp".equals(lower)){sRtn="audio/vnd.qcelp";}
|
|
| 787 |
- else if("qd3".equals(lower)){sRtn="x-world/x-3dmf";}
|
|
| 788 |
- else if("qd3d".equals(lower)){sRtn="x-world/x-3dmf";}
|
|
| 789 |
- else if("qif".equals(lower)){sRtn="image/x-quicktime";}
|
|
| 790 |
- else if("qt".equals(lower)){sRtn="video/quicktime";}
|
|
| 791 |
- else if("qtc".equals(lower)){sRtn="video/x-qtc";}
|
|
| 792 |
- else if("qti".equals(lower)){sRtn="image/x-quicktime";}
|
|
| 793 |
- else if("qtif".equals(lower)){sRtn="image/x-quicktime";}
|
|
| 794 |
- else if("ra".equals(lower)){sRtn="audio/x-pn-realaudio";}
|
|
| 795 |
- else if("ram".equals(lower)){sRtn="audio/x-pn-realaudio";}
|
|
| 796 |
- else if("ras".equals(lower)){sRtn="application/x-cmu-raster";}
|
|
| 797 |
- else if("rast".equals(lower)){sRtn="image/cmu-raster";}
|
|
| 798 |
- else if("rexx".equals(lower)){sRtn="text/x-script.rexx";}
|
|
| 799 |
- else if("rf".equals(lower)){sRtn="image/vnd.rn-realflash";}
|
|
| 800 |
- else if("rgb".equals(lower)){sRtn="image/x-rgb";}
|
|
| 801 |
- else if("rm".equals(lower)){sRtn="application/vnd.rn-realmedia";}
|
|
| 802 |
- else if("rmi".equals(lower)){sRtn="audio/mid";}
|
|
| 803 |
- else if("rmm".equals(lower)){sRtn="audio/x-pn-realaudio";}
|
|
| 804 |
- else if("rmp".equals(lower)){sRtn="audio/x-pn-realaudio";}
|
|
| 805 |
- else if("rng".equals(lower)){sRtn="application/ringing-tones";}
|
|
| 806 |
- else if("rnx".equals(lower)){sRtn="application/vnd.rn-realplayer";}
|
|
| 807 |
- else if("roff".equals(lower)){sRtn="application/x-troff";}
|
|
| 808 |
- else if("rp".equals(lower)){sRtn="image/vnd.rn-realpix";}
|
|
| 809 |
- else if("rpm".equals(lower)){sRtn="audio/x-pn-realaudio-plugin";}
|
|
| 810 |
- else if("rt".equals(lower)){sRtn="text/richtext";}
|
|
| 811 |
- else if("rtf".equals(lower)){sRtn="application/rtf";}
|
|
| 812 |
- else if("rtx".equals(lower)){sRtn="application/rtf";}
|
|
| 813 |
- else if("rv".equals(lower)){sRtn="video/vnd.rn-realvideo";}
|
|
| 814 |
- else if("s".equals(lower)){sRtn="text/x-asm";}
|
|
| 815 |
- else if("s3m".equals(lower)){sRtn="audio/s3m";}
|
|
| 816 |
- else if("saveme".equals(lower)){sRtn="application/octet-stream";}
|
|
| 817 |
- else if("sbk".equals(lower)){sRtn="application/x-tbook";}
|
|
| 818 |
- else if("scm".equals(lower)){sRtn="application/x-lotusscreencam";}
|
|
| 819 |
- else if("sdml".equals(lower)){sRtn="text/plain";}
|
|
| 820 |
- else if("sdp".equals(lower)){sRtn="application/sdp";}
|
|
| 821 |
- else if("sdr".equals(lower)){sRtn="application/sounder";}
|
|
| 822 |
- else if("sea".equals(lower)){sRtn="application/sea";}
|
|
| 823 |
- else if("set".equals(lower)){sRtn="application/set";}
|
|
| 824 |
- else if("sgm".equals(lower)){sRtn="text/sgml";}
|
|
| 825 |
- else if("sgml".equals(lower)){sRtn="text/sgml";}
|
|
| 826 |
- else if("sh".equals(lower)){sRtn="application/x-bsh";}
|
|
| 827 |
- else if("shar".equals(lower)){sRtn="application/x-bsh";}
|
|
| 828 |
- else if("shtml".equals(lower)){sRtn="text/html";}
|
|
| 829 |
- else if("sid".equals(lower)){sRtn="audio/x-psid";}
|
|
| 830 |
- else if("sit".equals(lower)){sRtn="application/x-sit";}
|
|
| 831 |
- else if("skd".equals(lower)){sRtn="application/x-koan";}
|
|
| 832 |
- else if("skm".equals(lower)){sRtn="application/x-koan";}
|
|
| 833 |
- else if("skp".equals(lower)){sRtn="application/x-koan";}
|
|
| 834 |
- else if("skt".equals(lower)){sRtn="application/x-koan";}
|
|
| 835 |
- else if("sl".equals(lower)){sRtn="application/x-seelogo";}
|
|
| 836 |
- else if("smi".equals(lower)){sRtn="application/smil";}
|
|
| 837 |
- else if("smil".equals(lower)){sRtn="application/smil";}
|
|
| 838 |
- else if("snd".equals(lower)){sRtn="audio/basic";}
|
|
| 839 |
- else if("sol".equals(lower)){sRtn="application/solids";}
|
|
| 840 |
- else if("spc".equals(lower)){sRtn="application/x-pkcs7-certificates";}
|
|
| 841 |
- else if("spl".equals(lower)){sRtn="application/futuresplash";}
|
|
| 842 |
- else if("spr".equals(lower)){sRtn="application/x-sprite";}
|
|
| 843 |
- else if("sprite".equals(lower)){sRtn="application/x-sprite";}
|
|
| 844 |
- else if("src".equals(lower)){sRtn="application/x-wais-source";}
|
|
| 845 |
- else if("ssi".equals(lower)){sRtn="text/x-server-parsed-html";}
|
|
| 846 |
- else if("ssm".equals(lower)){sRtn="application/streamingmedia";}
|
|
| 847 |
- else if("sst".equals(lower)){sRtn="application/vnd.ms-pki.certstore";}
|
|
| 848 |
- else if("step".equals(lower)){sRtn="application/step";}
|
|
| 849 |
- else if("stl".equals(lower)){sRtn="application/sla";}
|
|
| 850 |
- else if("stp".equals(lower)){sRtn="application/step";}
|
|
| 851 |
- else if("sv4cpio".equals(lower)){sRtn="application/x-sv4cpio";}
|
|
| 852 |
- else if("sv4crc".equals(lower)){sRtn="application/x-sv4crc";}
|
|
| 853 |
- else if("svf".equals(lower)){sRtn="image/vnd.dwg";}
|
|
| 854 |
- else if("svr".equals(lower)){sRtn="application/x-world";}
|
|
| 855 |
- else if("swf".equals(lower)){sRtn="application/x-shockwave-flash";}
|
|
| 856 |
- else if("t".equals(lower)){sRtn="application/x-troff";}
|
|
| 857 |
- else if("talk".equals(lower)){sRtn="text/x-speech";}
|
|
| 858 |
- else if("tar".equals(lower)){sRtn="application/x-tar";}
|
|
| 859 |
- else if("tbk".equals(lower)){sRtn="application/toolbook";}
|
|
| 860 |
- else if("tcl".equals(lower)){sRtn="application/x-tcl";}
|
|
| 861 |
- else if("tcsh".equals(lower)){sRtn="text/x-script.tcsh";}
|
|
| 862 |
- else if("tex".equals(lower)){sRtn="application/x-tex";}
|
|
| 863 |
- else if("texi".equals(lower)){sRtn="application/x-texinfo";}
|
|
| 864 |
- else if("texinfo".equals(lower)){sRtn="application/x-texinfo";}
|
|
| 865 |
- else if("text".equals(lower)){sRtn="application/plain";}
|
|
| 866 |
- else if("tgz".equals(lower)){sRtn="application/gnutar";}
|
|
| 867 |
- else if("tif".equals(lower)){sRtn="image/tiff";}
|
|
| 868 |
- else if("tiff".equals(lower)){sRtn="image/tiff";}
|
|
| 869 |
- else if("tr".equals(lower)){sRtn="application/x-troff";}
|
|
| 870 |
- else if("tsi".equals(lower)){sRtn="audio/tsp-audio";}
|
|
| 871 |
- else if("tsp".equals(lower)){sRtn="application/dsptype";}
|
|
| 872 |
- else if("tsv".equals(lower)){sRtn="text/tab-separated-values";}
|
|
| 873 |
- else if("turbot".equals(lower)){sRtn="image/florian";}
|
|
| 874 |
- else if("txt".equals(lower)){sRtn="application/octet-stream";}
|
|
| 875 |
- else if("uil".equals(lower)){sRtn="text/x-uil";}
|
|
| 876 |
- else if("uni".equals(lower)){sRtn="text/uri-list";}
|
|
| 877 |
- else if("unis".equals(lower)){sRtn="text/uri-list";}
|
|
| 878 |
- else if("unv".equals(lower)){sRtn="application/i-deas";}
|
|
| 879 |
- else if("uri".equals(lower)){sRtn="text/uri-list";}
|
|
| 880 |
- else if("uris".equals(lower)){sRtn="text/uri-list";}
|
|
| 881 |
- else if("ustar".equals(lower)){sRtn="application/x-ustar";}
|
|
| 882 |
- else if("uu".equals(lower)){sRtn="application/octet-stream";}
|
|
| 883 |
- else if("uue".equals(lower)){sRtn="text/x-uuencode";}
|
|
| 884 |
- else if("vcd".equals(lower)){sRtn="application/x-cdlink";}
|
|
| 885 |
- else if("vcs".equals(lower)){sRtn="text/x-vcalendar";}
|
|
| 886 |
- else if("vda".equals(lower)){sRtn="application/vda";}
|
|
| 887 |
- else if("vdo".equals(lower)){sRtn="video/vdo";}
|
|
| 888 |
- else if("vew".equals(lower)){sRtn="application/groupwise";}
|
|
| 889 |
- else if("viv".equals(lower)){sRtn="video/vivo";}
|
|
| 890 |
- else if("vivo".equals(lower)){sRtn="video/vivo";}
|
|
| 891 |
- else if("vmd".equals(lower)){sRtn="application/vocaltec-media-desc";}
|
|
| 892 |
- else if("vmf".equals(lower)){sRtn="application/vocaltec-media-file";}
|
|
| 893 |
- else if("voc".equals(lower)){sRtn="audio/voc";}
|
|
| 894 |
- else if("vos".equals(lower)){sRtn="video/vosaic";}
|
|
| 895 |
- else if("vox".equals(lower)){sRtn="audio/voxware";}
|
|
| 896 |
- else if("vqe".equals(lower)){sRtn="audio/x-twinvq-plugin";}
|
|
| 897 |
- else if("vqf".equals(lower)){sRtn="audio/x-twinvq";}
|
|
| 898 |
- else if("vql".equals(lower)){sRtn="audio/x-twinvq-plugin";}
|
|
| 899 |
- else if("vrml".equals(lower)){sRtn="application/x-vrml";}
|
|
| 900 |
- else if("vrt".equals(lower)){sRtn="x-world/x-vrt";}
|
|
| 901 |
- else if("vsd".equals(lower)){sRtn="application/x-visio";}
|
|
| 902 |
- else if("vst".equals(lower)){sRtn="application/x-visio";}
|
|
| 903 |
- else if("vsw".equals(lower)){sRtn="application/x-visio";}
|
|
| 904 |
- else if("w60".equals(lower)){sRtn="application/wordperfect6.0";}
|
|
| 905 |
- else if("w61".equals(lower)){sRtn="application/wordperfect6.1";}
|
|
| 906 |
- else if("w6w".equals(lower)){sRtn="application/msword";}
|
|
| 907 |
- else if("wav".equals(lower)){sRtn="audio/wav";}
|
|
| 908 |
- else if("wb1".equals(lower)){sRtn="application/x-qpro";}
|
|
| 909 |
- else if("wbmp".equals(lower)){sRtn="image/vnd.wap.wbmp";}
|
|
| 910 |
- else if("web".equals(lower)){sRtn="application/vnd.xara";}
|
|
| 911 |
- else if("wiz".equals(lower)){sRtn="application/msword";}
|
|
| 912 |
- else if("wk1".equals(lower)){sRtn="application/x-123";}
|
|
| 913 |
- else if("wmf".equals(lower)){sRtn="windows/metafile";}
|
|
| 914 |
- else if("wml".equals(lower)){sRtn="text/vnd.wap.wml";}
|
|
| 915 |
- else if("wmlc".equals(lower)){sRtn="application/vnd.wap.wmlc";}
|
|
| 916 |
- else if("wmls".equals(lower)){sRtn="text/vnd.wap.wmlscript";}
|
|
| 917 |
- else if("wmlsc".equals(lower)){sRtn="application/vnd.wap.wmlscriptc";}
|
|
| 918 |
- else if("word".equals(lower)){sRtn="application/msword";}
|
|
| 919 |
- else if("wp".equals(lower)){sRtn="application/wordperfect";}
|
|
| 920 |
- else if("wp5".equals(lower)){sRtn="application/wordperfect";}
|
|
| 921 |
- else if("wp6".equals(lower)){sRtn="application/wordperfect";}
|
|
| 922 |
- else if("wpd".equals(lower)){sRtn="application/wordperfect";}
|
|
| 923 |
- else if("wq1".equals(lower)){sRtn="application/x-lotus";}
|
|
| 924 |
- else if("wri".equals(lower)){sRtn="application/mswrite";}
|
|
| 925 |
- else if("wrl".equals(lower)){sRtn="application/x-world";}
|
|
| 926 |
- else if("wrz".equals(lower)){sRtn="model/vrml";}
|
|
| 927 |
- else if("wsc".equals(lower)){sRtn="text/scriplet";}
|
|
| 928 |
- else if("wsrc".equals(lower)){sRtn="application/x-wais-source";}
|
|
| 929 |
- else if("wtk".equals(lower)){sRtn="application/x-wintalk";}
|
|
| 930 |
- else if("xbm".equals(lower)){sRtn="image/x-xbitmap";}
|
|
| 931 |
- else if("xdr".equals(lower)){sRtn="video/x-amt-demorun";}
|
|
| 932 |
- else if("xgz".equals(lower)){sRtn="xgl/drawing";}
|
|
| 933 |
- else if("xif".equals(lower)){sRtn="image/vnd.xiff";}
|
|
| 934 |
- else if("xl".equals(lower)){sRtn="application/excel";}
|
|
| 935 |
- else if("xla".equals(lower)){sRtn="application/excel";}
|
|
| 936 |
- else if("xlb".equals(lower)){sRtn="application/excel";}
|
|
| 937 |
- else if("xlc".equals(lower)){sRtn="application/excel";}
|
|
| 938 |
- else if("xld".equals(lower)){sRtn="application/excel";}
|
|
| 939 |
- else if("xlk".equals(lower)){sRtn="application/excel";}
|
|
| 940 |
- else if("xll".equals(lower)){sRtn="application/excel";}
|
|
| 941 |
- else if("xlm".equals(lower)){sRtn="application/excel";}
|
|
| 942 |
- else if("xls".equals(lower)){sRtn="application/excel";}
|
|
| 943 |
- else if("xlsx".equals(lower)){sRtn="application/excel";}
|
|
| 944 |
- else if("xlt".equals(lower)){sRtn="application/excel";}
|
|
| 945 |
- else if("xlv".equals(lower)){sRtn="application/excel";}
|
|
| 946 |
- else if("xlw".equals(lower)){sRtn="application/excel";}
|
|
| 947 |
- else if("xm".equals(lower)){sRtn="audio/xm";}
|
|
| 948 |
- else if("xml".equals(lower)){sRtn="application/xml";}
|
|
| 949 |
- else if("xmz".equals(lower)){sRtn="xgl/movie";}
|
|
| 950 |
- else if("xpix".equals(lower)){sRtn="application/x-vnd.ls-xpix";}
|
|
| 951 |
- else if("xpm".equals(lower)){sRtn="image/x-xpixmap";}
|
|
| 952 |
- else if("xpm".equals(lower)){sRtn="image/xpm";}
|
|
| 953 |
- else if("x-png".equals(lower)){sRtn="image/png";}
|
|
| 954 |
- else if("xsr".equals(lower)){sRtn="video/x-amt-showrun";}
|
|
| 955 |
- else if("xwd".equals(lower)){sRtn="image/x-xwd";}
|
|
| 956 |
- else if("xyz".equals(lower)){sRtn="chemical/x-pdb";}
|
|
| 957 |
- else if("z".equals(lower)){sRtn="application/x-compress";}
|
|
| 958 |
- else if("zip".equals(lower)){sRtn="application/zip";}
|
|
| 959 |
- else if("zoo".equals(lower)){sRtn="application/octet-stream";}
|
|
| 960 |
- else if("zsh".equals(lower)){sRtn="text/x-script.zsh";}
|
|
| 961 |
- |
|
| 962 |
- return sRtn; |
|
| 963 |
- } |
|
| 964 |
-} |
|
| 1 |
+package egovframework.com.cmm.web; |
|
| 2 |
+ |
|
| 3 |
+import java.io.BufferedInputStream; |
|
| 4 |
+import java.io.BufferedOutputStream; |
|
| 5 |
+import java.io.File; |
|
| 6 |
+import java.io.FileInputStream; |
|
| 7 |
+import java.io.FileNotFoundException; |
|
| 8 |
+import java.io.FileOutputStream; |
|
| 9 |
+import java.io.IOException; |
|
| 10 |
+import java.io.PrintWriter; |
|
| 11 |
+import java.net.URLEncoder; |
|
| 12 |
+import java.text.SimpleDateFormat; |
|
| 13 |
+import java.util.ArrayList; |
|
| 14 |
+import java.util.Date; |
|
| 15 |
+import java.util.HashMap; |
|
| 16 |
+import java.util.List; |
|
| 17 |
+import java.util.Map; |
|
| 18 |
+import java.util.zip.ZipEntry; |
|
| 19 |
+import java.util.zip.ZipOutputStream; |
|
| 20 |
+ |
|
| 21 |
+import javax.annotation.Resource; |
|
| 22 |
+import javax.servlet.ServletOutputStream; |
|
| 23 |
+import javax.servlet.http.HttpServletRequest; |
|
| 24 |
+import javax.servlet.http.HttpServletResponse; |
|
| 25 |
+ |
|
| 26 |
+import org.apache.log4j.Logger; |
|
| 27 |
+import org.springframework.stereotype.Controller; |
|
| 28 |
+import org.springframework.util.FileCopyUtils; |
|
| 29 |
+import org.springframework.web.bind.annotation.ModelAttribute; |
|
| 30 |
+import org.springframework.web.bind.annotation.RequestMapping; |
|
| 31 |
+import org.springframework.web.bind.annotation.RequestParam; |
|
| 32 |
+ |
|
| 33 |
+import egovframework.com.cmm.service.EgovFileMngService; |
|
| 34 |
+import egovframework.com.cmm.service.FileVO; |
|
| 35 |
+import egovframework.com.sym.sit.service.SiteManageService; |
|
| 36 |
+import egovframework.rte.fdl.property.EgovPropertyService; |
|
| 37 |
+import egovframework.rte.psl.dataaccess.util.EgovMap; |
|
| 38 |
+ |
|
| 39 |
+ |
|
| 40 |
+/** |
|
| 41 |
+ * 파일 다운로드를 위한 컨트롤러 클래스 |
|
| 42 |
+ * @author 공통서비스개발팀 이삼섭 |
|
| 43 |
+ * @since 2009.06.01 |
|
| 44 |
+ * @version 1.0 |
|
| 45 |
+ * @see |
|
| 46 |
+ * |
|
| 47 |
+ * <pre> |
|
| 48 |
+ * << 개정이력(Modification Information) >> |
|
| 49 |
+ * |
|
| 50 |
+ * 수정일 수정자 수정내용 |
|
| 51 |
+ * ------- -------- --------------------------- |
|
| 52 |
+ * 2009.3.25 이삼섭 최초 생성 |
|
| 53 |
+ * |
|
| 54 |
+ * Copyright (C) 2009 by MOPAS All right reserved. |
|
| 55 |
+ * </pre> |
|
| 56 |
+ */ |
|
| 57 |
+@Controller |
|
| 58 |
+public class EgovFileDownloadController {
|
|
| 59 |
+ @Resource(name = "propertiesService") |
|
| 60 |
+ protected EgovPropertyService propertyService; |
|
| 61 |
+ |
|
| 62 |
+ @Resource(name = "siteManageService") |
|
| 63 |
+ SiteManageService siteManageService; |
|
| 64 |
+ |
|
| 65 |
+ @Resource(name = "EgovFileMngService") |
|
| 66 |
+ private EgovFileMngService fileService; |
|
| 67 |
+ |
|
| 68 |
+ @Resource(name = "propertiesService") |
|
| 69 |
+ protected EgovPropertyService propertiesService; |
|
| 70 |
+ |
|
| 71 |
+ Logger log = Logger.getLogger(this.getClass()); |
|
| 72 |
+ |
|
| 73 |
+ /** |
|
| 74 |
+ * 브라우저 구분 얻기. |
|
| 75 |
+ * |
|
| 76 |
+ * @param request |
|
| 77 |
+ * @return |
|
| 78 |
+ */ |
|
| 79 |
+ private String getBrowser(HttpServletRequest request) {
|
|
| 80 |
+ String header = request.getHeader("User-Agent");
|
|
| 81 |
+ if (header.indexOf("MSIE") > -1) {
|
|
| 82 |
+ return "MSIE"; |
|
| 83 |
+ } else if (header.indexOf("Trident") > -1) { // IE11 문자열 깨짐 방지
|
|
| 84 |
+ return "Trident"; |
|
| 85 |
+ } else if (header.indexOf("Chrome") > -1) {
|
|
| 86 |
+ return "Chrome"; |
|
| 87 |
+ } else if (header.indexOf("Opera") > -1) {
|
|
| 88 |
+ return "Opera"; |
|
| 89 |
+ } |
|
| 90 |
+ return "Firefox"; |
|
| 91 |
+ } |
|
| 92 |
+ |
|
| 93 |
+ /** |
|
| 94 |
+ * Disposition 지정하기. |
|
| 95 |
+ * |
|
| 96 |
+ * @param filename |
|
| 97 |
+ * @param request |
|
| 98 |
+ * @param response |
|
| 99 |
+ * @throws Exception |
|
| 100 |
+ */ |
|
| 101 |
+ private void setDisposition(String filename, HttpServletRequest request, HttpServletResponse response) throws Exception {
|
|
| 102 |
+ String browser = getBrowser(request); |
|
| 103 |
+ |
|
| 104 |
+ String dispositionPrefix = "attachment; filename="; |
|
| 105 |
+ String encodedFilename = null; |
|
| 106 |
+ |
|
| 107 |
+ if (browser.equals("MSIE")) {
|
|
| 108 |
+ encodedFilename = URLEncoder.encode(filename, "UTF-8").replaceAll("\\+", "%20");
|
|
| 109 |
+ } else if (browser.equals("Trident")) {
|
|
| 110 |
+ encodedFilename = URLEncoder.encode(filename, "UTF-8").replaceAll("\\+", "%20");
|
|
| 111 |
+ } else if (browser.equals("Firefox")) {
|
|
| 112 |
+ encodedFilename = "\"" + new String(filename.getBytes("UTF-8"), "8859_1") + "\"";
|
|
| 113 |
+ } else if (browser.equals("Opera")) {
|
|
| 114 |
+ encodedFilename = "\"" + new String(filename.getBytes("UTF-8"), "8859_1") + "\"";
|
|
| 115 |
+ } else if (browser.equals("Chrome")) {
|
|
| 116 |
+ StringBuffer sb = new StringBuffer(); |
|
| 117 |
+ for (int i = 0; i < filename.length(); i++) {
|
|
| 118 |
+ char c = filename.charAt(i); |
|
| 119 |
+ if (c > '~') {
|
|
| 120 |
+ sb.append(URLEncoder.encode("" + c, "UTF-8"));
|
|
| 121 |
+ } else {
|
|
| 122 |
+ sb.append(c); |
|
| 123 |
+ } |
|
| 124 |
+ } |
|
| 125 |
+ encodedFilename = sb.toString(); |
|
| 126 |
+ } else {
|
|
| 127 |
+ //throw new RuntimeException("Not supported browser");
|
|
| 128 |
+ throw new IOException("Not supported browser");
|
|
| 129 |
+ } |
|
| 130 |
+ |
|
| 131 |
+ response.setHeader("Content-Disposition", dispositionPrefix + encodedFilename);
|
|
| 132 |
+ |
|
| 133 |
+ if ("Opera".equals(browser)){
|
|
| 134 |
+ response.setContentType("application/octet-stream;charset=UTF-8");
|
|
| 135 |
+ } |
|
| 136 |
+ } |
|
| 137 |
+ |
|
| 138 |
+ private void setDisposition(String filename, HttpServletRequest request, HttpServletResponse response, String disposition) throws Exception {
|
|
| 139 |
+ String browser = getBrowser(request); |
|
| 140 |
+ |
|
| 141 |
+ String dispositionPrefix = disposition + "; filename="; |
|
| 142 |
+ String encodedFilename = null; |
|
| 143 |
+ |
|
| 144 |
+ if (browser.equals("MSIE")) {
|
|
| 145 |
+ encodedFilename = URLEncoder.encode(filename, "UTF-8").replaceAll("\\+", "%20");
|
|
| 146 |
+ } else if (browser.equals("Trident")) {
|
|
| 147 |
+ encodedFilename = URLEncoder.encode(filename, "UTF-8").replaceAll("\\+", "%20");
|
|
| 148 |
+ } else if (browser.equals("Firefox")) {
|
|
| 149 |
+ encodedFilename = "\"" + new String(filename.getBytes("UTF-8"), "8859_1") + "\"";
|
|
| 150 |
+ } else if (browser.equals("Opera")) {
|
|
| 151 |
+ encodedFilename = "\"" + new String(filename.getBytes("UTF-8"), "8859_1") + "\"";
|
|
| 152 |
+ } else if (browser.equals("Chrome")) {
|
|
| 153 |
+ StringBuffer sb = new StringBuffer(); |
|
| 154 |
+ for (int i = 0; i < filename.length(); i++) {
|
|
| 155 |
+ char c = filename.charAt(i); |
|
| 156 |
+ if (c > '~') {
|
|
| 157 |
+ sb.append(URLEncoder.encode("" + c, "UTF-8"));
|
|
| 158 |
+ } else {
|
|
| 159 |
+ sb.append(c); |
|
| 160 |
+ } |
|
| 161 |
+ } |
|
| 162 |
+ encodedFilename = sb.toString(); |
|
| 163 |
+ } else {
|
|
| 164 |
+ //throw new RuntimeException("Not supported browser");
|
|
| 165 |
+ throw new IOException("Not supported browser");
|
|
| 166 |
+ } |
|
| 167 |
+ |
|
| 168 |
+ response.setHeader("Content-Disposition", dispositionPrefix + encodedFilename);
|
|
| 169 |
+ |
|
| 170 |
+ if ("Opera".equals(browser)){
|
|
| 171 |
+ response.setContentType("application/octet-stream;charset=UTF-8");
|
|
| 172 |
+ } |
|
| 173 |
+ } |
|
| 174 |
+ |
|
| 175 |
+ |
|
| 176 |
+ /** |
|
| 177 |
+ * 첨부파일로 등록된 파일에 대하여 다운로드를 제공한다. |
|
| 178 |
+ * |
|
| 179 |
+ * @param commandMap |
|
| 180 |
+ * @param response |
|
| 181 |
+ * @throws Exception |
|
| 182 |
+ */ |
|
| 183 |
+ @RequestMapping(value = "/cmm/fms/FileDown.do") |
|
| 184 |
+ public void cvplFileDownload(@RequestParam Map commandMap, HttpServletRequest request, HttpServletResponse response) throws Exception {
|
|
| 185 |
+ |
|
| 186 |
+ String atchFileId = (String)commandMap.get("atchFileId");
|
|
| 187 |
+ String fileSn = (String)commandMap.get("fileSn");
|
|
| 188 |
+ String plId = commandMap.get("plId") != null ? (String)commandMap.get("plId") : "";
|
|
| 189 |
+ String userId = commandMap.get("userId") != null ? (String)commandMap.get("userId") : "";
|
|
| 190 |
+ String streFileNm = commandMap.get("streFileNm") != null ? (String)commandMap.get("streFileNm") : "";
|
|
| 191 |
+ |
|
| 192 |
+ String strReturnMsg = ""; |
|
| 193 |
+ Boolean isAuthenticated = true;//EgovUserDetailsHelper.isAuthenticated(); |
|
| 194 |
+ |
|
| 195 |
+ |
|
| 196 |
+ //BigDecimal mlgScore = BigDecimal.ZERO; |
|
| 197 |
+ //String nttId = (String)commandMap.get("nttId");
|
|
| 198 |
+ //String bbsId = (String)commandMap.get("bbsId");
|
|
| 199 |
+ |
|
| 200 |
+ if (isAuthenticated) {
|
|
| 201 |
+ |
|
| 202 |
+ FileVO fileVO = new FileVO(); |
|
| 203 |
+ fileVO.setAtchFileId(atchFileId); |
|
| 204 |
+ fileVO.setFileSn(fileSn); |
|
| 205 |
+ FileVO fvo = null; |
|
| 206 |
+ fvo = fileService.selectFileInf(fileVO); |
|
| 207 |
+ |
|
| 208 |
+ File uFile = new File(fvo.getFileStreCours(), fvo.getStreFileNm()); |
|
| 209 |
+ int fSize = (int)uFile.length(); |
|
| 210 |
+ |
|
| 211 |
+ if (fSize > 0) {
|
|
| 212 |
+ |
|
| 213 |
+ if(!"".equals(plId)){
|
|
| 214 |
+ EgovMap vo = new EgovMap(); |
|
| 215 |
+ vo.put("plId", plId);
|
|
| 216 |
+ vo.put("streFileNm", streFileNm);
|
|
| 217 |
+ vo.put("userId", userId);
|
|
| 218 |
+ |
|
| 219 |
+ if(fileService.selectFileDownLogCnt(vo) > 0){
|
|
| 220 |
+ fileService.updateFileDownLog(vo); |
|
| 221 |
+ }else{
|
|
| 222 |
+ fileService.insertFileDownLog(vo); |
|
| 223 |
+ } |
|
| 224 |
+ } |
|
| 225 |
+ |
|
| 226 |
+ String mimetype = getMime(fvo.getFileExtsn());//"application/x-msdownload"; |
|
| 227 |
+ |
|
| 228 |
+ //20110210 faq참조하여 알아서 주석처리.. |
|
| 229 |
+ response.setContentType(mimetype); |
|
| 230 |
+ setDisposition(fvo.getOrignlFileNm(), request, response); |
|
| 231 |
+ BufferedInputStream in = null; |
|
| 232 |
+ BufferedOutputStream out = null; |
|
| 233 |
+ |
|
| 234 |
+ try {
|
|
| 235 |
+ in = new BufferedInputStream(new FileInputStream(uFile)); |
|
| 236 |
+ out = new BufferedOutputStream(response.getOutputStream()); |
|
| 237 |
+ |
|
| 238 |
+ FileCopyUtils.copy(in, out); |
|
| 239 |
+ out.flush(); |
|
| 240 |
+ }catch(FileNotFoundException e){
|
|
| 241 |
+ log.debug("FileNotFoundException: "+ e.getMessage() );
|
|
| 242 |
+ }catch(IOException e){
|
|
| 243 |
+ log.debug("IOException: "+ e.getMessage() );
|
|
| 244 |
+ }catch (Exception e) {
|
|
| 245 |
+ log.debug("Exception: "+ e.getMessage() );
|
|
| 246 |
+ } finally {
|
|
| 247 |
+ if (in != null) {
|
|
| 248 |
+ try {
|
|
| 249 |
+ in.close(); |
|
| 250 |
+ } catch (IOException e) {
|
|
| 251 |
+ log.debug("IGNORED: "+ e.getMessage() );
|
|
| 252 |
+ } |
|
| 253 |
+ } |
|
| 254 |
+ if (out != null) {
|
|
| 255 |
+ try {
|
|
| 256 |
+ out.close(); |
|
| 257 |
+ } catch (IOException e) {
|
|
| 258 |
+ log.debug("IGNORED: "+ e.getMessage() );
|
|
| 259 |
+ } |
|
| 260 |
+ } |
|
| 261 |
+ } |
|
| 262 |
+ |
|
| 263 |
+ } else {
|
|
| 264 |
+ response.setContentType("text/html;charset=UTF-8");
|
|
| 265 |
+ |
|
| 266 |
+ PrintWriter printwriter = response.getWriter(); |
|
| 267 |
+ printwriter.println("<html>");
|
|
| 268 |
+ printwriter.println("<script type=\"text/javascript\">alert('파일을 찾을수 없습니다.');window.close();</script>");
|
|
| 269 |
+ printwriter.println("<br><br><br><h2>Could not get file name:<br>" + fvo.getOrignlFileNm() + "</h2>");
|
|
| 270 |
+ printwriter.println("<br><br><br>");
|
|
| 271 |
+ printwriter.println("</html>");
|
|
| 272 |
+ printwriter.flush(); |
|
| 273 |
+ printwriter.close(); |
|
| 274 |
+ } |
|
| 275 |
+ } else {
|
|
| 276 |
+ response.setContentType("text/html;charset=UTF-8");
|
|
| 277 |
+ |
|
| 278 |
+ PrintWriter printwriter = response.getWriter(); |
|
| 279 |
+ printwriter.println("<html>");
|
|
| 280 |
+ printwriter.println("<script type=\"text/javascript\">alert('" + strReturnMsg + "');window.close();</script>");
|
|
| 281 |
+ printwriter.println("<br><br><br><h2>" + strReturnMsg + "</h2>");
|
|
| 282 |
+ printwriter.println("<br><br><br>");
|
|
| 283 |
+ printwriter.println("</html>");
|
|
| 284 |
+ printwriter.flush(); |
|
| 285 |
+ printwriter.close(); |
|
| 286 |
+ } |
|
| 287 |
+ } |
|
| 288 |
+ |
|
| 289 |
+ /** |
|
| 290 |
+ * 절대경로 파일 다운로드를 제공한다. |
|
| 291 |
+ * |
|
| 292 |
+ * @param commandMap |
|
| 293 |
+ * @param response |
|
| 294 |
+ * @throws Exception |
|
| 295 |
+ */ |
|
| 296 |
+ @RequestMapping(value = "/cmm/fms/absolutePathFileDown.do") |
|
| 297 |
+ public void absolutePathFileDown(@RequestParam Map commandMap, HttpServletRequest request, HttpServletResponse response) throws Exception {
|
|
| 298 |
+ String filePath = propertyService.getString((String)commandMap.get("filePath")) + File.separator;
|
|
| 299 |
+ String fileNm = (String)commandMap.get("fileNm");
|
|
| 300 |
+ String oriFileNm = (String)commandMap.get("oriFileNm");
|
|
| 301 |
+ |
|
| 302 |
+ //파일 확장자 추출 |
|
| 303 |
+ int pos = fileNm.lastIndexOf( "." ); |
|
| 304 |
+ String ext = fileNm.substring( pos + 1 ); |
|
| 305 |
+ |
|
| 306 |
+ String strReturnMsg = ""; |
|
| 307 |
+ Boolean isAuthenticated = true;//EgovUserDetailsHelper.isAuthenticated(); |
|
| 308 |
+ |
|
| 309 |
+ if (isAuthenticated) {
|
|
| 310 |
+ File uFile = new File(filePath, fileNm); |
|
| 311 |
+ int fSize = (int)uFile.length(); |
|
| 312 |
+ |
|
| 313 |
+ if (fSize > 0) {
|
|
| 314 |
+ String mimetype = getMime(ext);//"application/x-msdownload"; |
|
| 315 |
+ |
|
| 316 |
+ //20110210 faq참조하여 알아서 주석처리.. |
|
| 317 |
+ response.setContentType(mimetype); |
|
| 318 |
+ setDisposition(oriFileNm, request, response); |
|
| 319 |
+ BufferedInputStream in = null; |
|
| 320 |
+ BufferedOutputStream out = null; |
|
| 321 |
+ |
|
| 322 |
+ try {
|
|
| 323 |
+ in = new BufferedInputStream(new FileInputStream(uFile)); |
|
| 324 |
+ out = new BufferedOutputStream(response.getOutputStream()); |
|
| 325 |
+ |
|
| 326 |
+ FileCopyUtils.copy(in, out); |
|
| 327 |
+ out.flush(); |
|
| 328 |
+ }catch(FileNotFoundException e){
|
|
| 329 |
+ log.debug("FileNotFoundException: "+ e.getMessage() );
|
|
| 330 |
+ }catch(IOException e){
|
|
| 331 |
+ log.debug("IOException: "+ e.getMessage() );
|
|
| 332 |
+ }catch (Exception e) {
|
|
| 333 |
+ log.debug("Exception: "+ e.getMessage() );
|
|
| 334 |
+ } finally {
|
|
| 335 |
+ if (in != null) {
|
|
| 336 |
+ try {
|
|
| 337 |
+ in.close(); |
|
| 338 |
+ } catch (IOException e) {
|
|
| 339 |
+ log.debug("IGNORED: "+ e.getMessage() );
|
|
| 340 |
+ } |
|
| 341 |
+ } |
|
| 342 |
+ if (out != null) {
|
|
| 343 |
+ try {
|
|
| 344 |
+ out.close(); |
|
| 345 |
+ } catch (IOException e) {
|
|
| 346 |
+ log.debug("IGNORED: "+ e.getMessage() );
|
|
| 347 |
+ } |
|
| 348 |
+ } |
|
| 349 |
+ } |
|
| 350 |
+ |
|
| 351 |
+ } else {
|
|
| 352 |
+ response.setContentType("text/html;charset=UTF-8");
|
|
| 353 |
+ |
|
| 354 |
+ PrintWriter printwriter = response.getWriter(); |
|
| 355 |
+ printwriter.println("<html>");
|
|
| 356 |
+ printwriter.println("<script type=\"text/javascript\">alert('파일을 찾을수 없습니다.');window.close();</script>");
|
|
| 357 |
+ printwriter.println("<br><br><br><h2>Could not get file name:<br>" + oriFileNm + "</h2>");
|
|
| 358 |
+ printwriter.println("<br><br><br>");
|
|
| 359 |
+ printwriter.println("</html>");
|
|
| 360 |
+ printwriter.flush(); |
|
| 361 |
+ printwriter.close(); |
|
| 362 |
+ } |
|
| 363 |
+ } else {
|
|
| 364 |
+ response.setContentType("text/html;charset=UTF-8");
|
|
| 365 |
+ |
|
| 366 |
+ PrintWriter printwriter = response.getWriter(); |
|
| 367 |
+ printwriter.println("<html>");
|
|
| 368 |
+ printwriter.println("<script type=\"text/javascript\">alert('" + strReturnMsg + "');window.close();</script>");
|
|
| 369 |
+ printwriter.println("<br><br><br><h2>" + strReturnMsg + "</h2>");
|
|
| 370 |
+ printwriter.println("<br><br><br>");
|
|
| 371 |
+ printwriter.println("</html>");
|
|
| 372 |
+ printwriter.flush(); |
|
| 373 |
+ printwriter.close(); |
|
| 374 |
+ } |
|
| 375 |
+ } |
|
| 376 |
+ |
|
| 377 |
+ /** |
|
| 378 |
+ * 첨부파일 압축 다운로드 |
|
| 379 |
+ * |
|
| 380 |
+ * @param commandMap |
|
| 381 |
+ * @param response |
|
| 382 |
+ * @throws Exception |
|
| 383 |
+ */ |
|
| 384 |
+ @RequestMapping(value = "/cmm/fms/paperFileDownLoadZip.do") |
|
| 385 |
+ public void cvplFileDownload1Zip(@ModelAttribute("searchVO") FileVO fileVO, HttpServletRequest request, HttpServletResponse response) throws Exception {
|
|
| 386 |
+ List<HashMap<String, String>> sourceFiles = new ArrayList<HashMap<String, String>>(); |
|
| 387 |
+ Date from = new Date(); |
|
| 388 |
+ SimpleDateFormat date = new SimpleDateFormat("yyyyMMddHHmmss");
|
|
| 389 |
+ String dateToString = date.format(from); |
|
| 390 |
+ String downloadFileName = "hufs_" + dateToString; |
|
| 391 |
+ String tempDirectoryPath = propertiesService.getString("Globals.fileStorePath") + "/zip/";
|
|
| 392 |
+ String zipFile = tempDirectoryPath + downloadFileName; |
|
| 393 |
+ |
|
| 394 |
+ //디렉토리가 없으면 생성 |
|
| 395 |
+ File tempDirectory = new File(tempDirectoryPath); |
|
| 396 |
+ |
|
| 397 |
+ if (!tempDirectory.exists()) {
|
|
| 398 |
+ tempDirectory.mkdir(); |
|
| 399 |
+ } |
|
| 400 |
+ |
|
| 401 |
+ //다운로드 타입(arr:파일아이디 여러개, 나머지는 한개) |
|
| 402 |
+ if("arr".equals(fileVO.getDownLoadType())) {
|
|
| 403 |
+ for(int i=0;i<fileVO.getAtchFileIdArr().size();i++) {
|
|
| 404 |
+ if(fileVO.getAtchFileIdArr().get(i) != null && !"".equals(fileVO.getAtchFileIdArr().get(i))) {
|
|
| 405 |
+ fileVO.setAtchFileId(fileVO.getAtchFileIdArr().get(i)); |
|
| 406 |
+ |
|
| 407 |
+ List<FileVO> fvo = fileService.selectFileInfs(fileVO); |
|
| 408 |
+ |
|
| 409 |
+ for(int e=0;e<fvo.size();e++) {
|
|
| 410 |
+ HashMap<String, String> fileName = new HashMap<String, String>(); |
|
| 411 |
+ |
|
| 412 |
+ fileName.put("orignlDocNm", fvo.get(e).getFileStreCours() + File.separator + fvo.get(e).getOrignlFileNm());
|
|
| 413 |
+ fileName.put("streDocNm", fvo.get(e).getFileStreCours() + File.separator + fvo.get(e).getStreFileNm());
|
|
| 414 |
+ |
|
| 415 |
+ sourceFiles.add(fileName); |
|
| 416 |
+ } |
|
| 417 |
+ } |
|
| 418 |
+ } |
|
| 419 |
+ } else {
|
|
| 420 |
+ if(fileVO.getAtchFileId() != null && !"".equals(fileVO.getAtchFileId())) {
|
|
| 421 |
+ List<FileVO> fvo = fileService.selectFileInfs(fileVO); |
|
| 422 |
+ |
|
| 423 |
+ for(int e=0;e<fvo.size();e++) {
|
|
| 424 |
+ HashMap<String, String> fileName = new HashMap<String, String>(); |
|
| 425 |
+ |
|
| 426 |
+ fileName.put("orignlDocNm", fvo.get(e).getFileStreCours() + File.separator + fvo.get(e).getOrignlFileNm());
|
|
| 427 |
+ fileName.put("streDocNm", fvo.get(e).getFileStreCours() + File.separator + fvo.get(e).getStreFileNm());
|
|
| 428 |
+ |
|
| 429 |
+ sourceFiles.add(fileName); |
|
| 430 |
+ } |
|
| 431 |
+ } |
|
| 432 |
+ } |
|
| 433 |
+ |
|
| 434 |
+ try{
|
|
| 435 |
+ // ZipOutputStream을 FileOutputStream 으로 감쌈 |
|
| 436 |
+ FileOutputStream fout = new FileOutputStream(zipFile); |
|
| 437 |
+ ZipOutputStream zout = new ZipOutputStream(fout); |
|
| 438 |
+ |
|
| 439 |
+ for(int i=0; i < sourceFiles.size(); i++){
|
|
| 440 |
+ |
|
| 441 |
+ // 본래 파일명 유지, 경로제외 파일압축을 위해 new File로 |
|
| 442 |
+ ZipEntry zipEntry = new ZipEntry(new File(sourceFiles.get(i).get("orignlDocNm")).getName());
|
|
| 443 |
+ zout.putNextEntry(zipEntry); |
|
| 444 |
+ |
|
| 445 |
+ FileInputStream fin = new FileInputStream(sourceFiles.get(i).get("streDocNm"));
|
|
| 446 |
+ byte[] buffer = new byte[1024]; |
|
| 447 |
+ int length; |
|
| 448 |
+ |
|
| 449 |
+ // input file을 1024바이트로 읽음, zip stream에 읽은 바이트를 씀 |
|
| 450 |
+ while((length = fin.read(buffer)) > 0){
|
|
| 451 |
+ zout.write(buffer, 0, length); |
|
| 452 |
+ } |
|
| 453 |
+ |
|
| 454 |
+ zout.closeEntry(); |
|
| 455 |
+ fin.close(); |
|
| 456 |
+ } |
|
| 457 |
+ |
|
| 458 |
+ zout.close(); |
|
| 459 |
+ |
|
| 460 |
+ response.setContentType("application/zip");
|
|
| 461 |
+ response.addHeader("Content-Disposition", "attachment; filename=" + downloadFileName + ".zip");
|
|
| 462 |
+ |
|
| 463 |
+ FileInputStream fis=new FileInputStream(zipFile); |
|
| 464 |
+ BufferedInputStream bis=new BufferedInputStream(fis); |
|
| 465 |
+ ServletOutputStream so=response.getOutputStream(); |
|
| 466 |
+ BufferedOutputStream bos=new BufferedOutputStream(so); |
|
| 467 |
+ |
|
| 468 |
+ byte[] data=new byte[2048]; |
|
| 469 |
+ int input=0; |
|
| 470 |
+ |
|
| 471 |
+ while((input=bis.read(data))!=-1){
|
|
| 472 |
+ bos.write(data,0,input); |
|
| 473 |
+ bos.flush(); |
|
| 474 |
+ } |
|
| 475 |
+ |
|
| 476 |
+ if(bos!=null) bos.close(); |
|
| 477 |
+ if(bis!=null) bis.close(); |
|
| 478 |
+ if(so!=null) so.close(); |
|
| 479 |
+ if(fis!=null) fis.close(); |
|
| 480 |
+ |
|
| 481 |
+ // 다운로드 후 파일 삭제 |
|
| 482 |
+ File file = new File(zipFile); |
|
| 483 |
+ if(file.exists()){
|
|
| 484 |
+ file.delete(); |
|
| 485 |
+ } |
|
| 486 |
+ } catch(Exception ex){
|
|
| 487 |
+ response.setContentType("text/html;charset=UTF-8");
|
|
| 488 |
+ |
|
| 489 |
+ PrintWriter printwriter = response.getWriter(); |
|
| 490 |
+ printwriter.println("<html>");
|
|
| 491 |
+ printwriter.println("<script type=\"text/javascript\">alert('파일을 찾을수 없습니다.');</script>");
|
|
| 492 |
+ printwriter.println("</html>");
|
|
| 493 |
+ printwriter.flush(); |
|
| 494 |
+ printwriter.close(); |
|
| 495 |
+ } |
|
| 496 |
+ } |
|
| 497 |
+ |
|
| 498 |
+ public String getMime(String args) |
|
| 499 |
+ {
|
|
| 500 |
+ String sRtn = "application/octet-stream"; |
|
| 501 |
+ String lower = args.toLowerCase(); |
|
| 502 |
+ if("3dm".equals(lower)){sRtn="x-world/x-3dmf";}
|
|
| 503 |
+ else if("3dmf".equals(lower)){sRtn="x-world/x-3dmf";}
|
|
| 504 |
+ else if("a".equals(lower)){sRtn="application/octet-stream";}
|
|
| 505 |
+ else if("aab".equals(lower)){sRtn="application/x-authorware-bin";}
|
|
| 506 |
+ else if("aam".equals(lower)){sRtn="application/x-authorware-map";}
|
|
| 507 |
+ else if("aas".equals(lower)){sRtn="application/x-authorware-seg";}
|
|
| 508 |
+ else if("abc".equals(lower)){sRtn="text/vnd.abc";}
|
|
| 509 |
+ else if("acgi".equals(lower)){sRtn="text/html";}
|
|
| 510 |
+ else if("afl".equals(lower)){sRtn="video/animaflex";}
|
|
| 511 |
+ else if("ai".equals(lower)){sRtn="application/postscript";}
|
|
| 512 |
+ else if("aif".equals(lower)){sRtn="audio/aiff";}
|
|
| 513 |
+ else if("aifc".equals(lower)){sRtn="audio/aiff";}
|
|
| 514 |
+ else if("aiff".equals(lower)){sRtn="audio/x-aiff";}
|
|
| 515 |
+ else if("aim".equals(lower)){sRtn="application/x-aim";}
|
|
| 516 |
+ else if("aip".equals(lower)){sRtn="text/x-audiosoft-intra";}
|
|
| 517 |
+ else if("ani".equals(lower)){sRtn="application/x-navi-animation";}
|
|
| 518 |
+ else if("aos".equals(lower)){sRtn="application/x-nokia-9000-communicator-add-on-software";}
|
|
| 519 |
+ else if("aps".equals(lower)){sRtn="application/mime";}
|
|
| 520 |
+ else if("arc".equals(lower)){sRtn="application/octet-stream";}
|
|
| 521 |
+ else if("arj".equals(lower)){sRtn="application/arj";}
|
|
| 522 |
+ else if("art".equals(lower)){sRtn="image/x-jg";}
|
|
| 523 |
+ else if("asf".equals(lower)){sRtn="video/x-ms-asf";}
|
|
| 524 |
+ else if("asm".equals(lower)){sRtn="text/x-asm";}
|
|
| 525 |
+ else if("asp".equals(lower)){sRtn="text/asp";}
|
|
| 526 |
+ else if("asx".equals(lower)){sRtn="video/x-ms-asf";}
|
|
| 527 |
+ else if("au".equals(lower)){sRtn="audio/x-au";}
|
|
| 528 |
+ else if("avi".equals(lower)){sRtn="video/x-msvideo";}
|
|
| 529 |
+ else if("avs".equals(lower)){sRtn="video/avs-video";}
|
|
| 530 |
+ else if("bcpio".equals(lower)){sRtn="application/x-bcpio";}
|
|
| 531 |
+ else if("bin".equals(lower)){sRtn="application/octet-stream";}
|
|
| 532 |
+ else if("bm".equals(lower)){sRtn="image/bmp";}
|
|
| 533 |
+ else if("bmp".equals(lower)){sRtn="image/bmp";}
|
|
| 534 |
+ else if("boo".equals(lower)){sRtn="application/book";}
|
|
| 535 |
+ else if("book".equals(lower)){sRtn="application/book";}
|
|
| 536 |
+ else if("boz".equals(lower)){sRtn="application/x-bzip2";}
|
|
| 537 |
+ else if("bsh".equals(lower)){sRtn="application/x-bsh";}
|
|
| 538 |
+ else if("bz".equals(lower)){sRtn="application/x-bzip";}
|
|
| 539 |
+ else if("bz2".equals(lower)){sRtn="application/x-bzip2";}
|
|
| 540 |
+ else if("c".equals(lower)){sRtn="text/plain";}
|
|
| 541 |
+ else if("c++".equals(lower)){sRtn="text/plain";}
|
|
| 542 |
+ else if("cat".equals(lower)){sRtn="application/vnd.ms-pki.seccat";}
|
|
| 543 |
+ else if("cc".equals(lower)){sRtn="text/plain";}
|
|
| 544 |
+ else if("cc".equals(lower)){sRtn="text/x-c";}
|
|
| 545 |
+ else if("ccad".equals(lower)){sRtn="application/clariscad";}
|
|
| 546 |
+ else if("cco".equals(lower)){sRtn="application/x-cocoa";}
|
|
| 547 |
+ else if("cdf".equals(lower)){sRtn="application/cdf";}
|
|
| 548 |
+ else if("cer".equals(lower)){sRtn="application/pkix-cert";}
|
|
| 549 |
+ else if("cha".equals(lower)){sRtn="application/x-chat";}
|
|
| 550 |
+ else if("chat".equals(lower)){sRtn="application/x-chat";}
|
|
| 551 |
+ else if("com".equals(lower)){sRtn="text/plain";}
|
|
| 552 |
+ else if("conf".equals(lower)){sRtn="text/plain";}
|
|
| 553 |
+ else if("cpio".equals(lower)){sRtn="application/x-cpio";}
|
|
| 554 |
+ else if("cpp".equals(lower)){sRtn="text/x-c";}
|
|
| 555 |
+ else if("cpt".equals(lower)){sRtn="application/mac-compactpro";}
|
|
| 556 |
+ else if("crl".equals(lower)){sRtn="application/pkcs-crl";}
|
|
| 557 |
+ else if("crt".equals(lower)){sRtn="application/pkix-cert";}
|
|
| 558 |
+ else if("csh".equals(lower)){sRtn="application/x-csh";}
|
|
| 559 |
+ else if("css".equals(lower)){sRtn="text/css";}
|
|
| 560 |
+ else if("cxx".equals(lower)){sRtn="text/plain";}
|
|
| 561 |
+ else if("dcr".equals(lower)){sRtn="application/x-director";}
|
|
| 562 |
+ else if("deepv".equals(lower)){sRtn="application/x-deepv";}
|
|
| 563 |
+ else if("def".equals(lower)){sRtn="text/plain";}
|
|
| 564 |
+ else if("dif".equals(lower)){sRtn="video/x-dv";}
|
|
| 565 |
+ else if("dir".equals(lower)){sRtn="application/x-director";}
|
|
| 566 |
+ else if("dl".equals(lower)){sRtn="video/dl";}
|
|
| 567 |
+ else if("doc".equals(lower)){sRtn="application/msword";}
|
|
| 568 |
+ else if("docx".equals(lower)){sRtn="application/msword";}
|
|
| 569 |
+ else if("dot".equals(lower)){sRtn="application/msword";}
|
|
| 570 |
+ else if("dp".equals(lower)){sRtn="application/commonground";}
|
|
| 571 |
+ else if("drw".equals(lower)){sRtn="application/drafting";}
|
|
| 572 |
+ else if("dump".equals(lower)){sRtn="application/octet-stream";}
|
|
| 573 |
+ else if("dv".equals(lower)){sRtn="video/x-dv";}
|
|
| 574 |
+ else if("dvi".equals(lower)){sRtn="application/x-dvi";}
|
|
| 575 |
+ else if("dwf".equals(lower)){sRtn="model/vnd.dwf";}
|
|
| 576 |
+ else if("dwg".equals(lower)){sRtn="image/vnd.dwg";}
|
|
| 577 |
+ else if("dwg".equals(lower)){sRtn="image/x-dwg";}
|
|
| 578 |
+ else if("dxf".equals(lower)){sRtn="application/dxf";}
|
|
| 579 |
+ else if("el".equals(lower)){sRtn="text/x-script.elisp";}
|
|
| 580 |
+ else if("elc".equals(lower)){sRtn="application/x-elc";}
|
|
| 581 |
+ else if("env".equals(lower)){sRtn="application/x-envoy";}
|
|
| 582 |
+ else if("eps".equals(lower)){sRtn="application/postscript";}
|
|
| 583 |
+ else if("es".equals(lower)){sRtn="application/x-esrehber";}
|
|
| 584 |
+ else if("etx".equals(lower)){sRtn="text/x-setext";}
|
|
| 585 |
+ else if("evy".equals(lower)){sRtn="application/envoy";}
|
|
| 586 |
+ else if("exe".equals(lower)){sRtn="application/octet-stream";}
|
|
| 587 |
+ else if("f".equals(lower)){sRtn="text/plain";}
|
|
| 588 |
+ else if("f77".equals(lower)){sRtn="text/x-fortran";}
|
|
| 589 |
+ else if("f90".equals(lower)){sRtn="text/plain";}
|
|
| 590 |
+ else if("f90".equals(lower)){sRtn="text/x-fortran";}
|
|
| 591 |
+ else if("fdf".equals(lower)){sRtn="application/vnd.fdf";}
|
|
| 592 |
+ else if("fif".equals(lower)){sRtn="application/fractals";}
|
|
| 593 |
+ else if("fif".equals(lower)){sRtn="image/fif";}
|
|
| 594 |
+ else if("fli".equals(lower)){sRtn="video/fli";}
|
|
| 595 |
+ else if("flo".equals(lower)){sRtn="image/florian";}
|
|
| 596 |
+ else if("flx".equals(lower)){sRtn="text/vnd.fmi.flexstor";}
|
|
| 597 |
+ else if("fmf".equals(lower)){sRtn="video/x-atomic3d-feature";}
|
|
| 598 |
+ else if("for".equals(lower)){sRtn="text/plain";}
|
|
| 599 |
+ else if("fpx".equals(lower)){sRtn="image/vnd.fpx";}
|
|
| 600 |
+ else if("frl".equals(lower)){sRtn="application/freeloader";}
|
|
| 601 |
+ else if("funk".equals(lower)){sRtn="audio/make";}
|
|
| 602 |
+ else if("g".equals(lower)){sRtn="text/plain";}
|
|
| 603 |
+ else if("g3".equals(lower)){sRtn="image/g3fax";}
|
|
| 604 |
+ else if("gif".equals(lower)){sRtn="image/gif";}
|
|
| 605 |
+ else if("gl".equals(lower)){sRtn="video/gl";}
|
|
| 606 |
+ else if("gsd".equals(lower)){sRtn="audio/x-gsm";}
|
|
| 607 |
+ else if("gsm".equals(lower)){sRtn="audio/x-gsm";}
|
|
| 608 |
+ else if("gsp".equals(lower)){sRtn="application/x-gsp";}
|
|
| 609 |
+ else if("gss".equals(lower)){sRtn="application/x-gss";}
|
|
| 610 |
+ else if("gtar".equals(lower)){sRtn="application/x-gtar";}
|
|
| 611 |
+ else if("gz".equals(lower)){sRtn="application/x-compressed";}
|
|
| 612 |
+ else if("gzip".equals(lower)){sRtn="application/x-gzip";}
|
|
| 613 |
+ else if("h".equals(lower)){sRtn="text/plain";}
|
|
| 614 |
+ else if("hdf".equals(lower)){sRtn="application/x-hdf";}
|
|
| 615 |
+ else if("help".equals(lower)){sRtn="application/x-helpfile";}
|
|
| 616 |
+ else if("hgl".equals(lower)){sRtn="application/vnd.hp-hpgl";}
|
|
| 617 |
+ else if("hh".equals(lower)){sRtn="text/plain";}
|
|
| 618 |
+ else if("hlb".equals(lower)){sRtn="text/x-script";}
|
|
| 619 |
+ else if("hlp".equals(lower)){sRtn="application/hlp";}
|
|
| 620 |
+ else if("hpg".equals(lower)){sRtn="application/vnd.hp-hpgl";}
|
|
| 621 |
+ else if("hpgl".equals(lower)){sRtn="application/vnd.hp-hpgl";}
|
|
| 622 |
+ else if("hqx".equals(lower)){sRtn="application/binhex";}
|
|
| 623 |
+ else if("hta".equals(lower)){sRtn="application/hta";}
|
|
| 624 |
+ else if("htc".equals(lower)){sRtn="text/x-component";}
|
|
| 625 |
+ else if("htm".equals(lower)){sRtn="text/html";}
|
|
| 626 |
+ else if("html".equals(lower)){sRtn="text/html";}
|
|
| 627 |
+ else if("htmls".equals(lower)){sRtn="text/html";}
|
|
| 628 |
+ else if("htt".equals(lower)){sRtn="text/webviewhtml";}
|
|
| 629 |
+ else if("htx".equals(lower)){sRtn="text/html";}
|
|
| 630 |
+ else if("hwp".equals(lower)){sRtn="application/haansofthwp";}
|
|
| 631 |
+ else if("ice".equals(lower)){sRtn="x-conference/x-cooltalk";}
|
|
| 632 |
+ else if("ico".equals(lower)){sRtn="image/x-icon";}
|
|
| 633 |
+ else if("idc".equals(lower)){sRtn="text/plain";}
|
|
| 634 |
+ else if("ief".equals(lower)){sRtn="image/ief";}
|
|
| 635 |
+ else if("iefs".equals(lower)){sRtn="image/ief";}
|
|
| 636 |
+ else if("iges".equals(lower)){sRtn="application/iges";}
|
|
| 637 |
+ else if("iges".equals(lower)){sRtn="model/iges";}
|
|
| 638 |
+ else if("igs".equals(lower)){sRtn="application/iges";}
|
|
| 639 |
+ else if("ima".equals(lower)){sRtn="application/x-ima";}
|
|
| 640 |
+ else if("imap".equals(lower)){sRtn="application/x-httpd-imap";}
|
|
| 641 |
+ else if("inf".equals(lower)){sRtn="application/inf";}
|
|
| 642 |
+ else if("ip".equals(lower)){sRtn="application/x-ip2";}
|
|
| 643 |
+ else if("isu".equals(lower)){sRtn="video/x-isvideo";}
|
|
| 644 |
+ else if("it".equals(lower)){sRtn="audio/it";}
|
|
| 645 |
+ else if("iv".equals(lower)){sRtn="application/x-inventor";}
|
|
| 646 |
+ else if("ivr".equals(lower)){sRtn="i-world/i-vrml";}
|
|
| 647 |
+ else if("ivy".equals(lower)){sRtn="application/x-livescreen";}
|
|
| 648 |
+ else if("jam".equals(lower)){sRtn="audio/x-jam";}
|
|
| 649 |
+ else if("jav".equals(lower)){sRtn="text/plain";}
|
|
| 650 |
+ else if("java".equals(lower)){sRtn="text/plain";}
|
|
| 651 |
+ else if("jcm".equals(lower)){sRtn="application/x-java-commerce";}
|
|
| 652 |
+ else if("jfif".equals(lower)){sRtn="image/jpeg";}
|
|
| 653 |
+ else if("jfif-tbnl".equals(lower)){sRtn="image/jpeg";}
|
|
| 654 |
+ else if("jpe".equals(lower)){sRtn="image/jpeg";}
|
|
| 655 |
+ else if("jpeg".equals(lower)){sRtn="image/jpeg";}
|
|
| 656 |
+ else if("jpg".equals(lower)){sRtn="image/jpeg";}
|
|
| 657 |
+ else if("jps".equals(lower)){sRtn="image/x-jps";}
|
|
| 658 |
+ else if("js".equals(lower)){sRtn="application/x-javascript";}
|
|
| 659 |
+ else if("jut".equals(lower)){sRtn="image/jutvision";}
|
|
| 660 |
+ else if("kar".equals(lower)){sRtn="audio/midi";}
|
|
| 661 |
+ else if("ksh".equals(lower)){sRtn="application/x-ksh";}
|
|
| 662 |
+ else if("ksh".equals(lower)){sRtn="text/x-script.ksh";}
|
|
| 663 |
+ else if("la".equals(lower)){sRtn="audio/nspaudio";}
|
|
| 664 |
+ else if("la".equals(lower)){sRtn="audio/x-nspaudio";}
|
|
| 665 |
+ else if("lam".equals(lower)){sRtn="audio/x-liveaudio";}
|
|
| 666 |
+ else if("latex".equals(lower)){sRtn="application/x-latex";}
|
|
| 667 |
+ else if("lha".equals(lower)){sRtn="application/lha";}
|
|
| 668 |
+ else if("lhx".equals(lower)){sRtn="application/octet-stream";}
|
|
| 669 |
+ else if("list".equals(lower)){sRtn="text/plain";}
|
|
| 670 |
+ else if("lma".equals(lower)){sRtn="audio/nspaudio";}
|
|
| 671 |
+ else if("lma".equals(lower)){sRtn="audio/x-nspaudio";}
|
|
| 672 |
+ else if("log".equals(lower)){sRtn="text/plain";}
|
|
| 673 |
+ else if("lsp".equals(lower)){sRtn="application/x-lisp";}
|
|
| 674 |
+ else if("lsp".equals(lower)){sRtn="text/x-script.lisp";}
|
|
| 675 |
+ else if("lst".equals(lower)){sRtn="text/plain";}
|
|
| 676 |
+ else if("lsx".equals(lower)){sRtn="text/x-la-asf";}
|
|
| 677 |
+ else if("ltx".equals(lower)){sRtn="application/x-latex";}
|
|
| 678 |
+ else if("lzh".equals(lower)){sRtn="application/octet-stream";}
|
|
| 679 |
+ else if("m".equals(lower)){sRtn="text/plain";}
|
|
| 680 |
+ else if("m".equals(lower)){sRtn="text/x-m";}
|
|
| 681 |
+ else if("m1v".equals(lower)){sRtn="video/mpeg";}
|
|
| 682 |
+ else if("m2a".equals(lower)){sRtn="audio/mpeg";}
|
|
| 683 |
+ else if("m2v".equals(lower)){sRtn="video/mpeg";}
|
|
| 684 |
+ else if("m3u".equals(lower)){sRtn="audio/x-mpequrl";}
|
|
| 685 |
+ else if("man".equals(lower)){sRtn="application/x-troff-man";}
|
|
| 686 |
+ else if("map".equals(lower)){sRtn="application/x-navimap";}
|
|
| 687 |
+ else if("mar".equals(lower)){sRtn="text/plain";}
|
|
| 688 |
+ else if("mbd".equals(lower)){sRtn="application/mbedlet";}
|
|
| 689 |
+ else if("mc$".equals(lower)){sRtn="application/x-magic-cap-package-1.0";}
|
|
| 690 |
+ else if("mcd".equals(lower)){sRtn="application/mcad";}
|
|
| 691 |
+ else if("mcf".equals(lower)){sRtn="image/vasa";}
|
|
| 692 |
+ else if("mcp".equals(lower)){sRtn="application/netmc";}
|
|
| 693 |
+ else if("me".equals(lower)){sRtn="application/x-troff-me";}
|
|
| 694 |
+ else if("mht".equals(lower)){sRtn="message/rfc822";}
|
|
| 695 |
+ else if("mhtml".equals(lower)){sRtn="message/rfc822";}
|
|
| 696 |
+ else if("mid".equals(lower)){sRtn="application/x-midi";}
|
|
| 697 |
+ else if("midi".equals(lower)){sRtn="application/x-midi";}
|
|
| 698 |
+ else if("mif".equals(lower)){sRtn="application/x-frame";}
|
|
| 699 |
+ else if("mime".equals(lower)){sRtn="message/rfc822";}
|
|
| 700 |
+ else if("mjf".equals(lower)){sRtn="audio/x-vnd.audioexplosion.mjuicemediafile";}
|
|
| 701 |
+ else if("mjpg".equals(lower)){sRtn="video/x-motion-jpeg";}
|
|
| 702 |
+ else if("mm".equals(lower)){sRtn="application/base64";}
|
|
| 703 |
+ else if("mme".equals(lower)){sRtn="application/base64";}
|
|
| 704 |
+ else if("mod".equals(lower)){sRtn="audio/mod";}
|
|
| 705 |
+ else if("moov".equals(lower)){sRtn="video/quicktime";}
|
|
| 706 |
+ else if("mov".equals(lower)){sRtn="video/quicktime";}
|
|
| 707 |
+ else if("movie".equals(lower)){sRtn="video/x-sgi-movie";}
|
|
| 708 |
+ else if("mp2".equals(lower)){sRtn="audio/mpeg";}
|
|
| 709 |
+ else if("mp3".equals(lower)){sRtn="audio/mpeg3";}
|
|
| 710 |
+ else if("mpa".equals(lower)){sRtn="audio/mpeg";}
|
|
| 711 |
+ else if("mpc".equals(lower)){sRtn="application/x-project";}
|
|
| 712 |
+ else if("mpe".equals(lower)){sRtn="video/mpeg";}
|
|
| 713 |
+ else if("mpeg".equals(lower)){sRtn="video/mpeg";}
|
|
| 714 |
+ else if("mpg".equals(lower)){sRtn="audio/mpeg";}
|
|
| 715 |
+ else if("mpga".equals(lower)){sRtn="audio/mpeg";}
|
|
| 716 |
+ else if("mpp".equals(lower)){sRtn="application/vnd.ms-project";}
|
|
| 717 |
+ else if("mpt".equals(lower)){sRtn="application/x-project";}
|
|
| 718 |
+ else if("mpv".equals(lower)){sRtn="application/x-project";}
|
|
| 719 |
+ else if("mpx".equals(lower)){sRtn="application/x-project";}
|
|
| 720 |
+ else if("mrc".equals(lower)){sRtn="application/marc";}
|
|
| 721 |
+ else if("ms".equals(lower)){sRtn="application/x-troff-ms";}
|
|
| 722 |
+ else if("mv".equals(lower)){sRtn="video/x-sgi-movie";}
|
|
| 723 |
+ else if("my".equals(lower)){sRtn="audio/make";}
|
|
| 724 |
+ else if("mzz".equals(lower)){sRtn="application/x-vnd.audioexplosion.mzz";}
|
|
| 725 |
+ else if("nap".equals(lower)){sRtn="image/naplps";}
|
|
| 726 |
+ else if("naplps".equals(lower)){sRtn="image/naplps";}
|
|
| 727 |
+ else if("nc".equals(lower)){sRtn="application/x-netcdf";}
|
|
| 728 |
+ else if("ncm".equals(lower)){sRtn="application/vnd.nokia.configuration-message";}
|
|
| 729 |
+ else if("nif".equals(lower)){sRtn="image/x-niff";}
|
|
| 730 |
+ else if("niff".equals(lower)){sRtn="image/x-niff";}
|
|
| 731 |
+ else if("nix".equals(lower)){sRtn="application/x-mix-transfer";}
|
|
| 732 |
+ else if("nsc".equals(lower)){sRtn="application/x-conference";}
|
|
| 733 |
+ else if("nvd".equals(lower)){sRtn="application/x-navidoc";}
|
|
| 734 |
+ else if("o".equals(lower)){sRtn="application/octet-stream";}
|
|
| 735 |
+ else if("oda".equals(lower)){sRtn="application/oda";}
|
|
| 736 |
+ else if("omc".equals(lower)){sRtn="application/x-omc";}
|
|
| 737 |
+ else if("omcd".equals(lower)){sRtn="application/x-omcdatamaker";}
|
|
| 738 |
+ else if("omcr".equals(lower)){sRtn="application/x-omcregerator";}
|
|
| 739 |
+ else if("p".equals(lower)){sRtn="text/x-pascal";}
|
|
| 740 |
+ else if("p10".equals(lower)){sRtn="application/pkcs10";}
|
|
| 741 |
+ else if("p12".equals(lower)){sRtn="application/pkcs-12";}
|
|
| 742 |
+ else if("p7a".equals(lower)){sRtn="application/x-pkcs7-signature";}
|
|
| 743 |
+ else if("p7c".equals(lower)){sRtn="application/pkcs7-mime";}
|
|
| 744 |
+ else if("p7m".equals(lower)){sRtn="application/pkcs7-mime";}
|
|
| 745 |
+ else if("p7r".equals(lower)){sRtn="application/x-pkcs7-certreqresp";}
|
|
| 746 |
+ else if("p7s".equals(lower)){sRtn="application/pkcs7-signature";}
|
|
| 747 |
+ else if("part".equals(lower)){sRtn="application/pro_eng";}
|
|
| 748 |
+ else if("pas".equals(lower)){sRtn="text/pascal";}
|
|
| 749 |
+ else if("pbm".equals(lower)){sRtn="image/x-portable-bitmap";}
|
|
| 750 |
+ else if("pcl".equals(lower)){sRtn="application/vnd.hp-pcl";}
|
|
| 751 |
+ else if("pct".equals(lower)){sRtn="image/x-pict";}
|
|
| 752 |
+ else if("pcx".equals(lower)){sRtn="image/x-pcx";}
|
|
| 753 |
+ else if("pdb".equals(lower)){sRtn="chemical/x-pdb";}
|
|
| 754 |
+ else if("pdf".equals(lower)){sRtn="application/pdf";}
|
|
| 755 |
+ else if("pfunk".equals(lower)){sRtn="audio/make";}
|
|
| 756 |
+ else if("pgm".equals(lower)){sRtn="image/x-portable-graymap";}
|
|
| 757 |
+ else if("pgm".equals(lower)){sRtn="image/x-portable-greymap";}
|
|
| 758 |
+ else if("pic".equals(lower)){sRtn="image/pict";}
|
|
| 759 |
+ else if("pict".equals(lower)){sRtn="image/pict";}
|
|
| 760 |
+ else if("pkg".equals(lower)){sRtn="application/x-newton-compatible-pkg";}
|
|
| 761 |
+ else if("pko".equals(lower)){sRtn="application/vnd.ms-pki.pko";}
|
|
| 762 |
+ else if("pl".equals(lower)){sRtn="text/plain";}
|
|
| 763 |
+ else if("plx".equals(lower)){sRtn="application/x-pixclscript";}
|
|
| 764 |
+ else if("pm".equals(lower)){sRtn="image/x-xpixmap";}
|
|
| 765 |
+ else if("pm4".equals(lower)){sRtn="application/x-pagemaker";}
|
|
| 766 |
+ else if("pm5".equals(lower)){sRtn="application/x-pagemaker";}
|
|
| 767 |
+ else if("png".equals(lower)){sRtn="image/png";}
|
|
| 768 |
+ else if("pnm".equals(lower)){sRtn="application/x-portable-anymap";}
|
|
| 769 |
+ else if("pot".equals(lower)){sRtn="application/mspowerpoint";}
|
|
| 770 |
+ else if("pov".equals(lower)){sRtn="model/x-pov";}
|
|
| 771 |
+ else if("ppa".equals(lower)){sRtn="application/vnd.ms-powerpoint";}
|
|
| 772 |
+ else if("ppm".equals(lower)){sRtn="image/x-portable-pixmap";}
|
|
| 773 |
+ else if("pps".equals(lower)){sRtn="application/mspowerpoint";}
|
|
| 774 |
+ else if("ppt".equals(lower)){sRtn="application/mspowerpoint";}
|
|
| 775 |
+ else if("ppt".equals(lower)){sRtn="application/vnd.ms-powerpoint";}
|
|
| 776 |
+ else if("pptx".equals(lower)){sRtn="application/vnd.ms-powerpoint";}
|
|
| 777 |
+ else if("ppz".equals(lower)){sRtn="application/mspowerpoint";}
|
|
| 778 |
+ else if("pre".equals(lower)){sRtn="application/x-freelance";}
|
|
| 779 |
+ else if("prt".equals(lower)){sRtn="application/pro_eng";}
|
|
| 780 |
+ else if("ps".equals(lower)){sRtn="application/postscript";}
|
|
| 781 |
+ else if("psd".equals(lower)){sRtn="application/octet-stream";}
|
|
| 782 |
+ else if("pvu".equals(lower)){sRtn="paleovu/x-pv";}
|
|
| 783 |
+ else if("pwz".equals(lower)){sRtn="application/vnd.ms-powerpoint";}
|
|
| 784 |
+ else if("py".equals(lower)){sRtn="text/x-script.phyton";}
|
|
| 785 |
+ else if("pyc".equals(lower)){sRtn="applicaiton/x-bytecode.python";}
|
|
| 786 |
+ else if("qcp".equals(lower)){sRtn="audio/vnd.qcelp";}
|
|
| 787 |
+ else if("qd3".equals(lower)){sRtn="x-world/x-3dmf";}
|
|
| 788 |
+ else if("qd3d".equals(lower)){sRtn="x-world/x-3dmf";}
|
|
| 789 |
+ else if("qif".equals(lower)){sRtn="image/x-quicktime";}
|
|
| 790 |
+ else if("qt".equals(lower)){sRtn="video/quicktime";}
|
|
| 791 |
+ else if("qtc".equals(lower)){sRtn="video/x-qtc";}
|
|
| 792 |
+ else if("qti".equals(lower)){sRtn="image/x-quicktime";}
|
|
| 793 |
+ else if("qtif".equals(lower)){sRtn="image/x-quicktime";}
|
|
| 794 |
+ else if("ra".equals(lower)){sRtn="audio/x-pn-realaudio";}
|
|
| 795 |
+ else if("ram".equals(lower)){sRtn="audio/x-pn-realaudio";}
|
|
| 796 |
+ else if("ras".equals(lower)){sRtn="application/x-cmu-raster";}
|
|
| 797 |
+ else if("rast".equals(lower)){sRtn="image/cmu-raster";}
|
|
| 798 |
+ else if("rexx".equals(lower)){sRtn="text/x-script.rexx";}
|
|
| 799 |
+ else if("rf".equals(lower)){sRtn="image/vnd.rn-realflash";}
|
|
| 800 |
+ else if("rgb".equals(lower)){sRtn="image/x-rgb";}
|
|
| 801 |
+ else if("rm".equals(lower)){sRtn="application/vnd.rn-realmedia";}
|
|
| 802 |
+ else if("rmi".equals(lower)){sRtn="audio/mid";}
|
|
| 803 |
+ else if("rmm".equals(lower)){sRtn="audio/x-pn-realaudio";}
|
|
| 804 |
+ else if("rmp".equals(lower)){sRtn="audio/x-pn-realaudio";}
|
|
| 805 |
+ else if("rng".equals(lower)){sRtn="application/ringing-tones";}
|
|
| 806 |
+ else if("rnx".equals(lower)){sRtn="application/vnd.rn-realplayer";}
|
|
| 807 |
+ else if("roff".equals(lower)){sRtn="application/x-troff";}
|
|
| 808 |
+ else if("rp".equals(lower)){sRtn="image/vnd.rn-realpix";}
|
|
| 809 |
+ else if("rpm".equals(lower)){sRtn="audio/x-pn-realaudio-plugin";}
|
|
| 810 |
+ else if("rt".equals(lower)){sRtn="text/richtext";}
|
|
| 811 |
+ else if("rtf".equals(lower)){sRtn="application/rtf";}
|
|
| 812 |
+ else if("rtx".equals(lower)){sRtn="application/rtf";}
|
|
| 813 |
+ else if("rv".equals(lower)){sRtn="video/vnd.rn-realvideo";}
|
|
| 814 |
+ else if("s".equals(lower)){sRtn="text/x-asm";}
|
|
| 815 |
+ else if("s3m".equals(lower)){sRtn="audio/s3m";}
|
|
| 816 |
+ else if("saveme".equals(lower)){sRtn="application/octet-stream";}
|
|
| 817 |
+ else if("sbk".equals(lower)){sRtn="application/x-tbook";}
|
|
| 818 |
+ else if("scm".equals(lower)){sRtn="application/x-lotusscreencam";}
|
|
| 819 |
+ else if("sdml".equals(lower)){sRtn="text/plain";}
|
|
| 820 |
+ else if("sdp".equals(lower)){sRtn="application/sdp";}
|
|
| 821 |
+ else if("sdr".equals(lower)){sRtn="application/sounder";}
|
|
| 822 |
+ else if("sea".equals(lower)){sRtn="application/sea";}
|
|
| 823 |
+ else if("set".equals(lower)){sRtn="application/set";}
|
|
| 824 |
+ else if("sgm".equals(lower)){sRtn="text/sgml";}
|
|
| 825 |
+ else if("sgml".equals(lower)){sRtn="text/sgml";}
|
|
| 826 |
+ else if("sh".equals(lower)){sRtn="application/x-bsh";}
|
|
| 827 |
+ else if("shar".equals(lower)){sRtn="application/x-bsh";}
|
|
| 828 |
+ else if("shtml".equals(lower)){sRtn="text/html";}
|
|
| 829 |
+ else if("sid".equals(lower)){sRtn="audio/x-psid";}
|
|
| 830 |
+ else if("sit".equals(lower)){sRtn="application/x-sit";}
|
|
| 831 |
+ else if("skd".equals(lower)){sRtn="application/x-koan";}
|
|
| 832 |
+ else if("skm".equals(lower)){sRtn="application/x-koan";}
|
|
| 833 |
+ else if("skp".equals(lower)){sRtn="application/x-koan";}
|
|
| 834 |
+ else if("skt".equals(lower)){sRtn="application/x-koan";}
|
|
| 835 |
+ else if("sl".equals(lower)){sRtn="application/x-seelogo";}
|
|
| 836 |
+ else if("smi".equals(lower)){sRtn="application/smil";}
|
|
| 837 |
+ else if("smil".equals(lower)){sRtn="application/smil";}
|
|
| 838 |
+ else if("snd".equals(lower)){sRtn="audio/basic";}
|
|
| 839 |
+ else if("sol".equals(lower)){sRtn="application/solids";}
|
|
| 840 |
+ else if("spc".equals(lower)){sRtn="application/x-pkcs7-certificates";}
|
|
| 841 |
+ else if("spl".equals(lower)){sRtn="application/futuresplash";}
|
|
| 842 |
+ else if("spr".equals(lower)){sRtn="application/x-sprite";}
|
|
| 843 |
+ else if("sprite".equals(lower)){sRtn="application/x-sprite";}
|
|
| 844 |
+ else if("src".equals(lower)){sRtn="application/x-wais-source";}
|
|
| 845 |
+ else if("ssi".equals(lower)){sRtn="text/x-server-parsed-html";}
|
|
| 846 |
+ else if("ssm".equals(lower)){sRtn="application/streamingmedia";}
|
|
| 847 |
+ else if("sst".equals(lower)){sRtn="application/vnd.ms-pki.certstore";}
|
|
| 848 |
+ else if("step".equals(lower)){sRtn="application/step";}
|
|
| 849 |
+ else if("stl".equals(lower)){sRtn="application/sla";}
|
|
| 850 |
+ else if("stp".equals(lower)){sRtn="application/step";}
|
|
| 851 |
+ else if("sv4cpio".equals(lower)){sRtn="application/x-sv4cpio";}
|
|
| 852 |
+ else if("sv4crc".equals(lower)){sRtn="application/x-sv4crc";}
|
|
| 853 |
+ else if("svf".equals(lower)){sRtn="image/vnd.dwg";}
|
|
| 854 |
+ else if("svr".equals(lower)){sRtn="application/x-world";}
|
|
| 855 |
+ else if("swf".equals(lower)){sRtn="application/x-shockwave-flash";}
|
|
| 856 |
+ else if("t".equals(lower)){sRtn="application/x-troff";}
|
|
| 857 |
+ else if("talk".equals(lower)){sRtn="text/x-speech";}
|
|
| 858 |
+ else if("tar".equals(lower)){sRtn="application/x-tar";}
|
|
| 859 |
+ else if("tbk".equals(lower)){sRtn="application/toolbook";}
|
|
| 860 |
+ else if("tcl".equals(lower)){sRtn="application/x-tcl";}
|
|
| 861 |
+ else if("tcsh".equals(lower)){sRtn="text/x-script.tcsh";}
|
|
| 862 |
+ else if("tex".equals(lower)){sRtn="application/x-tex";}
|
|
| 863 |
+ else if("texi".equals(lower)){sRtn="application/x-texinfo";}
|
|
| 864 |
+ else if("texinfo".equals(lower)){sRtn="application/x-texinfo";}
|
|
| 865 |
+ else if("text".equals(lower)){sRtn="application/plain";}
|
|
| 866 |
+ else if("tgz".equals(lower)){sRtn="application/gnutar";}
|
|
| 867 |
+ else if("tif".equals(lower)){sRtn="image/tiff";}
|
|
| 868 |
+ else if("tiff".equals(lower)){sRtn="image/tiff";}
|
|
| 869 |
+ else if("tr".equals(lower)){sRtn="application/x-troff";}
|
|
| 870 |
+ else if("tsi".equals(lower)){sRtn="audio/tsp-audio";}
|
|
| 871 |
+ else if("tsp".equals(lower)){sRtn="application/dsptype";}
|
|
| 872 |
+ else if("tsv".equals(lower)){sRtn="text/tab-separated-values";}
|
|
| 873 |
+ else if("turbot".equals(lower)){sRtn="image/florian";}
|
|
| 874 |
+ else if("txt".equals(lower)){sRtn="application/octet-stream";}
|
|
| 875 |
+ else if("uil".equals(lower)){sRtn="text/x-uil";}
|
|
| 876 |
+ else if("uni".equals(lower)){sRtn="text/uri-list";}
|
|
| 877 |
+ else if("unis".equals(lower)){sRtn="text/uri-list";}
|
|
| 878 |
+ else if("unv".equals(lower)){sRtn="application/i-deas";}
|
|
| 879 |
+ else if("uri".equals(lower)){sRtn="text/uri-list";}
|
|
| 880 |
+ else if("uris".equals(lower)){sRtn="text/uri-list";}
|
|
| 881 |
+ else if("ustar".equals(lower)){sRtn="application/x-ustar";}
|
|
| 882 |
+ else if("uu".equals(lower)){sRtn="application/octet-stream";}
|
|
| 883 |
+ else if("uue".equals(lower)){sRtn="text/x-uuencode";}
|
|
| 884 |
+ else if("vcd".equals(lower)){sRtn="application/x-cdlink";}
|
|
| 885 |
+ else if("vcs".equals(lower)){sRtn="text/x-vcalendar";}
|
|
| 886 |
+ else if("vda".equals(lower)){sRtn="application/vda";}
|
|
| 887 |
+ else if("vdo".equals(lower)){sRtn="video/vdo";}
|
|
| 888 |
+ else if("vew".equals(lower)){sRtn="application/groupwise";}
|
|
| 889 |
+ else if("viv".equals(lower)){sRtn="video/vivo";}
|
|
| 890 |
+ else if("vivo".equals(lower)){sRtn="video/vivo";}
|
|
| 891 |
+ else if("vmd".equals(lower)){sRtn="application/vocaltec-media-desc";}
|
|
| 892 |
+ else if("vmf".equals(lower)){sRtn="application/vocaltec-media-file";}
|
|
| 893 |
+ else if("voc".equals(lower)){sRtn="audio/voc";}
|
|
| 894 |
+ else if("vos".equals(lower)){sRtn="video/vosaic";}
|
|
| 895 |
+ else if("vox".equals(lower)){sRtn="audio/voxware";}
|
|
| 896 |
+ else if("vqe".equals(lower)){sRtn="audio/x-twinvq-plugin";}
|
|
| 897 |
+ else if("vqf".equals(lower)){sRtn="audio/x-twinvq";}
|
|
| 898 |
+ else if("vql".equals(lower)){sRtn="audio/x-twinvq-plugin";}
|
|
| 899 |
+ else if("vrml".equals(lower)){sRtn="application/x-vrml";}
|
|
| 900 |
+ else if("vrt".equals(lower)){sRtn="x-world/x-vrt";}
|
|
| 901 |
+ else if("vsd".equals(lower)){sRtn="application/x-visio";}
|
|
| 902 |
+ else if("vst".equals(lower)){sRtn="application/x-visio";}
|
|
| 903 |
+ else if("vsw".equals(lower)){sRtn="application/x-visio";}
|
|
| 904 |
+ else if("w60".equals(lower)){sRtn="application/wordperfect6.0";}
|
|
| 905 |
+ else if("w61".equals(lower)){sRtn="application/wordperfect6.1";}
|
|
| 906 |
+ else if("w6w".equals(lower)){sRtn="application/msword";}
|
|
| 907 |
+ else if("wav".equals(lower)){sRtn="audio/wav";}
|
|
| 908 |
+ else if("wb1".equals(lower)){sRtn="application/x-qpro";}
|
|
| 909 |
+ else if("wbmp".equals(lower)){sRtn="image/vnd.wap.wbmp";}
|
|
| 910 |
+ else if("web".equals(lower)){sRtn="application/vnd.xara";}
|
|
| 911 |
+ else if("wiz".equals(lower)){sRtn="application/msword";}
|
|
| 912 |
+ else if("wk1".equals(lower)){sRtn="application/x-123";}
|
|
| 913 |
+ else if("wmf".equals(lower)){sRtn="windows/metafile";}
|
|
| 914 |
+ else if("wml".equals(lower)){sRtn="text/vnd.wap.wml";}
|
|
| 915 |
+ else if("wmlc".equals(lower)){sRtn="application/vnd.wap.wmlc";}
|
|
| 916 |
+ else if("wmls".equals(lower)){sRtn="text/vnd.wap.wmlscript";}
|
|
| 917 |
+ else if("wmlsc".equals(lower)){sRtn="application/vnd.wap.wmlscriptc";}
|
|
| 918 |
+ else if("word".equals(lower)){sRtn="application/msword";}
|
|
| 919 |
+ else if("wp".equals(lower)){sRtn="application/wordperfect";}
|
|
| 920 |
+ else if("wp5".equals(lower)){sRtn="application/wordperfect";}
|
|
| 921 |
+ else if("wp6".equals(lower)){sRtn="application/wordperfect";}
|
|
| 922 |
+ else if("wpd".equals(lower)){sRtn="application/wordperfect";}
|
|
| 923 |
+ else if("wq1".equals(lower)){sRtn="application/x-lotus";}
|
|
| 924 |
+ else if("wri".equals(lower)){sRtn="application/mswrite";}
|
|
| 925 |
+ else if("wrl".equals(lower)){sRtn="application/x-world";}
|
|
| 926 |
+ else if("wrz".equals(lower)){sRtn="model/vrml";}
|
|
| 927 |
+ else if("wsc".equals(lower)){sRtn="text/scriplet";}
|
|
| 928 |
+ else if("wsrc".equals(lower)){sRtn="application/x-wais-source";}
|
|
| 929 |
+ else if("wtk".equals(lower)){sRtn="application/x-wintalk";}
|
|
| 930 |
+ else if("xbm".equals(lower)){sRtn="image/x-xbitmap";}
|
|
| 931 |
+ else if("xdr".equals(lower)){sRtn="video/x-amt-demorun";}
|
|
| 932 |
+ else if("xgz".equals(lower)){sRtn="xgl/drawing";}
|
|
| 933 |
+ else if("xif".equals(lower)){sRtn="image/vnd.xiff";}
|
|
| 934 |
+ else if("xl".equals(lower)){sRtn="application/excel";}
|
|
| 935 |
+ else if("xla".equals(lower)){sRtn="application/excel";}
|
|
| 936 |
+ else if("xlb".equals(lower)){sRtn="application/excel";}
|
|
| 937 |
+ else if("xlc".equals(lower)){sRtn="application/excel";}
|
|
| 938 |
+ else if("xld".equals(lower)){sRtn="application/excel";}
|
|
| 939 |
+ else if("xlk".equals(lower)){sRtn="application/excel";}
|
|
| 940 |
+ else if("xll".equals(lower)){sRtn="application/excel";}
|
|
| 941 |
+ else if("xlm".equals(lower)){sRtn="application/excel";}
|
|
| 942 |
+ else if("xls".equals(lower)){sRtn="application/excel";}
|
|
| 943 |
+ else if("xlsx".equals(lower)){sRtn="application/excel";}
|
|
| 944 |
+ else if("xlt".equals(lower)){sRtn="application/excel";}
|
|
| 945 |
+ else if("xlv".equals(lower)){sRtn="application/excel";}
|
|
| 946 |
+ else if("xlw".equals(lower)){sRtn="application/excel";}
|
|
| 947 |
+ else if("xm".equals(lower)){sRtn="audio/xm";}
|
|
| 948 |
+ else if("xml".equals(lower)){sRtn="application/xml";}
|
|
| 949 |
+ else if("xmz".equals(lower)){sRtn="xgl/movie";}
|
|
| 950 |
+ else if("xpix".equals(lower)){sRtn="application/x-vnd.ls-xpix";}
|
|
| 951 |
+ else if("xpm".equals(lower)){sRtn="image/x-xpixmap";}
|
|
| 952 |
+ else if("xpm".equals(lower)){sRtn="image/xpm";}
|
|
| 953 |
+ else if("x-png".equals(lower)){sRtn="image/png";}
|
|
| 954 |
+ else if("xsr".equals(lower)){sRtn="video/x-amt-showrun";}
|
|
| 955 |
+ else if("xwd".equals(lower)){sRtn="image/x-xwd";}
|
|
| 956 |
+ else if("xyz".equals(lower)){sRtn="chemical/x-pdb";}
|
|
| 957 |
+ else if("z".equals(lower)){sRtn="application/x-compress";}
|
|
| 958 |
+ else if("zip".equals(lower)){sRtn="application/zip";}
|
|
| 959 |
+ else if("zoo".equals(lower)){sRtn="application/octet-stream";}
|
|
| 960 |
+ else if("zsh".equals(lower)){sRtn="text/x-script.zsh";}
|
|
| 961 |
+ |
|
| 962 |
+ return sRtn; |
|
| 963 |
+ } |
|
| 964 |
+} |
--- base/src/main/java/egovframework/com/cmm/web/EgovFileMngController.java
+++ base/src/main/java/egovframework/com/cmm/web/EgovFileMngController.java
... | ... | @@ -1,975 +1,975 @@ |
| 1 |
-package egovframework.com.cmm.web; |
|
| 2 |
- |
|
| 3 |
-import java.io.File; |
|
| 4 |
-import java.io.FileInputStream; |
|
| 5 |
-import java.io.FileOutputStream; |
|
| 6 |
-import java.io.IOException; |
|
| 7 |
-import java.io.InputStream; |
|
| 8 |
-import java.io.OutputStream; |
|
| 9 |
-import java.io.PrintWriter; |
|
| 10 |
-import java.util.ArrayList; |
|
| 11 |
-import java.util.HashMap; |
|
| 12 |
-import java.util.List; |
|
| 13 |
-import java.util.Map; |
|
| 14 |
-import java.util.TreeMap; |
|
| 15 |
-import java.util.regex.Pattern; |
|
| 16 |
- |
|
| 17 |
-import javax.annotation.Resource; |
|
| 18 |
-import javax.servlet.http.HttpServletRequest; |
|
| 19 |
-import javax.servlet.http.HttpServletResponse; |
|
| 20 |
- |
|
| 21 |
-import org.apache.log4j.Logger; |
|
| 22 |
-import org.springframework.stereotype.Controller; |
|
| 23 |
-import org.springframework.ui.ModelMap; |
|
| 24 |
-import org.springframework.web.bind.annotation.ModelAttribute; |
|
| 25 |
-import org.springframework.web.bind.annotation.RequestMapping; |
|
| 26 |
-import org.springframework.web.bind.annotation.RequestMethod; |
|
| 27 |
-import org.springframework.web.bind.annotation.RequestParam; |
|
| 28 |
-import org.springframework.web.multipart.MultipartFile; |
|
| 29 |
-import org.springframework.web.multipart.MultipartHttpServletRequest; |
|
| 30 |
- |
|
| 31 |
-import com.drew.imaging.ImageMetadataReader; |
|
| 32 |
-import com.drew.imaging.ImageProcessingException; |
|
| 33 |
-import com.drew.metadata.Directory; |
|
| 34 |
-import com.drew.metadata.Metadata; |
|
| 35 |
-import com.drew.metadata.MetadataException; |
|
| 36 |
-import com.drew.metadata.exif.ExifIFD0Directory; |
|
| 37 |
-import com.google.gson.Gson; |
|
| 38 |
-import com.google.gson.JsonObject; |
|
| 39 |
- |
|
| 40 |
-import egovframework.com.cmm.service.EgovFileMngService; |
|
| 41 |
-import egovframework.com.cmm.service.EgovFileMngUtil; |
|
| 42 |
-import egovframework.com.cmm.service.FileVO; |
|
| 43 |
-import egovframework.com.cmm.service.JsonResponse; |
|
| 44 |
-import egovframework.com.sec.ram.security.userdetails.util.EgovUserDetailsHelper; |
|
| 45 |
-import egovframework.com.sym.sit.service.EgovSiteManageService; |
|
| 46 |
-import egovframework.com.sym.sit.service.SiteManageVO; |
|
| 47 |
-import egovframework.com.uat.uia.service.LoginVO; |
|
| 48 |
-import egovframework.com.utl.fcc.service.EgovStringUtil; |
|
| 49 |
-import egovframework.rte.fdl.idgnr.EgovIdGnrService; |
|
| 50 |
-import egovframework.rte.fdl.property.EgovPropertyService; |
|
| 51 |
-import egovframework.rte.psl.dataaccess.util.EgovMap; |
|
| 52 |
- |
|
| 53 |
-/** |
|
| 54 |
- * 파일 조회, 삭제, 다운로드 처리를 위한 컨트롤러 클래스 |
|
| 55 |
- * @author 공통서비스개발팀 이삼섭 |
|
| 56 |
- * @since 2009.06.01 |
|
| 57 |
- * @version 1.0 |
|
| 58 |
- * @see |
|
| 59 |
- * |
|
| 60 |
- * <pre> |
|
| 61 |
- * << 개정이력(Modification Information) >> |
|
| 62 |
- * |
|
| 63 |
- * 수정일 수정자 수정내용 |
|
| 64 |
- * ------- -------- --------------------------- |
|
| 65 |
- * 2009.3.25 이삼섭 최초 생성 |
|
| 66 |
- * |
|
| 67 |
- * </pre> |
|
| 68 |
- */ |
|
| 69 |
-@Controller |
|
| 70 |
-public class EgovFileMngController {
|
|
| 71 |
- |
|
| 72 |
- @Resource(name = "EgovFileMngService") |
|
| 73 |
- private EgovFileMngService fileService; |
|
| 74 |
- |
|
| 75 |
- @Resource(name = "EgovFileMngUtil") |
|
| 76 |
- private EgovFileMngUtil fileUtil; |
|
| 77 |
- |
|
| 78 |
- @Resource(name = "EgovFileMngService") |
|
| 79 |
- private EgovFileMngService fileMngService; |
|
| 80 |
- |
|
| 81 |
- @Resource(name = "SiteManageService") |
|
| 82 |
- EgovSiteManageService siteManageService; |
|
| 83 |
- |
|
| 84 |
- @Resource(name = "propertiesService") |
|
| 85 |
- protected EgovPropertyService propertiesService; |
|
| 86 |
- |
|
| 87 |
- @Resource(name = "egovFileIdGnrService") |
|
| 88 |
- private EgovIdGnrService fileIdgenService; |
|
| 89 |
- |
|
| 90 |
- Logger log = Logger.getLogger(this.getClass()); |
|
| 91 |
- |
|
| 92 |
- /** |
|
| 93 |
- * 첨부파일에 대한 목록을 조회한다. |
|
| 94 |
- * |
|
| 95 |
- * @param fileVO |
|
| 96 |
- * @param atchFileId |
|
| 97 |
- * @param sessionVO |
|
| 98 |
- * @param model |
|
| 99 |
- * @return |
|
| 100 |
- * @throws Exception |
|
| 101 |
- */ |
|
| 102 |
- @RequestMapping("/cmm/fms/selectFileInfs.do")
|
|
| 103 |
- public String selectFileInfs(HttpServletRequest request, @ModelAttribute("searchVO") FileVO fileVO, @RequestParam("param_atchFileId") String param_atchFileId, ModelMap model) throws Exception {
|
|
| 104 |
- String returnUrl = "cmm/fms/EgovFileList"; |
|
| 105 |
- String atchFileId = param_atchFileId; |
|
| 106 |
- String viewDivision = request.getParameter("viewDivision") == null ? "" : request.getParameter("viewDivision").toString();
|
|
| 107 |
- if("staff".equals(viewDivision)){
|
|
| 108 |
- returnUrl = "cmm/fms/EgovStaffFileList"; |
|
| 109 |
- }else{
|
|
| 110 |
- model.addAttribute("updateFlag", "N");
|
|
| 111 |
- } |
|
| 112 |
- |
|
| 113 |
- fileVO.setAtchFileId(atchFileId); |
|
| 114 |
- List<FileVO> result = fileService.selectFileInfs(fileVO); |
|
| 115 |
- |
|
| 116 |
- |
|
| 117 |
- model.addAttribute("fileList", result);
|
|
| 118 |
- model.addAttribute("fileListCnt", result.size());
|
|
| 119 |
- model.addAttribute("atchFileId", atchFileId);
|
|
| 120 |
- model.addAttribute("webPath", propertiesService.getString("web.path"));
|
|
| 121 |
- |
|
| 122 |
- return "cmm/fms/EgovFileList"; |
|
| 123 |
- } |
|
| 124 |
- |
|
| 125 |
- /** |
|
| 126 |
- * 자료요청 완료 첨부파일에 대한 목록을 조회한다. |
|
| 127 |
- * |
|
| 128 |
- * @param fileVO |
|
| 129 |
- * @param atchFileId |
|
| 130 |
- * @param sessionVO |
|
| 131 |
- * @param model |
|
| 132 |
- * @return |
|
| 133 |
- * @throws Exception |
|
| 134 |
- */ |
|
| 135 |
- @RequestMapping("/cmm/fms/selectDtaResFileInfs.do")
|
|
| 136 |
- public String selectDtaResFileInfs(@ModelAttribute("searchVO") FileVO fileVO, @RequestParam("param_atchFileId") String param_atchFileId, ModelMap model) throws Exception {
|
|
| 137 |
- String atchFileId = param_atchFileId; |
|
| 138 |
- |
|
| 139 |
- fileVO.setAtchFileId(atchFileId); |
|
| 140 |
- List<FileVO> result = fileService.selectFileInfs(fileVO); |
|
| 141 |
- |
|
| 142 |
- model.addAttribute("fileList", result);
|
|
| 143 |
- model.addAttribute("updateFlag", "N");
|
|
| 144 |
- model.addAttribute("fileListCnt", result.size());
|
|
| 145 |
- model.addAttribute("atchFileId", atchFileId);
|
|
| 146 |
- |
|
| 147 |
- return "cmm/fms/EgovDtaResFileList"; |
|
| 148 |
- } |
|
| 149 |
- |
|
| 150 |
- /** |
|
| 151 |
- * 첨부파일 변경을 위한 수정페이지로 이동한다. |
|
| 152 |
- * |
|
| 153 |
- * @param fileVO |
|
| 154 |
- * @param atchFileId |
|
| 155 |
- * @param sessionVO |
|
| 156 |
- * @param model |
|
| 157 |
- * @return |
|
| 158 |
- * @throws Exception |
|
| 159 |
- */ |
|
| 160 |
- @RequestMapping("/cmm/fms/selectFileInfsForUpdate.do")
|
|
| 161 |
- public String selectFileInfsForUpdate(HttpServletRequest request, |
|
| 162 |
- HttpServletResponse response, @ModelAttribute("searchVO") FileVO fileVO, @RequestParam("param_atchFileId") String param_atchFileId,
|
|
| 163 |
- //SessionVO sessionVO, |
|
| 164 |
- ModelMap model) throws Exception {
|
|
| 165 |
- |
|
| 166 |
- String atchFileId = param_atchFileId; |
|
| 167 |
- String returnUrl = "cmm/fms/EgovFileList"; |
|
| 168 |
- String viewDivision = request.getParameter("viewDivision") == null ? "" : request.getParameter("viewDivision").toString();
|
|
| 169 |
- if("staff".equals(viewDivision)){
|
|
| 170 |
- returnUrl = "cmm/fms/EgovStaffFileList"; |
|
| 171 |
- } |
|
| 172 |
- |
|
| 173 |
- if(!EgovStringUtil.isEmpty(atchFileId)) {
|
|
| 174 |
- fileVO.setAtchFileId(atchFileId); |
|
| 175 |
- |
|
| 176 |
- List<FileVO> result = fileService.selectFileInfs(fileVO); |
|
| 177 |
- |
|
| 178 |
- model.addAttribute("fileList", result);
|
|
| 179 |
- model.addAttribute("fileListCnt", result.size());
|
|
| 180 |
- model.addAttribute("atchFileId", atchFileId);
|
|
| 181 |
- } |
|
| 182 |
- |
|
| 183 |
- model.addAttribute("updateFlag", "Y");
|
|
| 184 |
- |
|
| 185 |
- return returnUrl; |
|
| 186 |
- } |
|
| 187 |
- |
|
| 188 |
- /** |
|
| 189 |
- * 첨부파일에 대한 삭제를 처리한다. |
|
| 190 |
- * |
|
| 191 |
- * @param fileVO |
|
| 192 |
- * @param returnUrl |
|
| 193 |
- * @param sessionVO |
|
| 194 |
- * @param model |
|
| 195 |
- * @return |
|
| 196 |
- * @throws Exception |
|
| 197 |
- */ |
|
| 198 |
- @RequestMapping("/cmm/fms/deleteFileInfs.do")
|
|
| 199 |
- public String deleteFileInf(@ModelAttribute("searchVO") FileVO fileVO, @RequestParam("returnUrl") String returnUrl,
|
|
| 200 |
- HttpServletRequest request, |
|
| 201 |
- HttpServletResponse response, |
|
| 202 |
- ModelMap model) throws Exception {
|
|
| 203 |
- |
|
| 204 |
- Boolean isAuthenticated = true;//EgovUserDetailsHelper.isAuthenticated(request, response); |
|
| 205 |
- |
|
| 206 |
- if (isAuthenticated) {
|
|
| 207 |
- fileService.deleteFileInf(fileVO); |
|
| 208 |
- } |
|
| 209 |
- |
|
| 210 |
- |
|
| 211 |
- if (!EgovStringUtil.isEmpty(returnUrl)) {
|
|
| 212 |
- return "redirect:" + returnUrl; |
|
| 213 |
- } else {
|
|
| 214 |
- return "redirect:/"; |
|
| 215 |
- } |
|
| 216 |
- |
|
| 217 |
- } |
|
| 218 |
- |
|
| 219 |
- /** |
|
| 220 |
- * 첨부파일에 대한 삭제를 처리한다. |
|
| 221 |
- * |
|
| 222 |
- * @param fileVO |
|
| 223 |
- * @param returnUrl |
|
| 224 |
- * @param sessionVO |
|
| 225 |
- * @param model |
|
| 226 |
- * @return |
|
| 227 |
- * @throws Exception |
|
| 228 |
- */ |
|
| 229 |
- @RequestMapping("/cmm/fms/deleteFileInfByAjax.do")
|
|
| 230 |
- public void deleteFileInfByJson(@ModelAttribute("searchVO") FileVO fileVO,
|
|
| 231 |
- HttpServletRequest request, |
|
| 232 |
- HttpServletResponse response, |
|
| 233 |
- ModelMap model) throws Exception {
|
|
| 234 |
- |
|
| 235 |
- int iCount = fileService.deleteFileInf(fileVO); |
|
| 236 |
- |
|
| 237 |
- Gson gson = new Gson(); |
|
| 238 |
- JsonObject jObj = new JsonObject(); |
|
| 239 |
- |
|
| 240 |
- if(iCount != 0) {
|
|
| 241 |
- jObj.addProperty("delCount", iCount);
|
|
| 242 |
- jObj.addProperty("atchFileId", fileVO.getAtchFileId());
|
|
| 243 |
- jObj.addProperty("fileSn", fileVO.getFileSn());
|
|
| 244 |
- } else {
|
|
| 245 |
- jObj.addProperty("delCount", "0");
|
|
| 246 |
- } |
|
| 247 |
- |
|
| 248 |
- FileVO totalInfoVO = fileService.selectFileDetailTotalInfo(fileVO); |
|
| 249 |
- jObj.addProperty("totalFileMg", totalInfoVO.getTotalFileMg());
|
|
| 250 |
- jObj.addProperty("totalFileCount", totalInfoVO.getTotalFileCount());
|
|
| 251 |
- |
|
| 252 |
- response.setContentType("text/javascript; charset=utf-8");
|
|
| 253 |
- PrintWriter printwriter = response.getWriter(); |
|
| 254 |
- printwriter.write(gson.toJson(jObj)); |
|
| 255 |
- printwriter.flush(); |
|
| 256 |
- printwriter.close(); |
|
| 257 |
- |
|
| 258 |
- } |
|
| 259 |
- |
|
| 260 |
- /** |
|
| 261 |
- * 이미지 첨부파일에 대한 목록을 조회한다. |
|
| 262 |
- * |
|
| 263 |
- * @param fileVO |
|
| 264 |
- * @param atchFileId |
|
| 265 |
- * @param sessionVO |
|
| 266 |
- * @param model |
|
| 267 |
- * @return |
|
| 268 |
- * @throws Exception |
|
| 269 |
- */ |
|
| 270 |
- @RequestMapping("/cmm/fms/selectImageFileInfs.do")
|
|
| 271 |
- public String selectImageFileInfs(@ModelAttribute("searchVO") FileVO fileVO,
|
|
| 272 |
- //SessionVO sessionVO, |
|
| 273 |
- ModelMap model) throws Exception {
|
|
| 274 |
- |
|
| 275 |
- String atchFileId = fileVO.getAtchFileId(); |
|
| 276 |
- |
|
| 277 |
- fileVO.setAtchFileId(atchFileId); |
|
| 278 |
- List<FileVO> result = fileService.selectImageFileList(fileVO); |
|
| 279 |
- |
|
| 280 |
- model.addAttribute("fileList", result);
|
|
| 281 |
- |
|
| 282 |
- return "cmm/fms/EgovImgFileList"; |
|
| 283 |
- } |
|
| 284 |
- |
|
| 285 |
- /** |
|
| 286 |
- * 대용량파일을 Upload 처리한다. |
|
| 287 |
- * |
|
| 288 |
- * @param fileVO |
|
| 289 |
- * @return |
|
| 290 |
- * @throws Exception |
|
| 291 |
- *//* |
|
| 292 |
- @RequestMapping("/cmm/fms/uploadStreamLongFiles.do")
|
|
| 293 |
- public void uploadStreamLongFiles(@ModelAttribute("searchVO") FileVO fileVO, @CommandMap Map<String, Object> commandMap, HttpServletRequest request, HttpServletResponse response) throws Exception {
|
|
| 294 |
- |
|
| 295 |
- String siteId = (String)commandMap.get("siteId");
|
|
| 296 |
- if(EgovStringUtil.isEmpty(siteId)) {
|
|
| 297 |
- SiteManageVO siteVO = siteManageService.selectSiteServiceInfo(request); |
|
| 298 |
- siteId = siteVO.getSiteId(); |
|
| 299 |
- } |
|
| 300 |
- |
|
| 301 |
- String strErrorMessage = ""; |
|
| 302 |
- boolean isSaveOk = false; |
|
| 303 |
- |
|
| 304 |
- //String uploadType = (String)commandMap.get("uploadType");
|
|
| 305 |
- String pathKey = (String)commandMap.get("pathKey");
|
|
| 306 |
- String appendPath = (String)commandMap.get("appendPath");
|
|
| 307 |
- String first = (String)commandMap.get("first");
|
|
| 308 |
- String last = (String)commandMap.get("last");
|
|
| 309 |
- |
|
| 310 |
- String isEdit = (String)commandMap.get("isEdit");
|
|
| 311 |
- String isTempEdit = (String)commandMap.get("isTempEdit");
|
|
| 312 |
- |
|
| 313 |
- boolean firstChunk = Boolean.parseBoolean(first); |
|
| 314 |
- boolean lastChunk = Boolean.parseBoolean(last); |
|
| 315 |
- boolean edit = Boolean.parseBoolean(isEdit); |
|
| 316 |
- boolean tempEdit = Boolean.parseBoolean(isTempEdit); |
|
| 317 |
- |
|
| 318 |
- fileVO.setFileStreCours(propertiesService.getString(pathKey) + File.separator + siteId + File.separator + appendPath); |
|
| 319 |
- |
|
| 320 |
- FileVO resultVO = fileUtil.uploadStreamLongFiles(request.getInputStream(), fileVO, firstChunk, lastChunk); |
|
| 321 |
- |
|
| 322 |
- if(resultVO == null) {
|
|
| 323 |
- strErrorMessage = "등록할 수 없는 파일입니다."; |
|
| 324 |
- } else {
|
|
| 325 |
- if(lastChunk) {
|
|
| 326 |
- |
|
| 327 |
- File file = new File(fileVO.getFileStreCours() + File.separator + fileVO.getStreFileNm()); |
|
| 328 |
- // =================================== 웹필터 적용 시작 ====================================================================== |
|
| 329 |
- String wfServerAddress = propertiesService.getString("WebFilterIP"); // 웹필터 아이피 세팅
|
|
| 330 |
- //String wfFileName = file.getFileName(); // 실제 파일명 세팅 |
|
| 331 |
- String wfFileName = file.getName(); |
|
| 332 |
- |
|
| 333 |
- Socket s = null; |
|
| 334 |
- boolean byPass = false; |
|
| 335 |
- boolean denyFlag = false; |
|
| 336 |
- |
|
| 337 |
- int pos = wfFileName.lastIndexOf( "." ); |
|
| 338 |
- String ext = wfFileName.substring( pos + 1 ); |
|
| 339 |
- if(!"jpg".equals(ext) && !"gif".equals(ext) && !"bmp".equals(ext) && !"png".equals(ext) && !"psd".equals(ext) && !"pdd".equals(ext) && !"tif".equals(ext) && !"raw".equals(ext) && !"ai".equals(ext) && !"eps".equals(ext) && !"pcx".equals(ext) && !"pct".equals(ext) && !"pic".equals(ext) && !"pxr".equals(ext) && !"tga".equals(ext) && |
|
| 340 |
- !"wav".equals(ext) && !"ogg".equals(ext) && !"mp3".equals(ext) && !"wma".equals(ext) && !"au".equals(ext) && !"mid".equals(ext) && |
|
| 341 |
- !"avi".equals(ext) && !"mpg".equals(ext) && !"mpeg".equals(ext) && !"mpe".equals(ext) && !"wmv".equals(ext) && !"asf".equals(ext) && !"asx".equals(ext) && !"flv".equals(ext) && !"rm".equals(ext) && !"mov".equals(ext) && !"dat".equals(ext) && |
|
| 342 |
- !"vob".equals(ext) && !"m2v".equals(ext) && !"mkv".equals(ext) && !"mp4".equals(ext)){
|
|
| 343 |
- |
|
| 344 |
- try{
|
|
| 345 |
- s = new Socket(); |
|
| 346 |
- SocketAddress remoteAddr = new InetSocketAddress(wfServerAddress, 80); |
|
| 347 |
- s.connect(remoteAddr, 5000); |
|
| 348 |
- }catch(Exception e){
|
|
| 349 |
- byPass = true; |
|
| 350 |
- } |
|
| 351 |
- |
|
| 352 |
- if(!byPass){
|
|
| 353 |
- // 웹필터 처리 |
|
| 354 |
- try{
|
|
| 355 |
- URL targetURL = new URL("http://"+wfServerAddress+"/webfilterSubmitAction.do?serverDomain_="+request.getServerName()+"&serverPort_=&writeFormName_=fileForm&serverProtocol_=http:&WFcharSet_=euc-kr&WFOrgAction_=/fileUpload.do&WFlistUrl_=/board/record/list.do");
|
|
| 356 |
- HttpURLConnection conn = (HttpURLConnection)targetURL.openConnection(); |
|
| 357 |
- |
|
| 358 |
- String delimeter = "------------ei4gL6Ij5ei4GI3Ij5Ij5gL6cH2Ef1"; |
|
| 359 |
- |
|
| 360 |
- byte[] newLineBytes = "\r\n".getBytes(); |
|
| 361 |
- byte[] delimeterBytes = delimeter.getBytes(); |
|
| 362 |
- byte[] dispositionBytes = "Content-Disposition: form-data; name=".getBytes(); |
|
| 363 |
- byte[] nameBytes = "filename".getBytes(); |
|
| 364 |
- byte[] fileBytes = "file".getBytes(); |
|
| 365 |
- byte[] quotationBytes = "\"".getBytes(); |
|
| 366 |
- byte[] contentTypeBytes = "Content-Type: application/octet-stream".getBytes(); |
|
| 367 |
- byte[] fileNameBytes = "; filename=".getBytes(); |
|
| 368 |
- byte[] twoDashBytes = "--".getBytes(); |
|
| 369 |
- |
|
| 370 |
- conn.setRequestMethod("POST");
|
|
| 371 |
- conn.setRequestProperty("Content-Type", "multipart/form-data; boundary="+delimeter);
|
|
| 372 |
- conn.setDoInput(true); |
|
| 373 |
- conn.setDoOutput(true); |
|
| 374 |
- conn.setUseCaches(false); |
|
| 375 |
- |
|
| 376 |
- BufferedOutputStream bos = null; |
|
| 377 |
- BufferedInputStream bis = null; |
|
| 378 |
- try{
|
|
| 379 |
- bos = new BufferedOutputStream(conn.getOutputStream()); |
|
| 380 |
- |
|
| 381 |
- bos.write(twoDashBytes); |
|
| 382 |
- bos.write(delimeterBytes); |
|
| 383 |
- bos.write(newLineBytes); |
|
| 384 |
- bos.write(dispositionBytes); |
|
| 385 |
- bos.write(quotationBytes); |
|
| 386 |
- bos.write(nameBytes); |
|
| 387 |
- bos.write(quotationBytes); |
|
| 388 |
- bos.write(newLineBytes); |
|
| 389 |
- bos.write(newLineBytes); |
|
| 390 |
- bos.write(fileBytes); |
|
| 391 |
- bos.write(newLineBytes); |
|
| 392 |
- |
|
| 393 |
- bos.write(twoDashBytes); |
|
| 394 |
- bos.write(delimeterBytes); |
|
| 395 |
- bos.write(newLineBytes); |
|
| 396 |
- |
|
| 397 |
- bos.write(dispositionBytes); |
|
| 398 |
- bos.write(quotationBytes); |
|
| 399 |
- bos.write(fileNameBytes); |
|
| 400 |
- bos.write(quotationBytes); |
|
| 401 |
- bos.write(wfFileName.getBytes()); |
|
| 402 |
- bos.write(quotationBytes); |
|
| 403 |
- bos.write(newLineBytes); |
|
| 404 |
- bos.write(contentTypeBytes); |
|
| 405 |
- bos.write(newLineBytes); |
|
| 406 |
- bos.write(newLineBytes); |
|
| 407 |
- |
|
| 408 |
- bis = new BufferedInputStream(new FileInputStream(file)); //실제파일 read 부분 |
|
| 409 |
- byte[] fileBuffer = new byte[1024 * 8]; |
|
| 410 |
- int len = -1; |
|
| 411 |
- while((len = bis.read(fileBuffer)) != -1){
|
|
| 412 |
- bos.write(fileBuffer, 0, len); |
|
| 413 |
- } |
|
| 414 |
- bos.write(newLineBytes); |
|
| 415 |
- bos.write(twoDashBytes); |
|
| 416 |
- bos.write(delimeterBytes); |
|
| 417 |
- bos.write(twoDashBytes); |
|
| 418 |
- bos.write(newLineBytes); |
|
| 419 |
- bos.flush(); |
|
| 420 |
- |
|
| 421 |
- }catch(Exception e){
|
|
| 422 |
- |
|
| 423 |
- }finally{
|
|
| 424 |
- if(bos != null) bos.close(); |
|
| 425 |
- if(bis != null) bis.close(); |
|
| 426 |
- } |
|
| 427 |
- |
|
| 428 |
- BufferedInputStream bisConn = null; |
|
| 429 |
- try {
|
|
| 430 |
- bisConn = new BufferedInputStream(conn.getInputStream()); |
|
| 431 |
- StringBuffer sb = new StringBuffer(); |
|
| 432 |
- int iChar; |
|
| 433 |
- |
|
| 434 |
- while((iChar = bisConn.read()) > -1){
|
|
| 435 |
- sb.append((char)iChar); |
|
| 436 |
- } |
|
| 437 |
- |
|
| 438 |
- if(sb.toString().indexOf("/getCleanBoardErrorFile") > -1){
|
|
| 439 |
- // 웹필터 차단 |
|
| 440 |
- denyFlag = true; |
|
| 441 |
- } |
|
| 442 |
- }catch(Exception e){
|
|
| 443 |
- |
|
| 444 |
- }finally{
|
|
| 445 |
- if(bisConn != null) bisConn.close(); |
|
| 446 |
- } |
|
| 447 |
- |
|
| 448 |
- }catch(Exception e){
|
|
| 449 |
- } |
|
| 450 |
- |
|
| 451 |
- } |
|
| 452 |
- |
|
| 453 |
- if(s!=null) {
|
|
| 454 |
- try {
|
|
| 455 |
- s.close(); |
|
| 456 |
- } catch(Exception ex) {
|
|
| 457 |
- |
|
| 458 |
- }finally{
|
|
| 459 |
- if(s != null) s.close(); |
|
| 460 |
- } |
|
| 461 |
- } |
|
| 462 |
- |
|
| 463 |
- } |
|
| 464 |
- // =================================== 웹필터 적용 끝 ====================================================================== |
|
| 465 |
- |
|
| 466 |
- if(!denyFlag){ // 웹필터 차단여부 확인
|
|
| 467 |
- |
|
| 468 |
- //정상부분처리 |
|
| 469 |
- isSaveOk = true; |
|
| 470 |
- |
|
| 471 |
- }else{ // 웹필터 if else
|
|
| 472 |
- |
|
| 473 |
- // 차단 파일 처리(응답부분 수정 필요) |
|
| 474 |
- strErrorMessage = "개인정보가 유출될 수 있는 파일입니다."; |
|
| 475 |
- |
|
| 476 |
- } |
|
| 477 |
- |
|
| 478 |
- } |
|
| 479 |
- } |
|
| 480 |
- |
|
| 481 |
- if(isSaveOk) {
|
|
| 482 |
- FileVO dbVO = fileMngService.insertTempFileInf(resultVO); |
|
| 483 |
- |
|
| 484 |
- if(edit) {
|
|
| 485 |
- if(tempEdit) {
|
|
| 486 |
- FileVO delVO = fileMngService.selectTempFileInfByAtchFileIdAndFileSn(resultVO); |
|
| 487 |
- if(delVO != null) {
|
|
| 488 |
- fileMngService.deleteTempFileInf(delVO); |
|
| 489 |
- } |
|
| 490 |
- } else {
|
|
| 491 |
- fileMngService.deleteFileInf(resultVO); |
|
| 492 |
- } |
|
| 493 |
- } |
|
| 494 |
- |
|
| 495 |
- Gson gson = new Gson(); |
|
| 496 |
- JsonObject jObj = new JsonObject(); |
|
| 497 |
- |
|
| 498 |
- jObj.addProperty("SiteId", siteId);
|
|
| 499 |
- jObj.addProperty("AppendPath", appendPath);
|
|
| 500 |
- jObj.addProperty("AtchFileId", dbVO.getAtchFileId());
|
|
| 501 |
- jObj.addProperty("TmprFileId", dbVO.getTmprFileId());
|
|
| 502 |
- jObj.addProperty("FileName", dbVO.getOrignlFileNm());
|
|
| 503 |
- jObj.addProperty("StreFileNm", dbVO.getStreFileNm() + "." + dbVO.getFileExtsn());
|
|
| 504 |
- jObj.addProperty("FileSn", dbVO.getFileSn());
|
|
| 505 |
- jObj.addProperty("OriginFileSn", resultVO.getFileSn());
|
|
| 506 |
- jObj.addProperty("FileSize", dbVO.getFileMg());
|
|
| 507 |
- jObj.addProperty("IsEdit", isEdit);
|
|
| 508 |
- jObj.addProperty("IsTempEdit", isTempEdit);
|
|
| 509 |
- FileVO totalInfoVO = fileMngService.selectFileDetailTotalInfo(dbVO); |
|
| 510 |
- jObj.addProperty("TotalFileMg", totalInfoVO.getTotalFileMg());
|
|
| 511 |
- jObj.addProperty("TotalFileCount", totalInfoVO.getTotalFileCount());
|
|
| 512 |
- |
|
| 513 |
- jObj.addProperty("ErrorMessage", "");
|
|
| 514 |
- |
|
| 515 |
- response.setContentType("text/javascript; charset=utf-8");
|
|
| 516 |
- PrintWriter printwriter = response.getWriter(); |
|
| 517 |
- printwriter.write(gson.toJson(jObj)); |
|
| 518 |
- printwriter.flush(); |
|
| 519 |
- printwriter.close(); |
|
| 520 |
- } else if(!EgovStringUtil.isEmpty(strErrorMessage)) {
|
|
| 521 |
- Gson gson = new Gson(); |
|
| 522 |
- JsonObject jObj = new JsonObject(); |
|
| 523 |
- jObj.addProperty("SiteId", siteId);
|
|
| 524 |
- jObj.addProperty("AppendPath", appendPath);
|
|
| 525 |
- jObj.addProperty("AtchFileId", resultVO.getAtchFileId());
|
|
| 526 |
- jObj.addProperty("TmprFileId", resultVO.getTmprFileId());
|
|
| 527 |
- jObj.addProperty("FileName", resultVO.getOrignlFileNm());
|
|
| 528 |
- jObj.addProperty("StreFileNm", resultVO.getStreFileNm() + "." + resultVO.getFileExtsn());
|
|
| 529 |
- jObj.addProperty("FileSn", resultVO.getFileSn());
|
|
| 530 |
- jObj.addProperty("OriginFileSn", resultVO.getFileSn());
|
|
| 531 |
- jObj.addProperty("FileSize", resultVO.getFileMg());
|
|
| 532 |
- jObj.addProperty("IsEdit", isEdit);
|
|
| 533 |
- jObj.addProperty("IsTempEdit", isTempEdit);
|
|
| 534 |
- jObj.addProperty("TotalFileMg", "0");
|
|
| 535 |
- jObj.addProperty("TotalFileCount", "0");
|
|
| 536 |
- |
|
| 537 |
- jObj.addProperty("ErrorMessage", strErrorMessage);
|
|
| 538 |
- |
|
| 539 |
- response.setContentType("text/javascript; charset=utf-8");
|
|
| 540 |
- PrintWriter printwriter = response.getWriter(); |
|
| 541 |
- printwriter.write(gson.toJson(jObj)); |
|
| 542 |
- printwriter.flush(); |
|
| 543 |
- printwriter.close(); |
|
| 544 |
- } |
|
| 545 |
- }*/ |
|
| 546 |
- |
|
| 547 |
- |
|
| 548 |
- /* |
|
| 549 |
- @RequestMapping(value = "/cmm/fms/upload.do", method = RequestMethod.POST) |
|
| 550 |
- public void upload(final MultipartHttpServletRequest multiRequest, @ModelAttribute("searchVO") FileVO searchVO, Map<String, Object> commandMap, HttpServletRequest request, HttpServletResponse response) throws Exception {
|
|
| 551 |
- |
|
| 552 |
- String range = multiRequest.getHeader("Content-Range");
|
|
| 553 |
- long fileFullLength = -1; |
|
| 554 |
- long chunkFrom = -1; |
|
| 555 |
- long chunkTo = -1; |
|
| 556 |
- if (range != null) {
|
|
| 557 |
- if (!range.startsWith("bytes "))
|
|
| 558 |
- throw new Exception("Unexpected range format: " + range);
|
|
| 559 |
- String[] fromToAndLength = range.substring(6).split(Pattern.quote("/"));
|
|
| 560 |
- fileFullLength = Long.parseLong(fromToAndLength[1]); |
|
| 561 |
- String[] fromAndTo = fromToAndLength[0].split(Pattern.quote("-"));
|
|
| 562 |
- chunkFrom = Long.parseLong(fromAndTo[0]); |
|
| 563 |
- chunkTo = Long.parseLong(fromAndTo[1]); |
|
| 564 |
- } |
|
| 565 |
- |
|
| 566 |
- |
|
| 567 |
- |
|
| 568 |
- String siteId = searchVO.getSiteId(); |
|
| 569 |
- if(EgovStringUtil.isEmpty(siteId)) {
|
|
| 570 |
- SiteManageVO siteVO = siteManageService.selectSiteServiceInfo(request); |
|
| 571 |
- siteId = siteVO.getSiteId(); |
|
| 572 |
- } |
|
| 573 |
- |
|
| 574 |
- if(EgovStringUtil.isEmpty(searchVO.getAtchFileId())) {
|
|
| 575 |
- searchVO.setAtchFileId(fileIdgenService.getNextStringId()); |
|
| 576 |
- } |
|
| 577 |
- |
|
| 578 |
- JsonResponse res = new JsonResponse(); |
|
| 579 |
- |
|
| 580 |
- if(!EgovStringUtil.isEmpty(siteId) && !EgovStringUtil.isEmpty(searchVO.getPathKey())) {
|
|
| 581 |
- String appendPath = searchVO.getSiteId(); |
|
| 582 |
- if(!EgovStringUtil.isEmpty(searchVO.getAppendPath())) {
|
|
| 583 |
- appendPath = appendPath + "/" + searchVO.getAppendPath(); |
|
| 584 |
- } |
|
| 585 |
- |
|
| 586 |
- ArrayList<FileVO> result = new ArrayList<FileVO>(); |
|
| 587 |
- |
|
| 588 |
- final Map<String, MultipartFile> files = multiRequest.getFileMap(); |
|
| 589 |
- if(!files.isEmpty()) {
|
|
| 590 |
- List<FileVO> fileList = fileUtil.parseFileInfV1(searchVO.getMaxMegaFileSize() * 1024 * 1024, files, "", 0, searchVO.getAtchFileId(), searchVO.getPathKey() + ".fileStorePath", searchVO.getPathKey() + ".fileStoreWebPath", appendPath); |
|
| 591 |
- if(!"Y".equals(searchVO.getIsNoTempFile())) {
|
|
| 592 |
- for(int i=0; i<fileList.size(); i++) {
|
|
| 593 |
- FileVO dbVO = fileMngService.insertTempFileInf(fileList.get(i)); |
|
| 594 |
- result.add(dbVO); |
|
| 595 |
- } |
|
| 596 |
- } else {
|
|
| 597 |
- int maxSn = fileMngService.getMaxFileSN(searchVO); |
|
| 598 |
- for(int i=0; i<fileList.size(); i++) {
|
|
| 599 |
- fileList.get(i).setFileSn(String.valueOf(maxSn + i)); |
|
| 600 |
- } |
|
| 601 |
- fileMngService.updateFileInfs(fileList); |
|
| 602 |
- result.addAll(fileList); |
|
| 603 |
- } |
|
| 604 |
- } |
|
| 605 |
- |
|
| 606 |
- res.setFiles(result); |
|
| 607 |
- |
|
| 608 |
- HashMap<String, Object> wireData = new HashMap<String, Object>(); |
|
| 609 |
- wireData.put("editorId", searchVO.getEditorId());
|
|
| 610 |
- if(result.size() > 0) {
|
|
| 611 |
- |
|
| 612 |
- FileVO totalInfoVO = fileMngService.selectFileDetailTotalInfo(result.get(0)); |
|
| 613 |
- wireData.put("totalFileMg", totalInfoVO.getTotalFileMg());
|
|
| 614 |
- wireData.put("totalFileCount", totalInfoVO.getTotalFileCount());
|
|
| 615 |
- } |
|
| 616 |
- |
|
| 617 |
- res.setWireData(wireData); |
|
| 618 |
- res.setSuccess(true); |
|
| 619 |
- } |
|
| 620 |
- |
|
| 621 |
- Gson gson = new Gson(); |
|
| 622 |
- |
|
| 623 |
- response.setContentType("text/javascript; charset=utf-8");
|
|
| 624 |
- PrintWriter printwriter = response.getWriter(); |
|
| 625 |
- printwriter.write(gson.toJson(res)); |
|
| 626 |
- printwriter.flush(); |
|
| 627 |
- printwriter.close(); |
|
| 628 |
- |
|
| 629 |
- } |
|
| 630 |
- */ |
|
| 631 |
- |
|
| 632 |
- @RequestMapping(value = "/cmm/fms/upload.do", method = RequestMethod.POST) |
|
| 633 |
- public void upload(final MultipartHttpServletRequest multiRequest, @ModelAttribute("searchVO") FileVO searchVO, HttpServletRequest request, HttpServletResponse response) throws Exception {
|
|
| 634 |
- |
|
| 635 |
- /* |
|
| 636 |
- String siteId = searchVO.getSiteId(); |
|
| 637 |
- if(EgovStringUtil.isEmpty(siteId)) {
|
|
| 638 |
- SiteManageVO siteVO = siteManageService.selectSiteServiceInfo(request); |
|
| 639 |
- siteId = siteVO.getSiteId(); |
|
| 640 |
- } |
|
| 641 |
- |
|
| 642 |
- if(EgovStringUtil.isEmpty(searchVO.getAtchFileId())) {
|
|
| 643 |
- searchVO.setAtchFileId(fileIdgenService.getNextStringId()); |
|
| 644 |
- } |
|
| 645 |
- |
|
| 646 |
- String appendPath = searchVO.getSiteId(); |
|
| 647 |
- if(!EgovStringUtil.isEmpty(searchVO.getAppendPath())) {
|
|
| 648 |
- appendPath = appendPath + "/" + searchVO.getAppendPath(); |
|
| 649 |
- } |
|
| 650 |
- |
|
| 651 |
- |
|
| 652 |
- String storePathString = ""; |
|
| 653 |
- String storeWebPathString = ""; |
|
| 654 |
- String atchFileIdString = ""; |
|
| 655 |
- |
|
| 656 |
- String storePath = searchVO.getPathKey() + ".fileStorePath"; |
|
| 657 |
- String storeWebPath = searchVO.getPathKey() + ".fileStoreWebPath"; |
|
| 658 |
- if ("".equals(storePath) || storePath == null) {
|
|
| 659 |
- storePathString = propertiesService.getString("Globals.fileStorePath");
|
|
| 660 |
- storeWebPathString = propertiesService.getString("Globals.fileStoreWebPath");
|
|
| 661 |
- } else {
|
|
| 662 |
- storePathString = propertiesService.getString(storePath); |
|
| 663 |
- storeWebPathString = propertiesService.getString(storeWebPath); |
|
| 664 |
- } |
|
| 665 |
- |
|
| 666 |
- if (!("".equals(appendPath) || appendPath == null)) {
|
|
| 667 |
- storePathString = storePathString + "/" + appendPath; |
|
| 668 |
- storeWebPathString = storeWebPathString + "/" + appendPath; |
|
| 669 |
- } |
|
| 670 |
- |
|
| 671 |
- String range = multiRequest.getHeader("Content-Range");
|
|
| 672 |
- long fileFullLength = -1; |
|
| 673 |
- long chunkFrom = -1; |
|
| 674 |
- long chunkTo = -1; |
|
| 675 |
- if (range != null) {
|
|
| 676 |
- if (!range.startsWith("bytes "))
|
|
| 677 |
- throw new ServletException("Unexpected range format: " + range);
|
|
| 678 |
- String[] fromToAndLength = range.substring(6).split(Pattern.quote("/"));
|
|
| 679 |
- fileFullLength = Long.parseLong(fromToAndLength[1]); |
|
| 680 |
- String[] fromAndTo = fromToAndLength[0].split(Pattern.quote("-"));
|
|
| 681 |
- chunkFrom = Long.parseLong(fromAndTo[0]); |
|
| 682 |
- chunkTo = Long.parseLong(fromAndTo[1]); |
|
| 683 |
- } |
|
| 684 |
- |
|
| 685 |
- |
|
| 686 |
- |
|
| 687 |
- File tempDir = new File(storePathString);//new File(System.getProperty("java.io.tmpdir")); // Configure according
|
|
| 688 |
- File storageDir = tempDir; // project server environment. |
|
| 689 |
- |
|
| 690 |
- final Map<String, MultipartFile> files = multiRequest.getFileMap(); |
|
| 691 |
- Iterator<Entry<String, MultipartFile>> it = files.entrySet().iterator(); |
|
| 692 |
- MultipartFile item; |
|
| 693 |
- List<Map<String, Object>> ret = new ArrayList<Map<String,Object>>(); |
|
| 694 |
- while (it.hasNext()) {
|
|
| 695 |
- Entry<String, MultipartFile> entry = it.next(); |
|
| 696 |
- |
|
| 697 |
- item = entry.getValue(); |
|
| 698 |
- |
|
| 699 |
- String fileId = searchVO.getAtchFileId() + "_" + String.valueOf(item.getOriginalFilename().hashCode()); |
|
| 700 |
- |
|
| 701 |
- Map<String, Object> fileInfo = new LinkedHashMap<String, Object>(); |
|
| 702 |
- File assembledFile = null; |
|
| 703 |
- fileInfo.put("name", item.getName());
|
|
| 704 |
- fileInfo.put("type", item.getContentType());
|
|
| 705 |
- File dir = new File(storageDir, fileId); |
|
| 706 |
- if (!dir.exists()) |
|
| 707 |
- dir.mkdir(); |
|
| 708 |
- if (fileFullLength < 0) { // File is not chunked
|
|
| 709 |
- fileInfo.put("size", item.getSize());
|
|
| 710 |
- assembledFile = new File(dir, item.getName()); |
|
| 711 |
- item.transferTo(assembledFile); |
|
| 712 |
- } else { // File is chunked
|
|
| 713 |
- byte[] bytes = item.getBytes(); |
|
| 714 |
- if (chunkFrom + bytes.length != chunkTo + 1) |
|
| 715 |
- throw new ServletException("Unexpected length of chunk: " + bytes.length +
|
|
| 716 |
- " != " + (chunkTo + 1) + " - " + chunkFrom); |
|
| 717 |
- saveChunk(dir, item.getName(), chunkFrom, bytes, fileFullLength); |
|
| 718 |
- TreeMap<Long, Long> chunkStartsToLengths = getChunkStartsToLengths(dir, item.getName()); |
|
| 719 |
- long lengthSoFar = getCommonLength(chunkStartsToLengths); |
|
| 720 |
- fileInfo.put("size", lengthSoFar);
|
|
| 721 |
- if (lengthSoFar == fileFullLength) {
|
|
| 722 |
- assembledFile = assembleAndDeleteChunks(dir, item.getName(), |
|
| 723 |
- new ArrayList<Long>(chunkStartsToLengths.keySet())); |
|
| 724 |
- } |
|
| 725 |
- } |
|
| 726 |
- if (assembledFile != null) {
|
|
| 727 |
- fileInfo.put("complete", true);
|
|
| 728 |
- fileInfo.put("serverPath", assembledFile.getAbsolutePath());
|
|
| 729 |
- // Here you can do something with fully assembled file. |
|
| 730 |
- } |
|
| 731 |
- ret.add(fileInfo); |
|
| 732 |
- }; |
|
| 733 |
- */ |
|
| 734 |
- |
|
| 735 |
- |
|
| 736 |
- int imgOrientation = 0; |
|
| 737 |
- |
|
| 738 |
- String range = multiRequest.getHeader("Content-Range");
|
|
| 739 |
- long maxChunkSize = searchVO.getMaxChunkSize(); |
|
| 740 |
- long fileFullLength = -1; |
|
| 741 |
- long chunkFrom = -1; |
|
| 742 |
- long chunkTo = -1; |
|
| 743 |
- if (range != null) {
|
|
| 744 |
- if (!range.startsWith("bytes "))
|
|
| 745 |
- throw new Exception("Unexpected range format: " + range);
|
|
| 746 |
- String[] fromToAndLength = range.substring(6).split(Pattern.quote("/"));
|
|
| 747 |
- fileFullLength = Long.parseLong(fromToAndLength[1]); |
|
| 748 |
- String[] fromAndTo = fromToAndLength[0].split(Pattern.quote("-"));
|
|
| 749 |
- chunkFrom = Long.parseLong(fromAndTo[0]); |
|
| 750 |
- chunkTo = Long.parseLong(fromAndTo[1]); |
|
| 751 |
- } |
|
| 752 |
- |
|
| 753 |
- |
|
| 754 |
- |
|
| 755 |
- String siteId = searchVO.getSiteId(); |
|
| 756 |
- if(EgovStringUtil.isEmpty(siteId)) {
|
|
| 757 |
- SiteManageVO siteVO = siteManageService.selectSiteServiceInfo(request); |
|
| 758 |
- siteId = siteVO.getSiteId(); |
|
| 759 |
- } |
|
| 760 |
- |
|
| 761 |
- if(EgovStringUtil.isEmpty(searchVO.getAtchFileId())) {
|
|
| 762 |
- searchVO.setAtchFileId(fileIdgenService.getNextStringId()); |
|
| 763 |
- } |
|
| 764 |
- |
|
| 765 |
- JsonResponse res = new JsonResponse(); |
|
| 766 |
- |
|
| 767 |
- if(!EgovStringUtil.isEmpty(siteId) && !EgovStringUtil.isEmpty(searchVO.getPathKey())) {
|
|
| 768 |
- String appendPath = searchVO.getSiteId(); |
|
| 769 |
- if(!EgovStringUtil.isEmpty(searchVO.getAppendPath())) {
|
|
| 770 |
- appendPath = appendPath + "/" + searchVO.getAppendPath(); |
|
| 771 |
- } |
|
| 772 |
- |
|
| 773 |
- ArrayList<FileVO> result = new ArrayList<FileVO>(); |
|
| 774 |
- |
|
| 775 |
- final Map<String, MultipartFile> files = multiRequest.getFileMap(); |
|
| 776 |
- |
|
| 777 |
- if(!files.isEmpty()) {
|
|
| 778 |
- //이미지일 경우, orientation 확인 - i클래스 |
|
| 779 |
- if(files.get("filesx") != null){
|
|
| 780 |
- File uploadImg = new File(files.get("filesx").getOriginalFilename());
|
|
| 781 |
- uploadImg.createNewFile(); |
|
| 782 |
- FileOutputStream fos = new FileOutputStream(uploadImg); |
|
| 783 |
- fos.write(files.get("filesx").getBytes());
|
|
| 784 |
- fos.close(); |
|
| 785 |
- |
|
| 786 |
- String fileType = uploadImg.getPath(); |
|
| 787 |
- String[] array = fileType.split("\\.");
|
|
| 788 |
- |
|
| 789 |
- if("jpg".equals(array[1]) || "jpeg".equals(array[1]) || "png".equals(array[1]) || "gif".equals(array[1])){
|
|
| 790 |
- imgOrientation = getOrientation(uploadImg); |
|
| 791 |
- } |
|
| 792 |
- } |
|
| 793 |
- |
|
| 794 |
- List<FileVO> fileList = fileUtil.parseFileInfV2(searchVO.getMaxMegaFileSize() * 1024 * 1024, files, "", 0, searchVO.getAtchFileId(), searchVO.getPathKey() + ".fileStorePath", searchVO.getPathKey() + ".fileStoreWebPath", appendPath, maxChunkSize, fileFullLength, chunkFrom, chunkTo); |
|
| 795 |
- if(!"Y".equals(searchVO.getIsNoTempFile())) {
|
|
| 796 |
- for(int i=0; i<fileList.size(); i++) {
|
|
| 797 |
- fileList.get(i).setOrientation(imgOrientation); |
|
| 798 |
- FileVO dbVO = fileMngService.insertTempFileInf(fileList.get(i)); |
|
| 799 |
- result.add(dbVO); |
|
| 800 |
- } |
|
| 801 |
- } else {
|
|
| 802 |
- int maxSn = fileMngService.getMaxFileSN(searchVO); |
|
| 803 |
- for(int i=0; i<fileList.size(); i++) {
|
|
| 804 |
- fileList.get(i).setFileSn(String.valueOf(maxSn + i)); |
|
| 805 |
- } |
|
| 806 |
- fileMngService.updateFileInfs(fileList); |
|
| 807 |
- result.addAll(fileList); |
|
| 808 |
- } |
|
| 809 |
- } |
|
| 810 |
- |
|
| 811 |
- res.setFiles(result); |
|
| 812 |
- |
|
| 813 |
- HashMap<String, Object> wireData = new HashMap<String, Object>(); |
|
| 814 |
- wireData.put("editorId", searchVO.getEditorId());
|
|
| 815 |
- if(result.size() > 0) {
|
|
| 816 |
- |
|
| 817 |
- FileVO totalInfoVO = fileMngService.selectFileDetailTotalInfo(result.get(0)); |
|
| 818 |
- wireData.put("totalFileMg", totalInfoVO.getTotalFileMg());
|
|
| 819 |
- wireData.put("totalFileCount", totalInfoVO.getTotalFileCount());
|
|
| 820 |
- } |
|
| 821 |
- |
|
| 822 |
- res.setWireData(wireData); |
|
| 823 |
- res.setSuccess(true); |
|
| 824 |
- } |
|
| 825 |
- |
|
| 826 |
- Gson gson = new Gson(); |
|
| 827 |
- |
|
| 828 |
- response.setContentType("text/javascript; charset=utf-8");
|
|
| 829 |
- PrintWriter printwriter = response.getWriter(); |
|
| 830 |
- printwriter.write(gson.toJson(res)); |
|
| 831 |
- printwriter.flush(); |
|
| 832 |
- printwriter.close(); |
|
| 833 |
- |
|
| 834 |
- } |
|
| 835 |
- |
|
| 836 |
- public static int getOrientation(File in) throws IOException {
|
|
| 837 |
- |
|
| 838 |
- int orientation = 1; |
|
| 839 |
- Metadata metadata; |
|
| 840 |
- Directory directory; |
|
| 841 |
- |
|
| 842 |
- try {
|
|
| 843 |
- metadata = ImageMetadataReader.readMetadata(in); |
|
| 844 |
- directory = metadata.getDirectory(ExifIFD0Directory.class); |
|
| 845 |
- if(directory != null){
|
|
| 846 |
- orientation = directory.getInt(ExifIFD0Directory.TAG_ORIENTATION); |
|
| 847 |
- } |
|
| 848 |
- } catch (ImageProcessingException e) {
|
|
| 849 |
- System.err.println("[ImgUtil] could not process image");
|
|
| 850 |
- e.printStackTrace(); |
|
| 851 |
- } catch (MetadataException e) {
|
|
| 852 |
- System.err.println("[ImgUtil] could not get orientation from image");
|
|
| 853 |
- e.printStackTrace(); |
|
| 854 |
- } |
|
| 855 |
- |
|
| 856 |
- return orientation; |
|
| 857 |
- } |
|
| 858 |
- |
|
| 859 |
- private static void saveChunk(File dir, String fileName, |
|
| 860 |
- long from, byte[] bytes, long fileFullLength) throws IOException {
|
|
| 861 |
- File target = new File(dir, fileName + "." + from + ".chunk"); |
|
| 862 |
- OutputStream os = new FileOutputStream(target); |
|
| 863 |
- try {
|
|
| 864 |
- os.write(bytes); |
|
| 865 |
- } finally {
|
|
| 866 |
- os.close(); |
|
| 867 |
- } |
|
| 868 |
- } |
|
| 869 |
- |
|
| 870 |
- private static TreeMap<Long, Long> getChunkStartsToLengths(File dir, |
|
| 871 |
- String fileName) throws IOException {
|
|
| 872 |
- TreeMap<Long, Long> chunkStartsToLengths = new TreeMap<Long, Long>(); |
|
| 873 |
- for (File f : dir.listFiles()) {
|
|
| 874 |
- String chunkFileName = f.getName(); |
|
| 875 |
- if (chunkFileName.startsWith(fileName + ".") && |
|
| 876 |
- chunkFileName.endsWith(".chunk")) {
|
|
| 877 |
- chunkStartsToLengths.put(Long.parseLong(chunkFileName.substring( |
|
| 878 |
- fileName.length() + 1, chunkFileName.length() - 6)), f.length()); |
|
| 879 |
- } |
|
| 880 |
- } |
|
| 881 |
- return chunkStartsToLengths; |
|
| 882 |
- } |
|
| 883 |
- |
|
| 884 |
- private static long getCommonLength(TreeMap<Long, Long> chunkStartsToLengths) {
|
|
| 885 |
- long ret = 0; |
|
| 886 |
- for (long len : chunkStartsToLengths.values()) |
|
| 887 |
- ret += len; |
|
| 888 |
- return ret; |
|
| 889 |
- } |
|
| 890 |
- |
|
| 891 |
- private static File assembleAndDeleteChunks(File dir, String fileName, |
|
| 892 |
- List<Long> chunkStarts) throws IOException {
|
|
| 893 |
- File assembledFile = new File(dir, fileName); |
|
| 894 |
- if (assembledFile.exists()) // In case chunks come in concurrent way |
|
| 895 |
- return assembledFile; |
|
| 896 |
- OutputStream assembledOs = new FileOutputStream(assembledFile); |
|
| 897 |
- byte[] buf = new byte[100000]; |
|
| 898 |
- try {
|
|
| 899 |
- for (long chunkFrom : chunkStarts) {
|
|
| 900 |
- File chunkFile = new File(dir, fileName + "." + chunkFrom + ".chunk"); |
|
| 901 |
- InputStream is = new FileInputStream(chunkFile); |
|
| 902 |
- try {
|
|
| 903 |
- while (true) {
|
|
| 904 |
- int r = is.read(buf); |
|
| 905 |
- if (r == -1) |
|
| 906 |
- break; |
|
| 907 |
- if (r > 0) |
|
| 908 |
- assembledOs.write(buf, 0, r); |
|
| 909 |
- } |
|
| 910 |
- } finally {
|
|
| 911 |
- is.close(); |
|
| 912 |
- } |
|
| 913 |
- chunkFile.delete(); |
|
| 914 |
- } |
|
| 915 |
- } finally {
|
|
| 916 |
- assembledOs.close(); |
|
| 917 |
- } |
|
| 918 |
- return assembledFile; |
|
| 919 |
- } |
|
| 920 |
- |
|
| 921 |
- /** |
|
| 922 |
- * 대용량파일을 삭제 처리한다. |
|
| 923 |
- * |
|
| 924 |
- * @param fileVO |
|
| 925 |
- * @return |
|
| 926 |
- * @throws Exception |
|
| 927 |
- */ |
|
| 928 |
- @RequestMapping("/cmm/fms/deleteStreamLongFileByAjax.do")
|
|
| 929 |
- public void deleteStreamLongFileByAjax(@ModelAttribute("searchVO") FileVO fileVO, HttpServletRequest request, HttpServletResponse response) throws Exception {
|
|
| 930 |
- |
|
| 931 |
- FileVO dbVO = fileMngService.deleteTempFileInf(fileVO); |
|
| 932 |
- |
|
| 933 |
- Gson gson = new Gson(); |
|
| 934 |
- JsonObject jObj = new JsonObject(); |
|
| 935 |
- |
|
| 936 |
- if(dbVO != null) {
|
|
| 937 |
- jObj.addProperty("delCount", "1");
|
|
| 938 |
- jObj.addProperty("atchFileId", dbVO.getAtchFileId());
|
|
| 939 |
- jObj.addProperty("fileSn", dbVO.getFileSn());
|
|
| 940 |
- |
|
| 941 |
- FileVO totalInfoVO = fileService.selectFileDetailTotalInfo(dbVO); |
|
| 942 |
- jObj.addProperty("totalFileMg", totalInfoVO.getTotalFileMg());
|
|
| 943 |
- jObj.addProperty("totalFileCount", totalInfoVO.getTotalFileCount());
|
|
| 944 |
- } else {
|
|
| 945 |
- jObj.addProperty("delCount", "0");
|
|
| 946 |
- } |
|
| 947 |
- |
|
| 948 |
- response.setContentType("text/javascript; charset=utf-8");
|
|
| 949 |
- PrintWriter printwriter = response.getWriter(); |
|
| 950 |
- printwriter.write(gson.toJson(jObj)); |
|
| 951 |
- printwriter.flush(); |
|
| 952 |
- printwriter.close(); |
|
| 953 |
- } |
|
| 954 |
- |
|
| 955 |
- /** |
|
| 956 |
- * 파일ID를 생성환다. |
|
| 957 |
- * |
|
| 958 |
- * @param fileVO |
|
| 959 |
- * @return |
|
| 960 |
- * @throws Exception |
|
| 961 |
- */ |
|
| 962 |
- @RequestMapping("/cmm/fms/selectFileIdByAjax.do")
|
|
| 963 |
- public void selectFileIdByAjax(@ModelAttribute("searchVO") FileVO fileVO, HttpServletRequest request, HttpServletResponse response) throws Exception {
|
|
| 964 |
- |
|
| 965 |
- Gson gson = new Gson(); |
|
| 966 |
- JsonObject jObj = new JsonObject(); |
|
| 967 |
- jObj.addProperty("atchFileId", fileIdgenService.getNextStringId());
|
|
| 968 |
- |
|
| 969 |
- response.setContentType("text/javascript; charset=utf-8");
|
|
| 970 |
- PrintWriter printwriter = response.getWriter(); |
|
| 971 |
- printwriter.write(gson.toJson(jObj)); |
|
| 972 |
- printwriter.flush(); |
|
| 973 |
- printwriter.close(); |
|
| 974 |
- } |
|
| 975 |
-} |
|
| 1 |
+package egovframework.com.cmm.web; |
|
| 2 |
+ |
|
| 3 |
+import java.io.File; |
|
| 4 |
+import java.io.FileInputStream; |
|
| 5 |
+import java.io.FileOutputStream; |
|
| 6 |
+import java.io.IOException; |
|
| 7 |
+import java.io.InputStream; |
|
| 8 |
+import java.io.OutputStream; |
|
| 9 |
+import java.io.PrintWriter; |
|
| 10 |
+import java.util.ArrayList; |
|
| 11 |
+import java.util.HashMap; |
|
| 12 |
+import java.util.List; |
|
| 13 |
+import java.util.Map; |
|
| 14 |
+import java.util.TreeMap; |
|
| 15 |
+import java.util.regex.Pattern; |
|
| 16 |
+ |
|
| 17 |
+import javax.annotation.Resource; |
|
| 18 |
+import javax.servlet.http.HttpServletRequest; |
|
| 19 |
+import javax.servlet.http.HttpServletResponse; |
|
| 20 |
+ |
|
| 21 |
+import org.apache.log4j.Logger; |
|
| 22 |
+import org.springframework.stereotype.Controller; |
|
| 23 |
+import org.springframework.ui.ModelMap; |
|
| 24 |
+import org.springframework.web.bind.annotation.ModelAttribute; |
|
| 25 |
+import org.springframework.web.bind.annotation.RequestMapping; |
|
| 26 |
+import org.springframework.web.bind.annotation.RequestMethod; |
|
| 27 |
+import org.springframework.web.bind.annotation.RequestParam; |
|
| 28 |
+import org.springframework.web.multipart.MultipartFile; |
|
| 29 |
+import org.springframework.web.multipart.MultipartHttpServletRequest; |
|
| 30 |
+ |
|
| 31 |
+import com.drew.imaging.ImageMetadataReader; |
|
| 32 |
+import com.drew.imaging.ImageProcessingException; |
|
| 33 |
+import com.drew.metadata.Directory; |
|
| 34 |
+import com.drew.metadata.Metadata; |
|
| 35 |
+import com.drew.metadata.MetadataException; |
|
| 36 |
+import com.drew.metadata.exif.ExifIFD0Directory; |
|
| 37 |
+import com.google.gson.Gson; |
|
| 38 |
+import com.google.gson.JsonObject; |
|
| 39 |
+ |
|
| 40 |
+import egovframework.com.cmm.service.EgovFileMngService; |
|
| 41 |
+import egovframework.com.cmm.service.EgovFileMngUtil; |
|
| 42 |
+import egovframework.com.cmm.service.FileVO; |
|
| 43 |
+import egovframework.com.cmm.service.JsonResponse; |
|
| 44 |
+import egovframework.com.sec.ram.security.userdetails.util.EgovUserDetailsHelper; |
|
| 45 |
+import egovframework.com.sym.sit.service.SiteManageService; |
|
| 46 |
+import egovframework.com.sym.sit.service.SiteManageVO; |
|
| 47 |
+import egovframework.com.uat.uia.service.LoginVO; |
|
| 48 |
+import egovframework.com.utl.fcc.service.EgovStringUtil; |
|
| 49 |
+import egovframework.rte.fdl.idgnr.EgovIdGnrService; |
|
| 50 |
+import egovframework.rte.fdl.property.EgovPropertyService; |
|
| 51 |
+import egovframework.rte.psl.dataaccess.util.EgovMap; |
|
| 52 |
+ |
|
| 53 |
+/** |
|
| 54 |
+ * 파일 조회, 삭제, 다운로드 처리를 위한 컨트롤러 클래스 |
|
| 55 |
+ * @author 공통서비스개발팀 이삼섭 |
|
| 56 |
+ * @since 2009.06.01 |
|
| 57 |
+ * @version 1.0 |
|
| 58 |
+ * @see |
|
| 59 |
+ * |
|
| 60 |
+ * <pre> |
|
| 61 |
+ * << 개정이력(Modification Information) >> |
|
| 62 |
+ * |
|
| 63 |
+ * 수정일 수정자 수정내용 |
|
| 64 |
+ * ------- -------- --------------------------- |
|
| 65 |
+ * 2009.3.25 이삼섭 최초 생성 |
|
| 66 |
+ * |
|
| 67 |
+ * </pre> |
|
| 68 |
+ */ |
|
| 69 |
+@Controller |
|
| 70 |
+public class EgovFileMngController {
|
|
| 71 |
+ |
|
| 72 |
+ @Resource(name = "EgovFileMngService") |
|
| 73 |
+ private EgovFileMngService fileService; |
|
| 74 |
+ |
|
| 75 |
+ @Resource(name = "EgovFileMngUtil") |
|
| 76 |
+ private EgovFileMngUtil fileUtil; |
|
| 77 |
+ |
|
| 78 |
+ @Resource(name = "EgovFileMngService") |
|
| 79 |
+ private EgovFileMngService fileMngService; |
|
| 80 |
+ |
|
| 81 |
+ @Resource(name = "siteManageService") |
|
| 82 |
+ SiteManageService siteManageService; |
|
| 83 |
+ |
|
| 84 |
+ @Resource(name = "propertiesService") |
|
| 85 |
+ protected EgovPropertyService propertiesService; |
|
| 86 |
+ |
|
| 87 |
+ @Resource(name = "egovFileIdGnrService") |
|
| 88 |
+ private EgovIdGnrService fileIdgenService; |
|
| 89 |
+ |
|
| 90 |
+ Logger log = Logger.getLogger(this.getClass()); |
|
| 91 |
+ |
|
| 92 |
+ /** |
|
| 93 |
+ * 첨부파일에 대한 목록을 조회한다. |
|
| 94 |
+ * |
|
| 95 |
+ * @param fileVO |
|
| 96 |
+ * @param atchFileId |
|
| 97 |
+ * @param sessionVO |
|
| 98 |
+ * @param model |
|
| 99 |
+ * @return |
|
| 100 |
+ * @throws Exception |
|
| 101 |
+ */ |
|
| 102 |
+ @RequestMapping("/cmm/fms/selectFileInfs.do")
|
|
| 103 |
+ public String selectFileInfs(HttpServletRequest request, @ModelAttribute("searchVO") FileVO fileVO, @RequestParam("param_atchFileId") String param_atchFileId, ModelMap model) throws Exception {
|
|
| 104 |
+ String returnUrl = "cmm/fms/EgovFileList"; |
|
| 105 |
+ String atchFileId = param_atchFileId; |
|
| 106 |
+ String viewDivision = request.getParameter("viewDivision") == null ? "" : request.getParameter("viewDivision").toString();
|
|
| 107 |
+ if("staff".equals(viewDivision)){
|
|
| 108 |
+ returnUrl = "cmm/fms/EgovStaffFileList"; |
|
| 109 |
+ }else{
|
|
| 110 |
+ model.addAttribute("updateFlag", "N");
|
|
| 111 |
+ } |
|
| 112 |
+ |
|
| 113 |
+ fileVO.setAtchFileId(atchFileId); |
|
| 114 |
+ List<FileVO> result = fileService.selectFileInfs(fileVO); |
|
| 115 |
+ |
|
| 116 |
+ |
|
| 117 |
+ model.addAttribute("fileList", result);
|
|
| 118 |
+ model.addAttribute("fileListCnt", result.size());
|
|
| 119 |
+ model.addAttribute("atchFileId", atchFileId);
|
|
| 120 |
+ model.addAttribute("webPath", propertiesService.getString("web.path"));
|
|
| 121 |
+ |
|
| 122 |
+ return "cmm/fms/EgovFileList"; |
|
| 123 |
+ } |
|
| 124 |
+ |
|
| 125 |
+ /** |
|
| 126 |
+ * 자료요청 완료 첨부파일에 대한 목록을 조회한다. |
|
| 127 |
+ * |
|
| 128 |
+ * @param fileVO |
|
| 129 |
+ * @param atchFileId |
|
| 130 |
+ * @param sessionVO |
|
| 131 |
+ * @param model |
|
| 132 |
+ * @return |
|
| 133 |
+ * @throws Exception |
|
| 134 |
+ */ |
|
| 135 |
+ @RequestMapping("/cmm/fms/selectDtaResFileInfs.do")
|
|
| 136 |
+ public String selectDtaResFileInfs(@ModelAttribute("searchVO") FileVO fileVO, @RequestParam("param_atchFileId") String param_atchFileId, ModelMap model) throws Exception {
|
|
| 137 |
+ String atchFileId = param_atchFileId; |
|
| 138 |
+ |
|
| 139 |
+ fileVO.setAtchFileId(atchFileId); |
|
| 140 |
+ List<FileVO> result = fileService.selectFileInfs(fileVO); |
|
| 141 |
+ |
|
| 142 |
+ model.addAttribute("fileList", result);
|
|
| 143 |
+ model.addAttribute("updateFlag", "N");
|
|
| 144 |
+ model.addAttribute("fileListCnt", result.size());
|
|
| 145 |
+ model.addAttribute("atchFileId", atchFileId);
|
|
| 146 |
+ |
|
| 147 |
+ return "cmm/fms/EgovDtaResFileList"; |
|
| 148 |
+ } |
|
| 149 |
+ |
|
| 150 |
+ /** |
|
| 151 |
+ * 첨부파일 변경을 위한 수정페이지로 이동한다. |
|
| 152 |
+ * |
|
| 153 |
+ * @param fileVO |
|
| 154 |
+ * @param atchFileId |
|
| 155 |
+ * @param sessionVO |
|
| 156 |
+ * @param model |
|
| 157 |
+ * @return |
|
| 158 |
+ * @throws Exception |
|
| 159 |
+ */ |
|
| 160 |
+ @RequestMapping("/cmm/fms/selectFileInfsForUpdate.do")
|
|
| 161 |
+ public String selectFileInfsForUpdate(HttpServletRequest request, |
|
| 162 |
+ HttpServletResponse response, @ModelAttribute("searchVO") FileVO fileVO, @RequestParam("param_atchFileId") String param_atchFileId,
|
|
| 163 |
+ //SessionVO sessionVO, |
|
| 164 |
+ ModelMap model) throws Exception {
|
|
| 165 |
+ |
|
| 166 |
+ String atchFileId = param_atchFileId; |
|
| 167 |
+ String returnUrl = "cmm/fms/EgovFileList"; |
|
| 168 |
+ String viewDivision = request.getParameter("viewDivision") == null ? "" : request.getParameter("viewDivision").toString();
|
|
| 169 |
+ if("staff".equals(viewDivision)){
|
|
| 170 |
+ returnUrl = "cmm/fms/EgovStaffFileList"; |
|
| 171 |
+ } |
|
| 172 |
+ |
|
| 173 |
+ if(!EgovStringUtil.isEmpty(atchFileId)) {
|
|
| 174 |
+ fileVO.setAtchFileId(atchFileId); |
|
| 175 |
+ |
|
| 176 |
+ List<FileVO> result = fileService.selectFileInfs(fileVO); |
|
| 177 |
+ |
|
| 178 |
+ model.addAttribute("fileList", result);
|
|
| 179 |
+ model.addAttribute("fileListCnt", result.size());
|
|
| 180 |
+ model.addAttribute("atchFileId", atchFileId);
|
|
| 181 |
+ } |
|
| 182 |
+ |
|
| 183 |
+ model.addAttribute("updateFlag", "Y");
|
|
| 184 |
+ |
|
| 185 |
+ return returnUrl; |
|
| 186 |
+ } |
|
| 187 |
+ |
|
| 188 |
+ /** |
|
| 189 |
+ * 첨부파일에 대한 삭제를 처리한다. |
|
| 190 |
+ * |
|
| 191 |
+ * @param fileVO |
|
| 192 |
+ * @param returnUrl |
|
| 193 |
+ * @param sessionVO |
|
| 194 |
+ * @param model |
|
| 195 |
+ * @return |
|
| 196 |
+ * @throws Exception |
|
| 197 |
+ */ |
|
| 198 |
+ @RequestMapping("/cmm/fms/deleteFileInfs.do")
|
|
| 199 |
+ public String deleteFileInf(@ModelAttribute("searchVO") FileVO fileVO, @RequestParam("returnUrl") String returnUrl,
|
|
| 200 |
+ HttpServletRequest request, |
|
| 201 |
+ HttpServletResponse response, |
|
| 202 |
+ ModelMap model) throws Exception {
|
|
| 203 |
+ |
|
| 204 |
+ Boolean isAuthenticated = true;//EgovUserDetailsHelper.isAuthenticated(request, response); |
|
| 205 |
+ |
|
| 206 |
+ if (isAuthenticated) {
|
|
| 207 |
+ fileService.deleteFileInf(fileVO); |
|
| 208 |
+ } |
|
| 209 |
+ |
|
| 210 |
+ |
|
| 211 |
+ if (!EgovStringUtil.isEmpty(returnUrl)) {
|
|
| 212 |
+ return "redirect:" + returnUrl; |
|
| 213 |
+ } else {
|
|
| 214 |
+ return "redirect:/"; |
|
| 215 |
+ } |
|
| 216 |
+ |
|
| 217 |
+ } |
|
| 218 |
+ |
|
| 219 |
+ /** |
|
| 220 |
+ * 첨부파일에 대한 삭제를 처리한다. |
|
| 221 |
+ * |
|
| 222 |
+ * @param fileVO |
|
| 223 |
+ * @param returnUrl |
|
| 224 |
+ * @param sessionVO |
|
| 225 |
+ * @param model |
|
| 226 |
+ * @return |
|
| 227 |
+ * @throws Exception |
|
| 228 |
+ */ |
|
| 229 |
+ @RequestMapping("/cmm/fms/deleteFileInfByAjax.do")
|
|
| 230 |
+ public void deleteFileInfByJson(@ModelAttribute("searchVO") FileVO fileVO,
|
|
| 231 |
+ HttpServletRequest request, |
|
| 232 |
+ HttpServletResponse response, |
|
| 233 |
+ ModelMap model) throws Exception {
|
|
| 234 |
+ |
|
| 235 |
+ int iCount = fileService.deleteFileInf(fileVO); |
|
| 236 |
+ |
|
| 237 |
+ Gson gson = new Gson(); |
|
| 238 |
+ JsonObject jObj = new JsonObject(); |
|
| 239 |
+ |
|
| 240 |
+ if(iCount != 0) {
|
|
| 241 |
+ jObj.addProperty("delCount", iCount);
|
|
| 242 |
+ jObj.addProperty("atchFileId", fileVO.getAtchFileId());
|
|
| 243 |
+ jObj.addProperty("fileSn", fileVO.getFileSn());
|
|
| 244 |
+ } else {
|
|
| 245 |
+ jObj.addProperty("delCount", "0");
|
|
| 246 |
+ } |
|
| 247 |
+ |
|
| 248 |
+ FileVO totalInfoVO = fileService.selectFileDetailTotalInfo(fileVO); |
|
| 249 |
+ jObj.addProperty("totalFileMg", totalInfoVO.getTotalFileMg());
|
|
| 250 |
+ jObj.addProperty("totalFileCount", totalInfoVO.getTotalFileCount());
|
|
| 251 |
+ |
|
| 252 |
+ response.setContentType("text/javascript; charset=utf-8");
|
|
| 253 |
+ PrintWriter printwriter = response.getWriter(); |
|
| 254 |
+ printwriter.write(gson.toJson(jObj)); |
|
| 255 |
+ printwriter.flush(); |
|
| 256 |
+ printwriter.close(); |
|
| 257 |
+ |
|
| 258 |
+ } |
|
| 259 |
+ |
|
| 260 |
+ /** |
|
| 261 |
+ * 이미지 첨부파일에 대한 목록을 조회한다. |
|
| 262 |
+ * |
|
| 263 |
+ * @param fileVO |
|
| 264 |
+ * @param atchFileId |
|
| 265 |
+ * @param sessionVO |
|
| 266 |
+ * @param model |
|
| 267 |
+ * @return |
|
| 268 |
+ * @throws Exception |
|
| 269 |
+ */ |
|
| 270 |
+ @RequestMapping("/cmm/fms/selectImageFileInfs.do")
|
|
| 271 |
+ public String selectImageFileInfs(@ModelAttribute("searchVO") FileVO fileVO,
|
|
| 272 |
+ //SessionVO sessionVO, |
|
| 273 |
+ ModelMap model) throws Exception {
|
|
| 274 |
+ |
|
| 275 |
+ String atchFileId = fileVO.getAtchFileId(); |
|
| 276 |
+ |
|
| 277 |
+ fileVO.setAtchFileId(atchFileId); |
|
| 278 |
+ List<FileVO> result = fileService.selectImageFileList(fileVO); |
|
| 279 |
+ |
|
| 280 |
+ model.addAttribute("fileList", result);
|
|
| 281 |
+ |
|
| 282 |
+ return "cmm/fms/EgovImgFileList"; |
|
| 283 |
+ } |
|
| 284 |
+ |
|
| 285 |
+ /** |
|
| 286 |
+ * 대용량파일을 Upload 처리한다. |
|
| 287 |
+ * |
|
| 288 |
+ * @param fileVO |
|
| 289 |
+ * @return |
|
| 290 |
+ * @throws Exception |
|
| 291 |
+ *//* |
|
| 292 |
+ @RequestMapping("/cmm/fms/uploadStreamLongFiles.do")
|
|
| 293 |
+ public void uploadStreamLongFiles(@ModelAttribute("searchVO") FileVO fileVO, @CommandMap Map<String, Object> commandMap, HttpServletRequest request, HttpServletResponse response) throws Exception {
|
|
| 294 |
+ |
|
| 295 |
+ String siteId = (String)commandMap.get("siteId");
|
|
| 296 |
+ if(EgovStringUtil.isEmpty(siteId)) {
|
|
| 297 |
+ SiteManageVO siteVO = siteManageService.selectSiteServiceInfo(request); |
|
| 298 |
+ siteId = siteVO.getSiteId(); |
|
| 299 |
+ } |
|
| 300 |
+ |
|
| 301 |
+ String strErrorMessage = ""; |
|
| 302 |
+ boolean isSaveOk = false; |
|
| 303 |
+ |
|
| 304 |
+ //String uploadType = (String)commandMap.get("uploadType");
|
|
| 305 |
+ String pathKey = (String)commandMap.get("pathKey");
|
|
| 306 |
+ String appendPath = (String)commandMap.get("appendPath");
|
|
| 307 |
+ String first = (String)commandMap.get("first");
|
|
| 308 |
+ String last = (String)commandMap.get("last");
|
|
| 309 |
+ |
|
| 310 |
+ String isEdit = (String)commandMap.get("isEdit");
|
|
| 311 |
+ String isTempEdit = (String)commandMap.get("isTempEdit");
|
|
| 312 |
+ |
|
| 313 |
+ boolean firstChunk = Boolean.parseBoolean(first); |
|
| 314 |
+ boolean lastChunk = Boolean.parseBoolean(last); |
|
| 315 |
+ boolean edit = Boolean.parseBoolean(isEdit); |
|
| 316 |
+ boolean tempEdit = Boolean.parseBoolean(isTempEdit); |
|
| 317 |
+ |
|
| 318 |
+ fileVO.setFileStreCours(propertiesService.getString(pathKey) + File.separator + siteId + File.separator + appendPath); |
|
| 319 |
+ |
|
| 320 |
+ FileVO resultVO = fileUtil.uploadStreamLongFiles(request.getInputStream(), fileVO, firstChunk, lastChunk); |
|
| 321 |
+ |
|
| 322 |
+ if(resultVO == null) {
|
|
| 323 |
+ strErrorMessage = "등록할 수 없는 파일입니다."; |
|
| 324 |
+ } else {
|
|
| 325 |
+ if(lastChunk) {
|
|
| 326 |
+ |
|
| 327 |
+ File file = new File(fileVO.getFileStreCours() + File.separator + fileVO.getStreFileNm()); |
|
| 328 |
+ // =================================== 웹필터 적용 시작 ====================================================================== |
|
| 329 |
+ String wfServerAddress = propertiesService.getString("WebFilterIP"); // 웹필터 아이피 세팅
|
|
| 330 |
+ //String wfFileName = file.getFileName(); // 실제 파일명 세팅 |
|
| 331 |
+ String wfFileName = file.getName(); |
|
| 332 |
+ |
|
| 333 |
+ Socket s = null; |
|
| 334 |
+ boolean byPass = false; |
|
| 335 |
+ boolean denyFlag = false; |
|
| 336 |
+ |
|
| 337 |
+ int pos = wfFileName.lastIndexOf( "." ); |
|
| 338 |
+ String ext = wfFileName.substring( pos + 1 ); |
|
| 339 |
+ if(!"jpg".equals(ext) && !"gif".equals(ext) && !"bmp".equals(ext) && !"png".equals(ext) && !"psd".equals(ext) && !"pdd".equals(ext) && !"tif".equals(ext) && !"raw".equals(ext) && !"ai".equals(ext) && !"eps".equals(ext) && !"pcx".equals(ext) && !"pct".equals(ext) && !"pic".equals(ext) && !"pxr".equals(ext) && !"tga".equals(ext) && |
|
| 340 |
+ !"wav".equals(ext) && !"ogg".equals(ext) && !"mp3".equals(ext) && !"wma".equals(ext) && !"au".equals(ext) && !"mid".equals(ext) && |
|
| 341 |
+ !"avi".equals(ext) && !"mpg".equals(ext) && !"mpeg".equals(ext) && !"mpe".equals(ext) && !"wmv".equals(ext) && !"asf".equals(ext) && !"asx".equals(ext) && !"flv".equals(ext) && !"rm".equals(ext) && !"mov".equals(ext) && !"dat".equals(ext) && |
|
| 342 |
+ !"vob".equals(ext) && !"m2v".equals(ext) && !"mkv".equals(ext) && !"mp4".equals(ext)){
|
|
| 343 |
+ |
|
| 344 |
+ try{
|
|
| 345 |
+ s = new Socket(); |
|
| 346 |
+ SocketAddress remoteAddr = new InetSocketAddress(wfServerAddress, 80); |
|
| 347 |
+ s.connect(remoteAddr, 5000); |
|
| 348 |
+ }catch(Exception e){
|
|
| 349 |
+ byPass = true; |
|
| 350 |
+ } |
|
| 351 |
+ |
|
| 352 |
+ if(!byPass){
|
|
| 353 |
+ // 웹필터 처리 |
|
| 354 |
+ try{
|
|
| 355 |
+ URL targetURL = new URL("http://"+wfServerAddress+"/webfilterSubmitAction.do?serverDomain_="+request.getServerName()+"&serverPort_=&writeFormName_=fileForm&serverProtocol_=http:&WFcharSet_=euc-kr&WFOrgAction_=/fileUpload.do&WFlistUrl_=/board/record/list.do");
|
|
| 356 |
+ HttpURLConnection conn = (HttpURLConnection)targetURL.openConnection(); |
|
| 357 |
+ |
|
| 358 |
+ String delimeter = "------------ei4gL6Ij5ei4GI3Ij5Ij5gL6cH2Ef1"; |
|
| 359 |
+ |
|
| 360 |
+ byte[] newLineBytes = "\r\n".getBytes(); |
|
| 361 |
+ byte[] delimeterBytes = delimeter.getBytes(); |
|
| 362 |
+ byte[] dispositionBytes = "Content-Disposition: form-data; name=".getBytes(); |
|
| 363 |
+ byte[] nameBytes = "filename".getBytes(); |
|
| 364 |
+ byte[] fileBytes = "file".getBytes(); |
|
| 365 |
+ byte[] quotationBytes = "\"".getBytes(); |
|
| 366 |
+ byte[] contentTypeBytes = "Content-Type: application/octet-stream".getBytes(); |
|
| 367 |
+ byte[] fileNameBytes = "; filename=".getBytes(); |
|
| 368 |
+ byte[] twoDashBytes = "--".getBytes(); |
|
| 369 |
+ |
|
| 370 |
+ conn.setRequestMethod("POST");
|
|
| 371 |
+ conn.setRequestProperty("Content-Type", "multipart/form-data; boundary="+delimeter);
|
|
| 372 |
+ conn.setDoInput(true); |
|
| 373 |
+ conn.setDoOutput(true); |
|
| 374 |
+ conn.setUseCaches(false); |
|
| 375 |
+ |
|
| 376 |
+ BufferedOutputStream bos = null; |
|
| 377 |
+ BufferedInputStream bis = null; |
|
| 378 |
+ try{
|
|
| 379 |
+ bos = new BufferedOutputStream(conn.getOutputStream()); |
|
| 380 |
+ |
|
| 381 |
+ bos.write(twoDashBytes); |
|
| 382 |
+ bos.write(delimeterBytes); |
|
| 383 |
+ bos.write(newLineBytes); |
|
| 384 |
+ bos.write(dispositionBytes); |
|
| 385 |
+ bos.write(quotationBytes); |
|
| 386 |
+ bos.write(nameBytes); |
|
| 387 |
+ bos.write(quotationBytes); |
|
| 388 |
+ bos.write(newLineBytes); |
|
| 389 |
+ bos.write(newLineBytes); |
|
| 390 |
+ bos.write(fileBytes); |
|
| 391 |
+ bos.write(newLineBytes); |
|
| 392 |
+ |
|
| 393 |
+ bos.write(twoDashBytes); |
|
| 394 |
+ bos.write(delimeterBytes); |
|
| 395 |
+ bos.write(newLineBytes); |
|
| 396 |
+ |
|
| 397 |
+ bos.write(dispositionBytes); |
|
| 398 |
+ bos.write(quotationBytes); |
|
| 399 |
+ bos.write(fileNameBytes); |
|
| 400 |
+ bos.write(quotationBytes); |
|
| 401 |
+ bos.write(wfFileName.getBytes()); |
|
| 402 |
+ bos.write(quotationBytes); |
|
| 403 |
+ bos.write(newLineBytes); |
|
| 404 |
+ bos.write(contentTypeBytes); |
|
| 405 |
+ bos.write(newLineBytes); |
|
| 406 |
+ bos.write(newLineBytes); |
|
| 407 |
+ |
|
| 408 |
+ bis = new BufferedInputStream(new FileInputStream(file)); //실제파일 read 부분 |
|
| 409 |
+ byte[] fileBuffer = new byte[1024 * 8]; |
|
| 410 |
+ int len = -1; |
|
| 411 |
+ while((len = bis.read(fileBuffer)) != -1){
|
|
| 412 |
+ bos.write(fileBuffer, 0, len); |
|
| 413 |
+ } |
|
| 414 |
+ bos.write(newLineBytes); |
|
| 415 |
+ bos.write(twoDashBytes); |
|
| 416 |
+ bos.write(delimeterBytes); |
|
| 417 |
+ bos.write(twoDashBytes); |
|
| 418 |
+ bos.write(newLineBytes); |
|
| 419 |
+ bos.flush(); |
|
| 420 |
+ |
|
| 421 |
+ }catch(Exception e){
|
|
| 422 |
+ |
|
| 423 |
+ }finally{
|
|
| 424 |
+ if(bos != null) bos.close(); |
|
| 425 |
+ if(bis != null) bis.close(); |
|
| 426 |
+ } |
|
| 427 |
+ |
|
| 428 |
+ BufferedInputStream bisConn = null; |
|
| 429 |
+ try {
|
|
| 430 |
+ bisConn = new BufferedInputStream(conn.getInputStream()); |
|
| 431 |
+ StringBuffer sb = new StringBuffer(); |
|
| 432 |
+ int iChar; |
|
| 433 |
+ |
|
| 434 |
+ while((iChar = bisConn.read()) > -1){
|
|
| 435 |
+ sb.append((char)iChar); |
|
| 436 |
+ } |
|
| 437 |
+ |
|
| 438 |
+ if(sb.toString().indexOf("/getCleanBoardErrorFile") > -1){
|
|
| 439 |
+ // 웹필터 차단 |
|
| 440 |
+ denyFlag = true; |
|
| 441 |
+ } |
|
| 442 |
+ }catch(Exception e){
|
|
| 443 |
+ |
|
| 444 |
+ }finally{
|
|
| 445 |
+ if(bisConn != null) bisConn.close(); |
|
| 446 |
+ } |
|
| 447 |
+ |
|
| 448 |
+ }catch(Exception e){
|
|
| 449 |
+ } |
|
| 450 |
+ |
|
| 451 |
+ } |
|
| 452 |
+ |
|
| 453 |
+ if(s!=null) {
|
|
| 454 |
+ try {
|
|
| 455 |
+ s.close(); |
|
| 456 |
+ } catch(Exception ex) {
|
|
| 457 |
+ |
|
| 458 |
+ }finally{
|
|
| 459 |
+ if(s != null) s.close(); |
|
| 460 |
+ } |
|
| 461 |
+ } |
|
| 462 |
+ |
|
| 463 |
+ } |
|
| 464 |
+ // =================================== 웹필터 적용 끝 ====================================================================== |
|
| 465 |
+ |
|
| 466 |
+ if(!denyFlag){ // 웹필터 차단여부 확인
|
|
| 467 |
+ |
|
| 468 |
+ //정상부분처리 |
|
| 469 |
+ isSaveOk = true; |
|
| 470 |
+ |
|
| 471 |
+ }else{ // 웹필터 if else
|
|
| 472 |
+ |
|
| 473 |
+ // 차단 파일 처리(응답부분 수정 필요) |
|
| 474 |
+ strErrorMessage = "개인정보가 유출될 수 있는 파일입니다."; |
|
| 475 |
+ |
|
| 476 |
+ } |
|
| 477 |
+ |
|
| 478 |
+ } |
|
| 479 |
+ } |
|
| 480 |
+ |
|
| 481 |
+ if(isSaveOk) {
|
|
| 482 |
+ FileVO dbVO = fileMngService.insertTempFileInf(resultVO); |
|
| 483 |
+ |
|
| 484 |
+ if(edit) {
|
|
| 485 |
+ if(tempEdit) {
|
|
| 486 |
+ FileVO delVO = fileMngService.selectTempFileInfByAtchFileIdAndFileSn(resultVO); |
|
| 487 |
+ if(delVO != null) {
|
|
| 488 |
+ fileMngService.deleteTempFileInf(delVO); |
|
| 489 |
+ } |
|
| 490 |
+ } else {
|
|
| 491 |
+ fileMngService.deleteFileInf(resultVO); |
|
| 492 |
+ } |
|
| 493 |
+ } |
|
| 494 |
+ |
|
| 495 |
+ Gson gson = new Gson(); |
|
| 496 |
+ JsonObject jObj = new JsonObject(); |
|
| 497 |
+ |
|
| 498 |
+ jObj.addProperty("SiteId", siteId);
|
|
| 499 |
+ jObj.addProperty("AppendPath", appendPath);
|
|
| 500 |
+ jObj.addProperty("AtchFileId", dbVO.getAtchFileId());
|
|
| 501 |
+ jObj.addProperty("TmprFileId", dbVO.getTmprFileId());
|
|
| 502 |
+ jObj.addProperty("FileName", dbVO.getOrignlFileNm());
|
|
| 503 |
+ jObj.addProperty("StreFileNm", dbVO.getStreFileNm() + "." + dbVO.getFileExtsn());
|
|
| 504 |
+ jObj.addProperty("FileSn", dbVO.getFileSn());
|
|
| 505 |
+ jObj.addProperty("OriginFileSn", resultVO.getFileSn());
|
|
| 506 |
+ jObj.addProperty("FileSize", dbVO.getFileMg());
|
|
| 507 |
+ jObj.addProperty("IsEdit", isEdit);
|
|
| 508 |
+ jObj.addProperty("IsTempEdit", isTempEdit);
|
|
| 509 |
+ FileVO totalInfoVO = fileMngService.selectFileDetailTotalInfo(dbVO); |
|
| 510 |
+ jObj.addProperty("TotalFileMg", totalInfoVO.getTotalFileMg());
|
|
| 511 |
+ jObj.addProperty("TotalFileCount", totalInfoVO.getTotalFileCount());
|
|
| 512 |
+ |
|
| 513 |
+ jObj.addProperty("ErrorMessage", "");
|
|
| 514 |
+ |
|
| 515 |
+ response.setContentType("text/javascript; charset=utf-8");
|
|
| 516 |
+ PrintWriter printwriter = response.getWriter(); |
|
| 517 |
+ printwriter.write(gson.toJson(jObj)); |
|
| 518 |
+ printwriter.flush(); |
|
| 519 |
+ printwriter.close(); |
|
| 520 |
+ } else if(!EgovStringUtil.isEmpty(strErrorMessage)) {
|
|
| 521 |
+ Gson gson = new Gson(); |
|
| 522 |
+ JsonObject jObj = new JsonObject(); |
|
| 523 |
+ jObj.addProperty("SiteId", siteId);
|
|
| 524 |
+ jObj.addProperty("AppendPath", appendPath);
|
|
| 525 |
+ jObj.addProperty("AtchFileId", resultVO.getAtchFileId());
|
|
| 526 |
+ jObj.addProperty("TmprFileId", resultVO.getTmprFileId());
|
|
| 527 |
+ jObj.addProperty("FileName", resultVO.getOrignlFileNm());
|
|
| 528 |
+ jObj.addProperty("StreFileNm", resultVO.getStreFileNm() + "." + resultVO.getFileExtsn());
|
|
| 529 |
+ jObj.addProperty("FileSn", resultVO.getFileSn());
|
|
| 530 |
+ jObj.addProperty("OriginFileSn", resultVO.getFileSn());
|
|
| 531 |
+ jObj.addProperty("FileSize", resultVO.getFileMg());
|
|
| 532 |
+ jObj.addProperty("IsEdit", isEdit);
|
|
| 533 |
+ jObj.addProperty("IsTempEdit", isTempEdit);
|
|
| 534 |
+ jObj.addProperty("TotalFileMg", "0");
|
|
| 535 |
+ jObj.addProperty("TotalFileCount", "0");
|
|
| 536 |
+ |
|
| 537 |
+ jObj.addProperty("ErrorMessage", strErrorMessage);
|
|
| 538 |
+ |
|
| 539 |
+ response.setContentType("text/javascript; charset=utf-8");
|
|
| 540 |
+ PrintWriter printwriter = response.getWriter(); |
|
| 541 |
+ printwriter.write(gson.toJson(jObj)); |
|
| 542 |
+ printwriter.flush(); |
|
| 543 |
+ printwriter.close(); |
|
| 544 |
+ } |
|
| 545 |
+ }*/ |
|
| 546 |
+ |
|
| 547 |
+ |
|
| 548 |
+ /* |
|
| 549 |
+ @RequestMapping(value = "/cmm/fms/upload.do", method = RequestMethod.POST) |
|
| 550 |
+ public void upload(final MultipartHttpServletRequest multiRequest, @ModelAttribute("searchVO") FileVO searchVO, Map<String, Object> commandMap, HttpServletRequest request, HttpServletResponse response) throws Exception {
|
|
| 551 |
+ |
|
| 552 |
+ String range = multiRequest.getHeader("Content-Range");
|
|
| 553 |
+ long fileFullLength = -1; |
|
| 554 |
+ long chunkFrom = -1; |
|
| 555 |
+ long chunkTo = -1; |
|
| 556 |
+ if (range != null) {
|
|
| 557 |
+ if (!range.startsWith("bytes "))
|
|
| 558 |
+ throw new Exception("Unexpected range format: " + range);
|
|
| 559 |
+ String[] fromToAndLength = range.substring(6).split(Pattern.quote("/"));
|
|
| 560 |
+ fileFullLength = Long.parseLong(fromToAndLength[1]); |
|
| 561 |
+ String[] fromAndTo = fromToAndLength[0].split(Pattern.quote("-"));
|
|
| 562 |
+ chunkFrom = Long.parseLong(fromAndTo[0]); |
|
| 563 |
+ chunkTo = Long.parseLong(fromAndTo[1]); |
|
| 564 |
+ } |
|
| 565 |
+ |
|
| 566 |
+ |
|
| 567 |
+ |
|
| 568 |
+ String siteId = searchVO.getSiteId(); |
|
| 569 |
+ if(EgovStringUtil.isEmpty(siteId)) {
|
|
| 570 |
+ SiteManageVO siteVO = siteManageService.selectSiteServiceInfo(request); |
|
| 571 |
+ siteId = siteVO.getSiteId(); |
|
| 572 |
+ } |
|
| 573 |
+ |
|
| 574 |
+ if(EgovStringUtil.isEmpty(searchVO.getAtchFileId())) {
|
|
| 575 |
+ searchVO.setAtchFileId(fileIdgenService.getNextStringId()); |
|
| 576 |
+ } |
|
| 577 |
+ |
|
| 578 |
+ JsonResponse res = new JsonResponse(); |
|
| 579 |
+ |
|
| 580 |
+ if(!EgovStringUtil.isEmpty(siteId) && !EgovStringUtil.isEmpty(searchVO.getPathKey())) {
|
|
| 581 |
+ String appendPath = searchVO.getSiteId(); |
|
| 582 |
+ if(!EgovStringUtil.isEmpty(searchVO.getAppendPath())) {
|
|
| 583 |
+ appendPath = appendPath + "/" + searchVO.getAppendPath(); |
|
| 584 |
+ } |
|
| 585 |
+ |
|
| 586 |
+ ArrayList<FileVO> result = new ArrayList<FileVO>(); |
|
| 587 |
+ |
|
| 588 |
+ final Map<String, MultipartFile> files = multiRequest.getFileMap(); |
|
| 589 |
+ if(!files.isEmpty()) {
|
|
| 590 |
+ List<FileVO> fileList = fileUtil.parseFileInfV1(searchVO.getMaxMegaFileSize() * 1024 * 1024, files, "", 0, searchVO.getAtchFileId(), searchVO.getPathKey() + ".fileStorePath", searchVO.getPathKey() + ".fileStoreWebPath", appendPath); |
|
| 591 |
+ if(!"Y".equals(searchVO.getIsNoTempFile())) {
|
|
| 592 |
+ for(int i=0; i<fileList.size(); i++) {
|
|
| 593 |
+ FileVO dbVO = fileMngService.insertTempFileInf(fileList.get(i)); |
|
| 594 |
+ result.add(dbVO); |
|
| 595 |
+ } |
|
| 596 |
+ } else {
|
|
| 597 |
+ int maxSn = fileMngService.getMaxFileSN(searchVO); |
|
| 598 |
+ for(int i=0; i<fileList.size(); i++) {
|
|
| 599 |
+ fileList.get(i).setFileSn(String.valueOf(maxSn + i)); |
|
| 600 |
+ } |
|
| 601 |
+ fileMngService.updateFileInfs(fileList); |
|
| 602 |
+ result.addAll(fileList); |
|
| 603 |
+ } |
|
| 604 |
+ } |
|
| 605 |
+ |
|
| 606 |
+ res.setFiles(result); |
|
| 607 |
+ |
|
| 608 |
+ HashMap<String, Object> wireData = new HashMap<String, Object>(); |
|
| 609 |
+ wireData.put("editorId", searchVO.getEditorId());
|
|
| 610 |
+ if(result.size() > 0) {
|
|
| 611 |
+ |
|
| 612 |
+ FileVO totalInfoVO = fileMngService.selectFileDetailTotalInfo(result.get(0)); |
|
| 613 |
+ wireData.put("totalFileMg", totalInfoVO.getTotalFileMg());
|
|
| 614 |
+ wireData.put("totalFileCount", totalInfoVO.getTotalFileCount());
|
|
| 615 |
+ } |
|
| 616 |
+ |
|
| 617 |
+ res.setWireData(wireData); |
|
| 618 |
+ res.setSuccess(true); |
|
| 619 |
+ } |
|
| 620 |
+ |
|
| 621 |
+ Gson gson = new Gson(); |
|
| 622 |
+ |
|
| 623 |
+ response.setContentType("text/javascript; charset=utf-8");
|
|
| 624 |
+ PrintWriter printwriter = response.getWriter(); |
|
| 625 |
+ printwriter.write(gson.toJson(res)); |
|
| 626 |
+ printwriter.flush(); |
|
| 627 |
+ printwriter.close(); |
|
| 628 |
+ |
|
| 629 |
+ } |
|
| 630 |
+ */ |
|
| 631 |
+ |
|
| 632 |
+ @RequestMapping(value = "/cmm/fms/upload.do", method = RequestMethod.POST) |
|
| 633 |
+ public void upload(final MultipartHttpServletRequest multiRequest, @ModelAttribute("searchVO") FileVO searchVO, HttpServletRequest request, HttpServletResponse response) throws Exception {
|
|
| 634 |
+ |
|
| 635 |
+ /* |
|
| 636 |
+ String siteId = searchVO.getSiteId(); |
|
| 637 |
+ if(EgovStringUtil.isEmpty(siteId)) {
|
|
| 638 |
+ SiteManageVO siteVO = siteManageService.selectSiteServiceInfo(request); |
|
| 639 |
+ siteId = siteVO.getSiteId(); |
|
| 640 |
+ } |
|
| 641 |
+ |
|
| 642 |
+ if(EgovStringUtil.isEmpty(searchVO.getAtchFileId())) {
|
|
| 643 |
+ searchVO.setAtchFileId(fileIdgenService.getNextStringId()); |
|
| 644 |
+ } |
|
| 645 |
+ |
|
| 646 |
+ String appendPath = searchVO.getSiteId(); |
|
| 647 |
+ if(!EgovStringUtil.isEmpty(searchVO.getAppendPath())) {
|
|
| 648 |
+ appendPath = appendPath + "/" + searchVO.getAppendPath(); |
|
| 649 |
+ } |
|
| 650 |
+ |
|
| 651 |
+ |
|
| 652 |
+ String storePathString = ""; |
|
| 653 |
+ String storeWebPathString = ""; |
|
| 654 |
+ String atchFileIdString = ""; |
|
| 655 |
+ |
|
| 656 |
+ String storePath = searchVO.getPathKey() + ".fileStorePath"; |
|
| 657 |
+ String storeWebPath = searchVO.getPathKey() + ".fileStoreWebPath"; |
|
| 658 |
+ if ("".equals(storePath) || storePath == null) {
|
|
| 659 |
+ storePathString = propertiesService.getString("Globals.fileStorePath");
|
|
| 660 |
+ storeWebPathString = propertiesService.getString("Globals.fileStoreWebPath");
|
|
| 661 |
+ } else {
|
|
| 662 |
+ storePathString = propertiesService.getString(storePath); |
|
| 663 |
+ storeWebPathString = propertiesService.getString(storeWebPath); |
|
| 664 |
+ } |
|
| 665 |
+ |
|
| 666 |
+ if (!("".equals(appendPath) || appendPath == null)) {
|
|
| 667 |
+ storePathString = storePathString + "/" + appendPath; |
|
| 668 |
+ storeWebPathString = storeWebPathString + "/" + appendPath; |
|
| 669 |
+ } |
|
| 670 |
+ |
|
| 671 |
+ String range = multiRequest.getHeader("Content-Range");
|
|
| 672 |
+ long fileFullLength = -1; |
|
| 673 |
+ long chunkFrom = -1; |
|
| 674 |
+ long chunkTo = -1; |
|
| 675 |
+ if (range != null) {
|
|
| 676 |
+ if (!range.startsWith("bytes "))
|
|
| 677 |
+ throw new ServletException("Unexpected range format: " + range);
|
|
| 678 |
+ String[] fromToAndLength = range.substring(6).split(Pattern.quote("/"));
|
|
| 679 |
+ fileFullLength = Long.parseLong(fromToAndLength[1]); |
|
| 680 |
+ String[] fromAndTo = fromToAndLength[0].split(Pattern.quote("-"));
|
|
| 681 |
+ chunkFrom = Long.parseLong(fromAndTo[0]); |
|
| 682 |
+ chunkTo = Long.parseLong(fromAndTo[1]); |
|
| 683 |
+ } |
|
| 684 |
+ |
|
| 685 |
+ |
|
| 686 |
+ |
|
| 687 |
+ File tempDir = new File(storePathString);//new File(System.getProperty("java.io.tmpdir")); // Configure according
|
|
| 688 |
+ File storageDir = tempDir; // project server environment. |
|
| 689 |
+ |
|
| 690 |
+ final Map<String, MultipartFile> files = multiRequest.getFileMap(); |
|
| 691 |
+ Iterator<Entry<String, MultipartFile>> it = files.entrySet().iterator(); |
|
| 692 |
+ MultipartFile item; |
|
| 693 |
+ List<Map<String, Object>> ret = new ArrayList<Map<String,Object>>(); |
|
| 694 |
+ while (it.hasNext()) {
|
|
| 695 |
+ Entry<String, MultipartFile> entry = it.next(); |
|
| 696 |
+ |
|
| 697 |
+ item = entry.getValue(); |
|
| 698 |
+ |
|
| 699 |
+ String fileId = searchVO.getAtchFileId() + "_" + String.valueOf(item.getOriginalFilename().hashCode()); |
|
| 700 |
+ |
|
| 701 |
+ Map<String, Object> fileInfo = new LinkedHashMap<String, Object>(); |
|
| 702 |
+ File assembledFile = null; |
|
| 703 |
+ fileInfo.put("name", item.getName());
|
|
| 704 |
+ fileInfo.put("type", item.getContentType());
|
|
| 705 |
+ File dir = new File(storageDir, fileId); |
|
| 706 |
+ if (!dir.exists()) |
|
| 707 |
+ dir.mkdir(); |
|
| 708 |
+ if (fileFullLength < 0) { // File is not chunked
|
|
| 709 |
+ fileInfo.put("size", item.getSize());
|
|
| 710 |
+ assembledFile = new File(dir, item.getName()); |
|
| 711 |
+ item.transferTo(assembledFile); |
|
| 712 |
+ } else { // File is chunked
|
|
| 713 |
+ byte[] bytes = item.getBytes(); |
|
| 714 |
+ if (chunkFrom + bytes.length != chunkTo + 1) |
|
| 715 |
+ throw new ServletException("Unexpected length of chunk: " + bytes.length +
|
|
| 716 |
+ " != " + (chunkTo + 1) + " - " + chunkFrom); |
|
| 717 |
+ saveChunk(dir, item.getName(), chunkFrom, bytes, fileFullLength); |
|
| 718 |
+ TreeMap<Long, Long> chunkStartsToLengths = getChunkStartsToLengths(dir, item.getName()); |
|
| 719 |
+ long lengthSoFar = getCommonLength(chunkStartsToLengths); |
|
| 720 |
+ fileInfo.put("size", lengthSoFar);
|
|
| 721 |
+ if (lengthSoFar == fileFullLength) {
|
|
| 722 |
+ assembledFile = assembleAndDeleteChunks(dir, item.getName(), |
|
| 723 |
+ new ArrayList<Long>(chunkStartsToLengths.keySet())); |
|
| 724 |
+ } |
|
| 725 |
+ } |
|
| 726 |
+ if (assembledFile != null) {
|
|
| 727 |
+ fileInfo.put("complete", true);
|
|
| 728 |
+ fileInfo.put("serverPath", assembledFile.getAbsolutePath());
|
|
| 729 |
+ // Here you can do something with fully assembled file. |
|
| 730 |
+ } |
|
| 731 |
+ ret.add(fileInfo); |
|
| 732 |
+ }; |
|
| 733 |
+ */ |
|
| 734 |
+ |
|
| 735 |
+ |
|
| 736 |
+ int imgOrientation = 0; |
|
| 737 |
+ |
|
| 738 |
+ String range = multiRequest.getHeader("Content-Range");
|
|
| 739 |
+ long maxChunkSize = searchVO.getMaxChunkSize(); |
|
| 740 |
+ long fileFullLength = -1; |
|
| 741 |
+ long chunkFrom = -1; |
|
| 742 |
+ long chunkTo = -1; |
|
| 743 |
+ if (range != null) {
|
|
| 744 |
+ if (!range.startsWith("bytes "))
|
|
| 745 |
+ throw new Exception("Unexpected range format: " + range);
|
|
| 746 |
+ String[] fromToAndLength = range.substring(6).split(Pattern.quote("/"));
|
|
| 747 |
+ fileFullLength = Long.parseLong(fromToAndLength[1]); |
|
| 748 |
+ String[] fromAndTo = fromToAndLength[0].split(Pattern.quote("-"));
|
|
| 749 |
+ chunkFrom = Long.parseLong(fromAndTo[0]); |
|
| 750 |
+ chunkTo = Long.parseLong(fromAndTo[1]); |
|
| 751 |
+ } |
|
| 752 |
+ |
|
| 753 |
+ |
|
| 754 |
+ |
|
| 755 |
+ String siteId = searchVO.getSiteId(); |
|
| 756 |
+ if(EgovStringUtil.isEmpty(siteId)) {
|
|
| 757 |
+ SiteManageVO siteVO = siteManageService.selectSiteServiceInfo(request); |
|
| 758 |
+ siteId = siteVO.getSiteId(); |
|
| 759 |
+ } |
|
| 760 |
+ |
|
| 761 |
+ if(EgovStringUtil.isEmpty(searchVO.getAtchFileId())) {
|
|
| 762 |
+ searchVO.setAtchFileId(fileIdgenService.getNextStringId()); |
|
| 763 |
+ } |
|
| 764 |
+ |
|
| 765 |
+ JsonResponse res = new JsonResponse(); |
|
| 766 |
+ |
|
| 767 |
+ if(!EgovStringUtil.isEmpty(siteId) && !EgovStringUtil.isEmpty(searchVO.getPathKey())) {
|
|
| 768 |
+ String appendPath = searchVO.getSiteId(); |
|
| 769 |
+ if(!EgovStringUtil.isEmpty(searchVO.getAppendPath())) {
|
|
| 770 |
+ appendPath = appendPath + "/" + searchVO.getAppendPath(); |
|
| 771 |
+ } |
|
| 772 |
+ |
|
| 773 |
+ ArrayList<FileVO> result = new ArrayList<FileVO>(); |
|
| 774 |
+ |
|
| 775 |
+ final Map<String, MultipartFile> files = multiRequest.getFileMap(); |
|
| 776 |
+ |
|
| 777 |
+ if(!files.isEmpty()) {
|
|
| 778 |
+ //이미지일 경우, orientation 확인 - i클래스 |
|
| 779 |
+ if(files.get("filesx") != null){
|
|
| 780 |
+ File uploadImg = new File(files.get("filesx").getOriginalFilename());
|
|
| 781 |
+ uploadImg.createNewFile(); |
|
| 782 |
+ FileOutputStream fos = new FileOutputStream(uploadImg); |
|
| 783 |
+ fos.write(files.get("filesx").getBytes());
|
|
| 784 |
+ fos.close(); |
|
| 785 |
+ |
|
| 786 |
+ String fileType = uploadImg.getPath(); |
|
| 787 |
+ String[] array = fileType.split("\\.");
|
|
| 788 |
+ |
|
| 789 |
+ if("jpg".equals(array[1]) || "jpeg".equals(array[1]) || "png".equals(array[1]) || "gif".equals(array[1])){
|
|
| 790 |
+ imgOrientation = getOrientation(uploadImg); |
|
| 791 |
+ } |
|
| 792 |
+ } |
|
| 793 |
+ |
|
| 794 |
+ List<FileVO> fileList = fileUtil.parseFileInfV2(searchVO.getMaxMegaFileSize() * 1024 * 1024, files, "", 0, searchVO.getAtchFileId(), searchVO.getPathKey() + ".fileStorePath", searchVO.getPathKey() + ".fileStoreWebPath", appendPath, maxChunkSize, fileFullLength, chunkFrom, chunkTo); |
|
| 795 |
+ if(!"Y".equals(searchVO.getIsNoTempFile())) {
|
|
| 796 |
+ for(int i=0; i<fileList.size(); i++) {
|
|
| 797 |
+ fileList.get(i).setOrientation(imgOrientation); |
|
| 798 |
+ FileVO dbVO = fileMngService.insertTempFileInf(fileList.get(i)); |
|
| 799 |
+ result.add(dbVO); |
|
| 800 |
+ } |
|
| 801 |
+ } else {
|
|
| 802 |
+ int maxSn = fileMngService.getMaxFileSN(searchVO); |
|
| 803 |
+ for(int i=0; i<fileList.size(); i++) {
|
|
| 804 |
+ fileList.get(i).setFileSn(String.valueOf(maxSn + i)); |
|
| 805 |
+ } |
|
| 806 |
+ fileMngService.updateFileInfs(fileList); |
|
| 807 |
+ result.addAll(fileList); |
|
| 808 |
+ } |
|
| 809 |
+ } |
|
| 810 |
+ |
|
| 811 |
+ res.setFiles(result); |
|
| 812 |
+ |
|
| 813 |
+ HashMap<String, Object> wireData = new HashMap<String, Object>(); |
|
| 814 |
+ wireData.put("editorId", searchVO.getEditorId());
|
|
| 815 |
+ if(result.size() > 0) {
|
|
| 816 |
+ |
|
| 817 |
+ FileVO totalInfoVO = fileMngService.selectFileDetailTotalInfo(result.get(0)); |
|
| 818 |
+ wireData.put("totalFileMg", totalInfoVO.getTotalFileMg());
|
|
| 819 |
+ wireData.put("totalFileCount", totalInfoVO.getTotalFileCount());
|
|
| 820 |
+ } |
|
| 821 |
+ |
|
| 822 |
+ res.setWireData(wireData); |
|
| 823 |
+ res.setSuccess(true); |
|
| 824 |
+ } |
|
| 825 |
+ |
|
| 826 |
+ Gson gson = new Gson(); |
|
| 827 |
+ |
|
| 828 |
+ response.setContentType("text/javascript; charset=utf-8");
|
|
| 829 |
+ PrintWriter printwriter = response.getWriter(); |
|
| 830 |
+ printwriter.write(gson.toJson(res)); |
|
| 831 |
+ printwriter.flush(); |
|
| 832 |
+ printwriter.close(); |
|
| 833 |
+ |
|
| 834 |
+ } |
|
| 835 |
+ |
|
| 836 |
+ public static int getOrientation(File in) throws IOException {
|
|
| 837 |
+ |
|
| 838 |
+ int orientation = 1; |
|
| 839 |
+ Metadata metadata; |
|
| 840 |
+ Directory directory; |
|
| 841 |
+ |
|
| 842 |
+ try {
|
|
| 843 |
+ metadata = ImageMetadataReader.readMetadata(in); |
|
| 844 |
+ directory = metadata.getDirectory(ExifIFD0Directory.class); |
|
| 845 |
+ if(directory != null){
|
|
| 846 |
+ orientation = directory.getInt(ExifIFD0Directory.TAG_ORIENTATION); |
|
| 847 |
+ } |
|
| 848 |
+ } catch (ImageProcessingException e) {
|
|
| 849 |
+ System.err.println("[ImgUtil] could not process image");
|
|
| 850 |
+ e.printStackTrace(); |
|
| 851 |
+ } catch (MetadataException e) {
|
|
| 852 |
+ System.err.println("[ImgUtil] could not get orientation from image");
|
|
| 853 |
+ e.printStackTrace(); |
|
| 854 |
+ } |
|
| 855 |
+ |
|
| 856 |
+ return orientation; |
|
| 857 |
+ } |
|
| 858 |
+ |
|
| 859 |
+ private static void saveChunk(File dir, String fileName, |
|
| 860 |
+ long from, byte[] bytes, long fileFullLength) throws IOException {
|
|
| 861 |
+ File target = new File(dir, fileName + "." + from + ".chunk"); |
|
| 862 |
+ OutputStream os = new FileOutputStream(target); |
|
| 863 |
+ try {
|
|
| 864 |
+ os.write(bytes); |
|
| 865 |
+ } finally {
|
|
| 866 |
+ os.close(); |
|
| 867 |
+ } |
|
| 868 |
+ } |
|
| 869 |
+ |
|
| 870 |
+ private static TreeMap<Long, Long> getChunkStartsToLengths(File dir, |
|
| 871 |
+ String fileName) throws IOException {
|
|
| 872 |
+ TreeMap<Long, Long> chunkStartsToLengths = new TreeMap<Long, Long>(); |
|
| 873 |
+ for (File f : dir.listFiles()) {
|
|
| 874 |
+ String chunkFileName = f.getName(); |
|
| 875 |
+ if (chunkFileName.startsWith(fileName + ".") && |
|
| 876 |
+ chunkFileName.endsWith(".chunk")) {
|
|
| 877 |
+ chunkStartsToLengths.put(Long.parseLong(chunkFileName.substring( |
|
| 878 |
+ fileName.length() + 1, chunkFileName.length() - 6)), f.length()); |
|
| 879 |
+ } |
|
| 880 |
+ } |
|
| 881 |
+ return chunkStartsToLengths; |
|
| 882 |
+ } |
|
| 883 |
+ |
|
| 884 |
+ private static long getCommonLength(TreeMap<Long, Long> chunkStartsToLengths) {
|
|
| 885 |
+ long ret = 0; |
|
| 886 |
+ for (long len : chunkStartsToLengths.values()) |
|
| 887 |
+ ret += len; |
|
| 888 |
+ return ret; |
|
| 889 |
+ } |
|
| 890 |
+ |
|
| 891 |
+ private static File assembleAndDeleteChunks(File dir, String fileName, |
|
| 892 |
+ List<Long> chunkStarts) throws IOException {
|
|
| 893 |
+ File assembledFile = new File(dir, fileName); |
|
| 894 |
+ if (assembledFile.exists()) // In case chunks come in concurrent way |
|
| 895 |
+ return assembledFile; |
|
| 896 |
+ OutputStream assembledOs = new FileOutputStream(assembledFile); |
|
| 897 |
+ byte[] buf = new byte[100000]; |
|
| 898 |
+ try {
|
|
| 899 |
+ for (long chunkFrom : chunkStarts) {
|
|
| 900 |
+ File chunkFile = new File(dir, fileName + "." + chunkFrom + ".chunk"); |
|
| 901 |
+ InputStream is = new FileInputStream(chunkFile); |
|
| 902 |
+ try {
|
|
| 903 |
+ while (true) {
|
|
| 904 |
+ int r = is.read(buf); |
|
| 905 |
+ if (r == -1) |
|
| 906 |
+ break; |
|
| 907 |
+ if (r > 0) |
|
| 908 |
+ assembledOs.write(buf, 0, r); |
|
| 909 |
+ } |
|
| 910 |
+ } finally {
|
|
| 911 |
+ is.close(); |
|
| 912 |
+ } |
|
| 913 |
+ chunkFile.delete(); |
|
| 914 |
+ } |
|
| 915 |
+ } finally {
|
|
| 916 |
+ assembledOs.close(); |
|
| 917 |
+ } |
|
| 918 |
+ return assembledFile; |
|
| 919 |
+ } |
|
| 920 |
+ |
|
| 921 |
+ /** |
|
| 922 |
+ * 대용량파일을 삭제 처리한다. |
|
| 923 |
+ * |
|
| 924 |
+ * @param fileVO |
|
| 925 |
+ * @return |
|
| 926 |
+ * @throws Exception |
|
| 927 |
+ */ |
|
| 928 |
+ @RequestMapping("/cmm/fms/deleteStreamLongFileByAjax.do")
|
|
| 929 |
+ public void deleteStreamLongFileByAjax(@ModelAttribute("searchVO") FileVO fileVO, HttpServletRequest request, HttpServletResponse response) throws Exception {
|
|
| 930 |
+ |
|
| 931 |
+ FileVO dbVO = fileMngService.deleteTempFileInf(fileVO); |
|
| 932 |
+ |
|
| 933 |
+ Gson gson = new Gson(); |
|
| 934 |
+ JsonObject jObj = new JsonObject(); |
|
| 935 |
+ |
|
| 936 |
+ if(dbVO != null) {
|
|
| 937 |
+ jObj.addProperty("delCount", "1");
|
|
| 938 |
+ jObj.addProperty("atchFileId", dbVO.getAtchFileId());
|
|
| 939 |
+ jObj.addProperty("fileSn", dbVO.getFileSn());
|
|
| 940 |
+ |
|
| 941 |
+ FileVO totalInfoVO = fileService.selectFileDetailTotalInfo(dbVO); |
|
| 942 |
+ jObj.addProperty("totalFileMg", totalInfoVO.getTotalFileMg());
|
|
| 943 |
+ jObj.addProperty("totalFileCount", totalInfoVO.getTotalFileCount());
|
|
| 944 |
+ } else {
|
|
| 945 |
+ jObj.addProperty("delCount", "0");
|
|
| 946 |
+ } |
|
| 947 |
+ |
|
| 948 |
+ response.setContentType("text/javascript; charset=utf-8");
|
|
| 949 |
+ PrintWriter printwriter = response.getWriter(); |
|
| 950 |
+ printwriter.write(gson.toJson(jObj)); |
|
| 951 |
+ printwriter.flush(); |
|
| 952 |
+ printwriter.close(); |
|
| 953 |
+ } |
|
| 954 |
+ |
|
| 955 |
+ /** |
|
| 956 |
+ * 파일ID를 생성환다. |
|
| 957 |
+ * |
|
| 958 |
+ * @param fileVO |
|
| 959 |
+ * @return |
|
| 960 |
+ * @throws Exception |
|
| 961 |
+ */ |
|
| 962 |
+ @RequestMapping("/cmm/fms/selectFileIdByAjax.do")
|
|
| 963 |
+ public void selectFileIdByAjax(@ModelAttribute("searchVO") FileVO fileVO, HttpServletRequest request, HttpServletResponse response) throws Exception {
|
|
| 964 |
+ |
|
| 965 |
+ Gson gson = new Gson(); |
|
| 966 |
+ JsonObject jObj = new JsonObject(); |
|
| 967 |
+ jObj.addProperty("atchFileId", fileIdgenService.getNextStringId());
|
|
| 968 |
+ |
|
| 969 |
+ response.setContentType("text/javascript; charset=utf-8");
|
|
| 970 |
+ PrintWriter printwriter = response.getWriter(); |
|
| 971 |
+ printwriter.write(gson.toJson(jObj)); |
|
| 972 |
+ printwriter.flush(); |
|
| 973 |
+ printwriter.close(); |
|
| 974 |
+ } |
|
| 975 |
+} |
--- base/src/main/java/egovframework/com/cmm/web/EgovFileMngController2.java
+++ base/src/main/java/egovframework/com/cmm/web/EgovFileMngController2.java
... | ... | @@ -1,95 +1,95 @@ |
| 1 |
-package egovframework.com.cmm.web; |
|
| 2 |
- |
|
| 3 |
-import java.io.File; |
|
| 4 |
-import java.io.FileNotFoundException; |
|
| 5 |
-import java.io.FileOutputStream; |
|
| 6 |
-import java.io.IOException; |
|
| 7 |
-import java.io.InputStream; |
|
| 8 |
-import java.io.OutputStream; |
|
| 9 |
-import java.io.PrintWriter; |
|
| 10 |
-import java.util.ArrayList; |
|
| 11 |
-import java.util.List; |
|
| 12 |
-import java.util.Map; |
|
| 13 |
- |
|
| 14 |
-import javax.annotation.Resource; |
|
| 15 |
-import javax.servlet.http.HttpServletRequest; |
|
| 16 |
-import javax.servlet.http.HttpServletResponse; |
|
| 17 |
- |
|
| 18 |
-import org.springframework.stereotype.Controller; |
|
| 19 |
-import org.springframework.web.bind.annotation.ModelAttribute; |
|
| 20 |
-import org.springframework.web.bind.annotation.RequestMapping; |
|
| 21 |
-import org.springframework.web.bind.annotation.RequestMethod; |
|
| 22 |
-import org.springframework.web.multipart.MultipartFile; |
|
| 23 |
-import org.springframework.web.multipart.MultipartHttpServletRequest; |
|
| 24 |
- |
|
| 25 |
-import egovframework.com.cmm.service.EgovFileMngUtil; |
|
| 26 |
-import egovframework.com.cmm.service.FileVO; |
|
| 27 |
-import egovframework.com.cmm.service.JsonResponse; |
|
| 28 |
-import egovframework.com.sym.sit.service.EgovSiteManageService; |
|
| 29 |
-import egovframework.com.utl.fcc.service.EgovStringUtil; |
|
| 30 |
- |
|
| 31 |
-import com.google.gson.Gson; |
|
| 32 |
-import com.google.gson.JsonObject; |
|
| 33 |
- |
|
| 34 |
-@Controller |
|
| 35 |
-public class EgovFileMngController2 {
|
|
| 36 |
- |
|
| 37 |
- @Resource(name = "EgovFileMngUtil") |
|
| 38 |
- private EgovFileMngUtil fileUtil; |
|
| 39 |
- |
|
| 40 |
- @RequestMapping(value = "/fileUpload.do", method = RequestMethod.POST) |
|
| 41 |
- @SuppressWarnings("unchecked")
|
|
| 42 |
- public void upload(final MultipartHttpServletRequest request, @ModelAttribute("searchVO") FileVO searchVO,
|
|
| 43 |
- HttpServletResponse response) throws Exception {
|
|
| 44 |
- |
|
| 45 |
- JsonResponse res = new JsonResponse(); |
|
| 46 |
- ArrayList<FileVO> result = new ArrayList<FileVO>(); |
|
| 47 |
- |
|
| 48 |
- final Map<String, MultipartFile> files = request.getFileMap(); |
|
| 49 |
- if(!files.isEmpty()) {
|
|
| 50 |
- List<FileVO> fileList = fileUtil.directParseFileInf(files, "D_", 0, "Board.fileStorePath", "Board.fileStoreWebPath", fileUtil.selectFileBassCours()); |
|
| 51 |
- result.addAll(fileList); |
|
| 52 |
- } |
|
| 53 |
- |
|
| 54 |
- res.setFiles(result); |
|
| 55 |
- res.setSuccess(true); |
|
| 56 |
- |
|
| 57 |
- Gson gson = new Gson(); |
|
| 58 |
- |
|
| 59 |
- response.setContentType("text/javascript; charset=utf-8");
|
|
| 60 |
- PrintWriter printwriter = response.getWriter(); |
|
| 61 |
- printwriter.write(gson.toJson(res)); |
|
| 62 |
- printwriter.flush(); |
|
| 63 |
- printwriter.close(); |
|
| 64 |
- |
|
| 65 |
- } |
|
| 66 |
- /* |
|
| 67 |
- @RequestMapping(value = "/mltmdFileUpload.do", method = RequestMethod.POST) |
|
| 68 |
- @SuppressWarnings("unchecked")
|
|
| 69 |
- public void mltmdFileUpload(final MultipartHttpServletRequest request, @ModelAttribute("searchVO") FileVO searchVO,
|
|
| 70 |
- HttpServletResponse response) throws Exception {
|
|
| 71 |
- |
|
| 72 |
- JsonResponse res = new JsonResponse(); |
|
| 73 |
- ArrayList<MltmdFileDetailVO> result = null; |
|
| 74 |
- |
|
| 75 |
- final Map<String, MultipartFile> files = request.getFileMap(); |
|
| 76 |
- if(!files.isEmpty()) {
|
|
| 77 |
- result = fileUtil.directParseMvpFileInf(files, searchVO.getMltmdClCode()+ "_", 0, searchVO.getMltmdClCode() + ".fileStorePath", searchVO.getFileStreCours()); |
|
| 78 |
- } |
|
| 79 |
- res.setData(result); |
|
| 80 |
- res.setSuccess(true); |
|
| 81 |
- |
|
| 82 |
- Gson gson = new Gson(); |
|
| 83 |
- |
|
| 84 |
- response.setContentType("text/javascript; charset=utf-8");
|
|
| 85 |
- PrintWriter printwriter = response.getWriter(); |
|
| 86 |
- printwriter.write(gson.toJson(res)); |
|
| 87 |
- printwriter.flush(); |
|
| 88 |
- printwriter.close(); |
|
| 89 |
- |
|
| 90 |
- } |
|
| 91 |
- */ |
|
| 92 |
- |
|
| 93 |
-} |
|
| 94 |
- |
|
| 95 |
- |
|
| 1 |
+package egovframework.com.cmm.web; |
|
| 2 |
+ |
|
| 3 |
+import java.io.File; |
|
| 4 |
+import java.io.FileNotFoundException; |
|
| 5 |
+import java.io.FileOutputStream; |
|
| 6 |
+import java.io.IOException; |
|
| 7 |
+import java.io.InputStream; |
|
| 8 |
+import java.io.OutputStream; |
|
| 9 |
+import java.io.PrintWriter; |
|
| 10 |
+import java.util.ArrayList; |
|
| 11 |
+import java.util.List; |
|
| 12 |
+import java.util.Map; |
|
| 13 |
+ |
|
| 14 |
+import javax.annotation.Resource; |
|
| 15 |
+import javax.servlet.http.HttpServletRequest; |
|
| 16 |
+import javax.servlet.http.HttpServletResponse; |
|
| 17 |
+ |
|
| 18 |
+import org.springframework.stereotype.Controller; |
|
| 19 |
+import org.springframework.web.bind.annotation.ModelAttribute; |
|
| 20 |
+import org.springframework.web.bind.annotation.RequestMapping; |
|
| 21 |
+import org.springframework.web.bind.annotation.RequestMethod; |
|
| 22 |
+import org.springframework.web.multipart.MultipartFile; |
|
| 23 |
+import org.springframework.web.multipart.MultipartHttpServletRequest; |
|
| 24 |
+ |
|
| 25 |
+import egovframework.com.cmm.service.EgovFileMngUtil; |
|
| 26 |
+import egovframework.com.cmm.service.FileVO; |
|
| 27 |
+import egovframework.com.cmm.service.JsonResponse; |
|
| 28 |
+import egovframework.com.sym.sit.service.SiteManageService; |
|
| 29 |
+import egovframework.com.utl.fcc.service.EgovStringUtil; |
|
| 30 |
+ |
|
| 31 |
+import com.google.gson.Gson; |
|
| 32 |
+import com.google.gson.JsonObject; |
|
| 33 |
+ |
|
| 34 |
+@Controller |
|
| 35 |
+public class EgovFileMngController2 {
|
|
| 36 |
+ |
|
| 37 |
+ @Resource(name = "EgovFileMngUtil") |
|
| 38 |
+ private EgovFileMngUtil fileUtil; |
|
| 39 |
+ |
|
| 40 |
+ @RequestMapping(value = "/fileUpload.do", method = RequestMethod.POST) |
|
| 41 |
+ @SuppressWarnings("unchecked")
|
|
| 42 |
+ public void upload(final MultipartHttpServletRequest request, @ModelAttribute("searchVO") FileVO searchVO,
|
|
| 43 |
+ HttpServletResponse response) throws Exception {
|
|
| 44 |
+ |
|
| 45 |
+ JsonResponse res = new JsonResponse(); |
|
| 46 |
+ ArrayList<FileVO> result = new ArrayList<FileVO>(); |
|
| 47 |
+ |
|
| 48 |
+ final Map<String, MultipartFile> files = request.getFileMap(); |
|
| 49 |
+ if(!files.isEmpty()) {
|
|
| 50 |
+ List<FileVO> fileList = fileUtil.directParseFileInf(files, "D_", 0, "Board.fileStorePath", "Board.fileStoreWebPath", fileUtil.selectFileBassCours()); |
|
| 51 |
+ result.addAll(fileList); |
|
| 52 |
+ } |
|
| 53 |
+ |
|
| 54 |
+ res.setFiles(result); |
|
| 55 |
+ res.setSuccess(true); |
|
| 56 |
+ |
|
| 57 |
+ Gson gson = new Gson(); |
|
| 58 |
+ |
|
| 59 |
+ response.setContentType("text/javascript; charset=utf-8");
|
|
| 60 |
+ PrintWriter printwriter = response.getWriter(); |
|
| 61 |
+ printwriter.write(gson.toJson(res)); |
|
| 62 |
+ printwriter.flush(); |
|
| 63 |
+ printwriter.close(); |
|
| 64 |
+ |
|
| 65 |
+ } |
|
| 66 |
+ /* |
|
| 67 |
+ @RequestMapping(value = "/mltmdFileUpload.do", method = RequestMethod.POST) |
|
| 68 |
+ @SuppressWarnings("unchecked")
|
|
| 69 |
+ public void mltmdFileUpload(final MultipartHttpServletRequest request, @ModelAttribute("searchVO") FileVO searchVO,
|
|
| 70 |
+ HttpServletResponse response) throws Exception {
|
|
| 71 |
+ |
|
| 72 |
+ JsonResponse res = new JsonResponse(); |
|
| 73 |
+ ArrayList<MltmdFileDetailVO> result = null; |
|
| 74 |
+ |
|
| 75 |
+ final Map<String, MultipartFile> files = request.getFileMap(); |
|
| 76 |
+ if(!files.isEmpty()) {
|
|
| 77 |
+ result = fileUtil.directParseMvpFileInf(files, searchVO.getMltmdClCode()+ "_", 0, searchVO.getMltmdClCode() + ".fileStorePath", searchVO.getFileStreCours()); |
|
| 78 |
+ } |
|
| 79 |
+ res.setData(result); |
|
| 80 |
+ res.setSuccess(true); |
|
| 81 |
+ |
|
| 82 |
+ Gson gson = new Gson(); |
|
| 83 |
+ |
|
| 84 |
+ response.setContentType("text/javascript; charset=utf-8");
|
|
| 85 |
+ PrintWriter printwriter = response.getWriter(); |
|
| 86 |
+ printwriter.write(gson.toJson(res)); |
|
| 87 |
+ printwriter.flush(); |
|
| 88 |
+ printwriter.close(); |
|
| 89 |
+ |
|
| 90 |
+ } |
|
| 91 |
+ */ |
|
| 92 |
+ |
|
| 93 |
+} |
|
| 94 |
+ |
|
| 95 |
+ |
--- base/src/main/java/egovframework/com/cop/bbs/web/EgovBBSManageController.java
+++ base/src/main/java/egovframework/com/cop/bbs/web/EgovBBSManageController.java
... | ... | @@ -1,1125 +1,1124 @@ |
| 1 |
-package egovframework.com.cop.bbs.web; |
|
| 2 |
- |
|
| 3 |
-import java.io.PrintWriter; |
|
| 4 |
-import java.math.BigDecimal; |
|
| 5 |
-import java.util.ArrayList; |
|
| 6 |
-import java.util.HashMap; |
|
| 7 |
-import java.util.List; |
|
| 8 |
-import java.util.Map; |
|
| 9 |
- |
|
| 10 |
-import javax.annotation.Resource; |
|
| 11 |
- |
|
| 12 |
-import net.sf.json.JSONObject; |
|
| 13 |
- |
|
| 14 |
-import org.apache.log4j.Logger; |
|
| 15 |
-import org.springframework.beans.factory.annotation.Autowired; |
|
| 16 |
-import org.springframework.stereotype.Controller; |
|
| 17 |
-import org.springframework.ui.ModelMap; |
|
| 18 |
-import org.springframework.validation.BindingResult; |
|
| 19 |
-import org.springframework.web.bind.annotation.ModelAttribute; |
|
| 20 |
-import org.springframework.web.bind.annotation.RequestMapping; |
|
| 21 |
-import org.springframework.web.multipart.MultipartFile; |
|
| 22 |
-import org.springframework.web.multipart.MultipartHttpServletRequest; |
|
| 23 |
-import org.springmodules.validation.commons.DefaultBeanValidator; |
|
| 24 |
- |
|
| 25 |
-import egovframework.com.cmm.ComDefaultCodeVO; |
|
| 26 |
-import egovframework.com.cmm.EgovMessageSource; |
|
| 27 |
-import egovframework.com.cmm.service.EgovCmmUseService; |
|
| 28 |
-import egovframework.com.cmm.service.EgovFileMngService; |
|
| 29 |
-import egovframework.com.cmm.service.EgovFileMngUtil; |
|
| 30 |
-import egovframework.com.cmm.service.FileVO; |
|
| 31 |
-import egovframework.com.cop.bbs.service.Board; |
|
| 32 |
-import egovframework.com.cop.bbs.service.BoardMasterVO; |
|
| 33 |
-import egovframework.com.cop.bbs.service.BoardVO; |
|
| 34 |
-import egovframework.com.cop.bbs.service.Ctgry; |
|
| 35 |
-import egovframework.com.cop.bbs.service.CtgryMaster; |
|
| 36 |
-import egovframework.com.cop.bbs.service.EgovBBSAttributeManageService; |
|
| 37 |
-import egovframework.com.cop.bbs.service.EgovBBSCtgryMasterService; |
|
| 38 |
-import egovframework.com.cop.bbs.service.EgovBBSCtgryService; |
|
| 39 |
-import egovframework.com.cop.bbs.service.EgovBBSManageService; |
|
| 40 |
-import egovframework.com.sec.ram.security.userdetails.util.EgovUserDetailsHelper; |
|
| 41 |
-import egovframework.com.sym.ccm.cde.service.CmmnDetailCode; |
|
| 42 |
-import egovframework.com.sym.sit.service.EgovSiteManageService; |
|
| 43 |
-import egovframework.com.sym.sit.service.SiteManageVO; |
|
| 44 |
-import egovframework.com.uat.uia.service.LoginVO; |
|
| 45 |
-import egovframework.rte.fdl.property.EgovPropertyService; |
|
| 46 |
-import egovframework.rte.ptl.mvc.tags.ui.pagination.PaginationInfo; |
|
| 47 |
-import egovframework.com.uss.ivp.service.EgovIndvdlestbsService; |
|
| 48 |
-import egovframework.com.uss.ivp.service.IndvdlestbsVO; |
|
| 49 |
-import egovframework.com.utl.fcc.service.EgovHttpUtil; |
|
| 50 |
-import egovframework.com.utl.fcc.service.EgovStringUtil; |
|
| 51 |
-import egovframework.com.utl.sim.service.EgovClntInfo; |
|
| 52 |
- |
|
| 53 |
-import javax.servlet.http.HttpServletRequest; |
|
| 54 |
-import javax.servlet.http.HttpServletResponse; |
|
| 55 |
- |
|
| 56 |
- |
|
| 57 |
-/** |
|
| 58 |
- * 게시물 관리를 위한 컨트롤러 클래스 |
|
| 59 |
- * |
|
| 60 |
- * @author 공통서비스개발팀 이삼섭 |
|
| 61 |
- * @since 2009.06.01 |
|
| 62 |
- * @version 1.0 |
|
| 63 |
- * @see <pre> |
|
| 64 |
- * << 개정이력(Modification Information) >> |
|
| 65 |
- * |
|
| 66 |
- * 수정일 수정자 수정내용 |
|
| 67 |
- * ------- -------- --------------------------- |
|
| 68 |
- * 2009.3.19 이삼섭 최초 생성 |
|
| 69 |
- * 2009.06.29 한성곤 |
|
| 70 |
- * |
|
| 71 |
- * </pre> |
|
| 72 |
- */ |
|
| 73 |
-@Controller("EgovBBSManageController")
|
|
| 74 |
-public class EgovBBSManageController {
|
|
| 75 |
- |
|
| 76 |
- @Resource(name = "EgovBBSManageService") |
|
| 77 |
- private EgovBBSManageService bbsMngService; |
|
| 78 |
- |
|
| 79 |
- @Resource(name = "EgovBBSAttributeManageService") |
|
| 80 |
- private EgovBBSAttributeManageService bbsAttrbService; |
|
| 81 |
- |
|
| 82 |
- @Resource(name = "EgovBBSCtgryService") |
|
| 83 |
- private EgovBBSCtgryService ctgryService; |
|
| 84 |
- |
|
| 85 |
- @Resource(name = "SiteManageService") |
|
| 86 |
- EgovSiteManageService siteManageService; |
|
| 87 |
- |
|
| 88 |
- @Resource(name = "EgovFileMngService") |
|
| 89 |
- private EgovFileMngService fileMngService; |
|
| 90 |
- |
|
| 91 |
- @Resource(name = "EgovFileMngUtil") |
|
| 92 |
- private EgovFileMngUtil fileUtil; |
|
| 93 |
- |
|
| 94 |
- @Resource(name = "propertiesService") |
|
| 95 |
- protected EgovPropertyService propertyService; |
|
| 96 |
- |
|
| 97 |
- @Resource(name = "egovMessageSource") |
|
| 98 |
- EgovMessageSource egovMessageSource; |
|
| 99 |
- |
|
| 100 |
- @Resource(name = "EgovCmmUseService") |
|
| 101 |
- private EgovCmmUseService cmmUseService; |
|
| 102 |
- |
|
| 103 |
- @Resource(name = "IndvdlestbsService") |
|
| 104 |
- private EgovIndvdlestbsService indvdlestbsService; |
|
| 105 |
- |
|
| 106 |
- @Resource(name = "EgovBBSCtgryMasterService") |
|
| 107 |
- private EgovBBSCtgryMasterService egovBBSCtgryMasterService; |
|
| 108 |
- |
|
| 109 |
- @Resource(name = "EgovBBSCtgryService") |
|
| 110 |
- private EgovBBSCtgryService egovBBSCtgryService; |
|
| 111 |
- |
|
| 112 |
- /** EgovPropertyService */ |
|
| 113 |
- @Resource(name = "propertiesService") |
|
| 114 |
- protected EgovPropertyService propertiesService; |
|
| 115 |
- |
|
| 116 |
- @Autowired |
|
| 117 |
- private DefaultBeanValidator beanValidator; |
|
| 118 |
- |
|
| 119 |
- Logger log = Logger.getLogger(this.getClass()); |
|
| 120 |
- |
|
| 121 |
- /** |
|
| 122 |
- * XSS 방지 처리. |
|
| 123 |
- * |
|
| 124 |
- * @param data |
|
| 125 |
- * @return |
|
| 126 |
- */ |
|
| 127 |
- protected String unscript(String data) {
|
|
| 128 |
- if(data == null || data.trim().equals("")) {
|
|
| 129 |
- return ""; |
|
| 130 |
- } |
|
| 131 |
- |
|
| 132 |
- String ret = data; |
|
| 133 |
- |
|
| 134 |
- ret = ret.replaceAll("<(S|s)(C|c)(R|r)(I|i)(P|p)(T|t)", "<script");
|
|
| 135 |
- ret = ret.replaceAll("</(S|s)(C|c)(R|r)(I|i)(P|p)(T|t)", "</script");
|
|
| 136 |
- |
|
| 137 |
- ret = ret.replaceAll("<(O|o)(B|b)(J|j)(E|e)(C|c)(T|t)", "<object");
|
|
| 138 |
- ret = ret.replaceAll("</(O|o)(B|b)(J|j)(E|e)(C|c)(T|t)", "</object");
|
|
| 139 |
- |
|
| 140 |
- ret = ret.replaceAll("<(A|a)(P|p)(P|p)(L|l)(E|e)(T|t)", "<applet");
|
|
| 141 |
- ret = ret.replaceAll("</(A|a)(P|p)(P|p)(L|l)(E|e)(T|t)", "</applet");
|
|
| 142 |
- |
|
| 143 |
- ret = ret.replaceAll("<(E|e)(M|m)(B|b)(E|e)(D|d)", "<embed");
|
|
| 144 |
- ret = ret.replaceAll("</(E|e)(M|m)(B|b)(E|e)(D|d)", "<embed");
|
|
| 145 |
- |
|
| 146 |
- ret = ret.replaceAll("<(F|f)(O|o)(R|r)(M|m)", "<form");
|
|
| 147 |
- ret = ret.replaceAll("</(F|f)(O|o)(R|r)(M|m)", "<form");
|
|
| 148 |
- |
|
| 149 |
- return ret; |
|
| 150 |
- } |
|
| 151 |
- |
|
| 152 |
- |
|
| 153 |
- /** |
|
| 154 |
- * 게시물에 대한 목록을 조회한다. |
|
| 155 |
- * |
|
| 156 |
- * @param boardVO |
|
| 157 |
- * @param sessionVO |
|
| 158 |
- * @param model |
|
| 159 |
- * @return |
|
| 160 |
- * @throws Exception |
|
| 161 |
- */ |
|
| 162 |
- @RequestMapping(value = "/cop/bbs/selectBoardList.do") |
|
| 163 |
- public String selectBoardArticles(@ModelAttribute("searchVO") BoardVO boardVO, ModelMap model, HttpServletRequest request, HttpServletResponse response) throws Exception {
|
|
| 164 |
- |
|
| 165 |
- SiteManageVO siteVO = siteManageService.selectSiteServiceInfo(request); |
|
| 166 |
- model.addAttribute("siteInfo", siteVO);
|
|
| 167 |
- |
|
| 168 |
- PaginationInfo paginationInfo = new PaginationInfo(); |
|
| 169 |
- |
|
| 170 |
- BoardMasterVO vo = new BoardMasterVO(); |
|
| 171 |
- vo.setBbsId(boardVO.getBbsId()); |
|
| 172 |
- vo.setSiteId(siteVO.getSiteId()); |
|
| 173 |
- vo.setSysTyCode(siteVO.getSysTyCode()); |
|
| 174 |
- |
|
| 175 |
- BoardMasterVO master = bbsAttrbService.selectBBSMasterInf(vo); |
|
| 176 |
- |
|
| 177 |
- LoginVO user = EgovUserDetailsHelper.getAuthenticatedUser(request, response); |
|
| 178 |
- if(master != null) {
|
|
| 179 |
- int SE_CODE = 1; |
|
| 180 |
- if(user != null) {
|
|
| 181 |
- SE_CODE = Integer.parseInt(user.getUserSe()); |
|
| 182 |
- model.addAttribute("USER_INFO", user);
|
|
| 183 |
- |
|
| 184 |
- //교재&사전 |
|
| 185 |
- if("BBSMSTR_000000000005".equals(boardVO.getBbsId())){
|
|
| 186 |
- //좋아요 목록 |
|
| 187 |
- IndvdlestbsVO indvdlestbsVO = new IndvdlestbsVO(); |
|
| 188 |
- indvdlestbsVO.setUserId(user.getId()); |
|
| 189 |
- indvdlestbsVO.setSiteId(siteVO.getSiteId()); |
|
| 190 |
- indvdlestbsVO.setTrgetTyCode("BOOK_LIKE");
|
|
| 191 |
- model.addAttribute("wishList", indvdlestbsService.selectIvpList(indvdlestbsVO));
|
|
| 192 |
- } |
|
| 193 |
- } |
|
| 194 |
- |
|
| 195 |
- if(SE_CODE >= 10) {
|
|
| 196 |
- //boardVO.setAdminAt("Y");
|
|
| 197 |
- } |
|
| 198 |
- |
|
| 199 |
- // 페이징 정보 설정 |
|
| 200 |
- boardVO.setPageUnit(propertyService.getInt("pageUnit"));
|
|
| 201 |
- boardVO.setPageSize(propertyService.getInt("pageSize"));
|
|
| 202 |
- boardVO.setCtgrymasterId(master.getCtgrymasterId()); |
|
| 203 |
- |
|
| 204 |
- if("BBSA02".equals(master.getBbsAttrbCode())) {
|
|
| 205 |
- if(EgovStringUtil.isEmpty(boardVO.getViewType())){
|
|
| 206 |
- boardVO.setViewType("photo");
|
|
| 207 |
- } |
|
| 208 |
- |
|
| 209 |
- if("photo".equals(boardVO.getViewType())){
|
|
| 210 |
- // 페이징 정보 설정 |
|
| 211 |
- boardVO.setPageUnit(propertyService.getInt("photoPageUnit"));
|
|
| 212 |
- boardVO.setPageSize(propertyService.getInt("photoPageSize"));
|
|
| 213 |
- } |
|
| 214 |
- } |
|
| 215 |
- |
|
| 216 |
- //공지게시물 가져오기 |
|
| 217 |
- BoardVO noticeVO = new BoardVO(); |
|
| 218 |
- noticeVO.setBbsId(boardVO.getBbsId()); |
|
| 219 |
- noticeVO.setCommentUseAt(master.getCommentUseAt()); |
|
| 220 |
- noticeVO.setCtgrymasterId(master.getCtgrymasterId()); |
|
| 221 |
- noticeVO.setBbsAttrbCode(master.getBbsAttrbCode()); |
|
| 222 |
- noticeVO.setSearchNoticeAt("Y");
|
|
| 223 |
- noticeVO.setFirstIndex(0); |
|
| 224 |
- //교재&사전 |
|
| 225 |
- if("BBSMSTR_000000000005".equals(boardVO.getBbsId())){
|
|
| 226 |
- noticeVO.setRecordCountPerPage(3); |
|
| 227 |
- }else {
|
|
| 228 |
- noticeVO.setRecordCountPerPage(9999); |
|
| 229 |
- } |
|
| 230 |
- |
|
| 231 |
- model.addAttribute("noticeList", bbsMngService.selectBoardArticles(noticeVO));
|
|
| 232 |
- |
|
| 233 |
- paginationInfo.setCurrentPageNo(boardVO.getPageIndex()); |
|
| 234 |
- paginationInfo.setRecordCountPerPage(boardVO.getPageUnit()); |
|
| 235 |
- paginationInfo.setPageSize(boardVO.getPageSize()); |
|
| 236 |
- |
|
| 237 |
- boardVO.setFirstIndex(paginationInfo.getFirstRecordIndex()); |
|
| 238 |
- boardVO.setLastIndex(paginationInfo.getLastRecordIndex()); |
|
| 239 |
- boardVO.setRecordCountPerPage(paginationInfo.getRecordCountPerPage()); |
|
| 240 |
- |
|
| 241 |
- boardVO.setCommentUseAt(master.getCommentUseAt()); |
|
| 242 |
- boardVO.setBbsAttrbCode(master.getBbsAttrbCode()); |
|
| 243 |
- |
|
| 244 |
- if("BBSMSTR_000000000010".equals(boardVO.getBbsId())){
|
|
| 245 |
- boardVO.setFirstIndex(0); |
|
| 246 |
- boardVO.setRecordCountPerPage(4); |
|
| 247 |
- boardVO.setCrclId(null); |
|
| 248 |
- boardVO.setIsMainFlag("Y");
|
|
| 249 |
- boardVO.setSysTyCode("ALL");
|
|
| 250 |
- } |
|
| 251 |
- |
|
| 252 |
- //양식자료 - 학생접근 시 |
|
| 253 |
- if(SE_CODE < 8 && "BBSMSTR_000000000023".equals(boardVO.getBbsId())){
|
|
| 254 |
- List<String> searchCateList = new ArrayList<String>(); |
|
| 255 |
- searchCateList.add("CTG_0000000000000272");
|
|
| 256 |
- boardVO.setSearchCateList(searchCateList); |
|
| 257 |
- } |
|
| 258 |
- |
|
| 259 |
- List<BoardVO> resultList = bbsMngService.selectBoardArticles(boardVO); |
|
| 260 |
- int totCnt = bbsMngService.selectBoardArticlesCnt(boardVO); |
|
| 261 |
- |
|
| 262 |
- paginationInfo.setTotalRecordCount(totCnt); |
|
| 263 |
- |
|
| 264 |
- if(!EgovStringUtil.isEmpty(master.getCtgrymasterId())) {
|
|
| 265 |
- Ctgry ctgry = new Ctgry(); |
|
| 266 |
- ctgry.setCtgrymasterId(master.getCtgrymasterId()); |
|
| 267 |
- model.addAttribute("boardCateList", ctgryService.selectComtnbbsctgryList(ctgry));
|
|
| 268 |
- model.addAttribute("boardCateLevel", ctgryService.selectComtnbbsctgryLevel(ctgry));
|
|
| 269 |
- } |
|
| 270 |
- |
|
| 271 |
- |
|
| 272 |
- |
|
| 273 |
- model.addAttribute("resultList", resultList);
|
|
| 274 |
- model.addAttribute("resultCnt", totCnt);
|
|
| 275 |
- model.addAttribute("brdMstrVO", master);
|
|
| 276 |
- model.addAttribute("BbsFileStoreWebPathByWebFile", propertyService.getString("publish.tmplat.bbs.fileStoreWebPathByWebFile"));
|
|
| 277 |
- model.addAttribute("paginationInfo", paginationInfo);
|
|
| 278 |
- request.getSession().removeAttribute("sessionCommentVO");
|
|
| 279 |
- |
|
| 280 |
- return propertyService.getString("publish.sourc.bbs.fileStoreWebPathByJspFile") + master.getSourcId() + "/EgovNoticeList";
|
|
| 281 |
- } |
|
| 282 |
- |
|
| 283 |
- if("BBSMSTR_000000000010".equals(boardVO.getBbsId())){
|
|
| 284 |
- boardVO.setFirstIndex(0); |
|
| 285 |
- boardVO.setRecordCountPerPage(1000); |
|
| 286 |
- boardVO.setCrclId(null); |
|
| 287 |
- boardVO.setIsMainFlag("Y");
|
|
| 288 |
- boardVO.setSysTyCode("ALL");
|
|
| 289 |
- boardVO.setBbsAttrbCode("BBSA02");
|
|
| 290 |
- |
|
| 291 |
- List<BoardVO> resultList = bbsMngService.selectBoardArticles(boardVO); |
|
| 292 |
- model.addAttribute("resultList", resultList);
|
|
| 293 |
- |
|
| 294 |
- //언어코드 |
|
| 295 |
- Ctgry ctgry = new Ctgry(); |
|
| 296 |
- ctgry.setCtgrymasterId("CTGMST_0000000000002");
|
|
| 297 |
- model.addAttribute("languageList", egovBBSCtgryService.selectComtnbbsctgryList(ctgry));
|
|
| 298 |
- |
|
| 299 |
- return propertyService.getString("publish.sourc.bbs.fileStoreWebPathByJspFile") + "BBSSRC_0000000000010/EgovNoticeList";
|
|
| 300 |
- } |
|
| 301 |
- |
|
| 302 |
- return null; |
|
| 303 |
- } |
|
| 304 |
- |
|
| 305 |
- /** |
|
| 306 |
- * 게시물에 대한 상세 정보를 조회한다. |
|
| 307 |
- * |
|
| 308 |
- * @param boardVO |
|
| 309 |
- * @param sessionVO |
|
| 310 |
- * @param model |
|
| 311 |
- * @return |
|
| 312 |
- * @throws Exception |
|
| 313 |
- */ |
|
| 314 |
- @RequestMapping(value = "/cop/bbs/selectBoardArticle.do") |
|
| 315 |
- public String selectBoardArticle(@ModelAttribute("searchVO") BoardVO boardVO, ModelMap model, HttpServletRequest request, HttpServletResponse response) throws Exception {
|
|
| 316 |
- |
|
| 317 |
- SiteManageVO siteVO = siteManageService.selectSiteServiceInfo(request); |
|
| 318 |
- model.addAttribute("siteInfo", siteVO);
|
|
| 319 |
- |
|
| 320 |
- BoardMasterVO vo = new BoardMasterVO(); |
|
| 321 |
- vo.setBbsId(boardVO.getBbsId()); |
|
| 322 |
- vo.setSiteId(siteVO.getSiteId()); |
|
| 323 |
- vo.setSysTyCode(siteVO.getSysTyCode()); |
|
| 324 |
- |
|
| 325 |
- BoardMasterVO master = bbsAttrbService.selectBBSMasterInf(vo); |
|
| 326 |
- |
|
| 327 |
- if(master != null) {
|
|
| 328 |
- int SE_CODE = 1; |
|
| 329 |
- model.addAttribute("brdMstrVO", master);
|
|
| 330 |
- |
|
| 331 |
- LoginVO user = EgovUserDetailsHelper.getAuthenticatedUser(request, response); |
|
| 332 |
- if(user != null) {
|
|
| 333 |
- SE_CODE = Integer.parseInt(user.getUserSe()); |
|
| 334 |
- boardVO.setFrstRegisterId(user.getId()); |
|
| 335 |
- model.addAttribute("USER_INFO", user);
|
|
| 336 |
- |
|
| 337 |
- //교재&사전 |
|
| 338 |
- if("BBSMSTR_000000000005".equals(boardVO.getBbsId())){
|
|
| 339 |
- //좋아요 목록 |
|
| 340 |
- IndvdlestbsVO indvdlestbsVO = new IndvdlestbsVO(); |
|
| 341 |
- indvdlestbsVO.setUserId(user.getId()); |
|
| 342 |
- indvdlestbsVO.setSiteId(siteVO.getSiteId()); |
|
| 343 |
- indvdlestbsVO.setTrgetTyCode("BOOK_LIKE");
|
|
| 344 |
- indvdlestbsVO.setTrgetId(boardVO.getNttNo().toString()); |
|
| 345 |
- model.addAttribute("wishList", indvdlestbsService.selectIvpList(indvdlestbsVO));
|
|
| 346 |
- } |
|
| 347 |
- } |
|
| 348 |
- |
|
| 349 |
- if(SE_CODE >= 10) {
|
|
| 350 |
- boardVO.setAdminAt("Y");
|
|
| 351 |
- } |
|
| 352 |
- |
|
| 353 |
- if(SE_CODE >= Integer.parseInt(master.getInqireAuthor())){
|
|
| 354 |
- // 조회수 증가 여부 지정 |
|
| 355 |
- boardVO.setPlusCount(true); |
|
| 356 |
- boardVO.setCtgrymasterId(master.getCtgrymasterId()); |
|
| 357 |
- boardVO.setBbsAttrbCode(master.getBbsAttrbCode()); |
|
| 358 |
- BoardVO dbVO = bbsMngService.selectBoardArticle(boardVO); |
|
| 359 |
- model.addAttribute("board", dbVO);
|
|
| 360 |
- |
|
| 361 |
- model.addAttribute("BbsFileStoreWebPathByWebFile", propertyService.getString("publish.tmplat.bbs.fileStoreWebPathByWebFile"));
|
|
| 362 |
- return propertyService.getString("publish.sourc.bbs.fileStoreWebPathByJspFile") + master.getSourcId() + "/EgovNoticeInqire";
|
|
| 363 |
- } else {
|
|
| 364 |
- model.addAttribute("message", egovMessageSource.getMessage("fail.common.select"));
|
|
| 365 |
- return "forward:/cop/bbs/selectBoardList.do"; |
|
| 366 |
- } |
|
| 367 |
- } |
|
| 368 |
- |
|
| 369 |
- model.addAttribute("message", egovMessageSource.getMessage("fail.auth.access"));
|
|
| 370 |
- return "forward:/cop/bbs/selectBoardList.do"; |
|
| 371 |
- } |
|
| 372 |
- |
|
| 373 |
- /** |
|
| 374 |
- * 게시물 등록을 위한 등록페이지로 이동한다. |
|
| 375 |
- * |
|
| 376 |
- * @param boardVO |
|
| 377 |
- * @param sessionVO |
|
| 378 |
- * @param model |
|
| 379 |
- * @return |
|
| 380 |
- * @throws Exception |
|
| 381 |
- */ |
|
| 382 |
- @RequestMapping(value = "/cop/bbs/addBoardArticle.do") |
|
| 383 |
- public String addBoardArticle(@ModelAttribute("searchVO") BoardVO boardVO, ModelMap model, HttpServletRequest request, HttpServletResponse response) throws Exception {
|
|
| 384 |
- |
|
| 385 |
- |
|
| 386 |
- LoginVO user = EgovUserDetailsHelper.getAuthenticatedUser(request, response); |
|
| 387 |
- if(user == null) {
|
|
| 388 |
- return "redirect:" + EgovUserDetailsHelper.getRedirectLoginUrl(); |
|
| 389 |
- } |
|
| 390 |
- /* |
|
| 391 |
- LoginVO user = new LoginVO(); |
|
| 392 |
- user.setUserSe("10");
|
|
| 393 |
- user.setId("admin");
|
|
| 394 |
- user.setName("관리자");
|
|
| 395 |
- */ |
|
| 396 |
- SiteManageVO siteVO = siteManageService.selectSiteServiceInfo(request); |
|
| 397 |
- model.addAttribute("siteInfo", siteVO);
|
|
| 398 |
- |
|
| 399 |
- BoardMasterVO vo = new BoardMasterVO(); |
|
| 400 |
- vo.setBbsId(boardVO.getBbsId()); |
|
| 401 |
- vo.setSiteId(siteVO.getSiteId()); |
|
| 402 |
- vo.setSysTyCode(siteVO.getSysTyCode()); |
|
| 403 |
- |
|
| 404 |
- BoardMasterVO master = bbsAttrbService.selectBBSMasterInf(vo); |
|
| 405 |
- |
|
| 406 |
- if(master != null) {
|
|
| 407 |
- int SE_CODE = Integer.parseInt(user.getUserSe()); |
|
| 408 |
- if(SE_CODE >= Integer.parseInt(master.getRegistAuthor())){
|
|
| 409 |
- if(!EgovStringUtil.isEmpty(master.getCtgrymasterId())) {
|
|
| 410 |
- Ctgry ctgry = new Ctgry(); |
|
| 411 |
- ctgry.setCtgrymasterId(master.getCtgrymasterId()); |
|
| 412 |
- model.addAttribute("boardCateList", ctgryService.selectComtnbbsctgryList(ctgry));
|
|
| 413 |
- |
|
| 414 |
- model.addAttribute("boardCateLevel", ctgryService.selectComtnbbsctgryLevel(ctgry));
|
|
| 415 |
- } |
|
| 416 |
- |
|
| 417 |
- model.addAttribute("brdMstrVO", master);
|
|
| 418 |
- |
|
| 419 |
- Board board = new Board(); |
|
| 420 |
- model.addAttribute("board", board);
|
|
| 421 |
- |
|
| 422 |
- request.getSession().setAttribute("sessionVO", boardVO);
|
|
| 423 |
- |
|
| 424 |
- /*user.setUserSe("10");
|
|
| 425 |
- user.setId("admin");
|
|
| 426 |
- user.setName("관리자");*/
|
|
| 427 |
- model.addAttribute("USER_INFO", user);
|
|
| 428 |
- model.addAttribute("BbsFileStoreWebPathByWebFile", propertyService.getString("publish.tmplat.bbs.fileStoreWebPathByWebFile"));
|
|
| 429 |
- return propertyService.getString("publish.sourc.bbs.fileStoreWebPathByJspFile") + master.getSourcId() + "/EgovNoticeRegist";
|
|
| 430 |
- } else {
|
|
| 431 |
- model.addAttribute("message", egovMessageSource.getMessage("fail.auth.regist"));
|
|
| 432 |
- return "forward:/cop/bbs/selectBoardList.do"; |
|
| 433 |
- } |
|
| 434 |
- } |
|
| 435 |
- |
|
| 436 |
- model.addAttribute("message", egovMessageSource.getMessage("fail.auth.access"));
|
|
| 437 |
- return "forward:/cop/bbs/selectBoardList.do"; |
|
| 438 |
- } |
|
| 439 |
- |
|
| 440 |
- /** |
|
| 441 |
- * 게시물을 등록한다. |
|
| 442 |
- * |
|
| 443 |
- * @param boardVO |
|
| 444 |
- * @param board |
|
| 445 |
- * @param sessionVO |
|
| 446 |
- * @param model |
|
| 447 |
- * @return |
|
| 448 |
- * @throws Exception |
|
| 449 |
- */ |
|
| 450 |
- @SuppressWarnings("unchecked")
|
|
| 451 |
- @RequestMapping(value = "/cop/bbs/insertBoardArticle.do") |
|
| 452 |
- public String insertBoardArticle(final MultipartHttpServletRequest multiRequest, @ModelAttribute("searchVO") BoardVO boardVO,
|
|
| 453 |
- Board board, HttpServletRequest request, HttpServletResponse response, ModelMap model) throws Exception {
|
|
| 454 |
- |
|
| 455 |
- if(request.getSession().getAttribute("sessionVO") == null) {
|
|
| 456 |
- return "forward:/cop/bbs/selectBoardList.do"; |
|
| 457 |
- } |
|
| 458 |
- LoginVO user = EgovUserDetailsHelper.getAuthenticatedUser(request, response); |
|
| 459 |
- /* |
|
| 460 |
- LoginVO user = new LoginVO(); |
|
| 461 |
- user.setUserSe("10");
|
|
| 462 |
- user.setName("관리자");
|
|
| 463 |
- user.setId("admin");
|
|
| 464 |
- */ |
|
| 465 |
- //beanValidator.validate(board, bindingResult); |
|
| 466 |
- |
|
| 467 |
- BoardMasterVO vo = new BoardMasterVO(); |
|
| 468 |
- vo.setBbsId(boardVO.getBbsId()); |
|
| 469 |
- |
|
| 470 |
- SiteManageVO siteVO = siteManageService.selectSiteServiceInfo(request); |
|
| 471 |
- vo.setSiteId(siteVO.getSiteId()); |
|
| 472 |
- |
|
| 473 |
- vo.setSysTyCode(siteVO.getSysTyCode()); |
|
| 474 |
- BoardMasterVO master = bbsAttrbService.selectBBSMasterInf(vo); |
|
| 475 |
- |
|
| 476 |
- if(master != null) {
|
|
| 477 |
- int SE_CODE = Integer.parseInt(user.getUserSe()); |
|
| 478 |
- if(SE_CODE >= Integer.parseInt(master.getRegistAuthor())) {
|
|
| 479 |
- String atchFileId = ""; |
|
| 480 |
- |
|
| 481 |
- List<FileVO> result = null; |
|
| 482 |
- |
|
| 483 |
- final Map<String, MultipartFile> files = multiRequest.getFileMap(); |
|
| 484 |
- if(!files.isEmpty()) {
|
|
| 485 |
- result = fileUtil.parseBoardFileInf(Long.parseLong(master.getPosblAtchFileSize()) * 1024 * 1024, files, 0, "", |
|
| 486 |
- siteManageService.selectSiteServiceInfo(request).getSiteId(), boardVO.getBbsId(), boardVO.getLa(), boardVO.getLo()); |
|
| 487 |
- atchFileId = fileMngService.insertFileInfs(result); |
|
| 488 |
- } |
|
| 489 |
- |
|
| 490 |
- |
|
| 491 |
- boardVO.setAtchFileId(atchFileId); |
|
| 492 |
- boardVO.setFrstRegisterId(user.getId()); |
|
| 493 |
- boardVO.setNtcrNm(user.getName()); |
|
| 494 |
- boardVO.setNttCn(unscript(boardVO.getNttCn())); // XSS 방지 |
|
| 495 |
- boardVO.setCreatIp(EgovClntInfo.getClntIP(request)); |
|
| 496 |
- boardVO.setEstnData(EgovHttpUtil.getEstnParseData(request)); |
|
| 497 |
- /*boardVO.setUseAt("Y");
|
|
| 498 |
- boardVO.setOthbcAt("Y");
|
|
| 499 |
- boardVO.setNoticeAt("N");*/
|
|
| 500 |
- |
|
| 501 |
- bbsMngService.insertBoardArticle(boardVO, master); |
|
| 502 |
- } |
|
| 503 |
- } |
|
| 504 |
- |
|
| 505 |
- request.getSession().removeAttribute("sessionVO");
|
|
| 506 |
- |
|
| 507 |
- return "forward:/cop/bbs/selectBoardList.do"; |
|
| 508 |
- //return "test"; |
|
| 509 |
- } |
|
| 510 |
- |
|
| 511 |
- /** |
|
| 512 |
- * 게시물에 대한 답변 등록을 위한 등록페이지로 이동한다. |
|
| 513 |
- * |
|
| 514 |
- * @param boardVO |
|
| 515 |
- * @param sessionVO |
|
| 516 |
- * @param model |
|
| 517 |
- * @return |
|
| 518 |
- * @throws Exception |
|
| 519 |
- */ |
|
| 520 |
- @RequestMapping(value = "/cop/bbs/addReplyBoardArticle.do") |
|
| 521 |
- public String addReplyBoardArticle(@ModelAttribute("searchVO") BoardVO boardVO, ModelMap model, HttpServletRequest request, HttpServletResponse response) throws Exception {
|
|
| 522 |
- |
|
| 523 |
- LoginVO user = EgovUserDetailsHelper.getAuthenticatedUser(request, response); |
|
| 524 |
- if(user == null) {
|
|
| 525 |
- return "redirect:" + EgovUserDetailsHelper.getRedirectLoginUrl(); |
|
| 526 |
- } |
|
| 527 |
- |
|
| 528 |
- SiteManageVO siteVO = siteManageService.selectSiteServiceInfo(request); |
|
| 529 |
- model.addAttribute("siteInfo", siteVO);
|
|
| 530 |
- |
|
| 531 |
- BoardMasterVO vo = new BoardMasterVO(); |
|
| 532 |
- vo.setBbsId(boardVO.getBbsId()); |
|
| 533 |
- vo.setSiteId(siteVO.getSiteId()); |
|
| 534 |
- vo.setSysTyCode(siteVO.getSysTyCode()); |
|
| 535 |
- |
|
| 536 |
- BoardMasterVO master = bbsAttrbService.selectBBSMasterInf(vo); |
|
| 537 |
- |
|
| 538 |
- if(master != null) {
|
|
| 539 |
- int SE_CODE = Integer.parseInt(user.getUserSe()); |
|
| 540 |
- if(SE_CODE >= Integer.parseInt(master.getAnswerAuthor())){
|
|
| 541 |
- model.addAttribute("brdMstrVO", master);
|
|
| 542 |
- |
|
| 543 |
- BoardVO selectVO = new BoardVO(); |
|
| 544 |
- selectVO.setBbsId(master.getBbsId()); |
|
| 545 |
- selectVO.setNttNo(boardVO.getNttNo()); |
|
| 546 |
- selectVO.setAdminAt("Y");
|
|
| 547 |
- |
|
| 548 |
- selectVO = bbsMngService.selectBoardArticle(selectVO); |
|
| 549 |
- |
|
| 550 |
- Board board = new Board(); |
|
| 551 |
- board.setCtgryId(selectVO.getCtgryId()); |
|
| 552 |
- //board.setOrdrCode(selectVO.getOrdrCode()); |
|
| 553 |
- //board.setOrdrCodeDp(BigDecimal.valueOf(selectVO.getOrdrCodeDp().longValue() + 1)); |
|
| 554 |
- |
|
| 555 |
- if("BBSA11".equals(master.getBbsAttrbCode())) {
|
|
| 556 |
- |
|
| 557 |
- board.setNttNo(selectVO.getNttNo()); |
|
| 558 |
- board.setNttSj(selectVO.getNttSj()); |
|
| 559 |
- board.setNttCn(selectVO.getNttCn()); |
|
| 560 |
- board.setEstnData(selectVO.getEstnData()); |
|
| 561 |
- /* |
|
| 562 |
- if(!EgovStringUtil.isEmpty(selectVO.getEstnData())) {
|
|
| 563 |
- board.setNttCn(selectVO.getEstnParseData().getString("cn"));
|
|
| 564 |
- } |
|
| 565 |
- */ |
|
| 566 |
- board.setAtchFileId(selectVO.getEstnAtchFileId()); |
|
| 567 |
- board.setProcessSttusCode(selectVO.getProcessSttusCode()); |
|
| 568 |
- |
|
| 569 |
- ComDefaultCodeVO codeVO = new ComDefaultCodeVO(); |
|
| 570 |
- codeVO.setCodeId("COM108");
|
|
| 571 |
- model.addAttribute("qaCodeList", cmmUseService.selectCmmCodeDetail(codeVO));
|
|
| 572 |
- } |
|
| 573 |
- |
|
| 574 |
- model.addAttribute("board", board);
|
|
| 575 |
- |
|
| 576 |
- request.getSession().setAttribute("sessionVO", boardVO);
|
|
| 577 |
- |
|
| 578 |
- model.addAttribute("USER_INFO", user);
|
|
| 579 |
- model.addAttribute("BbsFileStoreWebPathByWebFile", propertyService.getString("publish.tmplat.bbs.fileStoreWebPathByWebFile"));
|
|
| 580 |
- return propertyService.getString("publish.sourc.bbs.fileStoreWebPathByJspFile") + master.getSourcId() + "/EgovNoticeRegist";
|
|
| 581 |
- } else {
|
|
| 582 |
- model.addAttribute("message", egovMessageSource.getMessage("fail.auth.regist"));
|
|
| 583 |
- return "forward:/cop//bbs/selectBoardList.do"; |
|
| 584 |
- } |
|
| 585 |
- } |
|
| 586 |
- |
|
| 587 |
- model.addAttribute("message", egovMessageSource.getMessage("fail.auth.access"));
|
|
| 588 |
- return "forward:/cop/bbs/selectBoardList.do"; |
|
| 589 |
- } |
|
| 590 |
- |
|
| 591 |
- /** |
|
| 592 |
- * 게시물에 대한 답변을 등록한다. |
|
| 593 |
- * |
|
| 594 |
- * @param boardVO |
|
| 595 |
- * @param board |
|
| 596 |
- * @param sessionVO |
|
| 597 |
- * @param model |
|
| 598 |
- * @return |
|
| 599 |
- * @throws Exception |
|
| 600 |
- */ |
|
| 601 |
- @SuppressWarnings("unchecked")
|
|
| 602 |
- @RequestMapping(value = "/cop/bbs/replyBoardArticle.do") |
|
| 603 |
- public String replyBoardArticle(final MultipartHttpServletRequest multiRequest, @ModelAttribute("searchVO") BoardVO boardVO,
|
|
| 604 |
- Board board, ModelMap model, HttpServletRequest request, HttpServletResponse response) throws Exception {
|
|
| 605 |
- |
|
| 606 |
- if(request.getSession().getAttribute("sessionVO") == null) {
|
|
| 607 |
- return "forward:/cop/bbs/selectBoardList.do"; |
|
| 608 |
- } |
|
| 609 |
- |
|
| 610 |
- LoginVO user = EgovUserDetailsHelper.getAuthenticatedUser(request, response); |
|
| 611 |
- |
|
| 612 |
- BoardMasterVO vo = new BoardMasterVO(); |
|
| 613 |
- vo.setBbsId(boardVO.getBbsId()); |
|
| 614 |
- |
|
| 615 |
- SiteManageVO siteVO = siteManageService.selectSiteServiceInfo(request); |
|
| 616 |
- vo.setSiteId(siteVO.getSiteId()); |
|
| 617 |
- vo.setSysTyCode(siteVO.getSysTyCode()); |
|
| 618 |
- |
|
| 619 |
- BoardMasterVO master = bbsAttrbService.selectBBSMasterInf(vo); |
|
| 620 |
- |
|
| 621 |
- if(master != null) {
|
|
| 622 |
- int SE_CODE = Integer.parseInt(user.getUserSe()); |
|
| 623 |
- if(SE_CODE >= Integer.parseInt(master.getAnswerAuthor())){
|
|
| 624 |
- if(SE_CODE >= 10) {
|
|
| 625 |
- boardVO.setAdminAt("Y");
|
|
| 626 |
- } |
|
| 627 |
- |
|
| 628 |
- String atchFileId = boardVO.getAtchFileId();; |
|
| 629 |
- |
|
| 630 |
- final Map<String, MultipartFile> files = multiRequest.getFileMap(); |
|
| 631 |
- |
|
| 632 |
- |
|
| 633 |
- if("BBSA11".equals(master.getBbsAttrbCode())) {
|
|
| 634 |
- if(!files.isEmpty()) {
|
|
| 635 |
- if(EgovStringUtil.isEmpty(atchFileId)) {
|
|
| 636 |
- List<FileVO> result = fileUtil.parseBoardFileInf(Long.parseLong(master.getPosblAtchFileSize()) * 1024 * 1024, files, 0, atchFileId, |
|
| 637 |
- siteManageService.selectSiteServiceInfo(request).getSiteId(), boardVO.getBbsId(), boardVO.getLa(), boardVO.getLo()); |
|
| 638 |
- atchFileId = fileMngService.insertFileInfs(result); |
|
| 639 |
- } else {
|
|
| 640 |
- FileVO fvo = new FileVO(); |
|
| 641 |
- fvo.setAtchFileId(atchFileId); |
|
| 642 |
- int cnt = fileMngService.getMaxFileSN(fvo); |
|
| 643 |
- List<FileVO> _result = fileUtil.parseBoardFileInf(Long.parseLong(master.getPosblAtchFileSize()) * 1024 * 1024, files, cnt, atchFileId, |
|
| 644 |
- siteManageService.selectSiteServiceInfo(request).getSiteId(), boardVO.getBbsId(), boardVO.getLa(), boardVO.getLo()); |
|
| 645 |
- fileMngService.updateFileInfs(_result); |
|
| 646 |
- } |
|
| 647 |
- boardVO.setEstnAtchFileId(atchFileId); |
|
| 648 |
- } |
|
| 649 |
- |
|
| 650 |
- boardVO.setLastAnswrrId(user.getId()); |
|
| 651 |
- boardVO.setLastAnswrrNm(user.getName()); |
|
| 652 |
- |
|
| 653 |
- JSONObject jObj = new JSONObject(); |
|
| 654 |
- //jObj.put("cn", boardVO.getNttCn());
|
|
| 655 |
- jObj.put("cn", boardVO.getEstnData());
|
|
| 656 |
- boardVO.setEstnData(jObj.toString()); |
|
| 657 |
- |
|
| 658 |
- bbsMngService.updateBoardArticle(boardVO, master, true); |
|
| 659 |
- } else {
|
|
| 660 |
- if(!files.isEmpty()) {
|
|
| 661 |
- List<FileVO> result = fileUtil.parseBoardFileInf(Long.parseLong(master.getPosblAtchFileSize()) * 1024 * 1024, files, 0, "", |
|
| 662 |
- siteManageService.selectSiteServiceInfo(request).getSiteId(), boardVO.getBbsId(), boardVO.getLa(), boardVO.getLo()); |
|
| 663 |
- atchFileId = fileMngService.insertFileInfs(result); |
|
| 664 |
- } |
|
| 665 |
- |
|
| 666 |
- boardVO.setAtchFileId(atchFileId); |
|
| 667 |
- boardVO.setFrstRegisterId(user.getId()); |
|
| 668 |
- boardVO.setNtcrNm(user.getName()); |
|
| 669 |
- boardVO.setNttCn(unscript(boardVO.getNttCn())); // XSS 방지 |
|
| 670 |
- boardVO.setCreatIp(EgovClntInfo.getClntIP(request)); |
|
| 671 |
- |
|
| 672 |
- boardVO.setEstnData(EgovHttpUtil.getEstnParseData(request)); |
|
| 673 |
- bbsMngService.replyBoardArticle(boardVO, master); |
|
| 674 |
- } |
|
| 675 |
- } |
|
| 676 |
- } |
|
| 677 |
- |
|
| 678 |
- request.getSession().removeAttribute("sessionVO");
|
|
| 679 |
- |
|
| 680 |
- return "forward:/cop/bbs/selectBoardList.do"; |
|
| 681 |
- } |
|
| 682 |
- |
|
| 683 |
- /** |
|
| 684 |
- * 게시물 수정을 위한 수정페이지로 이동한다. |
|
| 685 |
- * |
|
| 686 |
- * @param boardVO |
|
| 687 |
- * @param vo |
|
| 688 |
- * @param sessionVO |
|
| 689 |
- * @param model |
|
| 690 |
- * @return |
|
| 691 |
- * @throws Exception |
|
| 692 |
- */ |
|
| 693 |
- @RequestMapping(value = "/cop/bbs/forUpdateBoardArticle.do") |
|
| 694 |
- public String selectBoardArticleForUpdt(@ModelAttribute("searchVO") BoardVO boardVO, ModelMap model, HttpServletRequest request, HttpServletResponse response) throws Exception {
|
|
| 695 |
- |
|
| 696 |
- LoginVO user = EgovUserDetailsHelper.getAuthenticatedUser(request, response); |
|
| 697 |
- if(user == null) {
|
|
| 698 |
- return "redirect:" + EgovUserDetailsHelper.getRedirectLoginUrl(); |
|
| 699 |
- } |
|
| 700 |
- |
|
| 701 |
- SiteManageVO siteVO = siteManageService.selectSiteServiceInfo(request); |
|
| 702 |
- model.addAttribute("siteInfo", siteVO);
|
|
| 703 |
- |
|
| 704 |
- BoardMasterVO vo = new BoardMasterVO(); |
|
| 705 |
- vo.setBbsId(boardVO.getBbsId()); |
|
| 706 |
- vo.setSiteId(siteVO.getSiteId()); |
|
| 707 |
- vo.setSysTyCode(siteVO.getSysTyCode()); |
|
| 708 |
- |
|
| 709 |
- boardVO.setFrstRegisterId(user.getId()); |
|
| 710 |
- |
|
| 711 |
- BoardMasterVO master = bbsAttrbService.selectBBSMasterInf(vo); |
|
| 712 |
- |
|
| 713 |
- if(master != null) {
|
|
| 714 |
- int SE_CODE = Integer.parseInt(user.getUserSe()); |
|
| 715 |
- if(SE_CODE >= 10) {
|
|
| 716 |
- boardVO.setAdminAt("Y");
|
|
| 717 |
- } |
|
| 718 |
- |
|
| 719 |
- if(SE_CODE >= Integer.parseInt(master.getRegistAuthor())){
|
|
| 720 |
- if(!EgovStringUtil.isEmpty(master.getCtgrymasterId())) {
|
|
| 721 |
- Ctgry ctgry = new Ctgry(); |
|
| 722 |
- ctgry.setCtgrymasterId(master.getCtgrymasterId()); |
|
| 723 |
- model.addAttribute("boardCateList", ctgryService.selectComtnbbsctgryList(ctgry));
|
|
| 724 |
- |
|
| 725 |
- model.addAttribute("boardCateLevel", ctgryService.selectComtnbbsctgryLevel(ctgry));
|
|
| 726 |
- } |
|
| 727 |
- |
|
| 728 |
- boardVO.setCtgrymasterId(master.getCtgrymasterId()); |
|
| 729 |
- BoardVO dataVO = bbsMngService.selectBoardArticle(boardVO); |
|
| 730 |
- |
|
| 731 |
- model.addAttribute("brdMstrVO", master);
|
|
| 732 |
- model.addAttribute("board", dataVO);
|
|
| 733 |
- |
|
| 734 |
- request.getSession().setAttribute("sessionVO", boardVO);
|
|
| 735 |
- |
|
| 736 |
- model.addAttribute("USER_INFO", user);
|
|
| 737 |
- model.addAttribute("BbsFileStoreWebPathByWebFile", propertyService.getString("publish.tmplat.bbs.fileStoreWebPathByWebFile"));
|
|
| 738 |
- return propertyService.getString("publish.sourc.bbs.fileStoreWebPathByJspFile") + master.getSourcId() + "/EgovNoticeRegist";
|
|
| 739 |
- } else {
|
|
| 740 |
- model.addAttribute("message", egovMessageSource.getMessage("fail.auth.regist"));
|
|
| 741 |
- return "forward:/cop/bbs/selectBoardList.do"; |
|
| 742 |
- } |
|
| 743 |
- } |
|
| 744 |
- |
|
| 745 |
- model.addAttribute("message", egovMessageSource.getMessage("fail.auth.access"));
|
|
| 746 |
- return "forward:/cop/bbs/selectBoardList.do"; |
|
| 747 |
- } |
|
| 748 |
- |
|
| 749 |
- /** |
|
| 750 |
- * 게시물에 대한 내용을 수정한다. |
|
| 751 |
- * |
|
| 752 |
- * @param boardVO |
|
| 753 |
- * @param board |
|
| 754 |
- * @param sessionVO |
|
| 755 |
- * @param model |
|
| 756 |
- * @return |
|
| 757 |
- * @throws Exception |
|
| 758 |
- */ |
|
| 759 |
- @SuppressWarnings("unchecked")
|
|
| 760 |
- @RequestMapping(value = "/cop/bbs/updateBoardArticle.do") |
|
| 761 |
- public String updateBoardArticle(final MultipartHttpServletRequest multiRequest, @ModelAttribute("searchVO") BoardVO boardVO,
|
|
| 762 |
- Board board, BindingResult bindingResult, |
|
| 763 |
- ModelMap model, HttpServletRequest request, HttpServletResponse response) throws Exception {
|
|
| 764 |
- |
|
| 765 |
- if(request.getSession().getAttribute("sessionVO") == null) {
|
|
| 766 |
- return "forward:/cop/bbs/selectBoardList.do"; |
|
| 767 |
- } |
|
| 768 |
- |
|
| 769 |
- LoginVO user = EgovUserDetailsHelper.getAuthenticatedUser(request, response); |
|
| 770 |
- String atchFileId = boardVO.getAtchFileId(); |
|
| 771 |
- |
|
| 772 |
- beanValidator.validate(board, bindingResult); |
|
| 773 |
- |
|
| 774 |
- BoardMasterVO vo = new BoardMasterVO(); |
|
| 775 |
- vo.setBbsId(boardVO.getBbsId()); |
|
| 776 |
- |
|
| 777 |
- SiteManageVO siteVO = siteManageService.selectSiteServiceInfo(request); |
|
| 778 |
- vo.setSiteId(siteVO.getSiteId()); |
|
| 779 |
- vo.setSysTyCode(siteVO.getSysTyCode()); |
|
| 780 |
- |
|
| 781 |
- BoardMasterVO master = bbsAttrbService.selectBBSMasterInf(vo); |
|
| 782 |
- |
|
| 783 |
- if(bindingResult.hasErrors()) {
|
|
| 784 |
- |
|
| 785 |
- if(master != null) {
|
|
| 786 |
- if(!EgovStringUtil.isEmpty(master.getCtgrymasterId())) {
|
|
| 787 |
- Ctgry ctgry = new Ctgry(); |
|
| 788 |
- ctgry.setCtgrymasterId(master.getCtgrymasterId()); |
|
| 789 |
- model.addAttribute("boardCateList", ctgryService.selectComtnbbsctgryList(ctgry));
|
|
| 790 |
- |
|
| 791 |
- model.addAttribute("boardCateLevel", ctgryService.selectComtnbbsctgryLevel(ctgry));
|
|
| 792 |
- } |
|
| 793 |
- |
|
| 794 |
- model.addAttribute("siteInfo", siteVO);
|
|
| 795 |
- |
|
| 796 |
- boardVO.setCtgrymasterId(master.getCtgrymasterId()); |
|
| 797 |
- BoardVO dataVO = bbsMngService.selectBoardArticle(boardVO); |
|
| 798 |
- |
|
| 799 |
- model.addAttribute("brdMstrVO", master);
|
|
| 800 |
- model.addAttribute("board", dataVO);
|
|
| 801 |
- |
|
| 802 |
- model.addAttribute("USER_INFO", user);
|
|
| 803 |
- model.addAttribute("BbsFileStoreWebPathByWebFile", propertyService.getString("publish.tmplat.bbs.fileStoreWebPathByWebFile"));
|
|
| 804 |
- return propertyService.getString("publish.sourc.bbs.fileStoreWebPathByJspFile") + master.getSourcId() + "/EgovNoticeRegist";
|
|
| 805 |
- } |
|
| 806 |
- |
|
| 807 |
- } |
|
| 808 |
- |
|
| 809 |
- if(master != null) {
|
|
| 810 |
- int SE_CODE = Integer.parseInt(user.getUserSe()); |
|
| 811 |
- if(SE_CODE >= Integer.parseInt(master.getRegistAuthor())) {
|
|
| 812 |
- |
|
| 813 |
- final Map<String, MultipartFile> files = multiRequest.getFileMap(); |
|
| 814 |
- if(!files.isEmpty()) {
|
|
| 815 |
- if(EgovStringUtil.isEmpty(atchFileId)) {
|
|
| 816 |
- List<FileVO> result = fileUtil.parseBoardFileInf(Long.parseLong(master.getPosblAtchFileSize()) * 1024 * 1024, files, 0, atchFileId, |
|
| 817 |
- siteManageService.selectSiteServiceInfo(request).getSiteId(), boardVO.getBbsId(), boardVO.getLa(), boardVO.getLo()); |
|
| 818 |
- atchFileId = fileMngService.insertFileInfs(result); |
|
| 819 |
- boardVO.setAtchFileId(atchFileId); |
|
| 820 |
- } else {
|
|
| 821 |
- FileVO fvo = new FileVO(); |
|
| 822 |
- fvo.setAtchFileId(atchFileId); |
|
| 823 |
- int cnt = fileMngService.getMaxFileSN(fvo); |
|
| 824 |
- List<FileVO> _result = fileUtil.parseBoardFileInf(Long.parseLong(master.getPosblAtchFileSize()) * 1024 * 1024, files, 0, atchFileId, |
|
| 825 |
- siteManageService.selectSiteServiceInfo(request).getSiteId(), boardVO.getBbsId(), boardVO.getLa(), boardVO.getLo()); |
|
| 826 |
- fileMngService.updateFileInfs(_result); |
|
| 827 |
- } |
|
| 828 |
- } |
|
| 829 |
- |
|
| 830 |
- if(!"".equals(atchFileId)) {
|
|
| 831 |
- FileVO fvo = new FileVO(); |
|
| 832 |
- fvo.setAtchFileId(atchFileId); |
|
| 833 |
- List<FileVO> dbFiles = fileMngService.selectFileInfs(fvo); |
|
| 834 |
- if(dbFiles == null || dbFiles.size() == 0) {
|
|
| 835 |
- boardVO.setAtchFileId("");
|
|
| 836 |
- boardVO.setFileGroupId("");
|
|
| 837 |
- } |
|
| 838 |
- } |
|
| 839 |
- |
|
| 840 |
- if(SE_CODE >= 10) {
|
|
| 841 |
- boardVO.setAdminAt("Y");
|
|
| 842 |
- } |
|
| 843 |
- boardVO.setLastUpdusrId(user.getId()); |
|
| 844 |
- boardVO.setNttCn(unscript(boardVO.getNttCn())); // XSS 방지 |
|
| 845 |
- boardVO.setEstnData(EgovHttpUtil.getEstnParseData(request)); |
|
| 846 |
- |
|
| 847 |
- bbsMngService.updateBoardArticle(boardVO, master, false); |
|
| 848 |
- } |
|
| 849 |
- } |
|
| 850 |
- |
|
| 851 |
- request.getSession().removeAttribute("sessionVO");
|
|
| 852 |
- |
|
| 853 |
- return "forward:/cop/bbs/selectBoardList.do"; |
|
| 854 |
- } |
|
| 855 |
- |
|
| 856 |
- /** |
|
| 857 |
- * 게시물에 대한 내용을 삭제한다. |
|
| 858 |
- * |
|
| 859 |
- * @param boardVO |
|
| 860 |
- * @param board |
|
| 861 |
- * @param sessionVO |
|
| 862 |
- * @param model |
|
| 863 |
- * @return |
|
| 864 |
- * @throws Exception |
|
| 865 |
- */ |
|
| 866 |
- @RequestMapping(value = "/cop/bbs/deleteBoardArticle.do") |
|
| 867 |
- public String deleteBoardArticle(@ModelAttribute("searchVO") BoardVO boardVO, BoardVO board, ModelMap model, HttpServletRequest request, HttpServletResponse response) throws Exception {
|
|
| 868 |
- |
|
| 869 |
- LoginVO user = EgovUserDetailsHelper.getAuthenticatedUser(request, response); |
|
| 870 |
- if(user == null) {
|
|
| 871 |
- return "redirect:" + EgovUserDetailsHelper.getRedirectLoginUrl(); |
|
| 872 |
- } |
|
| 873 |
- |
|
| 874 |
- BoardMasterVO vo = new BoardMasterVO(); |
|
| 875 |
- vo.setBbsId(boardVO.getBbsId()); |
|
| 876 |
- |
|
| 877 |
- SiteManageVO siteVO = siteManageService.selectSiteServiceInfo(request); |
|
| 878 |
- vo.setSiteId(siteVO.getSiteId()); |
|
| 879 |
- vo.setSysTyCode(siteVO.getSysTyCode()); |
|
| 880 |
- |
|
| 881 |
- BoardMasterVO master = bbsAttrbService.selectBBSMasterInf(vo); |
|
| 882 |
- |
|
| 883 |
- if(master != null) {
|
|
| 884 |
- int SE_CODE = Integer.parseInt(user.getUserSe()); |
|
| 885 |
- if(SE_CODE >= Integer.parseInt(master.getRegistAuthor())){
|
|
| 886 |
- if(SE_CODE >= 10) {
|
|
| 887 |
- boardVO.setAdminAt("Y");
|
|
| 888 |
- } |
|
| 889 |
- |
|
| 890 |
- board.setLastUpdusrId(user.getId()); |
|
| 891 |
- bbsMngService.deleteBoardArticle(board, master); |
|
| 892 |
- } |
|
| 893 |
- } |
|
| 894 |
- |
|
| 895 |
- return "forward:/cop/bbs/selectBoardList.do"; |
|
| 896 |
- } |
|
| 897 |
- |
|
| 898 |
- |
|
| 899 |
- /** |
|
| 900 |
- * [관리용-공통] 게시판 마스터 목록을 조회한다. |
|
| 901 |
- * |
|
| 902 |
- * @param boardMasterVO |
|
| 903 |
- * @param model |
|
| 904 |
- * @return |
|
| 905 |
- * @throws Exception |
|
| 906 |
- */ |
|
| 907 |
- @RequestMapping("/cop/com/selectAllBBSMasterManageInfs.do")
|
|
| 908 |
- public String selectAllBBSMasterManageInfs(@ModelAttribute("searchVO") BoardMasterVO boardMasterVO, ModelMap model, HttpServletRequest request, HttpServletResponse response) throws Exception {
|
|
| 909 |
- |
|
| 910 |
- LoginVO loginVO = EgovUserDetailsHelper.getAuthenticatedUser(request, response); |
|
| 911 |
- if(!EgovStringUtil.isEmpty(loginVO.getSiteId())) {
|
|
| 912 |
- boardMasterVO.setSiteId(loginVO.getSiteId()); |
|
| 913 |
- } |
|
| 914 |
- |
|
| 915 |
- boardMasterVO.setPageUnit(propertyService.getInt("pageUnit"));
|
|
| 916 |
- boardMasterVO.setPageSize(propertyService.getInt("pageSize"));
|
|
| 917 |
- |
|
| 918 |
- PaginationInfo paginationInfo = new PaginationInfo(); |
|
| 919 |
- |
|
| 920 |
- paginationInfo.setCurrentPageNo(boardMasterVO.getPageIndex()); |
|
| 921 |
- paginationInfo.setRecordCountPerPage(boardMasterVO.getPageUnit()); |
|
| 922 |
- paginationInfo.setPageSize(boardMasterVO.getPageSize()); |
|
| 923 |
- |
|
| 924 |
- boardMasterVO.setFirstIndex(paginationInfo.getFirstRecordIndex()); |
|
| 925 |
- boardMasterVO.setLastIndex(paginationInfo.getLastRecordIndex()); |
|
| 926 |
- boardMasterVO.setRecordCountPerPage(paginationInfo.getRecordCountPerPage()); |
|
| 927 |
- |
|
| 928 |
- if(!EgovStringUtil.isEmpty(boardMasterVO.getSiteId())) {
|
|
| 929 |
- List<BoardMasterVO> list = bbsAttrbService.selectAllBBSMasterManageInfs(boardMasterVO); |
|
| 930 |
- int totCnt = bbsAttrbService.selectAllBBSMasterManageInfsCnt(boardMasterVO); |
|
| 931 |
- |
|
| 932 |
- paginationInfo.setTotalRecordCount(totCnt); |
|
| 933 |
- |
|
| 934 |
- model.addAttribute("resultList", list);
|
|
| 935 |
- model.addAttribute("resultCnt", totCnt);
|
|
| 936 |
- } |
|
| 937 |
- |
|
| 938 |
- model.addAttribute("paginationInfo", paginationInfo);
|
|
| 939 |
- |
|
| 940 |
- return "cop/com/selectAllBBSMasterManageInfs"; |
|
| 941 |
- } |
|
| 942 |
- |
|
| 943 |
- /** |
|
| 944 |
- * 게시물을 관리한다. |
|
| 945 |
- * |
|
| 946 |
- * @param boardVO |
|
| 947 |
- * @param board |
|
| 948 |
- * @param sessionVO |
|
| 949 |
- * @param model |
|
| 950 |
- * @return |
|
| 951 |
- * @throws Exception |
|
| 952 |
- */ |
|
| 953 |
- @RequestMapping(value = "/cop/bbs/manageArticle.do") |
|
| 954 |
- public void manageArticle(@ModelAttribute("searchVO") BoardVO boardVO, ModelMap model, HttpServletRequest request, HttpServletResponse response) throws Exception {
|
|
| 955 |
- |
|
| 956 |
- LoginVO user = EgovUserDetailsHelper.getAuthenticatedUser(request, response); |
|
| 957 |
- boardVO.setLastUpdusrId(user.getId()); |
|
| 958 |
- |
|
| 959 |
- if("Move".equals(boardVO.getRegistAction())) {
|
|
| 960 |
- bbsMngService.updateBoardArticlesManageMove(boardVO); |
|
| 961 |
- } else if("Copy".equals(boardVO.getRegistAction())) {
|
|
| 962 |
- bbsMngService.updateBoardArticlesManageCopy(boardVO); |
|
| 963 |
- } else if("Hide".equals(boardVO.getRegistAction())) {
|
|
| 964 |
- bbsMngService.updateBoardArticlesManageHide(boardVO); |
|
| 965 |
- } else if("Remove".equals(boardVO.getRegistAction())) {
|
|
| 966 |
- bbsMngService.deleteCompleteBoardArticle(boardVO); |
|
| 967 |
- } else if("Repair".equals(boardVO.getRegistAction())) {
|
|
| 968 |
- bbsMngService.repairBoardArticle(boardVO); |
|
| 969 |
- } |
|
| 970 |
- |
|
| 971 |
- |
|
| 972 |
- JSONObject jo = new JSONObject(); |
|
| 973 |
- jo.put("message", egovMessageSource.getMessage("success.request.msg"));
|
|
| 974 |
- |
|
| 975 |
- response.setContentType("text/javascript; charset=utf-8");
|
|
| 976 |
- PrintWriter printwriter = response.getWriter(); |
|
| 977 |
- printwriter.println(jo.toString()); |
|
| 978 |
- printwriter.flush(); |
|
| 979 |
- printwriter.close(); |
|
| 980 |
- } |
|
| 981 |
- |
|
| 982 |
- /** |
|
| 983 |
- * COMTNBBSCTGRYMASTER 목록을 조회한다. (pageing) |
|
| 984 |
- * @param searchVO - 조회할 정보가 담긴 CtgryMaster |
|
| 985 |
- * @exception Exception |
|
| 986 |
- */ |
|
| 987 |
- @RequestMapping(value="/cop/bbs/selectBBSCtgryMasterList.do") |
|
| 988 |
- public String selectBBSCtgryMasterList(@ModelAttribute("searchVO") CtgryMaster searchVO, ModelMap model, HttpServletRequest request, HttpServletResponse response) throws Exception {
|
|
| 989 |
- LoginVO loginVO = EgovUserDetailsHelper.getAuthenticatedUser(request, response); |
|
| 990 |
- if(!EgovStringUtil.isEmpty(loginVO.getSiteId())) {
|
|
| 991 |
- searchVO.setSiteId(loginVO.getSiteId()); |
|
| 992 |
- } |
|
| 993 |
- |
|
| 994 |
- searchVO.setPageUnit(propertiesService.getInt("pageUnit"));
|
|
| 995 |
- searchVO.setPageSize(propertiesService.getInt("pageSize"));
|
|
| 996 |
- |
|
| 997 |
- /** pageing */ |
|
| 998 |
- PaginationInfo paginationInfo = new PaginationInfo(); |
|
| 999 |
- paginationInfo.setCurrentPageNo(searchVO.getPageIndex()); |
|
| 1000 |
- paginationInfo.setRecordCountPerPage(searchVO.getPageUnit()); |
|
| 1001 |
- paginationInfo.setPageSize(searchVO.getPageSize()); |
|
| 1002 |
- |
|
| 1003 |
- searchVO.setFirstIndex(paginationInfo.getFirstRecordIndex()); |
|
| 1004 |
- searchVO.setLastIndex(paginationInfo.getLastRecordIndex()); |
|
| 1005 |
- searchVO.setRecordCountPerPage(paginationInfo.getRecordCountPerPage()); |
|
| 1006 |
- |
|
| 1007 |
- searchVO.setRecordCountPerPage(Integer.MAX_VALUE); |
|
| 1008 |
- searchVO.setSysTyCode("SYS02");
|
|
| 1009 |
- List<CtgryMaster> masterList = egovBBSCtgryMasterService.selectComtnbbsctgrymasterList(searchVO); |
|
| 1010 |
- Ctgry ctgry = new Ctgry(); |
|
| 1011 |
- HashMap map = new HashMap(); |
|
| 1012 |
- int listSize = 0; |
|
| 1013 |
- for(int i = 0; i < masterList.size(); i++){
|
|
| 1014 |
- ctgry.setCtgrymasterId(masterList.get(i).getCtgrymasterId()); |
|
| 1015 |
- List<Ctgry> ctgryList = egovBBSCtgryService.selectComtnbbsctgryList(ctgry); |
|
| 1016 |
- map.put(masterList.get(i).getCtgrymasterId(), ctgryList); |
|
| 1017 |
- |
|
| 1018 |
- if(ctgryList.size() > listSize){
|
|
| 1019 |
- listSize = ctgryList.size(); |
|
| 1020 |
- } |
|
| 1021 |
- } |
|
| 1022 |
- |
|
| 1023 |
- model.addAttribute("resultList", map);
|
|
| 1024 |
- model.addAttribute("listSize", listSize);
|
|
| 1025 |
- |
|
| 1026 |
- return "/cop/ctg/EgovBBSCtgryMasterList02"; |
|
| 1027 |
- |
|
| 1028 |
- } |
|
| 1029 |
- |
|
| 1030 |
- /** |
|
| 1031 |
- * 마이페이지 > 관심리스트 > 교재/사전 |
|
| 1032 |
- */ |
|
| 1033 |
- @RequestMapping(value = "/cop/bbs/selectLikeBookList.do") |
|
| 1034 |
- public String selectLikeBookList(@ModelAttribute("searchVO") BoardVO boardVO, ModelMap model, HttpServletRequest request, HttpServletResponse response) throws Exception {
|
|
| 1035 |
- |
|
| 1036 |
- SiteManageVO siteVO = siteManageService.selectSiteServiceInfo(request); |
|
| 1037 |
- model.addAttribute("siteInfo", siteVO);
|
|
| 1038 |
- |
|
| 1039 |
- boardVO.setBbsId("BBSMSTR_000000000005");
|
|
| 1040 |
- |
|
| 1041 |
- PaginationInfo paginationInfo = new PaginationInfo(); |
|
| 1042 |
- |
|
| 1043 |
- BoardMasterVO vo = new BoardMasterVO(); |
|
| 1044 |
- vo.setBbsId(boardVO.getBbsId()); |
|
| 1045 |
- vo.setSiteId(siteVO.getSiteId()); |
|
| 1046 |
- vo.setSysTyCode(siteVO.getSysTyCode()); |
|
| 1047 |
- |
|
| 1048 |
- BoardMasterVO master = bbsAttrbService.selectBBSMasterInf(vo); |
|
| 1049 |
- |
|
| 1050 |
- LoginVO user = EgovUserDetailsHelper.getAuthenticatedUser(request, response); |
|
| 1051 |
- if(master != null) {
|
|
| 1052 |
- int SE_CODE = 1; |
|
| 1053 |
- if(user != null) {
|
|
| 1054 |
- SE_CODE = Integer.parseInt(user.getUserSe()); |
|
| 1055 |
- model.addAttribute("USER_INFO", user);
|
|
| 1056 |
- |
|
| 1057 |
- boardVO.setTrgetId(user.getId()); |
|
| 1058 |
- |
|
| 1059 |
- //교재&사전 |
|
| 1060 |
- if("BBSMSTR_000000000005".equals(boardVO.getBbsId())){
|
|
| 1061 |
- //좋아요 목록 |
|
| 1062 |
- IndvdlestbsVO indvdlestbsVO = new IndvdlestbsVO(); |
|
| 1063 |
- indvdlestbsVO.setUserId(user.getId()); |
|
| 1064 |
- indvdlestbsVO.setSiteId(siteVO.getSiteId()); |
|
| 1065 |
- indvdlestbsVO.setTrgetTyCode("BOOK_LIKE");
|
|
| 1066 |
- model.addAttribute("wishList", indvdlestbsService.selectIvpList(indvdlestbsVO));
|
|
| 1067 |
- } |
|
| 1068 |
- } |
|
| 1069 |
- |
|
| 1070 |
- // 페이징 정보 설정 |
|
| 1071 |
- boardVO.setPageUnit(propertyService.getInt("pageUnit"));
|
|
| 1072 |
- boardVO.setPageSize(propertyService.getInt("pageSize"));
|
|
| 1073 |
- boardVO.setCtgrymasterId(master.getCtgrymasterId()); |
|
| 1074 |
- |
|
| 1075 |
- if("BBSA02".equals(master.getBbsAttrbCode())) {
|
|
| 1076 |
- if(EgovStringUtil.isEmpty(boardVO.getViewType())){
|
|
| 1077 |
- boardVO.setViewType("photo");
|
|
| 1078 |
- } |
|
| 1079 |
- |
|
| 1080 |
- if("photo".equals(boardVO.getViewType())){
|
|
| 1081 |
- // 페이징 정보 설정 |
|
| 1082 |
- boardVO.setPageUnit(propertyService.getInt("photoPageUnit"));
|
|
| 1083 |
- boardVO.setPageSize(propertyService.getInt("photoPageSize"));
|
|
| 1084 |
- } |
|
| 1085 |
- } |
|
| 1086 |
- |
|
| 1087 |
- paginationInfo.setCurrentPageNo(boardVO.getPageIndex()); |
|
| 1088 |
- paginationInfo.setRecordCountPerPage(boardVO.getPageUnit()); |
|
| 1089 |
- paginationInfo.setPageSize(boardVO.getPageSize()); |
|
| 1090 |
- |
|
| 1091 |
- boardVO.setFirstIndex(paginationInfo.getFirstRecordIndex()); |
|
| 1092 |
- boardVO.setLastIndex(paginationInfo.getLastRecordIndex()); |
|
| 1093 |
- boardVO.setRecordCountPerPage(paginationInfo.getRecordCountPerPage()); |
|
| 1094 |
- |
|
| 1095 |
- boardVO.setCommentUseAt(master.getCommentUseAt()); |
|
| 1096 |
- boardVO.setBbsAttrbCode(master.getBbsAttrbCode()); |
|
| 1097 |
- |
|
| 1098 |
- boardVO.setBookLikeAt("Y");
|
|
| 1099 |
- |
|
| 1100 |
- List<BoardVO> resultList = bbsMngService.selectBoardArticles(boardVO); |
|
| 1101 |
- int totCnt = bbsMngService.selectBoardArticlesCnt(boardVO); |
|
| 1102 |
- |
|
| 1103 |
- paginationInfo.setTotalRecordCount(totCnt); |
|
| 1104 |
- |
|
| 1105 |
- if(!EgovStringUtil.isEmpty(master.getCtgrymasterId())) {
|
|
| 1106 |
- Ctgry ctgry = new Ctgry(); |
|
| 1107 |
- ctgry.setCtgrymasterId(master.getCtgrymasterId()); |
|
| 1108 |
- model.addAttribute("boardCateList", ctgryService.selectComtnbbsctgryList(ctgry));
|
|
| 1109 |
- model.addAttribute("boardCateLevel", ctgryService.selectComtnbbsctgryLevel(ctgry));
|
|
| 1110 |
- } |
|
| 1111 |
- |
|
| 1112 |
- model.addAttribute("resultList", resultList);
|
|
| 1113 |
- model.addAttribute("resultCnt", totCnt);
|
|
| 1114 |
- model.addAttribute("brdMstrVO", master);
|
|
| 1115 |
- model.addAttribute("BbsFileStoreWebPathByWebFile", propertyService.getString("publish.tmplat.bbs.fileStoreWebPathByWebFile"));
|
|
| 1116 |
- model.addAttribute("paginationInfo", paginationInfo);
|
|
| 1117 |
- request.getSession().removeAttribute("sessionCommentVO");
|
|
| 1118 |
- |
|
| 1119 |
- return "usr/EgovLikeBookList"; |
|
| 1120 |
- } |
|
| 1121 |
- |
|
| 1122 |
- return null; |
|
| 1123 |
- } |
|
| 1124 |
- |
|
| 1125 |
-} |
|
| 1 |
+package egovframework.com.cop.bbs.web; |
|
| 2 |
+ |
|
| 3 |
+import java.io.PrintWriter; |
|
| 4 |
+import java.math.BigDecimal; |
|
| 5 |
+import java.util.ArrayList; |
|
| 6 |
+import java.util.HashMap; |
|
| 7 |
+import java.util.List; |
|
| 8 |
+import java.util.Map; |
|
| 9 |
+ |
|
| 10 |
+import javax.annotation.Resource; |
|
| 11 |
+ |
|
| 12 |
+import net.sf.json.JSONObject; |
|
| 13 |
+ |
|
| 14 |
+import org.apache.log4j.Logger; |
|
| 15 |
+import org.springframework.beans.factory.annotation.Autowired; |
|
| 16 |
+import org.springframework.stereotype.Controller; |
|
| 17 |
+import org.springframework.ui.ModelMap; |
|
| 18 |
+import org.springframework.validation.BindingResult; |
|
| 19 |
+import org.springframework.web.bind.annotation.ModelAttribute; |
|
| 20 |
+import org.springframework.web.bind.annotation.RequestMapping; |
|
| 21 |
+import org.springframework.web.multipart.MultipartFile; |
|
| 22 |
+import org.springframework.web.multipart.MultipartHttpServletRequest; |
|
| 23 |
+import org.springmodules.validation.commons.DefaultBeanValidator; |
|
| 24 |
+ |
|
| 25 |
+import egovframework.com.cmm.EgovMessageSource; |
|
| 26 |
+import egovframework.com.cmm.service.CmmUseService; |
|
| 27 |
+import egovframework.com.cmm.service.EgovFileMngService; |
|
| 28 |
+import egovframework.com.cmm.service.EgovFileMngUtil; |
|
| 29 |
+import egovframework.com.cmm.service.FileVO; |
|
| 30 |
+import egovframework.com.cop.bbs.service.Board; |
|
| 31 |
+import egovframework.com.cop.bbs.service.BoardMasterVO; |
|
| 32 |
+import egovframework.com.cop.bbs.service.BoardVO; |
|
| 33 |
+import egovframework.com.cop.bbs.service.Ctgry; |
|
| 34 |
+import egovframework.com.cop.bbs.service.CtgryMaster; |
|
| 35 |
+import egovframework.com.cop.bbs.service.EgovBBSAttributeManageService; |
|
| 36 |
+import egovframework.com.cop.bbs.service.EgovBBSCtgryMasterService; |
|
| 37 |
+import egovframework.com.cop.bbs.service.EgovBBSCtgryService; |
|
| 38 |
+import egovframework.com.cop.bbs.service.EgovBBSManageService; |
|
| 39 |
+import egovframework.com.sec.ram.security.userdetails.util.EgovUserDetailsHelper; |
|
| 40 |
+import egovframework.com.sym.ccm.cde.service.CmmnDetailCodeVO; |
|
| 41 |
+import egovframework.com.sym.sit.service.SiteManageService; |
|
| 42 |
+import egovframework.com.sym.sit.service.SiteManageVO; |
|
| 43 |
+import egovframework.com.uat.uia.service.LoginVO; |
|
| 44 |
+import egovframework.rte.fdl.property.EgovPropertyService; |
|
| 45 |
+import egovframework.rte.ptl.mvc.tags.ui.pagination.PaginationInfo; |
|
| 46 |
+import egovframework.com.uss.ivp.service.EgovIndvdlestbsService; |
|
| 47 |
+import egovframework.com.uss.ivp.service.IndvdlestbsVO; |
|
| 48 |
+import egovframework.com.utl.fcc.service.EgovHttpUtil; |
|
| 49 |
+import egovframework.com.utl.fcc.service.EgovStringUtil; |
|
| 50 |
+import egovframework.com.utl.sim.service.EgovClntInfo; |
|
| 51 |
+ |
|
| 52 |
+import javax.servlet.http.HttpServletRequest; |
|
| 53 |
+import javax.servlet.http.HttpServletResponse; |
|
| 54 |
+ |
|
| 55 |
+ |
|
| 56 |
+/** |
|
| 57 |
+ * 게시물 관리를 위한 컨트롤러 클래스 |
|
| 58 |
+ * |
|
| 59 |
+ * @author 공통서비스개발팀 이삼섭 |
|
| 60 |
+ * @since 2009.06.01 |
|
| 61 |
+ * @version 1.0 |
|
| 62 |
+ * @see <pre> |
|
| 63 |
+ * << 개정이력(Modification Information) >> |
|
| 64 |
+ * |
|
| 65 |
+ * 수정일 수정자 수정내용 |
|
| 66 |
+ * ------- -------- --------------------------- |
|
| 67 |
+ * 2009.3.19 이삼섭 최초 생성 |
|
| 68 |
+ * 2009.06.29 한성곤 |
|
| 69 |
+ * |
|
| 70 |
+ * </pre> |
|
| 71 |
+ */ |
|
| 72 |
+@Controller("EgovBBSManageController")
|
|
| 73 |
+public class EgovBBSManageController {
|
|
| 74 |
+ |
|
| 75 |
+ @Resource(name = "EgovBBSManageService") |
|
| 76 |
+ private EgovBBSManageService bbsMngService; |
|
| 77 |
+ |
|
| 78 |
+ @Resource(name = "EgovBBSAttributeManageService") |
|
| 79 |
+ private EgovBBSAttributeManageService bbsAttrbService; |
|
| 80 |
+ |
|
| 81 |
+ @Resource(name = "EgovBBSCtgryService") |
|
| 82 |
+ private EgovBBSCtgryService ctgryService; |
|
| 83 |
+ |
|
| 84 |
+ @Resource(name = "siteManageService") |
|
| 85 |
+ SiteManageService siteManageService; |
|
| 86 |
+ |
|
| 87 |
+ @Resource(name = "EgovFileMngService") |
|
| 88 |
+ private EgovFileMngService fileMngService; |
|
| 89 |
+ |
|
| 90 |
+ @Resource(name = "EgovFileMngUtil") |
|
| 91 |
+ private EgovFileMngUtil fileUtil; |
|
| 92 |
+ |
|
| 93 |
+ @Resource(name = "propertiesService") |
|
| 94 |
+ protected EgovPropertyService propertyService; |
|
| 95 |
+ |
|
| 96 |
+ @Resource(name = "egovMessageSource") |
|
| 97 |
+ EgovMessageSource egovMessageSource; |
|
| 98 |
+ |
|
| 99 |
+ @Resource(name = "cmmUseService") |
|
| 100 |
+ private CmmUseService cmmUseService; |
|
| 101 |
+ |
|
| 102 |
+ @Resource(name = "IndvdlestbsService") |
|
| 103 |
+ private EgovIndvdlestbsService indvdlestbsService; |
|
| 104 |
+ |
|
| 105 |
+ @Resource(name = "EgovBBSCtgryMasterService") |
|
| 106 |
+ private EgovBBSCtgryMasterService egovBBSCtgryMasterService; |
|
| 107 |
+ |
|
| 108 |
+ @Resource(name = "EgovBBSCtgryService") |
|
| 109 |
+ private EgovBBSCtgryService egovBBSCtgryService; |
|
| 110 |
+ |
|
| 111 |
+ /** EgovPropertyService */ |
|
| 112 |
+ @Resource(name = "propertiesService") |
|
| 113 |
+ protected EgovPropertyService propertiesService; |
|
| 114 |
+ |
|
| 115 |
+ @Autowired |
|
| 116 |
+ private DefaultBeanValidator beanValidator; |
|
| 117 |
+ |
|
| 118 |
+ Logger log = Logger.getLogger(this.getClass()); |
|
| 119 |
+ |
|
| 120 |
+ /** |
|
| 121 |
+ * XSS 방지 처리. |
|
| 122 |
+ * |
|
| 123 |
+ * @param data |
|
| 124 |
+ * @return |
|
| 125 |
+ */ |
|
| 126 |
+ protected String unscript(String data) {
|
|
| 127 |
+ if(data == null || data.trim().equals("")) {
|
|
| 128 |
+ return ""; |
|
| 129 |
+ } |
|
| 130 |
+ |
|
| 131 |
+ String ret = data; |
|
| 132 |
+ |
|
| 133 |
+ ret = ret.replaceAll("<(S|s)(C|c)(R|r)(I|i)(P|p)(T|t)", "<script");
|
|
| 134 |
+ ret = ret.replaceAll("</(S|s)(C|c)(R|r)(I|i)(P|p)(T|t)", "</script");
|
|
| 135 |
+ |
|
| 136 |
+ ret = ret.replaceAll("<(O|o)(B|b)(J|j)(E|e)(C|c)(T|t)", "<object");
|
|
| 137 |
+ ret = ret.replaceAll("</(O|o)(B|b)(J|j)(E|e)(C|c)(T|t)", "</object");
|
|
| 138 |
+ |
|
| 139 |
+ ret = ret.replaceAll("<(A|a)(P|p)(P|p)(L|l)(E|e)(T|t)", "<applet");
|
|
| 140 |
+ ret = ret.replaceAll("</(A|a)(P|p)(P|p)(L|l)(E|e)(T|t)", "</applet");
|
|
| 141 |
+ |
|
| 142 |
+ ret = ret.replaceAll("<(E|e)(M|m)(B|b)(E|e)(D|d)", "<embed");
|
|
| 143 |
+ ret = ret.replaceAll("</(E|e)(M|m)(B|b)(E|e)(D|d)", "<embed");
|
|
| 144 |
+ |
|
| 145 |
+ ret = ret.replaceAll("<(F|f)(O|o)(R|r)(M|m)", "<form");
|
|
| 146 |
+ ret = ret.replaceAll("</(F|f)(O|o)(R|r)(M|m)", "<form");
|
|
| 147 |
+ |
|
| 148 |
+ return ret; |
|
| 149 |
+ } |
|
| 150 |
+ |
|
| 151 |
+ |
|
| 152 |
+ /** |
|
| 153 |
+ * 게시물에 대한 목록을 조회한다. |
|
| 154 |
+ * |
|
| 155 |
+ * @param boardVO |
|
| 156 |
+ * @param sessionVO |
|
| 157 |
+ * @param model |
|
| 158 |
+ * @return |
|
| 159 |
+ * @throws Exception |
|
| 160 |
+ */ |
|
| 161 |
+ @RequestMapping(value = "/cop/bbs/selectBoardList.do") |
|
| 162 |
+ public String selectBoardArticles(@ModelAttribute("searchVO") BoardVO boardVO, ModelMap model, HttpServletRequest request, HttpServletResponse response) throws Exception {
|
|
| 163 |
+ |
|
| 164 |
+ SiteManageVO siteVO = siteManageService.selectSiteServiceInfo(request); |
|
| 165 |
+ model.addAttribute("siteInfo", siteVO);
|
|
| 166 |
+ |
|
| 167 |
+ PaginationInfo paginationInfo = new PaginationInfo(); |
|
| 168 |
+ |
|
| 169 |
+ BoardMasterVO vo = new BoardMasterVO(); |
|
| 170 |
+ vo.setBbsId(boardVO.getBbsId()); |
|
| 171 |
+ vo.setSiteId(siteVO.getSiteId()); |
|
| 172 |
+ vo.setSysTyCode(siteVO.getSysTyCode()); |
|
| 173 |
+ |
|
| 174 |
+ BoardMasterVO master = bbsAttrbService.selectBBSMasterInf(vo); |
|
| 175 |
+ |
|
| 176 |
+ LoginVO user = EgovUserDetailsHelper.getAuthenticatedUser(request, response); |
|
| 177 |
+ if(master != null) {
|
|
| 178 |
+ int SE_CODE = 1; |
|
| 179 |
+ if(user != null) {
|
|
| 180 |
+ SE_CODE = Integer.parseInt(user.getUserSe()); |
|
| 181 |
+ model.addAttribute("USER_INFO", user);
|
|
| 182 |
+ |
|
| 183 |
+ //교재&사전 |
|
| 184 |
+ if("BBSMSTR_000000000005".equals(boardVO.getBbsId())){
|
|
| 185 |
+ //좋아요 목록 |
|
| 186 |
+ IndvdlestbsVO indvdlestbsVO = new IndvdlestbsVO(); |
|
| 187 |
+ indvdlestbsVO.setUserId(user.getId()); |
|
| 188 |
+ indvdlestbsVO.setSiteId(siteVO.getSiteId()); |
|
| 189 |
+ indvdlestbsVO.setTrgetTyCode("BOOK_LIKE");
|
|
| 190 |
+ model.addAttribute("wishList", indvdlestbsService.selectIvpList(indvdlestbsVO));
|
|
| 191 |
+ } |
|
| 192 |
+ } |
|
| 193 |
+ |
|
| 194 |
+ if(SE_CODE >= 10) {
|
|
| 195 |
+ //boardVO.setAdminAt("Y");
|
|
| 196 |
+ } |
|
| 197 |
+ |
|
| 198 |
+ // 페이징 정보 설정 |
|
| 199 |
+ boardVO.setPageUnit(propertyService.getInt("pageUnit"));
|
|
| 200 |
+ boardVO.setPageSize(propertyService.getInt("pageSize"));
|
|
| 201 |
+ boardVO.setCtgrymasterId(master.getCtgrymasterId()); |
|
| 202 |
+ |
|
| 203 |
+ if("BBSA02".equals(master.getBbsAttrbCode())) {
|
|
| 204 |
+ if(EgovStringUtil.isEmpty(boardVO.getViewType())){
|
|
| 205 |
+ boardVO.setViewType("photo");
|
|
| 206 |
+ } |
|
| 207 |
+ |
|
| 208 |
+ if("photo".equals(boardVO.getViewType())){
|
|
| 209 |
+ // 페이징 정보 설정 |
|
| 210 |
+ boardVO.setPageUnit(propertyService.getInt("photoPageUnit"));
|
|
| 211 |
+ boardVO.setPageSize(propertyService.getInt("photoPageSize"));
|
|
| 212 |
+ } |
|
| 213 |
+ } |
|
| 214 |
+ |
|
| 215 |
+ //공지게시물 가져오기 |
|
| 216 |
+ BoardVO noticeVO = new BoardVO(); |
|
| 217 |
+ noticeVO.setBbsId(boardVO.getBbsId()); |
|
| 218 |
+ noticeVO.setCommentUseAt(master.getCommentUseAt()); |
|
| 219 |
+ noticeVO.setCtgrymasterId(master.getCtgrymasterId()); |
|
| 220 |
+ noticeVO.setBbsAttrbCode(master.getBbsAttrbCode()); |
|
| 221 |
+ noticeVO.setSearchNoticeAt("Y");
|
|
| 222 |
+ noticeVO.setFirstIndex(0); |
|
| 223 |
+ //교재&사전 |
|
| 224 |
+ if("BBSMSTR_000000000005".equals(boardVO.getBbsId())){
|
|
| 225 |
+ noticeVO.setRecordCountPerPage(3); |
|
| 226 |
+ }else {
|
|
| 227 |
+ noticeVO.setRecordCountPerPage(9999); |
|
| 228 |
+ } |
|
| 229 |
+ |
|
| 230 |
+ model.addAttribute("noticeList", bbsMngService.selectBoardArticles(noticeVO));
|
|
| 231 |
+ |
|
| 232 |
+ paginationInfo.setCurrentPageNo(boardVO.getPageIndex()); |
|
| 233 |
+ paginationInfo.setRecordCountPerPage(boardVO.getPageUnit()); |
|
| 234 |
+ paginationInfo.setPageSize(boardVO.getPageSize()); |
|
| 235 |
+ |
|
| 236 |
+ boardVO.setFirstIndex(paginationInfo.getFirstRecordIndex()); |
|
| 237 |
+ boardVO.setLastIndex(paginationInfo.getLastRecordIndex()); |
|
| 238 |
+ boardVO.setRecordCountPerPage(paginationInfo.getRecordCountPerPage()); |
|
| 239 |
+ |
|
| 240 |
+ boardVO.setCommentUseAt(master.getCommentUseAt()); |
|
| 241 |
+ boardVO.setBbsAttrbCode(master.getBbsAttrbCode()); |
|
| 242 |
+ |
|
| 243 |
+ if("BBSMSTR_000000000010".equals(boardVO.getBbsId())){
|
|
| 244 |
+ boardVO.setFirstIndex(0); |
|
| 245 |
+ boardVO.setRecordCountPerPage(4); |
|
| 246 |
+ boardVO.setCrclId(null); |
|
| 247 |
+ boardVO.setIsMainFlag("Y");
|
|
| 248 |
+ boardVO.setSysTyCode("ALL");
|
|
| 249 |
+ } |
|
| 250 |
+ |
|
| 251 |
+ //양식자료 - 학생접근 시 |
|
| 252 |
+ if(SE_CODE < 8 && "BBSMSTR_000000000023".equals(boardVO.getBbsId())){
|
|
| 253 |
+ List<String> searchCateList = new ArrayList<String>(); |
|
| 254 |
+ searchCateList.add("CTG_0000000000000272");
|
|
| 255 |
+ boardVO.setSearchCateList(searchCateList); |
|
| 256 |
+ } |
|
| 257 |
+ |
|
| 258 |
+ List<BoardVO> resultList = bbsMngService.selectBoardArticles(boardVO); |
|
| 259 |
+ int totCnt = bbsMngService.selectBoardArticlesCnt(boardVO); |
|
| 260 |
+ |
|
| 261 |
+ paginationInfo.setTotalRecordCount(totCnt); |
|
| 262 |
+ |
|
| 263 |
+ if(!EgovStringUtil.isEmpty(master.getCtgrymasterId())) {
|
|
| 264 |
+ Ctgry ctgry = new Ctgry(); |
|
| 265 |
+ ctgry.setCtgrymasterId(master.getCtgrymasterId()); |
|
| 266 |
+ model.addAttribute("boardCateList", ctgryService.selectComtnbbsctgryList(ctgry));
|
|
| 267 |
+ model.addAttribute("boardCateLevel", ctgryService.selectComtnbbsctgryLevel(ctgry));
|
|
| 268 |
+ } |
|
| 269 |
+ |
|
| 270 |
+ |
|
| 271 |
+ |
|
| 272 |
+ model.addAttribute("resultList", resultList);
|
|
| 273 |
+ model.addAttribute("resultCnt", totCnt);
|
|
| 274 |
+ model.addAttribute("brdMstrVO", master);
|
|
| 275 |
+ model.addAttribute("BbsFileStoreWebPathByWebFile", propertyService.getString("publish.tmplat.bbs.fileStoreWebPathByWebFile"));
|
|
| 276 |
+ model.addAttribute("paginationInfo", paginationInfo);
|
|
| 277 |
+ request.getSession().removeAttribute("sessionCommentVO");
|
|
| 278 |
+ |
|
| 279 |
+ return propertyService.getString("publish.sourc.bbs.fileStoreWebPathByJspFile") + master.getSourcId() + "/EgovNoticeList";
|
|
| 280 |
+ } |
|
| 281 |
+ |
|
| 282 |
+ if("BBSMSTR_000000000010".equals(boardVO.getBbsId())){
|
|
| 283 |
+ boardVO.setFirstIndex(0); |
|
| 284 |
+ boardVO.setRecordCountPerPage(1000); |
|
| 285 |
+ boardVO.setCrclId(null); |
|
| 286 |
+ boardVO.setIsMainFlag("Y");
|
|
| 287 |
+ boardVO.setSysTyCode("ALL");
|
|
| 288 |
+ boardVO.setBbsAttrbCode("BBSA02");
|
|
| 289 |
+ |
|
| 290 |
+ List<BoardVO> resultList = bbsMngService.selectBoardArticles(boardVO); |
|
| 291 |
+ model.addAttribute("resultList", resultList);
|
|
| 292 |
+ |
|
| 293 |
+ //언어코드 |
|
| 294 |
+ Ctgry ctgry = new Ctgry(); |
|
| 295 |
+ ctgry.setCtgrymasterId("CTGMST_0000000000002");
|
|
| 296 |
+ model.addAttribute("languageList", egovBBSCtgryService.selectComtnbbsctgryList(ctgry));
|
|
| 297 |
+ |
|
| 298 |
+ return propertyService.getString("publish.sourc.bbs.fileStoreWebPathByJspFile") + "BBSSRC_0000000000010/EgovNoticeList";
|
|
| 299 |
+ } |
|
| 300 |
+ |
|
| 301 |
+ return null; |
|
| 302 |
+ } |
|
| 303 |
+ |
|
| 304 |
+ /** |
|
| 305 |
+ * 게시물에 대한 상세 정보를 조회한다. |
|
| 306 |
+ * |
|
| 307 |
+ * @param boardVO |
|
| 308 |
+ * @param sessionVO |
|
| 309 |
+ * @param model |
|
| 310 |
+ * @return |
|
| 311 |
+ * @throws Exception |
|
| 312 |
+ */ |
|
| 313 |
+ @RequestMapping(value = "/cop/bbs/selectBoardArticle.do") |
|
| 314 |
+ public String selectBoardArticle(@ModelAttribute("searchVO") BoardVO boardVO, ModelMap model, HttpServletRequest request, HttpServletResponse response) throws Exception {
|
|
| 315 |
+ |
|
| 316 |
+ SiteManageVO siteVO = siteManageService.selectSiteServiceInfo(request); |
|
| 317 |
+ model.addAttribute("siteInfo", siteVO);
|
|
| 318 |
+ |
|
| 319 |
+ BoardMasterVO vo = new BoardMasterVO(); |
|
| 320 |
+ vo.setBbsId(boardVO.getBbsId()); |
|
| 321 |
+ vo.setSiteId(siteVO.getSiteId()); |
|
| 322 |
+ vo.setSysTyCode(siteVO.getSysTyCode()); |
|
| 323 |
+ |
|
| 324 |
+ BoardMasterVO master = bbsAttrbService.selectBBSMasterInf(vo); |
|
| 325 |
+ |
|
| 326 |
+ if(master != null) {
|
|
| 327 |
+ int SE_CODE = 1; |
|
| 328 |
+ model.addAttribute("brdMstrVO", master);
|
|
| 329 |
+ |
|
| 330 |
+ LoginVO user = EgovUserDetailsHelper.getAuthenticatedUser(request, response); |
|
| 331 |
+ if(user != null) {
|
|
| 332 |
+ SE_CODE = Integer.parseInt(user.getUserSe()); |
|
| 333 |
+ boardVO.setFrstRegisterId(user.getId()); |
|
| 334 |
+ model.addAttribute("USER_INFO", user);
|
|
| 335 |
+ |
|
| 336 |
+ //교재&사전 |
|
| 337 |
+ if("BBSMSTR_000000000005".equals(boardVO.getBbsId())){
|
|
| 338 |
+ //좋아요 목록 |
|
| 339 |
+ IndvdlestbsVO indvdlestbsVO = new IndvdlestbsVO(); |
|
| 340 |
+ indvdlestbsVO.setUserId(user.getId()); |
|
| 341 |
+ indvdlestbsVO.setSiteId(siteVO.getSiteId()); |
|
| 342 |
+ indvdlestbsVO.setTrgetTyCode("BOOK_LIKE");
|
|
| 343 |
+ indvdlestbsVO.setTrgetId(boardVO.getNttNo().toString()); |
|
| 344 |
+ model.addAttribute("wishList", indvdlestbsService.selectIvpList(indvdlestbsVO));
|
|
| 345 |
+ } |
|
| 346 |
+ } |
|
| 347 |
+ |
|
| 348 |
+ if(SE_CODE >= 10) {
|
|
| 349 |
+ boardVO.setAdminAt("Y");
|
|
| 350 |
+ } |
|
| 351 |
+ |
|
| 352 |
+ if(SE_CODE >= Integer.parseInt(master.getInqireAuthor())){
|
|
| 353 |
+ // 조회수 증가 여부 지정 |
|
| 354 |
+ boardVO.setPlusCount(true); |
|
| 355 |
+ boardVO.setCtgrymasterId(master.getCtgrymasterId()); |
|
| 356 |
+ boardVO.setBbsAttrbCode(master.getBbsAttrbCode()); |
|
| 357 |
+ BoardVO dbVO = bbsMngService.selectBoardArticle(boardVO); |
|
| 358 |
+ model.addAttribute("board", dbVO);
|
|
| 359 |
+ |
|
| 360 |
+ model.addAttribute("BbsFileStoreWebPathByWebFile", propertyService.getString("publish.tmplat.bbs.fileStoreWebPathByWebFile"));
|
|
| 361 |
+ return propertyService.getString("publish.sourc.bbs.fileStoreWebPathByJspFile") + master.getSourcId() + "/EgovNoticeInqire";
|
|
| 362 |
+ } else {
|
|
| 363 |
+ model.addAttribute("message", egovMessageSource.getMessage("fail.common.select"));
|
|
| 364 |
+ return "forward:/cop/bbs/selectBoardList.do"; |
|
| 365 |
+ } |
|
| 366 |
+ } |
|
| 367 |
+ |
|
| 368 |
+ model.addAttribute("message", egovMessageSource.getMessage("fail.auth.access"));
|
|
| 369 |
+ return "forward:/cop/bbs/selectBoardList.do"; |
|
| 370 |
+ } |
|
| 371 |
+ |
|
| 372 |
+ /** |
|
| 373 |
+ * 게시물 등록을 위한 등록페이지로 이동한다. |
|
| 374 |
+ * |
|
| 375 |
+ * @param boardVO |
|
| 376 |
+ * @param sessionVO |
|
| 377 |
+ * @param model |
|
| 378 |
+ * @return |
|
| 379 |
+ * @throws Exception |
|
| 380 |
+ */ |
|
| 381 |
+ @RequestMapping(value = "/cop/bbs/addBoardArticle.do") |
|
| 382 |
+ public String addBoardArticle(@ModelAttribute("searchVO") BoardVO boardVO, ModelMap model, HttpServletRequest request, HttpServletResponse response) throws Exception {
|
|
| 383 |
+ |
|
| 384 |
+ |
|
| 385 |
+ LoginVO user = EgovUserDetailsHelper.getAuthenticatedUser(request, response); |
|
| 386 |
+ if(user == null) {
|
|
| 387 |
+ return "redirect:" + EgovUserDetailsHelper.getRedirectLoginUrl(); |
|
| 388 |
+ } |
|
| 389 |
+ /* |
|
| 390 |
+ LoginVO user = new LoginVO(); |
|
| 391 |
+ user.setUserSe("10");
|
|
| 392 |
+ user.setId("admin");
|
|
| 393 |
+ user.setName("관리자");
|
|
| 394 |
+ */ |
|
| 395 |
+ SiteManageVO siteVO = siteManageService.selectSiteServiceInfo(request); |
|
| 396 |
+ model.addAttribute("siteInfo", siteVO);
|
|
| 397 |
+ |
|
| 398 |
+ BoardMasterVO vo = new BoardMasterVO(); |
|
| 399 |
+ vo.setBbsId(boardVO.getBbsId()); |
|
| 400 |
+ vo.setSiteId(siteVO.getSiteId()); |
|
| 401 |
+ vo.setSysTyCode(siteVO.getSysTyCode()); |
|
| 402 |
+ |
|
| 403 |
+ BoardMasterVO master = bbsAttrbService.selectBBSMasterInf(vo); |
|
| 404 |
+ |
|
| 405 |
+ if(master != null) {
|
|
| 406 |
+ int SE_CODE = Integer.parseInt(user.getUserSe()); |
|
| 407 |
+ if(SE_CODE >= Integer.parseInt(master.getRegistAuthor())){
|
|
| 408 |
+ if(!EgovStringUtil.isEmpty(master.getCtgrymasterId())) {
|
|
| 409 |
+ Ctgry ctgry = new Ctgry(); |
|
| 410 |
+ ctgry.setCtgrymasterId(master.getCtgrymasterId()); |
|
| 411 |
+ model.addAttribute("boardCateList", ctgryService.selectComtnbbsctgryList(ctgry));
|
|
| 412 |
+ |
|
| 413 |
+ model.addAttribute("boardCateLevel", ctgryService.selectComtnbbsctgryLevel(ctgry));
|
|
| 414 |
+ } |
|
| 415 |
+ |
|
| 416 |
+ model.addAttribute("brdMstrVO", master);
|
|
| 417 |
+ |
|
| 418 |
+ Board board = new Board(); |
|
| 419 |
+ model.addAttribute("board", board);
|
|
| 420 |
+ |
|
| 421 |
+ request.getSession().setAttribute("sessionVO", boardVO);
|
|
| 422 |
+ |
|
| 423 |
+ /*user.setUserSe("10");
|
|
| 424 |
+ user.setId("admin");
|
|
| 425 |
+ user.setName("관리자");*/
|
|
| 426 |
+ model.addAttribute("USER_INFO", user);
|
|
| 427 |
+ model.addAttribute("BbsFileStoreWebPathByWebFile", propertyService.getString("publish.tmplat.bbs.fileStoreWebPathByWebFile"));
|
|
| 428 |
+ return propertyService.getString("publish.sourc.bbs.fileStoreWebPathByJspFile") + master.getSourcId() + "/EgovNoticeRegist";
|
|
| 429 |
+ } else {
|
|
| 430 |
+ model.addAttribute("message", egovMessageSource.getMessage("fail.auth.regist"));
|
|
| 431 |
+ return "forward:/cop/bbs/selectBoardList.do"; |
|
| 432 |
+ } |
|
| 433 |
+ } |
|
| 434 |
+ |
|
| 435 |
+ model.addAttribute("message", egovMessageSource.getMessage("fail.auth.access"));
|
|
| 436 |
+ return "forward:/cop/bbs/selectBoardList.do"; |
|
| 437 |
+ } |
|
| 438 |
+ |
|
| 439 |
+ /** |
|
| 440 |
+ * 게시물을 등록한다. |
|
| 441 |
+ * |
|
| 442 |
+ * @param boardVO |
|
| 443 |
+ * @param board |
|
| 444 |
+ * @param sessionVO |
|
| 445 |
+ * @param model |
|
| 446 |
+ * @return |
|
| 447 |
+ * @throws Exception |
|
| 448 |
+ */ |
|
| 449 |
+ @SuppressWarnings("unchecked")
|
|
| 450 |
+ @RequestMapping(value = "/cop/bbs/insertBoardArticle.do") |
|
| 451 |
+ public String insertBoardArticle(final MultipartHttpServletRequest multiRequest, @ModelAttribute("searchVO") BoardVO boardVO,
|
|
| 452 |
+ Board board, HttpServletRequest request, HttpServletResponse response, ModelMap model) throws Exception {
|
|
| 453 |
+ |
|
| 454 |
+ if(request.getSession().getAttribute("sessionVO") == null) {
|
|
| 455 |
+ return "forward:/cop/bbs/selectBoardList.do"; |
|
| 456 |
+ } |
|
| 457 |
+ LoginVO user = EgovUserDetailsHelper.getAuthenticatedUser(request, response); |
|
| 458 |
+ /* |
|
| 459 |
+ LoginVO user = new LoginVO(); |
|
| 460 |
+ user.setUserSe("10");
|
|
| 461 |
+ user.setName("관리자");
|
|
| 462 |
+ user.setId("admin");
|
|
| 463 |
+ */ |
|
| 464 |
+ //beanValidator.validate(board, bindingResult); |
|
| 465 |
+ |
|
| 466 |
+ BoardMasterVO vo = new BoardMasterVO(); |
|
| 467 |
+ vo.setBbsId(boardVO.getBbsId()); |
|
| 468 |
+ |
|
| 469 |
+ SiteManageVO siteVO = siteManageService.selectSiteServiceInfo(request); |
|
| 470 |
+ vo.setSiteId(siteVO.getSiteId()); |
|
| 471 |
+ |
|
| 472 |
+ vo.setSysTyCode(siteVO.getSysTyCode()); |
|
| 473 |
+ BoardMasterVO master = bbsAttrbService.selectBBSMasterInf(vo); |
|
| 474 |
+ |
|
| 475 |
+ if(master != null) {
|
|
| 476 |
+ int SE_CODE = Integer.parseInt(user.getUserSe()); |
|
| 477 |
+ if(SE_CODE >= Integer.parseInt(master.getRegistAuthor())) {
|
|
| 478 |
+ String atchFileId = ""; |
|
| 479 |
+ |
|
| 480 |
+ List<FileVO> result = null; |
|
| 481 |
+ |
|
| 482 |
+ final Map<String, MultipartFile> files = multiRequest.getFileMap(); |
|
| 483 |
+ if(!files.isEmpty()) {
|
|
| 484 |
+ result = fileUtil.parseBoardFileInf(Long.parseLong(master.getPosblAtchFileSize()) * 1024 * 1024, files, 0, "", |
|
| 485 |
+ siteManageService.selectSiteServiceInfo(request).getSiteId(), boardVO.getBbsId(), boardVO.getLa(), boardVO.getLo()); |
|
| 486 |
+ atchFileId = fileMngService.insertFileInfs(result); |
|
| 487 |
+ } |
|
| 488 |
+ |
|
| 489 |
+ |
|
| 490 |
+ boardVO.setAtchFileId(atchFileId); |
|
| 491 |
+ boardVO.setFrstRegisterId(user.getId()); |
|
| 492 |
+ boardVO.setNtcrNm(user.getName()); |
|
| 493 |
+ boardVO.setNttCn(unscript(boardVO.getNttCn())); // XSS 방지 |
|
| 494 |
+ boardVO.setCreatIp(EgovClntInfo.getClntIP(request)); |
|
| 495 |
+ boardVO.setEstnData(EgovHttpUtil.getEstnParseData(request)); |
|
| 496 |
+ /*boardVO.setUseAt("Y");
|
|
| 497 |
+ boardVO.setOthbcAt("Y");
|
|
| 498 |
+ boardVO.setNoticeAt("N");*/
|
|
| 499 |
+ |
|
| 500 |
+ bbsMngService.insertBoardArticle(boardVO, master); |
|
| 501 |
+ } |
|
| 502 |
+ } |
|
| 503 |
+ |
|
| 504 |
+ request.getSession().removeAttribute("sessionVO");
|
|
| 505 |
+ |
|
| 506 |
+ return "forward:/cop/bbs/selectBoardList.do"; |
|
| 507 |
+ //return "test"; |
|
| 508 |
+ } |
|
| 509 |
+ |
|
| 510 |
+ /** |
|
| 511 |
+ * 게시물에 대한 답변 등록을 위한 등록페이지로 이동한다. |
|
| 512 |
+ * |
|
| 513 |
+ * @param boardVO |
|
| 514 |
+ * @param sessionVO |
|
| 515 |
+ * @param model |
|
| 516 |
+ * @return |
|
| 517 |
+ * @throws Exception |
|
| 518 |
+ */ |
|
| 519 |
+ @RequestMapping(value = "/cop/bbs/addReplyBoardArticle.do") |
|
| 520 |
+ public String addReplyBoardArticle(@ModelAttribute("searchVO") BoardVO boardVO, ModelMap model, HttpServletRequest request, HttpServletResponse response) throws Exception {
|
|
| 521 |
+ |
|
| 522 |
+ LoginVO user = EgovUserDetailsHelper.getAuthenticatedUser(request, response); |
|
| 523 |
+ if(user == null) {
|
|
| 524 |
+ return "redirect:" + EgovUserDetailsHelper.getRedirectLoginUrl(); |
|
| 525 |
+ } |
|
| 526 |
+ |
|
| 527 |
+ SiteManageVO siteVO = siteManageService.selectSiteServiceInfo(request); |
|
| 528 |
+ model.addAttribute("siteInfo", siteVO);
|
|
| 529 |
+ |
|
| 530 |
+ BoardMasterVO vo = new BoardMasterVO(); |
|
| 531 |
+ vo.setBbsId(boardVO.getBbsId()); |
|
| 532 |
+ vo.setSiteId(siteVO.getSiteId()); |
|
| 533 |
+ vo.setSysTyCode(siteVO.getSysTyCode()); |
|
| 534 |
+ |
|
| 535 |
+ BoardMasterVO master = bbsAttrbService.selectBBSMasterInf(vo); |
|
| 536 |
+ |
|
| 537 |
+ if(master != null) {
|
|
| 538 |
+ int SE_CODE = Integer.parseInt(user.getUserSe()); |
|
| 539 |
+ if(SE_CODE >= Integer.parseInt(master.getAnswerAuthor())){
|
|
| 540 |
+ model.addAttribute("brdMstrVO", master);
|
|
| 541 |
+ |
|
| 542 |
+ BoardVO selectVO = new BoardVO(); |
|
| 543 |
+ selectVO.setBbsId(master.getBbsId()); |
|
| 544 |
+ selectVO.setNttNo(boardVO.getNttNo()); |
|
| 545 |
+ selectVO.setAdminAt("Y");
|
|
| 546 |
+ |
|
| 547 |
+ selectVO = bbsMngService.selectBoardArticle(selectVO); |
|
| 548 |
+ |
|
| 549 |
+ Board board = new Board(); |
|
| 550 |
+ board.setCtgryId(selectVO.getCtgryId()); |
|
| 551 |
+ //board.setOrdrCode(selectVO.getOrdrCode()); |
|
| 552 |
+ //board.setOrdrCodeDp(BigDecimal.valueOf(selectVO.getOrdrCodeDp().longValue() + 1)); |
|
| 553 |
+ |
|
| 554 |
+ if("BBSA11".equals(master.getBbsAttrbCode())) {
|
|
| 555 |
+ |
|
| 556 |
+ board.setNttNo(selectVO.getNttNo()); |
|
| 557 |
+ board.setNttSj(selectVO.getNttSj()); |
|
| 558 |
+ board.setNttCn(selectVO.getNttCn()); |
|
| 559 |
+ board.setEstnData(selectVO.getEstnData()); |
|
| 560 |
+ /* |
|
| 561 |
+ if(!EgovStringUtil.isEmpty(selectVO.getEstnData())) {
|
|
| 562 |
+ board.setNttCn(selectVO.getEstnParseData().getString("cn"));
|
|
| 563 |
+ } |
|
| 564 |
+ */ |
|
| 565 |
+ board.setAtchFileId(selectVO.getEstnAtchFileId()); |
|
| 566 |
+ board.setProcessSttusCode(selectVO.getProcessSttusCode()); |
|
| 567 |
+ |
|
| 568 |
+ CmmnDetailCodeVO codeVO = new CmmnDetailCodeVO(); |
|
| 569 |
+ codeVO.setCodeId("COM108");
|
|
| 570 |
+ model.addAttribute("qaCodeList", cmmUseService.selectCmmCodeDetail(codeVO));
|
|
| 571 |
+ } |
|
| 572 |
+ |
|
| 573 |
+ model.addAttribute("board", board);
|
|
| 574 |
+ |
|
| 575 |
+ request.getSession().setAttribute("sessionVO", boardVO);
|
|
| 576 |
+ |
|
| 577 |
+ model.addAttribute("USER_INFO", user);
|
|
| 578 |
+ model.addAttribute("BbsFileStoreWebPathByWebFile", propertyService.getString("publish.tmplat.bbs.fileStoreWebPathByWebFile"));
|
|
| 579 |
+ return propertyService.getString("publish.sourc.bbs.fileStoreWebPathByJspFile") + master.getSourcId() + "/EgovNoticeRegist";
|
|
| 580 |
+ } else {
|
|
| 581 |
+ model.addAttribute("message", egovMessageSource.getMessage("fail.auth.regist"));
|
|
| 582 |
+ return "forward:/cop//bbs/selectBoardList.do"; |
|
| 583 |
+ } |
|
| 584 |
+ } |
|
| 585 |
+ |
|
| 586 |
+ model.addAttribute("message", egovMessageSource.getMessage("fail.auth.access"));
|
|
| 587 |
+ return "forward:/cop/bbs/selectBoardList.do"; |
|
| 588 |
+ } |
|
| 589 |
+ |
|
| 590 |
+ /** |
|
| 591 |
+ * 게시물에 대한 답변을 등록한다. |
|
| 592 |
+ * |
|
| 593 |
+ * @param boardVO |
|
| 594 |
+ * @param board |
|
| 595 |
+ * @param sessionVO |
|
| 596 |
+ * @param model |
|
| 597 |
+ * @return |
|
| 598 |
+ * @throws Exception |
|
| 599 |
+ */ |
|
| 600 |
+ @SuppressWarnings("unchecked")
|
|
| 601 |
+ @RequestMapping(value = "/cop/bbs/replyBoardArticle.do") |
|
| 602 |
+ public String replyBoardArticle(final MultipartHttpServletRequest multiRequest, @ModelAttribute("searchVO") BoardVO boardVO,
|
|
| 603 |
+ Board board, ModelMap model, HttpServletRequest request, HttpServletResponse response) throws Exception {
|
|
| 604 |
+ |
|
| 605 |
+ if(request.getSession().getAttribute("sessionVO") == null) {
|
|
| 606 |
+ return "forward:/cop/bbs/selectBoardList.do"; |
|
| 607 |
+ } |
|
| 608 |
+ |
|
| 609 |
+ LoginVO user = EgovUserDetailsHelper.getAuthenticatedUser(request, response); |
|
| 610 |
+ |
|
| 611 |
+ BoardMasterVO vo = new BoardMasterVO(); |
|
| 612 |
+ vo.setBbsId(boardVO.getBbsId()); |
|
| 613 |
+ |
|
| 614 |
+ SiteManageVO siteVO = siteManageService.selectSiteServiceInfo(request); |
|
| 615 |
+ vo.setSiteId(siteVO.getSiteId()); |
|
| 616 |
+ vo.setSysTyCode(siteVO.getSysTyCode()); |
|
| 617 |
+ |
|
| 618 |
+ BoardMasterVO master = bbsAttrbService.selectBBSMasterInf(vo); |
|
| 619 |
+ |
|
| 620 |
+ if(master != null) {
|
|
| 621 |
+ int SE_CODE = Integer.parseInt(user.getUserSe()); |
|
| 622 |
+ if(SE_CODE >= Integer.parseInt(master.getAnswerAuthor())){
|
|
| 623 |
+ if(SE_CODE >= 10) {
|
|
| 624 |
+ boardVO.setAdminAt("Y");
|
|
| 625 |
+ } |
|
| 626 |
+ |
|
| 627 |
+ String atchFileId = boardVO.getAtchFileId();; |
|
| 628 |
+ |
|
| 629 |
+ final Map<String, MultipartFile> files = multiRequest.getFileMap(); |
|
| 630 |
+ |
|
| 631 |
+ |
|
| 632 |
+ if("BBSA11".equals(master.getBbsAttrbCode())) {
|
|
| 633 |
+ if(!files.isEmpty()) {
|
|
| 634 |
+ if(EgovStringUtil.isEmpty(atchFileId)) {
|
|
| 635 |
+ List<FileVO> result = fileUtil.parseBoardFileInf(Long.parseLong(master.getPosblAtchFileSize()) * 1024 * 1024, files, 0, atchFileId, |
|
| 636 |
+ siteManageService.selectSiteServiceInfo(request).getSiteId(), boardVO.getBbsId(), boardVO.getLa(), boardVO.getLo()); |
|
| 637 |
+ atchFileId = fileMngService.insertFileInfs(result); |
|
| 638 |
+ } else {
|
|
| 639 |
+ FileVO fvo = new FileVO(); |
|
| 640 |
+ fvo.setAtchFileId(atchFileId); |
|
| 641 |
+ int cnt = fileMngService.getMaxFileSN(fvo); |
|
| 642 |
+ List<FileVO> _result = fileUtil.parseBoardFileInf(Long.parseLong(master.getPosblAtchFileSize()) * 1024 * 1024, files, cnt, atchFileId, |
|
| 643 |
+ siteManageService.selectSiteServiceInfo(request).getSiteId(), boardVO.getBbsId(), boardVO.getLa(), boardVO.getLo()); |
|
| 644 |
+ fileMngService.updateFileInfs(_result); |
|
| 645 |
+ } |
|
| 646 |
+ boardVO.setEstnAtchFileId(atchFileId); |
|
| 647 |
+ } |
|
| 648 |
+ |
|
| 649 |
+ boardVO.setLastAnswrrId(user.getId()); |
|
| 650 |
+ boardVO.setLastAnswrrNm(user.getName()); |
|
| 651 |
+ |
|
| 652 |
+ JSONObject jObj = new JSONObject(); |
|
| 653 |
+ //jObj.put("cn", boardVO.getNttCn());
|
|
| 654 |
+ jObj.put("cn", boardVO.getEstnData());
|
|
| 655 |
+ boardVO.setEstnData(jObj.toString()); |
|
| 656 |
+ |
|
| 657 |
+ bbsMngService.updateBoardArticle(boardVO, master, true); |
|
| 658 |
+ } else {
|
|
| 659 |
+ if(!files.isEmpty()) {
|
|
| 660 |
+ List<FileVO> result = fileUtil.parseBoardFileInf(Long.parseLong(master.getPosblAtchFileSize()) * 1024 * 1024, files, 0, "", |
|
| 661 |
+ siteManageService.selectSiteServiceInfo(request).getSiteId(), boardVO.getBbsId(), boardVO.getLa(), boardVO.getLo()); |
|
| 662 |
+ atchFileId = fileMngService.insertFileInfs(result); |
|
| 663 |
+ } |
|
| 664 |
+ |
|
| 665 |
+ boardVO.setAtchFileId(atchFileId); |
|
| 666 |
+ boardVO.setFrstRegisterId(user.getId()); |
|
| 667 |
+ boardVO.setNtcrNm(user.getName()); |
|
| 668 |
+ boardVO.setNttCn(unscript(boardVO.getNttCn())); // XSS 방지 |
|
| 669 |
+ boardVO.setCreatIp(EgovClntInfo.getClntIP(request)); |
|
| 670 |
+ |
|
| 671 |
+ boardVO.setEstnData(EgovHttpUtil.getEstnParseData(request)); |
|
| 672 |
+ bbsMngService.replyBoardArticle(boardVO, master); |
|
| 673 |
+ } |
|
| 674 |
+ } |
|
| 675 |
+ } |
|
| 676 |
+ |
|
| 677 |
+ request.getSession().removeAttribute("sessionVO");
|
|
| 678 |
+ |
|
| 679 |
+ return "forward:/cop/bbs/selectBoardList.do"; |
|
| 680 |
+ } |
|
| 681 |
+ |
|
| 682 |
+ /** |
|
| 683 |
+ * 게시물 수정을 위한 수정페이지로 이동한다. |
|
| 684 |
+ * |
|
| 685 |
+ * @param boardVO |
|
| 686 |
+ * @param vo |
|
| 687 |
+ * @param sessionVO |
|
| 688 |
+ * @param model |
|
| 689 |
+ * @return |
|
| 690 |
+ * @throws Exception |
|
| 691 |
+ */ |
|
| 692 |
+ @RequestMapping(value = "/cop/bbs/forUpdateBoardArticle.do") |
|
| 693 |
+ public String selectBoardArticleForUpdt(@ModelAttribute("searchVO") BoardVO boardVO, ModelMap model, HttpServletRequest request, HttpServletResponse response) throws Exception {
|
|
| 694 |
+ |
|
| 695 |
+ LoginVO user = EgovUserDetailsHelper.getAuthenticatedUser(request, response); |
|
| 696 |
+ if(user == null) {
|
|
| 697 |
+ return "redirect:" + EgovUserDetailsHelper.getRedirectLoginUrl(); |
|
| 698 |
+ } |
|
| 699 |
+ |
|
| 700 |
+ SiteManageVO siteVO = siteManageService.selectSiteServiceInfo(request); |
|
| 701 |
+ model.addAttribute("siteInfo", siteVO);
|
|
| 702 |
+ |
|
| 703 |
+ BoardMasterVO vo = new BoardMasterVO(); |
|
| 704 |
+ vo.setBbsId(boardVO.getBbsId()); |
|
| 705 |
+ vo.setSiteId(siteVO.getSiteId()); |
|
| 706 |
+ vo.setSysTyCode(siteVO.getSysTyCode()); |
|
| 707 |
+ |
|
| 708 |
+ boardVO.setFrstRegisterId(user.getId()); |
|
| 709 |
+ |
|
| 710 |
+ BoardMasterVO master = bbsAttrbService.selectBBSMasterInf(vo); |
|
| 711 |
+ |
|
| 712 |
+ if(master != null) {
|
|
| 713 |
+ int SE_CODE = Integer.parseInt(user.getUserSe()); |
|
| 714 |
+ if(SE_CODE >= 10) {
|
|
| 715 |
+ boardVO.setAdminAt("Y");
|
|
| 716 |
+ } |
|
| 717 |
+ |
|
| 718 |
+ if(SE_CODE >= Integer.parseInt(master.getRegistAuthor())){
|
|
| 719 |
+ if(!EgovStringUtil.isEmpty(master.getCtgrymasterId())) {
|
|
| 720 |
+ Ctgry ctgry = new Ctgry(); |
|
| 721 |
+ ctgry.setCtgrymasterId(master.getCtgrymasterId()); |
|
| 722 |
+ model.addAttribute("boardCateList", ctgryService.selectComtnbbsctgryList(ctgry));
|
|
| 723 |
+ |
|
| 724 |
+ model.addAttribute("boardCateLevel", ctgryService.selectComtnbbsctgryLevel(ctgry));
|
|
| 725 |
+ } |
|
| 726 |
+ |
|
| 727 |
+ boardVO.setCtgrymasterId(master.getCtgrymasterId()); |
|
| 728 |
+ BoardVO dataVO = bbsMngService.selectBoardArticle(boardVO); |
|
| 729 |
+ |
|
| 730 |
+ model.addAttribute("brdMstrVO", master);
|
|
| 731 |
+ model.addAttribute("board", dataVO);
|
|
| 732 |
+ |
|
| 733 |
+ request.getSession().setAttribute("sessionVO", boardVO);
|
|
| 734 |
+ |
|
| 735 |
+ model.addAttribute("USER_INFO", user);
|
|
| 736 |
+ model.addAttribute("BbsFileStoreWebPathByWebFile", propertyService.getString("publish.tmplat.bbs.fileStoreWebPathByWebFile"));
|
|
| 737 |
+ return propertyService.getString("publish.sourc.bbs.fileStoreWebPathByJspFile") + master.getSourcId() + "/EgovNoticeRegist";
|
|
| 738 |
+ } else {
|
|
| 739 |
+ model.addAttribute("message", egovMessageSource.getMessage("fail.auth.regist"));
|
|
| 740 |
+ return "forward:/cop/bbs/selectBoardList.do"; |
|
| 741 |
+ } |
|
| 742 |
+ } |
|
| 743 |
+ |
|
| 744 |
+ model.addAttribute("message", egovMessageSource.getMessage("fail.auth.access"));
|
|
| 745 |
+ return "forward:/cop/bbs/selectBoardList.do"; |
|
| 746 |
+ } |
|
| 747 |
+ |
|
| 748 |
+ /** |
|
| 749 |
+ * 게시물에 대한 내용을 수정한다. |
|
| 750 |
+ * |
|
| 751 |
+ * @param boardVO |
|
| 752 |
+ * @param board |
|
| 753 |
+ * @param sessionVO |
|
| 754 |
+ * @param model |
|
| 755 |
+ * @return |
|
| 756 |
+ * @throws Exception |
|
| 757 |
+ */ |
|
| 758 |
+ @SuppressWarnings("unchecked")
|
|
| 759 |
+ @RequestMapping(value = "/cop/bbs/updateBoardArticle.do") |
|
| 760 |
+ public String updateBoardArticle(final MultipartHttpServletRequest multiRequest, @ModelAttribute("searchVO") BoardVO boardVO,
|
|
| 761 |
+ Board board, BindingResult bindingResult, |
|
| 762 |
+ ModelMap model, HttpServletRequest request, HttpServletResponse response) throws Exception {
|
|
| 763 |
+ |
|
| 764 |
+ if(request.getSession().getAttribute("sessionVO") == null) {
|
|
| 765 |
+ return "forward:/cop/bbs/selectBoardList.do"; |
|
| 766 |
+ } |
|
| 767 |
+ |
|
| 768 |
+ LoginVO user = EgovUserDetailsHelper.getAuthenticatedUser(request, response); |
|
| 769 |
+ String atchFileId = boardVO.getAtchFileId(); |
|
| 770 |
+ |
|
| 771 |
+ beanValidator.validate(board, bindingResult); |
|
| 772 |
+ |
|
| 773 |
+ BoardMasterVO vo = new BoardMasterVO(); |
|
| 774 |
+ vo.setBbsId(boardVO.getBbsId()); |
|
| 775 |
+ |
|
| 776 |
+ SiteManageVO siteVO = siteManageService.selectSiteServiceInfo(request); |
|
| 777 |
+ vo.setSiteId(siteVO.getSiteId()); |
|
| 778 |
+ vo.setSysTyCode(siteVO.getSysTyCode()); |
|
| 779 |
+ |
|
| 780 |
+ BoardMasterVO master = bbsAttrbService.selectBBSMasterInf(vo); |
|
| 781 |
+ |
|
| 782 |
+ if(bindingResult.hasErrors()) {
|
|
| 783 |
+ |
|
| 784 |
+ if(master != null) {
|
|
| 785 |
+ if(!EgovStringUtil.isEmpty(master.getCtgrymasterId())) {
|
|
| 786 |
+ Ctgry ctgry = new Ctgry(); |
|
| 787 |
+ ctgry.setCtgrymasterId(master.getCtgrymasterId()); |
|
| 788 |
+ model.addAttribute("boardCateList", ctgryService.selectComtnbbsctgryList(ctgry));
|
|
| 789 |
+ |
|
| 790 |
+ model.addAttribute("boardCateLevel", ctgryService.selectComtnbbsctgryLevel(ctgry));
|
|
| 791 |
+ } |
|
| 792 |
+ |
|
| 793 |
+ model.addAttribute("siteInfo", siteVO);
|
|
| 794 |
+ |
|
| 795 |
+ boardVO.setCtgrymasterId(master.getCtgrymasterId()); |
|
| 796 |
+ BoardVO dataVO = bbsMngService.selectBoardArticle(boardVO); |
|
| 797 |
+ |
|
| 798 |
+ model.addAttribute("brdMstrVO", master);
|
|
| 799 |
+ model.addAttribute("board", dataVO);
|
|
| 800 |
+ |
|
| 801 |
+ model.addAttribute("USER_INFO", user);
|
|
| 802 |
+ model.addAttribute("BbsFileStoreWebPathByWebFile", propertyService.getString("publish.tmplat.bbs.fileStoreWebPathByWebFile"));
|
|
| 803 |
+ return propertyService.getString("publish.sourc.bbs.fileStoreWebPathByJspFile") + master.getSourcId() + "/EgovNoticeRegist";
|
|
| 804 |
+ } |
|
| 805 |
+ |
|
| 806 |
+ } |
|
| 807 |
+ |
|
| 808 |
+ if(master != null) {
|
|
| 809 |
+ int SE_CODE = Integer.parseInt(user.getUserSe()); |
|
| 810 |
+ if(SE_CODE >= Integer.parseInt(master.getRegistAuthor())) {
|
|
| 811 |
+ |
|
| 812 |
+ final Map<String, MultipartFile> files = multiRequest.getFileMap(); |
|
| 813 |
+ if(!files.isEmpty()) {
|
|
| 814 |
+ if(EgovStringUtil.isEmpty(atchFileId)) {
|
|
| 815 |
+ List<FileVO> result = fileUtil.parseBoardFileInf(Long.parseLong(master.getPosblAtchFileSize()) * 1024 * 1024, files, 0, atchFileId, |
|
| 816 |
+ siteManageService.selectSiteServiceInfo(request).getSiteId(), boardVO.getBbsId(), boardVO.getLa(), boardVO.getLo()); |
|
| 817 |
+ atchFileId = fileMngService.insertFileInfs(result); |
|
| 818 |
+ boardVO.setAtchFileId(atchFileId); |
|
| 819 |
+ } else {
|
|
| 820 |
+ FileVO fvo = new FileVO(); |
|
| 821 |
+ fvo.setAtchFileId(atchFileId); |
|
| 822 |
+ int cnt = fileMngService.getMaxFileSN(fvo); |
|
| 823 |
+ List<FileVO> _result = fileUtil.parseBoardFileInf(Long.parseLong(master.getPosblAtchFileSize()) * 1024 * 1024, files, 0, atchFileId, |
|
| 824 |
+ siteManageService.selectSiteServiceInfo(request).getSiteId(), boardVO.getBbsId(), boardVO.getLa(), boardVO.getLo()); |
|
| 825 |
+ fileMngService.updateFileInfs(_result); |
|
| 826 |
+ } |
|
| 827 |
+ } |
|
| 828 |
+ |
|
| 829 |
+ if(!"".equals(atchFileId)) {
|
|
| 830 |
+ FileVO fvo = new FileVO(); |
|
| 831 |
+ fvo.setAtchFileId(atchFileId); |
|
| 832 |
+ List<FileVO> dbFiles = fileMngService.selectFileInfs(fvo); |
|
| 833 |
+ if(dbFiles == null || dbFiles.size() == 0) {
|
|
| 834 |
+ boardVO.setAtchFileId("");
|
|
| 835 |
+ boardVO.setFileGroupId("");
|
|
| 836 |
+ } |
|
| 837 |
+ } |
|
| 838 |
+ |
|
| 839 |
+ if(SE_CODE >= 10) {
|
|
| 840 |
+ boardVO.setAdminAt("Y");
|
|
| 841 |
+ } |
|
| 842 |
+ boardVO.setLastUpdusrId(user.getId()); |
|
| 843 |
+ boardVO.setNttCn(unscript(boardVO.getNttCn())); // XSS 방지 |
|
| 844 |
+ boardVO.setEstnData(EgovHttpUtil.getEstnParseData(request)); |
|
| 845 |
+ |
|
| 846 |
+ bbsMngService.updateBoardArticle(boardVO, master, false); |
|
| 847 |
+ } |
|
| 848 |
+ } |
|
| 849 |
+ |
|
| 850 |
+ request.getSession().removeAttribute("sessionVO");
|
|
| 851 |
+ |
|
| 852 |
+ return "forward:/cop/bbs/selectBoardList.do"; |
|
| 853 |
+ } |
|
| 854 |
+ |
|
| 855 |
+ /** |
|
| 856 |
+ * 게시물에 대한 내용을 삭제한다. |
|
| 857 |
+ * |
|
| 858 |
+ * @param boardVO |
|
| 859 |
+ * @param board |
|
| 860 |
+ * @param sessionVO |
|
| 861 |
+ * @param model |
|
| 862 |
+ * @return |
|
| 863 |
+ * @throws Exception |
|
| 864 |
+ */ |
|
| 865 |
+ @RequestMapping(value = "/cop/bbs/deleteBoardArticle.do") |
|
| 866 |
+ public String deleteBoardArticle(@ModelAttribute("searchVO") BoardVO boardVO, BoardVO board, ModelMap model, HttpServletRequest request, HttpServletResponse response) throws Exception {
|
|
| 867 |
+ |
|
| 868 |
+ LoginVO user = EgovUserDetailsHelper.getAuthenticatedUser(request, response); |
|
| 869 |
+ if(user == null) {
|
|
| 870 |
+ return "redirect:" + EgovUserDetailsHelper.getRedirectLoginUrl(); |
|
| 871 |
+ } |
|
| 872 |
+ |
|
| 873 |
+ BoardMasterVO vo = new BoardMasterVO(); |
|
| 874 |
+ vo.setBbsId(boardVO.getBbsId()); |
|
| 875 |
+ |
|
| 876 |
+ SiteManageVO siteVO = siteManageService.selectSiteServiceInfo(request); |
|
| 877 |
+ vo.setSiteId(siteVO.getSiteId()); |
|
| 878 |
+ vo.setSysTyCode(siteVO.getSysTyCode()); |
|
| 879 |
+ |
|
| 880 |
+ BoardMasterVO master = bbsAttrbService.selectBBSMasterInf(vo); |
|
| 881 |
+ |
|
| 882 |
+ if(master != null) {
|
|
| 883 |
+ int SE_CODE = Integer.parseInt(user.getUserSe()); |
|
| 884 |
+ if(SE_CODE >= Integer.parseInt(master.getRegistAuthor())){
|
|
| 885 |
+ if(SE_CODE >= 10) {
|
|
| 886 |
+ boardVO.setAdminAt("Y");
|
|
| 887 |
+ } |
|
| 888 |
+ |
|
| 889 |
+ board.setLastUpdusrId(user.getId()); |
|
| 890 |
+ bbsMngService.deleteBoardArticle(board, master); |
|
| 891 |
+ } |
|
| 892 |
+ } |
|
| 893 |
+ |
|
| 894 |
+ return "forward:/cop/bbs/selectBoardList.do"; |
|
| 895 |
+ } |
|
| 896 |
+ |
|
| 897 |
+ |
|
| 898 |
+ /** |
|
| 899 |
+ * [관리용-공통] 게시판 마스터 목록을 조회한다. |
|
| 900 |
+ * |
|
| 901 |
+ * @param boardMasterVO |
|
| 902 |
+ * @param model |
|
| 903 |
+ * @return |
|
| 904 |
+ * @throws Exception |
|
| 905 |
+ */ |
|
| 906 |
+ @RequestMapping("/cop/com/selectAllBBSMasterManageInfs.do")
|
|
| 907 |
+ public String selectAllBBSMasterManageInfs(@ModelAttribute("searchVO") BoardMasterVO boardMasterVO, ModelMap model, HttpServletRequest request, HttpServletResponse response) throws Exception {
|
|
| 908 |
+ |
|
| 909 |
+ LoginVO loginVO = EgovUserDetailsHelper.getAuthenticatedUser(request, response); |
|
| 910 |
+ if(!EgovStringUtil.isEmpty(loginVO.getSiteId())) {
|
|
| 911 |
+ boardMasterVO.setSiteId(loginVO.getSiteId()); |
|
| 912 |
+ } |
|
| 913 |
+ |
|
| 914 |
+ boardMasterVO.setPageUnit(propertyService.getInt("pageUnit"));
|
|
| 915 |
+ boardMasterVO.setPageSize(propertyService.getInt("pageSize"));
|
|
| 916 |
+ |
|
| 917 |
+ PaginationInfo paginationInfo = new PaginationInfo(); |
|
| 918 |
+ |
|
| 919 |
+ paginationInfo.setCurrentPageNo(boardMasterVO.getPageIndex()); |
|
| 920 |
+ paginationInfo.setRecordCountPerPage(boardMasterVO.getPageUnit()); |
|
| 921 |
+ paginationInfo.setPageSize(boardMasterVO.getPageSize()); |
|
| 922 |
+ |
|
| 923 |
+ boardMasterVO.setFirstIndex(paginationInfo.getFirstRecordIndex()); |
|
| 924 |
+ boardMasterVO.setLastIndex(paginationInfo.getLastRecordIndex()); |
|
| 925 |
+ boardMasterVO.setRecordCountPerPage(paginationInfo.getRecordCountPerPage()); |
|
| 926 |
+ |
|
| 927 |
+ if(!EgovStringUtil.isEmpty(boardMasterVO.getSiteId())) {
|
|
| 928 |
+ List<BoardMasterVO> list = bbsAttrbService.selectAllBBSMasterManageInfs(boardMasterVO); |
|
| 929 |
+ int totCnt = bbsAttrbService.selectAllBBSMasterManageInfsCnt(boardMasterVO); |
|
| 930 |
+ |
|
| 931 |
+ paginationInfo.setTotalRecordCount(totCnt); |
|
| 932 |
+ |
|
| 933 |
+ model.addAttribute("resultList", list);
|
|
| 934 |
+ model.addAttribute("resultCnt", totCnt);
|
|
| 935 |
+ } |
|
| 936 |
+ |
|
| 937 |
+ model.addAttribute("paginationInfo", paginationInfo);
|
|
| 938 |
+ |
|
| 939 |
+ return "cop/com/selectAllBBSMasterManageInfs"; |
|
| 940 |
+ } |
|
| 941 |
+ |
|
| 942 |
+ /** |
|
| 943 |
+ * 게시물을 관리한다. |
|
| 944 |
+ * |
|
| 945 |
+ * @param boardVO |
|
| 946 |
+ * @param board |
|
| 947 |
+ * @param sessionVO |
|
| 948 |
+ * @param model |
|
| 949 |
+ * @return |
|
| 950 |
+ * @throws Exception |
|
| 951 |
+ */ |
|
| 952 |
+ @RequestMapping(value = "/cop/bbs/manageArticle.do") |
|
| 953 |
+ public void manageArticle(@ModelAttribute("searchVO") BoardVO boardVO, ModelMap model, HttpServletRequest request, HttpServletResponse response) throws Exception {
|
|
| 954 |
+ |
|
| 955 |
+ LoginVO user = EgovUserDetailsHelper.getAuthenticatedUser(request, response); |
|
| 956 |
+ boardVO.setLastUpdusrId(user.getId()); |
|
| 957 |
+ |
|
| 958 |
+ if("Move".equals(boardVO.getRegistAction())) {
|
|
| 959 |
+ bbsMngService.updateBoardArticlesManageMove(boardVO); |
|
| 960 |
+ } else if("Copy".equals(boardVO.getRegistAction())) {
|
|
| 961 |
+ bbsMngService.updateBoardArticlesManageCopy(boardVO); |
|
| 962 |
+ } else if("Hide".equals(boardVO.getRegistAction())) {
|
|
| 963 |
+ bbsMngService.updateBoardArticlesManageHide(boardVO); |
|
| 964 |
+ } else if("Remove".equals(boardVO.getRegistAction())) {
|
|
| 965 |
+ bbsMngService.deleteCompleteBoardArticle(boardVO); |
|
| 966 |
+ } else if("Repair".equals(boardVO.getRegistAction())) {
|
|
| 967 |
+ bbsMngService.repairBoardArticle(boardVO); |
|
| 968 |
+ } |
|
| 969 |
+ |
|
| 970 |
+ |
|
| 971 |
+ JSONObject jo = new JSONObject(); |
|
| 972 |
+ jo.put("message", egovMessageSource.getMessage("success.request.msg"));
|
|
| 973 |
+ |
|
| 974 |
+ response.setContentType("text/javascript; charset=utf-8");
|
|
| 975 |
+ PrintWriter printwriter = response.getWriter(); |
|
| 976 |
+ printwriter.println(jo.toString()); |
|
| 977 |
+ printwriter.flush(); |
|
| 978 |
+ printwriter.close(); |
|
| 979 |
+ } |
|
| 980 |
+ |
|
| 981 |
+ /** |
|
| 982 |
+ * COMTNBBSCTGRYMASTER 목록을 조회한다. (pageing) |
|
| 983 |
+ * @param searchVO - 조회할 정보가 담긴 CtgryMaster |
|
| 984 |
+ * @exception Exception |
|
| 985 |
+ */ |
|
| 986 |
+ @RequestMapping(value="/cop/bbs/selectBBSCtgryMasterList.do") |
|
| 987 |
+ public String selectBBSCtgryMasterList(@ModelAttribute("searchVO") CtgryMaster searchVO, ModelMap model, HttpServletRequest request, HttpServletResponse response) throws Exception {
|
|
| 988 |
+ LoginVO loginVO = EgovUserDetailsHelper.getAuthenticatedUser(request, response); |
|
| 989 |
+ if(!EgovStringUtil.isEmpty(loginVO.getSiteId())) {
|
|
| 990 |
+ searchVO.setSiteId(loginVO.getSiteId()); |
|
| 991 |
+ } |
|
| 992 |
+ |
|
| 993 |
+ searchVO.setPageUnit(propertiesService.getInt("pageUnit"));
|
|
| 994 |
+ searchVO.setPageSize(propertiesService.getInt("pageSize"));
|
|
| 995 |
+ |
|
| 996 |
+ /** pageing */ |
|
| 997 |
+ PaginationInfo paginationInfo = new PaginationInfo(); |
|
| 998 |
+ paginationInfo.setCurrentPageNo(searchVO.getPageIndex()); |
|
| 999 |
+ paginationInfo.setRecordCountPerPage(searchVO.getPageUnit()); |
|
| 1000 |
+ paginationInfo.setPageSize(searchVO.getPageSize()); |
|
| 1001 |
+ |
|
| 1002 |
+ searchVO.setFirstIndex(paginationInfo.getFirstRecordIndex()); |
|
| 1003 |
+ searchVO.setLastIndex(paginationInfo.getLastRecordIndex()); |
|
| 1004 |
+ searchVO.setRecordCountPerPage(paginationInfo.getRecordCountPerPage()); |
|
| 1005 |
+ |
|
| 1006 |
+ searchVO.setRecordCountPerPage(Integer.MAX_VALUE); |
|
| 1007 |
+ searchVO.setSysTyCode("SYS02");
|
|
| 1008 |
+ List<CtgryMaster> masterList = egovBBSCtgryMasterService.selectComtnbbsctgrymasterList(searchVO); |
|
| 1009 |
+ Ctgry ctgry = new Ctgry(); |
|
| 1010 |
+ HashMap map = new HashMap(); |
|
| 1011 |
+ int listSize = 0; |
|
| 1012 |
+ for(int i = 0; i < masterList.size(); i++){
|
|
| 1013 |
+ ctgry.setCtgrymasterId(masterList.get(i).getCtgrymasterId()); |
|
| 1014 |
+ List<Ctgry> ctgryList = egovBBSCtgryService.selectComtnbbsctgryList(ctgry); |
|
| 1015 |
+ map.put(masterList.get(i).getCtgrymasterId(), ctgryList); |
|
| 1016 |
+ |
|
| 1017 |
+ if(ctgryList.size() > listSize){
|
|
| 1018 |
+ listSize = ctgryList.size(); |
|
| 1019 |
+ } |
|
| 1020 |
+ } |
|
| 1021 |
+ |
|
| 1022 |
+ model.addAttribute("resultList", map);
|
|
| 1023 |
+ model.addAttribute("listSize", listSize);
|
|
| 1024 |
+ |
|
| 1025 |
+ return "/cop/ctg/EgovBBSCtgryMasterList02"; |
|
| 1026 |
+ |
|
| 1027 |
+ } |
|
| 1028 |
+ |
|
| 1029 |
+ /** |
|
| 1030 |
+ * 마이페이지 > 관심리스트 > 교재/사전 |
|
| 1031 |
+ */ |
|
| 1032 |
+ @RequestMapping(value = "/cop/bbs/selectLikeBookList.do") |
|
| 1033 |
+ public String selectLikeBookList(@ModelAttribute("searchVO") BoardVO boardVO, ModelMap model, HttpServletRequest request, HttpServletResponse response) throws Exception {
|
|
| 1034 |
+ |
|
| 1035 |
+ SiteManageVO siteVO = siteManageService.selectSiteServiceInfo(request); |
|
| 1036 |
+ model.addAttribute("siteInfo", siteVO);
|
|
| 1037 |
+ |
|
| 1038 |
+ boardVO.setBbsId("BBSMSTR_000000000005");
|
|
| 1039 |
+ |
|
| 1040 |
+ PaginationInfo paginationInfo = new PaginationInfo(); |
|
| 1041 |
+ |
|
| 1042 |
+ BoardMasterVO vo = new BoardMasterVO(); |
|
| 1043 |
+ vo.setBbsId(boardVO.getBbsId()); |
|
| 1044 |
+ vo.setSiteId(siteVO.getSiteId()); |
|
| 1045 |
+ vo.setSysTyCode(siteVO.getSysTyCode()); |
|
| 1046 |
+ |
|
| 1047 |
+ BoardMasterVO master = bbsAttrbService.selectBBSMasterInf(vo); |
|
| 1048 |
+ |
|
| 1049 |
+ LoginVO user = EgovUserDetailsHelper.getAuthenticatedUser(request, response); |
|
| 1050 |
+ if(master != null) {
|
|
| 1051 |
+ int SE_CODE = 1; |
|
| 1052 |
+ if(user != null) {
|
|
| 1053 |
+ SE_CODE = Integer.parseInt(user.getUserSe()); |
|
| 1054 |
+ model.addAttribute("USER_INFO", user);
|
|
| 1055 |
+ |
|
| 1056 |
+ boardVO.setTrgetId(user.getId()); |
|
| 1057 |
+ |
|
| 1058 |
+ //교재&사전 |
|
| 1059 |
+ if("BBSMSTR_000000000005".equals(boardVO.getBbsId())){
|
|
| 1060 |
+ //좋아요 목록 |
|
| 1061 |
+ IndvdlestbsVO indvdlestbsVO = new IndvdlestbsVO(); |
|
| 1062 |
+ indvdlestbsVO.setUserId(user.getId()); |
|
| 1063 |
+ indvdlestbsVO.setSiteId(siteVO.getSiteId()); |
|
| 1064 |
+ indvdlestbsVO.setTrgetTyCode("BOOK_LIKE");
|
|
| 1065 |
+ model.addAttribute("wishList", indvdlestbsService.selectIvpList(indvdlestbsVO));
|
|
| 1066 |
+ } |
|
| 1067 |
+ } |
|
| 1068 |
+ |
|
| 1069 |
+ // 페이징 정보 설정 |
|
| 1070 |
+ boardVO.setPageUnit(propertyService.getInt("pageUnit"));
|
|
| 1071 |
+ boardVO.setPageSize(propertyService.getInt("pageSize"));
|
|
| 1072 |
+ boardVO.setCtgrymasterId(master.getCtgrymasterId()); |
|
| 1073 |
+ |
|
| 1074 |
+ if("BBSA02".equals(master.getBbsAttrbCode())) {
|
|
| 1075 |
+ if(EgovStringUtil.isEmpty(boardVO.getViewType())){
|
|
| 1076 |
+ boardVO.setViewType("photo");
|
|
| 1077 |
+ } |
|
| 1078 |
+ |
|
| 1079 |
+ if("photo".equals(boardVO.getViewType())){
|
|
| 1080 |
+ // 페이징 정보 설정 |
|
| 1081 |
+ boardVO.setPageUnit(propertyService.getInt("photoPageUnit"));
|
|
| 1082 |
+ boardVO.setPageSize(propertyService.getInt("photoPageSize"));
|
|
| 1083 |
+ } |
|
| 1084 |
+ } |
|
| 1085 |
+ |
|
| 1086 |
+ paginationInfo.setCurrentPageNo(boardVO.getPageIndex()); |
|
| 1087 |
+ paginationInfo.setRecordCountPerPage(boardVO.getPageUnit()); |
|
| 1088 |
+ paginationInfo.setPageSize(boardVO.getPageSize()); |
|
| 1089 |
+ |
|
| 1090 |
+ boardVO.setFirstIndex(paginationInfo.getFirstRecordIndex()); |
|
| 1091 |
+ boardVO.setLastIndex(paginationInfo.getLastRecordIndex()); |
|
| 1092 |
+ boardVO.setRecordCountPerPage(paginationInfo.getRecordCountPerPage()); |
|
| 1093 |
+ |
|
| 1094 |
+ boardVO.setCommentUseAt(master.getCommentUseAt()); |
|
| 1095 |
+ boardVO.setBbsAttrbCode(master.getBbsAttrbCode()); |
|
| 1096 |
+ |
|
| 1097 |
+ boardVO.setBookLikeAt("Y");
|
|
| 1098 |
+ |
|
| 1099 |
+ List<BoardVO> resultList = bbsMngService.selectBoardArticles(boardVO); |
|
| 1100 |
+ int totCnt = bbsMngService.selectBoardArticlesCnt(boardVO); |
|
| 1101 |
+ |
|
| 1102 |
+ paginationInfo.setTotalRecordCount(totCnt); |
|
| 1103 |
+ |
|
| 1104 |
+ if(!EgovStringUtil.isEmpty(master.getCtgrymasterId())) {
|
|
| 1105 |
+ Ctgry ctgry = new Ctgry(); |
|
| 1106 |
+ ctgry.setCtgrymasterId(master.getCtgrymasterId()); |
|
| 1107 |
+ model.addAttribute("boardCateList", ctgryService.selectComtnbbsctgryList(ctgry));
|
|
| 1108 |
+ model.addAttribute("boardCateLevel", ctgryService.selectComtnbbsctgryLevel(ctgry));
|
|
| 1109 |
+ } |
|
| 1110 |
+ |
|
| 1111 |
+ model.addAttribute("resultList", resultList);
|
|
| 1112 |
+ model.addAttribute("resultCnt", totCnt);
|
|
| 1113 |
+ model.addAttribute("brdMstrVO", master);
|
|
| 1114 |
+ model.addAttribute("BbsFileStoreWebPathByWebFile", propertyService.getString("publish.tmplat.bbs.fileStoreWebPathByWebFile"));
|
|
| 1115 |
+ model.addAttribute("paginationInfo", paginationInfo);
|
|
| 1116 |
+ request.getSession().removeAttribute("sessionCommentVO");
|
|
| 1117 |
+ |
|
| 1118 |
+ return "usr/EgovLikeBookList"; |
|
| 1119 |
+ } |
|
| 1120 |
+ |
|
| 1121 |
+ return null; |
|
| 1122 |
+ } |
|
| 1123 |
+ |
|
| 1124 |
+} |
--- base/src/main/java/egovframework/com/cop/cmy/web/EgovBBSAttributeManageController.java
+++ base/src/main/java/egovframework/com/cop/cmy/web/EgovBBSAttributeManageController.java
... | ... | @@ -1,311 +1,311 @@ |
| 1 |
-package egovframework.com.cop.cmy.web; |
|
| 2 |
- |
|
| 3 |
-import java.util.Map; |
|
| 4 |
- |
|
| 5 |
-import javax.annotation.Resource; |
|
| 6 |
-import javax.servlet.http.HttpServletRequest; |
|
| 7 |
-import javax.servlet.http.HttpServletResponse; |
|
| 8 |
- |
|
| 9 |
-import org.apache.log4j.Logger; |
|
| 10 |
-import org.springframework.beans.factory.annotation.Autowired; |
|
| 11 |
-import org.springframework.stereotype.Controller; |
|
| 12 |
-import org.springframework.ui.ModelMap; |
|
| 13 |
-import org.springframework.validation.BindingResult; |
|
| 14 |
-import org.springframework.web.bind.annotation.ModelAttribute; |
|
| 15 |
-import org.springframework.web.bind.annotation.RequestMapping; |
|
| 16 |
-import org.springmodules.validation.commons.DefaultBeanValidator; |
|
| 17 |
- |
|
| 18 |
-import egovframework.com.cmm.ComDefaultCodeVO; |
|
| 19 |
-import egovframework.com.cmm.service.EgovCmmUseService; |
|
| 20 |
-import egovframework.com.cop.bbs.service.BoardMaster; |
|
| 21 |
-import egovframework.com.cop.bbs.service.BoardMasterVO; |
|
| 22 |
-import egovframework.com.cop.bbs.service.CtgryMaster; |
|
| 23 |
-import egovframework.com.cop.bbs.service.EgovBBSCtgryMasterService; |
|
| 24 |
-import egovframework.com.cop.bbs.service.EgovBBSAttributeManageService; |
|
| 25 |
-import egovframework.com.sec.ram.security.userdetails.util.EgovUserDetailsHelper; |
|
| 26 |
-import egovframework.com.sym.sit.service.EgovSiteManageService; |
|
| 27 |
-import egovframework.com.sym.sit.service.SiteManageVO; |
|
| 28 |
-import egovframework.com.uat.uia.service.LoginVO; |
|
| 29 |
-import egovframework.rte.fdl.property.EgovPropertyService; |
|
| 30 |
-import egovframework.rte.ptl.mvc.tags.ui.pagination.PaginationInfo; |
|
| 31 |
- |
|
| 32 |
-import egovframework.com.cop.cmy.service.CommunityMnuVO; |
|
| 33 |
-import egovframework.com.cop.cmy.service.CommunityUser; |
|
| 34 |
-import egovframework.com.cop.cmy.service.EgovCommunityManageService; |
|
| 35 |
-import egovframework.rte.fdl.cmmn.exception.EgovBizException; |
|
| 36 |
-/** |
|
| 37 |
- * 게시판 속성관리를 위한 컨트롤러 클래스 |
|
| 38 |
- * |
|
| 39 |
- * @author 공통서비스개발팀 이삼섭 |
|
| 40 |
- * @since 2009.06.01 |
|
| 41 |
- * @version 1.0 |
|
| 42 |
- * @see <pre> |
|
| 43 |
- * << 개정이력(Modification Information) >> |
|
| 44 |
- * |
|
| 45 |
- * 수정일 수정자 수정내용 |
|
| 46 |
- * ------- -------- --------------------------- |
|
| 47 |
- * 2009.3.12 이삼섭 최초 생성 |
|
| 48 |
- * 2009.06.26 한성곤 2단계 기능 추가 (댓글관리, 만족도조사) |
|
| 49 |
- * |
|
| 50 |
- * </pre> |
|
| 51 |
- */ |
|
| 52 |
-@Controller("EgovBBSAttributeManageController")
|
|
| 53 |
-public class EgovBBSAttributeManageController {
|
|
| 54 |
- |
|
| 55 |
- @Resource(name = "EgovBBSAttributeManageService") |
|
| 56 |
- private EgovBBSAttributeManageService bbsAttrbService; |
|
| 57 |
- |
|
| 58 |
- @Resource(name = "EgovCmmUseService") |
|
| 59 |
- private EgovCmmUseService cmmUseService; |
|
| 60 |
- |
|
| 61 |
- @Resource(name = "EgovBBSCtgryMasterService") |
|
| 62 |
- private EgovBBSCtgryMasterService egovBBSCtgryMasterService; |
|
| 63 |
- |
|
| 64 |
- @Resource(name = "propertiesService") |
|
| 65 |
- protected EgovPropertyService propertyService; |
|
| 66 |
- |
|
| 67 |
- @Autowired |
|
| 68 |
- private DefaultBeanValidator beanValidator; |
|
| 69 |
- |
|
| 70 |
- @Resource(name = "EgovCommunityManageService") |
|
| 71 |
- private EgovCommunityManageService cmmntyService; // 커뮤니티 관리자 권한 확인 |
|
| 72 |
- |
|
| 73 |
- @Resource(name = "SiteManageService") |
|
| 74 |
- EgovSiteManageService siteManageService; |
|
| 75 |
- |
|
| 76 |
- |
|
| 77 |
- Logger log = Logger.getLogger(this.getClass()); |
|
| 78 |
- |
|
| 79 |
- |
|
| 80 |
- /** |
|
| 81 |
- * 커뮤니티 관리자 및 동호회 운영자 권한을 확인한다. |
|
| 82 |
- * |
|
| 83 |
- * @param boardMaster |
|
| 84 |
- * @throws EgovBizException |
|
| 85 |
- */ |
|
| 86 |
- protected void checkAuthority(BoardMaster boardMaster, HttpServletRequest request, HttpServletResponse response) throws Exception {
|
|
| 87 |
- |
|
| 88 |
- Boolean isAuthenticated = EgovUserDetailsHelper.isAuthenticated(request, response); |
|
| 89 |
- if (!isAuthenticated) {
|
|
| 90 |
- throw new EgovBizException("인증된 사용자 정보가 존재하지 않습니다.");
|
|
| 91 |
- } |
|
| 92 |
- |
|
| 93 |
- LoginVO user = EgovUserDetailsHelper.getAuthenticatedUser(request, response); |
|
| 94 |
- |
|
| 95 |
- String targetId = boardMaster.getTrgetId(); |
|
| 96 |
- |
|
| 97 |
- if (targetId.startsWith("CMMNTY_")) {
|
|
| 98 |
- CommunityUser cmmntyUser = new CommunityUser(); |
|
| 99 |
- |
|
| 100 |
- cmmntyUser.setCmmntyId(boardMaster.getTrgetId()); |
|
| 101 |
- cmmntyUser.setEmplyrId(user.getId()); |
|
| 102 |
- |
|
| 103 |
- if (!cmmntyService.isManager(cmmntyUser)) {
|
|
| 104 |
- throw new EgovBizException("해당 커뮤니티 관리자만 사용하실 수 있습니다.");
|
|
| 105 |
- } |
|
| 106 |
- } else {
|
|
| 107 |
- throw new EgovBizException("대상ID 정보가 정확하지 않습니다.");
|
|
| 108 |
- } |
|
| 109 |
- } |
|
| 110 |
- |
|
| 111 |
- /** |
|
| 112 |
- * 신규 게시판 마스터 등록을 위한 등록페이지로 이동한다. |
|
| 113 |
- * |
|
| 114 |
- * @param boardMasterVO |
|
| 115 |
- * @param model |
|
| 116 |
- * @return |
|
| 117 |
- * @throws Exception |
|
| 118 |
- */ |
|
| 119 |
- @RequestMapping("/cop/cmy/bbs/addBBSMaster.do")
|
|
| 120 |
- public String addBBSMaster(@ModelAttribute("searchVO") CommunityMnuVO cmmntyMnu, ModelMap model, HttpServletRequest request, HttpServletResponse response) throws Exception {
|
|
| 121 |
- |
|
| 122 |
- checkAuthority(cmmntyMnu, request, response); // server-side 권한 확인 |
|
| 123 |
- |
|
| 124 |
- SiteManageVO siteVO = siteManageService.selectSiteServiceInfo(request); |
|
| 125 |
- model.addAttribute("siteInfo", siteVO);
|
|
| 126 |
- model.addAttribute("LytFileStoreWebPathByWebFile", propertyService.getString("publish.tmplat.lyt.fileStoreWebPathByWebFile"));
|
|
| 127 |
- |
|
| 128 |
- ComDefaultCodeVO vo = new ComDefaultCodeVO(); |
|
| 129 |
- vo.setCodeId("COM912");
|
|
| 130 |
- model.addAttribute("attrbList", cmmUseService.selectCmmCodeDetail(vo));
|
|
| 131 |
- |
|
| 132 |
- model.addAttribute("authList", cmmntyService.selectAuthorAllList(null));
|
|
| 133 |
- |
|
| 134 |
- CtgryMaster ctgrymasterVO = new CtgryMaster(); |
|
| 135 |
- ctgrymasterVO.setFirstIndex(0); |
|
| 136 |
- ctgrymasterVO.setRecordCountPerPage(999999999); |
|
| 137 |
- model.addAttribute("ctgrymasterList", egovBBSCtgryMasterService.selectComtnbbsctgrymasterList(ctgrymasterVO));
|
|
| 138 |
- |
|
| 139 |
- model.addAttribute("boardMaster", cmmntyMnu);
|
|
| 140 |
- |
|
| 141 |
- request.getSession().setAttribute("sessionVO", cmmntyMnu);
|
|
| 142 |
- |
|
| 143 |
- return "cop/cmy/bbs/EgovBoardMstrRegist"; |
|
| 144 |
- } |
|
| 145 |
- |
|
| 146 |
- /** |
|
| 147 |
- * 신규 게시판 마스터 정보를 등록한다. |
|
| 148 |
- * |
|
| 149 |
- * @param boardMasterVO |
|
| 150 |
- * @param boardMaster |
|
| 151 |
- * @param status |
|
| 152 |
- * @return |
|
| 153 |
- * @throws Exception |
|
| 154 |
- */ |
|
| 155 |
- @RequestMapping("/cop/cmy/bbs/insertBBSMasterInf.do")
|
|
| 156 |
- public String insertBBSMasterInf(@ModelAttribute("searchVO") CommunityMnuVO cmmntyMnu, BindingResult bindingResult, HttpServletRequest request, HttpServletResponse response, ModelMap model) throws Exception {
|
|
| 157 |
- |
|
| 158 |
- checkAuthority(cmmntyMnu, request, response); // server-side 권한 확인 |
|
| 159 |
- |
|
| 160 |
- if(request.getSession().getAttribute("sessionVO") == null) {
|
|
| 161 |
- return "forward:/cop/cmy/selectCmmntyMasterInfs.do"; |
|
| 162 |
- } |
|
| 163 |
- |
|
| 164 |
- SiteManageVO siteVO = siteManageService.selectSiteServiceInfo(request); |
|
| 165 |
- cmmntyMnu.setSiteId(siteVO.getSiteId()); |
|
| 166 |
- cmmntyMnu.setSysTyCode(siteVO.getSysTyCode()); |
|
| 167 |
- |
|
| 168 |
- LoginVO loginVO = EgovUserDetailsHelper.getAuthenticatedUser(request, response); |
|
| 169 |
- |
|
| 170 |
- beanValidator.validate(cmmntyMnu, bindingResult); |
|
| 171 |
- if(bindingResult.hasErrors()) {
|
|
| 172 |
- |
|
| 173 |
- ComDefaultCodeVO vo = new ComDefaultCodeVO(); |
|
| 174 |
- vo.setCodeId("COM912");
|
|
| 175 |
- model.addAttribute("attrbList", cmmUseService.selectCmmCodeDetail(vo));
|
|
| 176 |
- |
|
| 177 |
- model.addAttribute("authList", cmmntyService.selectAuthorAllList(null));
|
|
| 178 |
- |
|
| 179 |
- CtgryMaster ctgrymasterVO = new CtgryMaster(); |
|
| 180 |
- ctgrymasterVO.setFirstIndex(0); |
|
| 181 |
- ctgrymasterVO.setRecordCountPerPage(999999999); |
|
| 182 |
- model.addAttribute("ctgrymasterList", egovBBSCtgryMasterService.selectComtnbbsctgrymasterList(ctgrymasterVO));
|
|
| 183 |
- |
|
| 184 |
- model.addAttribute("siteInfo", siteVO);
|
|
| 185 |
- model.addAttribute("LytFileStoreWebPathByWebFile", propertyService.getString("publish.tmplat.lyt.fileStoreWebPathByWebFile"));
|
|
| 186 |
- |
|
| 187 |
- return "cop/cmy/bbs/EgovBoardMstrRegist"; |
|
| 188 |
- } |
|
| 189 |
- |
|
| 190 |
- cmmntyMnu.setFrstRegisterId(loginVO.getId()); |
|
| 191 |
- cmmntyMnu.setRegistSeCode("REGC06");
|
|
| 192 |
- cmmntyService.insertBBSMasterInf(cmmntyMnu); |
|
| 193 |
- |
|
| 194 |
- request.getSession().removeAttribute("sessionVO");
|
|
| 195 |
- |
|
| 196 |
- |
|
| 197 |
- return "forward:/cop/cmy/selectCmmntyMasterInfs.do"; |
|
| 198 |
- } |
|
| 199 |
- |
|
| 200 |
- /** |
|
| 201 |
- * 게시판 마스터 상세내용을 조회한다. |
|
| 202 |
- * |
|
| 203 |
- * @param boardMasterVO |
|
| 204 |
- * @param model |
|
| 205 |
- * @return |
|
| 206 |
- * @throws Exception |
|
| 207 |
- */ |
|
| 208 |
- @RequestMapping("/cop/cmy/bbs/SelectBBSMasterInf.do")
|
|
| 209 |
- public String selectBBSMasterInf(@ModelAttribute("searchVO") CommunityMnuVO cmmntyMnu, ModelMap model, HttpServletRequest request, HttpServletResponse response) throws Exception {
|
|
| 210 |
- |
|
| 211 |
- checkAuthority(cmmntyMnu, request, response); // server-side 권한 확인 |
|
| 212 |
- |
|
| 213 |
- SiteManageVO siteVO = siteManageService.selectSiteServiceInfo(request); |
|
| 214 |
- model.addAttribute("siteInfo", siteVO);
|
|
| 215 |
- model.addAttribute("LytFileStoreWebPathByWebFile", propertyService.getString("publish.tmplat.lyt.fileStoreWebPathByWebFile"));
|
|
| 216 |
- cmmntyMnu.setSiteId(siteVO.getSiteId()); |
|
| 217 |
- cmmntyMnu.setSysTyCode(siteVO.getSysTyCode()); |
|
| 218 |
- |
|
| 219 |
- ComDefaultCodeVO vo = new ComDefaultCodeVO(); |
|
| 220 |
- vo.setCodeId("COM912");
|
|
| 221 |
- model.addAttribute("attrbList", cmmUseService.selectCmmCodeDetail(vo));
|
|
| 222 |
- |
|
| 223 |
- model.addAttribute("authList", cmmntyService.selectAuthorAllList(null));
|
|
| 224 |
- |
|
| 225 |
- model.addAttribute("boardMaster", cmmntyService.selectCmmntyMasterInf(cmmntyMnu));
|
|
| 226 |
- |
|
| 227 |
- request.getSession().setAttribute("sessionVO", cmmntyMnu);
|
|
| 228 |
- |
|
| 229 |
- return "cop/cmy/bbs/EgovBoardMstrRegist"; |
|
| 230 |
- } |
|
| 231 |
- |
|
| 232 |
- /** |
|
| 233 |
- * 게시판 마스터 정보를 수정한다. |
|
| 234 |
- * |
|
| 235 |
- * @param boardMasterVO |
|
| 236 |
- * @param boardMaster |
|
| 237 |
- * @param model |
|
| 238 |
- * @return |
|
| 239 |
- * @throws Exception |
|
| 240 |
- */ |
|
| 241 |
- @RequestMapping("/cop/cmy/bbs/updateBBSMasterInf.do")
|
|
| 242 |
- public String updateBBSMasterInf(@ModelAttribute("searchVO") CommunityMnuVO cmmntyMnu, BindingResult bindingResult, ModelMap model, HttpServletRequest request, HttpServletResponse response) throws Exception {
|
|
| 243 |
- |
|
| 244 |
- checkAuthority(cmmntyMnu, request, response); // server-side 권한 확인 |
|
| 245 |
- |
|
| 246 |
- if(request.getSession().getAttribute("sessionVO") == null) {
|
|
| 247 |
- return "forward:/cop/cmy/selectCmmntyMasterInfs.do"; |
|
| 248 |
- } |
|
| 249 |
- |
|
| 250 |
- SiteManageVO siteVO = siteManageService.selectSiteServiceInfo(request); |
|
| 251 |
- cmmntyMnu.setSiteId(siteVO.getSiteId()); |
|
| 252 |
- cmmntyMnu.setSysTyCode(siteVO.getSysTyCode()); |
|
| 253 |
- |
|
| 254 |
- LoginVO user = EgovUserDetailsHelper.getAuthenticatedUser(request, response); |
|
| 255 |
- |
|
| 256 |
- beanValidator.validate(cmmntyMnu, bindingResult); |
|
| 257 |
- if(bindingResult.hasErrors()) {
|
|
| 258 |
- |
|
| 259 |
- ComDefaultCodeVO vo = new ComDefaultCodeVO(); |
|
| 260 |
- vo.setCodeId("COM912");
|
|
| 261 |
- model.addAttribute("attrbList", cmmUseService.selectCmmCodeDetail(vo));
|
|
| 262 |
- |
|
| 263 |
- model.addAttribute("authList", cmmntyService.selectAuthorAllList(null));
|
|
| 264 |
- |
|
| 265 |
- CtgryMaster ctgrymasterVO = new CtgryMaster(); |
|
| 266 |
- ctgrymasterVO.setFirstIndex(0); |
|
| 267 |
- ctgrymasterVO.setRecordCountPerPage(999999999); |
|
| 268 |
- model.addAttribute("ctgrymasterList", egovBBSCtgryMasterService.selectComtnbbsctgrymasterList(ctgrymasterVO));
|
|
| 269 |
- |
|
| 270 |
- model.addAttribute("siteInfo", siteVO);
|
|
| 271 |
- model.addAttribute("LytFileStoreWebPathByWebFile", propertyService.getString("publish.tmplat.lyt.fileStoreWebPathByWebFile"));
|
|
| 272 |
- |
|
| 273 |
- return "cop/cmy/bbs/EgovBoardMstrRegist"; |
|
| 274 |
- } |
|
| 275 |
- |
|
| 276 |
- cmmntyMnu.setLastUpdusrId(user.getId()); |
|
| 277 |
- cmmntyService.updateBBSMasterInf(cmmntyMnu); |
|
| 278 |
- |
|
| 279 |
- request.getSession().removeAttribute("sessionVO");
|
|
| 280 |
- |
|
| 281 |
- return "forward:/cop/cmy/selectCmmntyMasterInfs.do"; |
|
| 282 |
- } |
|
| 283 |
- |
|
| 284 |
- /** |
|
| 285 |
- * 게시판 마스터 정보를 삭제한다. |
|
| 286 |
- * |
|
| 287 |
- * @param boardMasterVO |
|
| 288 |
- * @param boardMaster |
|
| 289 |
- * @param status |
|
| 290 |
- * @return |
|
| 291 |
- * @throws Exception |
|
| 292 |
- */ |
|
| 293 |
- @RequestMapping("/cop/cmy/bbs/DeleteBBSMasterInf.do")
|
|
| 294 |
- public String deleteBBSMasterInf(@ModelAttribute("searchVO") BoardMasterVO boardMasterVO, @ModelAttribute("boardMaster") BoardMaster boardMaster, HttpServletRequest request, HttpServletResponse response) throws Exception {
|
|
| 295 |
- |
|
| 296 |
- checkAuthority(boardMasterVO, request, response); // server-side 권한 확인 |
|
| 297 |
- |
|
| 298 |
- SiteManageVO siteVO = siteManageService.selectSiteServiceInfo(request); |
|
| 299 |
- boardMaster.setSiteId(siteVO.getSiteId()); |
|
| 300 |
- boardMaster.setSysTyCode(siteVO.getSysTyCode()); |
|
| 301 |
- |
|
| 302 |
- LoginVO user = EgovUserDetailsHelper.getAuthenticatedUser(request, response); |
|
| 303 |
- |
|
| 304 |
- boardMaster.setLastUpdusrId(user.getId()); |
|
| 305 |
- bbsAttrbService.deleteBBSMasterInf(boardMaster); |
|
| 306 |
- |
|
| 307 |
- return "forward:/cop/cmy/selectCmmntyMasterInfs.do"; |
|
| 308 |
- } |
|
| 309 |
- |
|
| 310 |
- |
|
| 311 |
-} |
|
| 1 |
+package egovframework.com.cop.cmy.web; |
|
| 2 |
+ |
|
| 3 |
+import java.util.Map; |
|
| 4 |
+ |
|
| 5 |
+import javax.annotation.Resource; |
|
| 6 |
+import javax.servlet.http.HttpServletRequest; |
|
| 7 |
+import javax.servlet.http.HttpServletResponse; |
|
| 8 |
+ |
|
| 9 |
+import org.apache.log4j.Logger; |
|
| 10 |
+import org.springframework.beans.factory.annotation.Autowired; |
|
| 11 |
+import org.springframework.stereotype.Controller; |
|
| 12 |
+import org.springframework.ui.ModelMap; |
|
| 13 |
+import org.springframework.validation.BindingResult; |
|
| 14 |
+import org.springframework.web.bind.annotation.ModelAttribute; |
|
| 15 |
+import org.springframework.web.bind.annotation.RequestMapping; |
|
| 16 |
+import org.springmodules.validation.commons.DefaultBeanValidator; |
|
| 17 |
+ |
|
| 18 |
+import egovframework.com.cmm.service.CmmUseService; |
|
| 19 |
+import egovframework.com.cop.bbs.service.BoardMaster; |
|
| 20 |
+import egovframework.com.cop.bbs.service.BoardMasterVO; |
|
| 21 |
+import egovframework.com.cop.bbs.service.CtgryMaster; |
|
| 22 |
+import egovframework.com.cop.bbs.service.EgovBBSCtgryMasterService; |
|
| 23 |
+import egovframework.com.cop.bbs.service.EgovBBSAttributeManageService; |
|
| 24 |
+import egovframework.com.sec.ram.security.userdetails.util.EgovUserDetailsHelper; |
|
| 25 |
+import egovframework.com.sym.ccm.cde.service.CmmnDetailCodeVO; |
|
| 26 |
+import egovframework.com.sym.sit.service.SiteManageService; |
|
| 27 |
+import egovframework.com.sym.sit.service.SiteManageVO; |
|
| 28 |
+import egovframework.com.uat.uia.service.LoginVO; |
|
| 29 |
+import egovframework.rte.fdl.property.EgovPropertyService; |
|
| 30 |
+import egovframework.rte.ptl.mvc.tags.ui.pagination.PaginationInfo; |
|
| 31 |
+ |
|
| 32 |
+import egovframework.com.cop.cmy.service.CommunityMnuVO; |
|
| 33 |
+import egovframework.com.cop.cmy.service.CommunityUser; |
|
| 34 |
+import egovframework.com.cop.cmy.service.EgovCommunityManageService; |
|
| 35 |
+import egovframework.rte.fdl.cmmn.exception.EgovBizException; |
|
| 36 |
+/** |
|
| 37 |
+ * 게시판 속성관리를 위한 컨트롤러 클래스 |
|
| 38 |
+ * |
|
| 39 |
+ * @author 공통서비스개발팀 이삼섭 |
|
| 40 |
+ * @since 2009.06.01 |
|
| 41 |
+ * @version 1.0 |
|
| 42 |
+ * @see <pre> |
|
| 43 |
+ * << 개정이력(Modification Information) >> |
|
| 44 |
+ * |
|
| 45 |
+ * 수정일 수정자 수정내용 |
|
| 46 |
+ * ------- -------- --------------------------- |
|
| 47 |
+ * 2009.3.12 이삼섭 최초 생성 |
|
| 48 |
+ * 2009.06.26 한성곤 2단계 기능 추가 (댓글관리, 만족도조사) |
|
| 49 |
+ * |
|
| 50 |
+ * </pre> |
|
| 51 |
+ */ |
|
| 52 |
+@Controller("EgovBBSAttributeManageController")
|
|
| 53 |
+public class EgovBBSAttributeManageController {
|
|
| 54 |
+ |
|
| 55 |
+ @Resource(name = "EgovBBSAttributeManageService") |
|
| 56 |
+ private EgovBBSAttributeManageService bbsAttrbService; |
|
| 57 |
+ |
|
| 58 |
+ @Resource(name = "cmmUseService") |
|
| 59 |
+ private CmmUseService cmmUseService; |
|
| 60 |
+ |
|
| 61 |
+ @Resource(name = "EgovBBSCtgryMasterService") |
|
| 62 |
+ private EgovBBSCtgryMasterService egovBBSCtgryMasterService; |
|
| 63 |
+ |
|
| 64 |
+ @Resource(name = "propertiesService") |
|
| 65 |
+ protected EgovPropertyService propertyService; |
|
| 66 |
+ |
|
| 67 |
+ @Autowired |
|
| 68 |
+ private DefaultBeanValidator beanValidator; |
|
| 69 |
+ |
|
| 70 |
+ @Resource(name = "EgovCommunityManageService") |
|
| 71 |
+ private EgovCommunityManageService cmmntyService; // 커뮤니티 관리자 권한 확인 |
|
| 72 |
+ |
|
| 73 |
+ @Resource(name = "siteManageService") |
|
| 74 |
+ SiteManageService siteManageService; |
|
| 75 |
+ |
|
| 76 |
+ |
|
| 77 |
+ Logger log = Logger.getLogger(this.getClass()); |
|
| 78 |
+ |
|
| 79 |
+ |
|
| 80 |
+ /** |
|
| 81 |
+ * 커뮤니티 관리자 및 동호회 운영자 권한을 확인한다. |
|
| 82 |
+ * |
|
| 83 |
+ * @param boardMaster |
|
| 84 |
+ * @throws EgovBizException |
|
| 85 |
+ */ |
|
| 86 |
+ protected void checkAuthority(BoardMaster boardMaster, HttpServletRequest request, HttpServletResponse response) throws Exception {
|
|
| 87 |
+ |
|
| 88 |
+ Boolean isAuthenticated = EgovUserDetailsHelper.isAuthenticated(request, response); |
|
| 89 |
+ if (!isAuthenticated) {
|
|
| 90 |
+ throw new EgovBizException("인증된 사용자 정보가 존재하지 않습니다.");
|
|
| 91 |
+ } |
|
| 92 |
+ |
|
| 93 |
+ LoginVO user = EgovUserDetailsHelper.getAuthenticatedUser(request, response); |
|
| 94 |
+ |
|
| 95 |
+ String targetId = boardMaster.getTrgetId(); |
|
| 96 |
+ |
|
| 97 |
+ if (targetId.startsWith("CMMNTY_")) {
|
|
| 98 |
+ CommunityUser cmmntyUser = new CommunityUser(); |
|
| 99 |
+ |
|
| 100 |
+ cmmntyUser.setCmmntyId(boardMaster.getTrgetId()); |
|
| 101 |
+ cmmntyUser.setEmplyrId(user.getId()); |
|
| 102 |
+ |
|
| 103 |
+ if (!cmmntyService.isManager(cmmntyUser)) {
|
|
| 104 |
+ throw new EgovBizException("해당 커뮤니티 관리자만 사용하실 수 있습니다.");
|
|
| 105 |
+ } |
|
| 106 |
+ } else {
|
|
| 107 |
+ throw new EgovBizException("대상ID 정보가 정확하지 않습니다.");
|
|
| 108 |
+ } |
|
| 109 |
+ } |
|
| 110 |
+ |
|
| 111 |
+ /** |
|
| 112 |
+ * 신규 게시판 마스터 등록을 위한 등록페이지로 이동한다. |
|
| 113 |
+ * |
|
| 114 |
+ * @param boardMasterVO |
|
| 115 |
+ * @param model |
|
| 116 |
+ * @return |
|
| 117 |
+ * @throws Exception |
|
| 118 |
+ */ |
|
| 119 |
+ @RequestMapping("/cop/cmy/bbs/addBBSMaster.do")
|
|
| 120 |
+ public String addBBSMaster(@ModelAttribute("searchVO") CommunityMnuVO cmmntyMnu, ModelMap model, HttpServletRequest request, HttpServletResponse response) throws Exception {
|
|
| 121 |
+ |
|
| 122 |
+ checkAuthority(cmmntyMnu, request, response); // server-side 권한 확인 |
|
| 123 |
+ |
|
| 124 |
+ SiteManageVO siteVO = siteManageService.selectSiteServiceInfo(request); |
|
| 125 |
+ model.addAttribute("siteInfo", siteVO);
|
|
| 126 |
+ model.addAttribute("LytFileStoreWebPathByWebFile", propertyService.getString("publish.tmplat.lyt.fileStoreWebPathByWebFile"));
|
|
| 127 |
+ |
|
| 128 |
+ CmmnDetailCodeVO vo = new CmmnDetailCodeVO(); |
|
| 129 |
+ vo.setCodeId("COM912");
|
|
| 130 |
+ model.addAttribute("attrbList", cmmUseService.selectCmmCodeDetail(vo));
|
|
| 131 |
+ |
|
| 132 |
+ model.addAttribute("authList", cmmntyService.selectAuthorAllList(null));
|
|
| 133 |
+ |
|
| 134 |
+ CtgryMaster ctgrymasterVO = new CtgryMaster(); |
|
| 135 |
+ ctgrymasterVO.setFirstIndex(0); |
|
| 136 |
+ ctgrymasterVO.setRecordCountPerPage(999999999); |
|
| 137 |
+ model.addAttribute("ctgrymasterList", egovBBSCtgryMasterService.selectComtnbbsctgrymasterList(ctgrymasterVO));
|
|
| 138 |
+ |
|
| 139 |
+ model.addAttribute("boardMaster", cmmntyMnu);
|
|
| 140 |
+ |
|
| 141 |
+ request.getSession().setAttribute("sessionVO", cmmntyMnu);
|
|
| 142 |
+ |
|
| 143 |
+ return "cop/cmy/bbs/EgovBoardMstrRegist"; |
|
| 144 |
+ } |
|
| 145 |
+ |
|
| 146 |
+ /** |
|
| 147 |
+ * 신규 게시판 마스터 정보를 등록한다. |
|
| 148 |
+ * |
|
| 149 |
+ * @param boardMasterVO |
|
| 150 |
+ * @param boardMaster |
|
| 151 |
+ * @param status |
|
| 152 |
+ * @return |
|
| 153 |
+ * @throws Exception |
|
| 154 |
+ */ |
|
| 155 |
+ @RequestMapping("/cop/cmy/bbs/insertBBSMasterInf.do")
|
|
| 156 |
+ public String insertBBSMasterInf(@ModelAttribute("searchVO") CommunityMnuVO cmmntyMnu, BindingResult bindingResult, HttpServletRequest request, HttpServletResponse response, ModelMap model) throws Exception {
|
|
| 157 |
+ |
|
| 158 |
+ checkAuthority(cmmntyMnu, request, response); // server-side 권한 확인 |
|
| 159 |
+ |
|
| 160 |
+ if(request.getSession().getAttribute("sessionVO") == null) {
|
|
| 161 |
+ return "forward:/cop/cmy/selectCmmntyMasterInfs.do"; |
|
| 162 |
+ } |
|
| 163 |
+ |
|
| 164 |
+ SiteManageVO siteVO = siteManageService.selectSiteServiceInfo(request); |
|
| 165 |
+ cmmntyMnu.setSiteId(siteVO.getSiteId()); |
|
| 166 |
+ cmmntyMnu.setSysTyCode(siteVO.getSysTyCode()); |
|
| 167 |
+ |
|
| 168 |
+ LoginVO loginVO = EgovUserDetailsHelper.getAuthenticatedUser(request, response); |
|
| 169 |
+ |
|
| 170 |
+ beanValidator.validate(cmmntyMnu, bindingResult); |
|
| 171 |
+ if(bindingResult.hasErrors()) {
|
|
| 172 |
+ |
|
| 173 |
+ CmmnDetailCodeVO vo = new CmmnDetailCodeVO(); |
|
| 174 |
+ vo.setCodeId("COM912");
|
|
| 175 |
+ model.addAttribute("attrbList", cmmUseService.selectCmmCodeDetail(vo));
|
|
| 176 |
+ |
|
| 177 |
+ model.addAttribute("authList", cmmntyService.selectAuthorAllList(null));
|
|
| 178 |
+ |
|
| 179 |
+ CtgryMaster ctgrymasterVO = new CtgryMaster(); |
|
| 180 |
+ ctgrymasterVO.setFirstIndex(0); |
|
| 181 |
+ ctgrymasterVO.setRecordCountPerPage(999999999); |
|
| 182 |
+ model.addAttribute("ctgrymasterList", egovBBSCtgryMasterService.selectComtnbbsctgrymasterList(ctgrymasterVO));
|
|
| 183 |
+ |
|
| 184 |
+ model.addAttribute("siteInfo", siteVO);
|
|
| 185 |
+ model.addAttribute("LytFileStoreWebPathByWebFile", propertyService.getString("publish.tmplat.lyt.fileStoreWebPathByWebFile"));
|
|
| 186 |
+ |
|
| 187 |
+ return "cop/cmy/bbs/EgovBoardMstrRegist"; |
|
| 188 |
+ } |
|
| 189 |
+ |
|
| 190 |
+ cmmntyMnu.setFrstRegisterId(loginVO.getId()); |
|
| 191 |
+ cmmntyMnu.setRegistSeCode("REGC06");
|
|
| 192 |
+ cmmntyService.insertBBSMasterInf(cmmntyMnu); |
|
| 193 |
+ |
|
| 194 |
+ request.getSession().removeAttribute("sessionVO");
|
|
| 195 |
+ |
|
| 196 |
+ |
|
| 197 |
+ return "forward:/cop/cmy/selectCmmntyMasterInfs.do"; |
|
| 198 |
+ } |
|
| 199 |
+ |
|
| 200 |
+ /** |
|
| 201 |
+ * 게시판 마스터 상세내용을 조회한다. |
|
| 202 |
+ * |
|
| 203 |
+ * @param boardMasterVO |
|
| 204 |
+ * @param model |
|
| 205 |
+ * @return |
|
| 206 |
+ * @throws Exception |
|
| 207 |
+ */ |
|
| 208 |
+ @RequestMapping("/cop/cmy/bbs/SelectBBSMasterInf.do")
|
|
| 209 |
+ public String selectBBSMasterInf(@ModelAttribute("searchVO") CommunityMnuVO cmmntyMnu, ModelMap model, HttpServletRequest request, HttpServletResponse response) throws Exception {
|
|
| 210 |
+ |
|
| 211 |
+ checkAuthority(cmmntyMnu, request, response); // server-side 권한 확인 |
|
| 212 |
+ |
|
| 213 |
+ SiteManageVO siteVO = siteManageService.selectSiteServiceInfo(request); |
|
| 214 |
+ model.addAttribute("siteInfo", siteVO);
|
|
| 215 |
+ model.addAttribute("LytFileStoreWebPathByWebFile", propertyService.getString("publish.tmplat.lyt.fileStoreWebPathByWebFile"));
|
|
| 216 |
+ cmmntyMnu.setSiteId(siteVO.getSiteId()); |
|
| 217 |
+ cmmntyMnu.setSysTyCode(siteVO.getSysTyCode()); |
|
| 218 |
+ |
|
| 219 |
+ CmmnDetailCodeVO vo = new CmmnDetailCodeVO(); |
|
| 220 |
+ vo.setCodeId("COM912");
|
|
| 221 |
+ model.addAttribute("attrbList", cmmUseService.selectCmmCodeDetail(vo));
|
|
| 222 |
+ |
|
| 223 |
+ model.addAttribute("authList", cmmntyService.selectAuthorAllList(null));
|
|
| 224 |
+ |
|
| 225 |
+ model.addAttribute("boardMaster", cmmntyService.selectCmmntyMasterInf(cmmntyMnu));
|
|
| 226 |
+ |
|
| 227 |
+ request.getSession().setAttribute("sessionVO", cmmntyMnu);
|
|
| 228 |
+ |
|
| 229 |
+ return "cop/cmy/bbs/EgovBoardMstrRegist"; |
|
| 230 |
+ } |
|
| 231 |
+ |
|
| 232 |
+ /** |
|
| 233 |
+ * 게시판 마스터 정보를 수정한다. |
|
| 234 |
+ * |
|
| 235 |
+ * @param boardMasterVO |
|
| 236 |
+ * @param boardMaster |
|
| 237 |
+ * @param model |
|
| 238 |
+ * @return |
|
| 239 |
+ * @throws Exception |
|
| 240 |
+ */ |
|
| 241 |
+ @RequestMapping("/cop/cmy/bbs/updateBBSMasterInf.do")
|
|
| 242 |
+ public String updateBBSMasterInf(@ModelAttribute("searchVO") CommunityMnuVO cmmntyMnu, BindingResult bindingResult, ModelMap model, HttpServletRequest request, HttpServletResponse response) throws Exception {
|
|
| 243 |
+ |
|
| 244 |
+ checkAuthority(cmmntyMnu, request, response); // server-side 권한 확인 |
|
| 245 |
+ |
|
| 246 |
+ if(request.getSession().getAttribute("sessionVO") == null) {
|
|
| 247 |
+ return "forward:/cop/cmy/selectCmmntyMasterInfs.do"; |
|
| 248 |
+ } |
|
| 249 |
+ |
|
| 250 |
+ SiteManageVO siteVO = siteManageService.selectSiteServiceInfo(request); |
|
| 251 |
+ cmmntyMnu.setSiteId(siteVO.getSiteId()); |
|
| 252 |
+ cmmntyMnu.setSysTyCode(siteVO.getSysTyCode()); |
|
| 253 |
+ |
|
| 254 |
+ LoginVO user = EgovUserDetailsHelper.getAuthenticatedUser(request, response); |
|
| 255 |
+ |
|
| 256 |
+ beanValidator.validate(cmmntyMnu, bindingResult); |
|
| 257 |
+ if(bindingResult.hasErrors()) {
|
|
| 258 |
+ |
|
| 259 |
+ CmmnDetailCodeVO vo = new CmmnDetailCodeVO(); |
|
| 260 |
+ vo.setCodeId("COM912");
|
|
| 261 |
+ model.addAttribute("attrbList", cmmUseService.selectCmmCodeDetail(vo));
|
|
| 262 |
+ |
|
| 263 |
+ model.addAttribute("authList", cmmntyService.selectAuthorAllList(null));
|
|
| 264 |
+ |
|
| 265 |
+ CtgryMaster ctgrymasterVO = new CtgryMaster(); |
|
| 266 |
+ ctgrymasterVO.setFirstIndex(0); |
|
| 267 |
+ ctgrymasterVO.setRecordCountPerPage(999999999); |
|
| 268 |
+ model.addAttribute("ctgrymasterList", egovBBSCtgryMasterService.selectComtnbbsctgrymasterList(ctgrymasterVO));
|
|
| 269 |
+ |
|
| 270 |
+ model.addAttribute("siteInfo", siteVO);
|
|
| 271 |
+ model.addAttribute("LytFileStoreWebPathByWebFile", propertyService.getString("publish.tmplat.lyt.fileStoreWebPathByWebFile"));
|
|
| 272 |
+ |
|
| 273 |
+ return "cop/cmy/bbs/EgovBoardMstrRegist"; |
|
| 274 |
+ } |
|
| 275 |
+ |
|
| 276 |
+ cmmntyMnu.setLastUpdusrId(user.getId()); |
|
| 277 |
+ cmmntyService.updateBBSMasterInf(cmmntyMnu); |
|
| 278 |
+ |
|
| 279 |
+ request.getSession().removeAttribute("sessionVO");
|
|
| 280 |
+ |
|
| 281 |
+ return "forward:/cop/cmy/selectCmmntyMasterInfs.do"; |
|
| 282 |
+ } |
|
| 283 |
+ |
|
| 284 |
+ /** |
|
| 285 |
+ * 게시판 마스터 정보를 삭제한다. |
|
| 286 |
+ * |
|
| 287 |
+ * @param boardMasterVO |
|
| 288 |
+ * @param boardMaster |
|
| 289 |
+ * @param status |
|
| 290 |
+ * @return |
|
| 291 |
+ * @throws Exception |
|
| 292 |
+ */ |
|
| 293 |
+ @RequestMapping("/cop/cmy/bbs/DeleteBBSMasterInf.do")
|
|
| 294 |
+ public String deleteBBSMasterInf(@ModelAttribute("searchVO") BoardMasterVO boardMasterVO, @ModelAttribute("boardMaster") BoardMaster boardMaster, HttpServletRequest request, HttpServletResponse response) throws Exception {
|
|
| 295 |
+ |
|
| 296 |
+ checkAuthority(boardMasterVO, request, response); // server-side 권한 확인 |
|
| 297 |
+ |
|
| 298 |
+ SiteManageVO siteVO = siteManageService.selectSiteServiceInfo(request); |
|
| 299 |
+ boardMaster.setSiteId(siteVO.getSiteId()); |
|
| 300 |
+ boardMaster.setSysTyCode(siteVO.getSysTyCode()); |
|
| 301 |
+ |
|
| 302 |
+ LoginVO user = EgovUserDetailsHelper.getAuthenticatedUser(request, response); |
|
| 303 |
+ |
|
| 304 |
+ boardMaster.setLastUpdusrId(user.getId()); |
|
| 305 |
+ bbsAttrbService.deleteBBSMasterInf(boardMaster); |
|
| 306 |
+ |
|
| 307 |
+ return "forward:/cop/cmy/selectCmmntyMasterInfs.do"; |
|
| 308 |
+ } |
|
| 309 |
+ |
|
| 310 |
+ |
|
| 311 |
+} |
--- base/src/main/java/egovframework/com/cop/cmy/web/EgovBBSManageController.java
+++ base/src/main/java/egovframework/com/cop/cmy/web/EgovBBSManageController.java
... | ... | @@ -1,924 +1,924 @@ |
| 1 |
-package egovframework.com.cop.cmy.web; |
|
| 2 |
- |
|
| 3 |
-import java.math.BigDecimal; |
|
| 4 |
-import java.util.List; |
|
| 5 |
-import java.util.Map; |
|
| 6 |
- |
|
| 7 |
-import javax.annotation.Resource; |
|
| 8 |
- |
|
| 9 |
-import org.apache.log4j.Logger; |
|
| 10 |
-import net.sf.json.JSONObject; |
|
| 11 |
-import org.springframework.beans.factory.annotation.Autowired; |
|
| 12 |
-import org.springframework.stereotype.Controller; |
|
| 13 |
-import org.springframework.ui.ModelMap; |
|
| 14 |
-import org.springframework.validation.BindingResult; |
|
| 15 |
-import org.springframework.web.bind.annotation.ModelAttribute; |
|
| 16 |
-import org.springframework.web.bind.annotation.RequestMapping; |
|
| 17 |
-import org.springframework.web.multipart.MultipartFile; |
|
| 18 |
-import org.springframework.web.multipart.MultipartHttpServletRequest; |
|
| 19 |
-import org.springmodules.validation.commons.DefaultBeanValidator; |
|
| 20 |
- |
|
| 21 |
-import egovframework.com.cmm.ComDefaultCodeVO; |
|
| 22 |
-import egovframework.com.cmm.EgovMessageSource; |
|
| 23 |
-import egovframework.com.cmm.service.EgovCmmUseService; |
|
| 24 |
-import egovframework.com.cmm.service.EgovFileMngService; |
|
| 25 |
-import egovframework.com.cmm.service.EgovFileMngUtil; |
|
| 26 |
-import egovframework.com.cmm.service.FileVO; |
|
| 27 |
-import egovframework.com.cop.bbs.service.Board; |
|
| 28 |
-import egovframework.com.cop.bbs.service.BoardMasterVO; |
|
| 29 |
-import egovframework.com.cop.bbs.service.BoardVO; |
|
| 30 |
-import egovframework.com.cop.bbs.service.Ctgry; |
|
| 31 |
-import egovframework.com.cop.bbs.service.EgovBBSAttributeManageService; |
|
| 32 |
-import egovframework.com.cop.bbs.service.EgovBBSCtgryService; |
|
| 33 |
-import egovframework.com.cop.bbs.service.EgovBBSManageService; |
|
| 34 |
-import egovframework.com.cop.cmy.service.CommunityUser; |
|
| 35 |
-import egovframework.com.cop.cmy.service.EgovCommunityManageService; |
|
| 36 |
-import egovframework.com.sec.ram.security.userdetails.util.EgovUserDetailsHelper; |
|
| 37 |
-import egovframework.com.sym.sit.service.EgovSiteManageService; |
|
| 38 |
-import egovframework.com.sym.sit.service.SiteManageVO; |
|
| 39 |
-import egovframework.com.uat.uia.service.LoginVO; |
|
| 40 |
-import egovframework.rte.fdl.property.EgovPropertyService; |
|
| 41 |
-import egovframework.rte.ptl.mvc.tags.ui.pagination.PaginationInfo; |
|
| 42 |
-import egovframework.com.utl.fcc.service.EgovHttpUtil; |
|
| 43 |
-import egovframework.com.utl.fcc.service.EgovStringUtil; |
|
| 44 |
-import egovframework.com.utl.sim.service.EgovClntInfo; |
|
| 45 |
- |
|
| 46 |
-import javax.servlet.http.HttpServletRequest; |
|
| 47 |
-import javax.servlet.http.HttpServletResponse; |
|
| 48 |
- |
|
| 49 |
- |
|
| 50 |
-/** |
|
| 51 |
- * 게시물 관리를 위한 컨트롤러 클래스 |
|
| 52 |
- * |
|
| 53 |
- * @author 공통서비스개발팀 이삼섭 |
|
| 54 |
- * @since 2009.06.01 |
|
| 55 |
- * @version 1.0 |
|
| 56 |
- * @see <pre> |
|
| 57 |
- * << 개정이력(Modification Information) >> |
|
| 58 |
- * |
|
| 59 |
- * 수정일 수정자 수정내용 |
|
| 60 |
- * ------- -------- --------------------------- |
|
| 61 |
- * 2009.3.19 이삼섭 최초 생성 |
|
| 62 |
- * 2009.06.29 한성곤 |
|
| 63 |
- * |
|
| 64 |
- * </pre> |
|
| 65 |
- */ |
|
| 66 |
-@Controller("EgovCmyBBSManageController")
|
|
| 67 |
-public class EgovBBSManageController {
|
|
| 68 |
- |
|
| 69 |
- @Resource(name = "EgovBBSManageService") |
|
| 70 |
- private EgovBBSManageService bbsMngService; |
|
| 71 |
- |
|
| 72 |
- @Resource(name = "EgovBBSAttributeManageService") |
|
| 73 |
- private EgovBBSAttributeManageService bbsAttrbService; |
|
| 74 |
- |
|
| 75 |
- @Resource(name = "EgovBBSCtgryService") |
|
| 76 |
- private EgovBBSCtgryService ctgryService; |
|
| 77 |
- |
|
| 78 |
- @Resource(name = "SiteManageService") |
|
| 79 |
- EgovSiteManageService siteManageService; |
|
| 80 |
- |
|
| 81 |
- @Resource(name = "EgovFileMngService") |
|
| 82 |
- private EgovFileMngService fileMngService; |
|
| 83 |
- |
|
| 84 |
- @Resource(name = "EgovFileMngUtil") |
|
| 85 |
- private EgovFileMngUtil fileUtil; |
|
| 86 |
- |
|
| 87 |
- @Resource(name = "propertiesService") |
|
| 88 |
- protected EgovPropertyService propertyService; |
|
| 89 |
- |
|
| 90 |
- @Resource(name = "EgovCmmUseService") |
|
| 91 |
- private EgovCmmUseService cmmUseService; |
|
| 92 |
- |
|
| 93 |
- @Resource(name = "egovMessageSource") |
|
| 94 |
- EgovMessageSource egovMessageSource; |
|
| 95 |
- |
|
| 96 |
- @Resource(name = "EgovCommunityManageService") |
|
| 97 |
- private EgovCommunityManageService cmmntyService; |
|
| 98 |
- |
|
| 99 |
- @Autowired |
|
| 100 |
- private DefaultBeanValidator beanValidator; |
|
| 101 |
- |
|
| 102 |
- Logger log = Logger.getLogger(this.getClass()); |
|
| 103 |
- |
|
| 104 |
- /** |
|
| 105 |
- * XSS 방지 처리. |
|
| 106 |
- * |
|
| 107 |
- * @param data |
|
| 108 |
- * @return |
|
| 109 |
- */ |
|
| 110 |
- protected String unscript(String data) {
|
|
| 111 |
- if(data == null || data.trim().equals("")) {
|
|
| 112 |
- return ""; |
|
| 113 |
- } |
|
| 114 |
- |
|
| 115 |
- String ret = data; |
|
| 116 |
- |
|
| 117 |
- ret = ret.replaceAll("<(S|s)(C|c)(R|r)(I|i)(P|p)(T|t)", "<script");
|
|
| 118 |
- ret = ret.replaceAll("</(S|s)(C|c)(R|r)(I|i)(P|p)(T|t)", "</script");
|
|
| 119 |
- |
|
| 120 |
- ret = ret.replaceAll("<(O|o)(B|b)(J|j)(E|e)(C|c)(T|t)", "<object");
|
|
| 121 |
- ret = ret.replaceAll("</(O|o)(B|b)(J|j)(E|e)(C|c)(T|t)", "</object");
|
|
| 122 |
- |
|
| 123 |
- ret = ret.replaceAll("<(A|a)(P|p)(P|p)(L|l)(E|e)(T|t)", "<applet");
|
|
| 124 |
- ret = ret.replaceAll("</(A|a)(P|p)(P|p)(L|l)(E|e)(T|t)", "</applet");
|
|
| 125 |
- |
|
| 126 |
- ret = ret.replaceAll("<(E|e)(M|m)(B|b)(E|e)(D|d)", "<embed");
|
|
| 127 |
- ret = ret.replaceAll("</(E|e)(M|m)(B|b)(E|e)(D|d)", "<embed");
|
|
| 128 |
- |
|
| 129 |
- ret = ret.replaceAll("<(F|f)(O|o)(R|r)(M|m)", "<form");
|
|
| 130 |
- ret = ret.replaceAll("</(F|f)(O|o)(R|r)(M|m)", "<form");
|
|
| 131 |
- |
|
| 132 |
- return ret; |
|
| 133 |
- } |
|
| 134 |
- |
|
| 135 |
- |
|
| 136 |
- /** |
|
| 137 |
- * 게시물에 대한 목록을 조회한다. |
|
| 138 |
- * |
|
| 139 |
- * @param boardVO |
|
| 140 |
- * @param sessionVO |
|
| 141 |
- * @param model |
|
| 142 |
- * @return |
|
| 143 |
- * @throws Exception |
|
| 144 |
- */ |
|
| 145 |
- @RequestMapping(value = "/cop/cmy/bbs/selectBoardList.do") |
|
| 146 |
- public String selectBoardArticles(@ModelAttribute("searchVO") BoardVO boardVO, ModelMap model, HttpServletRequest request, HttpServletResponse response) throws Exception {
|
|
| 147 |
- |
|
| 148 |
- PaginationInfo paginationInfo = new PaginationInfo(); |
|
| 149 |
- |
|
| 150 |
- BoardMasterVO vo = new BoardMasterVO(); |
|
| 151 |
- vo.setBbsId(boardVO.getBbsId()); |
|
| 152 |
- vo.setTrgetId(boardVO.getTrgetId()); |
|
| 153 |
- |
|
| 154 |
- SiteManageVO siteVO = siteManageService.selectSiteServiceInfo(request); |
|
| 155 |
- model.addAttribute("siteInfo", siteVO);
|
|
| 156 |
- model.addAttribute("LytFileStoreWebPathByWebFile", propertyService.getString("publish.tmplat.lyt.fileStoreWebPathByWebFile"));
|
|
| 157 |
- vo.setSiteId(siteVO.getSiteId()); |
|
| 158 |
- vo.setSysTyCode(siteVO.getSysTyCode()); |
|
| 159 |
- |
|
| 160 |
- BoardMasterVO master = bbsAttrbService.selectBBSMasterInf(vo); |
|
| 161 |
- |
|
| 162 |
- if(master != null && !EgovStringUtil.isEmpty(boardVO.getTrgetId())) {
|
|
| 163 |
- |
|
| 164 |
- // 페이징 정보 설정 |
|
| 165 |
- boardVO.setPageUnit(propertyService.getInt("pageUnit"));
|
|
| 166 |
- boardVO.setPageSize(propertyService.getInt("pageSize"));
|
|
| 167 |
- boardVO.setCtgrymasterId(master.getCtgrymasterId()); |
|
| 168 |
- |
|
| 169 |
- if("BBSA02".equals(master.getBbsAttrbCode())) {
|
|
| 170 |
- // 페이징 정보 설정 |
|
| 171 |
- boardVO.setPageUnit(propertyService.getInt("photoPageUnit"));
|
|
| 172 |
- boardVO.setPageSize(propertyService.getInt("photoPageSize"));
|
|
| 173 |
- |
|
| 174 |
- } else {
|
|
| 175 |
- //공지게시물 가져오기 |
|
| 176 |
- BoardVO noticeVO = new BoardVO(); |
|
| 177 |
- noticeVO.setBbsId(boardVO.getBbsId()); |
|
| 178 |
- noticeVO.setCommentUseAt(master.getCommentUseAt()); |
|
| 179 |
- noticeVO.setSearchNoticeAt("Y");
|
|
| 180 |
- noticeVO.setFirstIndex(0); |
|
| 181 |
- noticeVO.setRecordCountPerPage(9999); |
|
| 182 |
- |
|
| 183 |
- model.addAttribute("noticeList", bbsMngService.selectBoardArticles(noticeVO));
|
|
| 184 |
- } |
|
| 185 |
- |
|
| 186 |
- paginationInfo.setCurrentPageNo(boardVO.getPageIndex()); |
|
| 187 |
- paginationInfo.setRecordCountPerPage(boardVO.getPageUnit()); |
|
| 188 |
- paginationInfo.setPageSize(boardVO.getPageSize()); |
|
| 189 |
- |
|
| 190 |
- boardVO.setFirstIndex(paginationInfo.getFirstRecordIndex()); |
|
| 191 |
- boardVO.setLastIndex(paginationInfo.getLastRecordIndex()); |
|
| 192 |
- boardVO.setRecordCountPerPage(paginationInfo.getRecordCountPerPage()); |
|
| 193 |
- |
|
| 194 |
- boardVO.setCommentUseAt(master.getCommentUseAt()); |
|
| 195 |
- boardVO.setBbsAttrbCode(master.getBbsAttrbCode()); |
|
| 196 |
- |
|
| 197 |
- List<BoardVO> resultList = bbsMngService.selectBoardArticles(boardVO); |
|
| 198 |
- int totCnt = bbsMngService.selectBoardArticlesCnt(boardVO); |
|
| 199 |
- |
|
| 200 |
- paginationInfo.setTotalRecordCount(totCnt); |
|
| 201 |
- |
|
| 202 |
- if(!EgovStringUtil.isEmpty(master.getCtgrymasterId())) {
|
|
| 203 |
- Ctgry ctgry = new Ctgry(); |
|
| 204 |
- ctgry.setCtgrymasterId(master.getCtgrymasterId()); |
|
| 205 |
- model.addAttribute("boardCateList", ctgryService.selectComtnbbsctgryList(ctgry));
|
|
| 206 |
- model.addAttribute("boardCateLevel", ctgryService.selectComtnbbsctgryLevel(ctgry));
|
|
| 207 |
- } |
|
| 208 |
- |
|
| 209 |
- |
|
| 210 |
- |
|
| 211 |
- model.addAttribute("resultList", resultList);
|
|
| 212 |
- model.addAttribute("resultCnt", totCnt);
|
|
| 213 |
- model.addAttribute("brdMstrVO", master);
|
|
| 214 |
- |
|
| 215 |
- LoginVO user = EgovUserDetailsHelper.getAuthenticatedUser(request, response); |
|
| 216 |
- if(user != null) {
|
|
| 217 |
- CommunityUser cmmntyUser = new CommunityUser(); |
|
| 218 |
- cmmntyUser.setSiteId(siteVO.getSiteId()); |
|
| 219 |
- cmmntyUser.setEmplyrId(user.getId()); |
|
| 220 |
- cmmntyUser.setCmmntyId(boardVO.getTrgetId()); |
|
| 221 |
- model.addAttribute("USER_INFO", cmmntyService.selectSingleCommunityUserInf(cmmntyUser)); //사용자 정보
|
|
| 222 |
- } |
|
| 223 |
- } |
|
| 224 |
- |
|
| 225 |
- model.addAttribute("paginationInfo", paginationInfo);
|
|
| 226 |
- |
|
| 227 |
- |
|
| 228 |
- return "cop/cmy/bbs/cmy_001/EgovNoticeList"; |
|
| 229 |
- } |
|
| 230 |
- |
|
| 231 |
- /** |
|
| 232 |
- * 게시물에 대한 상세 정보를 조회한다. |
|
| 233 |
- * |
|
| 234 |
- * @param boardVO |
|
| 235 |
- * @param sessionVO |
|
| 236 |
- * @param model |
|
| 237 |
- * @return |
|
| 238 |
- * @throws Exception |
|
| 239 |
- */ |
|
| 240 |
- @RequestMapping(value = "/cop/cmy/bbs/selectBoardArticle.do") |
|
| 241 |
- public String selectBoardArticle(@ModelAttribute("searchVO") BoardVO boardVO, ModelMap model, HttpServletRequest request, HttpServletResponse response) throws Exception {
|
|
| 242 |
- |
|
| 243 |
- BoardMasterVO vo = new BoardMasterVO(); |
|
| 244 |
- vo.setBbsId(boardVO.getBbsId()); |
|
| 245 |
- vo.setTrgetId(boardVO.getTrgetId()); |
|
| 246 |
- |
|
| 247 |
- SiteManageVO siteVO = siteManageService.selectSiteServiceInfo(request); |
|
| 248 |
- model.addAttribute("siteInfo", siteVO);
|
|
| 249 |
- model.addAttribute("LytFileStoreWebPathByWebFile", propertyService.getString("publish.tmplat.lyt.fileStoreWebPathByWebFile"));
|
|
| 250 |
- vo.setSiteId(siteVO.getSiteId()); |
|
| 251 |
- vo.setSysTyCode(siteVO.getSysTyCode()); |
|
| 252 |
- |
|
| 253 |
- BoardMasterVO master = bbsAttrbService.selectBBSMasterInf(vo); |
|
| 254 |
- |
|
| 255 |
- if(master != null && !EgovStringUtil.isEmpty(boardVO.getTrgetId())) {
|
|
| 256 |
- |
|
| 257 |
- model.addAttribute("brdMstrVO", master);
|
|
| 258 |
- CommunityUser resultInfo = null; |
|
| 259 |
- int SE_CODE = 1; |
|
| 260 |
- |
|
| 261 |
- LoginVO user = EgovUserDetailsHelper.getAuthenticatedUser(request, response); |
|
| 262 |
- if(user != null) {
|
|
| 263 |
- CommunityUser cmmntyUser = new CommunityUser(); |
|
| 264 |
- cmmntyUser.setSiteId(siteVO.getSiteId()); |
|
| 265 |
- cmmntyUser.setEmplyrId(user.getId()); |
|
| 266 |
- cmmntyUser.setCmmntyId(boardVO.getTrgetId()); |
|
| 267 |
- resultInfo = cmmntyService.selectSingleCommunityUserInf(cmmntyUser); |
|
| 268 |
- if(resultInfo != null) {
|
|
| 269 |
- model.addAttribute("USER_INFO", resultInfo); //사용자 정보
|
|
| 270 |
- SE_CODE = Integer.parseInt(resultInfo.getAuthorCode()); |
|
| 271 |
- } |
|
| 272 |
- boardVO.setFrstRegisterId(user.getId()); |
|
| 273 |
- } |
|
| 274 |
- |
|
| 275 |
- if(SE_CODE >= Integer.parseInt(master.getInqireAuthor())){
|
|
| 276 |
- if(SE_CODE >= 10) {
|
|
| 277 |
- boardVO.setAdminAt("Y");
|
|
| 278 |
- } |
|
| 279 |
- // 조회수 증가 여부 지정 |
|
| 280 |
- boardVO.setPlusCount(true); |
|
| 281 |
- boardVO.setCtgrymasterId(master.getCtgrymasterId()); |
|
| 282 |
- model.addAttribute("board", bbsMngService.selectBoardArticle(boardVO));
|
|
| 283 |
- |
|
| 284 |
- return "cop/cmy/bbs/cmy_001/EgovNoticeInqire"; |
|
| 285 |
- } else {
|
|
| 286 |
- model.addAttribute("message", egovMessageSource.getMessage("fail.common.select"));
|
|
| 287 |
- return "forward:/cop/cmy/bbs/selectBoardList.do"; |
|
| 288 |
- } |
|
| 289 |
- |
|
| 290 |
- } |
|
| 291 |
- |
|
| 292 |
- model.addAttribute("message", egovMessageSource.getMessage("fail.auth.access"));
|
|
| 293 |
- return "forward:/cop/cmy/bbs/selectBoardList.do"; |
|
| 294 |
- } |
|
| 295 |
- |
|
| 296 |
- /** |
|
| 297 |
- * 게시물 등록을 위한 등록페이지로 이동한다. |
|
| 298 |
- * |
|
| 299 |
- * @param boardVO |
|
| 300 |
- * @param sessionVO |
|
| 301 |
- * @param model |
|
| 302 |
- * @return |
|
| 303 |
- * @throws Exception |
|
| 304 |
- */ |
|
| 305 |
- @RequestMapping(value = "/cop/cmy/bbs/addBoardArticle.do") |
|
| 306 |
- public String addBoardArticle(@ModelAttribute("searchVO") BoardVO boardVO, ModelMap model, HttpServletRequest request, HttpServletResponse response) throws Exception {
|
|
| 307 |
- |
|
| 308 |
- if(!EgovUserDetailsHelper.isAuthenticated(request, response)) {
|
|
| 309 |
- return "redirect:" + EgovUserDetailsHelper.getRedirectLoginUrl(); |
|
| 310 |
- } |
|
| 311 |
- |
|
| 312 |
- BoardMasterVO vo = new BoardMasterVO(); |
|
| 313 |
- vo.setBbsId(boardVO.getBbsId()); |
|
| 314 |
- vo.setTrgetId(boardVO.getTrgetId()); |
|
| 315 |
- |
|
| 316 |
- SiteManageVO siteVO = siteManageService.selectSiteServiceInfo(request); |
|
| 317 |
- model.addAttribute("siteInfo", siteVO);
|
|
| 318 |
- model.addAttribute("LytFileStoreWebPathByWebFile", propertyService.getString("publish.tmplat.lyt.fileStoreWebPathByWebFile"));
|
|
| 319 |
- vo.setSiteId(siteVO.getSiteId()); |
|
| 320 |
- vo.setSysTyCode(siteVO.getSysTyCode()); |
|
| 321 |
- |
|
| 322 |
- BoardMasterVO master = bbsAttrbService.selectBBSMasterInf(vo); |
|
| 323 |
- |
|
| 324 |
- if(master != null && !EgovStringUtil.isEmpty(boardVO.getTrgetId())) {
|
|
| 325 |
- if(!EgovStringUtil.isEmpty(master.getCtgrymasterId())) {
|
|
| 326 |
- Ctgry ctgry = new Ctgry(); |
|
| 327 |
- ctgry.setCtgrymasterId(master.getCtgrymasterId()); |
|
| 328 |
- model.addAttribute("boardCateList", ctgryService.selectComtnbbsctgryList(ctgry));
|
|
| 329 |
- |
|
| 330 |
- model.addAttribute("boardCateLevel", ctgryService.selectComtnbbsctgryLevel(ctgry));
|
|
| 331 |
- } |
|
| 332 |
- |
|
| 333 |
- model.addAttribute("brdMstrVO", master);
|
|
| 334 |
- |
|
| 335 |
- Board board = new Board(); |
|
| 336 |
- model.addAttribute("board", board);
|
|
| 337 |
- |
|
| 338 |
- request.getSession().setAttribute("sessionVO", boardVO);
|
|
| 339 |
- CommunityUser resultInfo = null; |
|
| 340 |
- int SE_CODE = 1; |
|
| 341 |
- |
|
| 342 |
- LoginVO user = EgovUserDetailsHelper.getAuthenticatedUser(request, response); |
|
| 343 |
- if(user != null) {
|
|
| 344 |
- CommunityUser cmmntyUser = new CommunityUser(); |
|
| 345 |
- cmmntyUser.setSiteId(siteVO.getSiteId()); |
|
| 346 |
- cmmntyUser.setEmplyrId(user.getId()); |
|
| 347 |
- cmmntyUser.setCmmntyId(boardVO.getTrgetId()); |
|
| 348 |
- resultInfo = cmmntyService.selectSingleCommunityUserInf(cmmntyUser); |
|
| 349 |
- if(resultInfo != null) {
|
|
| 350 |
- model.addAttribute("USER_INFO", resultInfo); //사용자 정보
|
|
| 351 |
- SE_CODE = Integer.parseInt(resultInfo.getAuthorCode()); |
|
| 352 |
- } |
|
| 353 |
- } |
|
| 354 |
- |
|
| 355 |
- if(SE_CODE >= Integer.parseInt(master.getRegistAuthor())){
|
|
| 356 |
- return "cop/cmy/bbs/cmy_001/EgovNoticeRegist"; |
|
| 357 |
- } else {
|
|
| 358 |
- model.addAttribute("message", egovMessageSource.getMessage("fail.auth.regist"));
|
|
| 359 |
- return "forward:/cop/cmy/bbs/selectBoardList.do"; |
|
| 360 |
- } |
|
| 361 |
- } |
|
| 362 |
- |
|
| 363 |
- model.addAttribute("message", egovMessageSource.getMessage("fail.auth.access"));
|
|
| 364 |
- return "forward:/cop/cmy/bbs/selectBoardList.do"; |
|
| 365 |
- } |
|
| 366 |
- |
|
| 367 |
- /** |
|
| 368 |
- * 게시물을 등록한다. |
|
| 369 |
- * |
|
| 370 |
- * @param boardVO |
|
| 371 |
- * @param board |
|
| 372 |
- * @param sessionVO |
|
| 373 |
- * @param model |
|
| 374 |
- * @return |
|
| 375 |
- * @throws Exception |
|
| 376 |
- */ |
|
| 377 |
- @SuppressWarnings("unchecked")
|
|
| 378 |
- @RequestMapping(value = "/cop/cmy/bbs/insertBoardArticle.do") |
|
| 379 |
- public String insertBoardArticle(final MultipartHttpServletRequest multiRequest, @ModelAttribute("searchVO") BoardVO boardVO,
|
|
| 380 |
- Board board, BindingResult bindingResult, |
|
| 381 |
- HttpServletRequest request, HttpServletResponse response, ModelMap model) throws Exception {
|
|
| 382 |
- |
|
| 383 |
- if(request.getSession().getAttribute("sessionVO") == null) {
|
|
| 384 |
- return "forward:/cop/cmy/bbs/selectBoardList.do"; |
|
| 385 |
- } |
|
| 386 |
- |
|
| 387 |
- LoginVO user = EgovUserDetailsHelper.getAuthenticatedUser(request, response); |
|
| 388 |
- |
|
| 389 |
- beanValidator.validate(board, bindingResult); |
|
| 390 |
- |
|
| 391 |
- BoardMasterVO vo = new BoardMasterVO(); |
|
| 392 |
- vo.setBbsId(boardVO.getBbsId()); |
|
| 393 |
- vo.setTrgetId(boardVO.getTrgetId()); |
|
| 394 |
- |
|
| 395 |
- SiteManageVO siteVO = siteManageService.selectSiteServiceInfo(request); |
|
| 396 |
- vo.setSiteId(siteVO.getSiteId()); |
|
| 397 |
- vo.setSysTyCode(siteVO.getSysTyCode()); |
|
| 398 |
- |
|
| 399 |
- BoardMasterVO master = bbsAttrbService.selectBBSMasterInf(vo); |
|
| 400 |
- |
|
| 401 |
- int SE_CODE = 1; |
|
| 402 |
- CommunityUser cmmntyUser = new CommunityUser(); |
|
| 403 |
- cmmntyUser.setSiteId(siteVO.getSiteId()); |
|
| 404 |
- cmmntyUser.setEmplyrId(user.getId()); |
|
| 405 |
- cmmntyUser.setCmmntyId(boardVO.getTrgetId()); |
|
| 406 |
- cmmntyUser = cmmntyService.selectSingleCommunityUserInf(cmmntyUser); |
|
| 407 |
- if(cmmntyUser != null) {
|
|
| 408 |
- model.addAttribute("USER_INFO", cmmntyUser); //사용자 정보
|
|
| 409 |
- SE_CODE = Integer.parseInt(cmmntyUser.getAuthorCode()); |
|
| 410 |
- } |
|
| 411 |
- |
|
| 412 |
- if(bindingResult.hasErrors()) {
|
|
| 413 |
- |
|
| 414 |
- if(master != null && !EgovStringUtil.isEmpty(boardVO.getTrgetId())) {
|
|
| 415 |
- if(!EgovStringUtil.isEmpty(master.getCtgrymasterId())) {
|
|
| 416 |
- Ctgry ctgry = new Ctgry(); |
|
| 417 |
- ctgry.setCtgrymasterId(master.getCtgrymasterId()); |
|
| 418 |
- model.addAttribute("boardCateList", ctgryService.selectComtnbbsctgryList(ctgry));
|
|
| 419 |
- |
|
| 420 |
- model.addAttribute("boardCateLevel", ctgryService.selectComtnbbsctgryLevel(ctgry));
|
|
| 421 |
- } |
|
| 422 |
- |
|
| 423 |
- model.addAttribute("brdMstrVO", master);
|
|
| 424 |
- model.addAttribute("siteInfo", siteVO);
|
|
| 425 |
- model.addAttribute("LytFileStoreWebPathByWebFile", propertyService.getString("publish.tmplat.lyt.fileStoreWebPathByWebFile"));
|
|
| 426 |
- } |
|
| 427 |
- |
|
| 428 |
- return "cop/cmy/bbs/cmy_001/EgovNoticeRegist"; |
|
| 429 |
- } |
|
| 430 |
- |
|
| 431 |
- if(master != null && !EgovStringUtil.isEmpty(boardVO.getTrgetId())) {
|
|
| 432 |
- |
|
| 433 |
- if(SE_CODE >= Integer.parseInt(master.getRegistAuthor())) {
|
|
| 434 |
- String atchFileId = ""; |
|
| 435 |
- |
|
| 436 |
- List<FileVO> result = null; |
|
| 437 |
- |
|
| 438 |
- final Map<String, MultipartFile> files = multiRequest.getFileMap(); |
|
| 439 |
- if(!files.isEmpty()) {
|
|
| 440 |
- result = fileUtil.parseBoardFileInf(Long.parseLong(master.getPosblAtchFileSize()) * 1024 * 1024, files, 0, "", siteManageService.selectSiteServiceInfo(request).getSiteId(), boardVO.getBbsId(),"",""); |
|
| 441 |
- atchFileId = fileMngService.insertFileInfs(result); |
|
| 442 |
- } |
|
| 443 |
- |
|
| 444 |
- boardVO.setAtchFileId(atchFileId); |
|
| 445 |
- boardVO.setFrstRegisterId(user.getId()); |
|
| 446 |
- boardVO.setNtcrNm(user.getName()); |
|
| 447 |
- boardVO.setNttCn(unscript(boardVO.getNttCn())); // XSS 방지 |
|
| 448 |
- boardVO.setCreatIp(EgovClntInfo.getClntIP(request)); |
|
| 449 |
- boardVO.setEstnData(EgovHttpUtil.getEstnParseData(request)); |
|
| 450 |
- |
|
| 451 |
- bbsMngService.insertBoardArticle(boardVO, master); |
|
| 452 |
- } |
|
| 453 |
- } |
|
| 454 |
- |
|
| 455 |
- request.getSession().removeAttribute("sessionVO");
|
|
| 456 |
- |
|
| 457 |
- return "forward:/cop/cmy/bbs/selectBoardList.do"; |
|
| 458 |
- } |
|
| 459 |
- |
|
| 460 |
- /** |
|
| 461 |
- * 게시물에 대한 답변 등록을 위한 등록페이지로 이동한다. |
|
| 462 |
- * |
|
| 463 |
- * @param boardVO |
|
| 464 |
- * @param sessionVO |
|
| 465 |
- * @param model |
|
| 466 |
- * @return |
|
| 467 |
- * @throws Exception |
|
| 468 |
- */ |
|
| 469 |
- @RequestMapping(value = "/cop/cmy/bbs/addReplyBoardArticle.do") |
|
| 470 |
- public String addReplyBoardArticle(@ModelAttribute("searchVO") BoardVO boardVO, ModelMap model, HttpServletRequest request, HttpServletResponse response) throws Exception {
|
|
| 471 |
- |
|
| 472 |
- if(!EgovUserDetailsHelper.isAuthenticated(request, response)) {
|
|
| 473 |
- return "redirect:" + EgovUserDetailsHelper.getRedirectLoginUrl(); |
|
| 474 |
- } |
|
| 475 |
- |
|
| 476 |
- BoardMasterVO vo = new BoardMasterVO(); |
|
| 477 |
- vo.setBbsId(boardVO.getBbsId()); |
|
| 478 |
- vo.setTrgetId(boardVO.getTrgetId()); |
|
| 479 |
- |
|
| 480 |
- SiteManageVO siteVO = siteManageService.selectSiteServiceInfo(request); |
|
| 481 |
- model.addAttribute("siteInfo", siteVO);
|
|
| 482 |
- model.addAttribute("LytFileStoreWebPathByWebFile", propertyService.getString("publish.tmplat.lyt.fileStoreWebPathByWebFile"));
|
|
| 483 |
- vo.setSiteId(siteVO.getSiteId()); |
|
| 484 |
- vo.setSysTyCode(siteVO.getSysTyCode()); |
|
| 485 |
- |
|
| 486 |
- BoardMasterVO master = bbsAttrbService.selectBBSMasterInf(vo); |
|
| 487 |
- |
|
| 488 |
- if(master != null && !EgovStringUtil.isEmpty(boardVO.getTrgetId())) {
|
|
| 489 |
- |
|
| 490 |
- CommunityUser resultInfo = null; |
|
| 491 |
- int SE_CODE = 1; |
|
| 492 |
- |
|
| 493 |
- LoginVO user = EgovUserDetailsHelper.getAuthenticatedUser(request, response); |
|
| 494 |
- if(user != null) {
|
|
| 495 |
- CommunityUser cmmntyUser = new CommunityUser(); |
|
| 496 |
- cmmntyUser.setSiteId(siteVO.getSiteId()); |
|
| 497 |
- cmmntyUser.setEmplyrId(user.getId()); |
|
| 498 |
- cmmntyUser.setCmmntyId(boardVO.getTrgetId()); |
|
| 499 |
- resultInfo = cmmntyService.selectSingleCommunityUserInf(cmmntyUser); |
|
| 500 |
- if(resultInfo != null) {
|
|
| 501 |
- model.addAttribute("USER_INFO", resultInfo); //사용자 정보
|
|
| 502 |
- SE_CODE = Integer.parseInt(resultInfo.getAuthorCode()); |
|
| 503 |
- } |
|
| 504 |
- } |
|
| 505 |
- |
|
| 506 |
- if(SE_CODE >= Integer.parseInt(master.getAnswerAuthor())){
|
|
| 507 |
- model.addAttribute("brdMstrVO", master);
|
|
| 508 |
- |
|
| 509 |
- BoardVO selectVO = new BoardVO(); |
|
| 510 |
- selectVO.setBbsId(master.getBbsId()); |
|
| 511 |
- selectVO.setNttNo(boardVO.getNttNo()); |
|
| 512 |
- selectVO.setAdminAt("Y");
|
|
| 513 |
- |
|
| 514 |
- selectVO = bbsMngService.selectBoardArticle(selectVO); |
|
| 515 |
- |
|
| 516 |
- Board board = new Board(); |
|
| 517 |
- board.setCtgryId(selectVO.getCtgryId()); |
|
| 518 |
- //board.setOrdrCode(selectVO.getOrdrCode()); |
|
| 519 |
- //board.setOrdrCodeDp(BigDecimal.valueOf(selectVO.getOrdrCodeDp().longValue() + 1)); |
|
| 520 |
- |
|
| 521 |
- if("BBSA11".equals(master.getBbsAttrbCode())) {
|
|
| 522 |
- |
|
| 523 |
- board.setNttNo(selectVO.getNttNo()); |
|
| 524 |
- board.setNttSj(selectVO.getNttSj()); |
|
| 525 |
- if(!EgovStringUtil.isEmpty(selectVO.getEstnData())) {
|
|
| 526 |
- board.setNttCn(selectVO.getEstnParseData().getString("cn"));
|
|
| 527 |
- } |
|
| 528 |
- board.setAtchFileId(selectVO.getEstnAtchFileId()); |
|
| 529 |
- board.setProcessSttusCode(selectVO.getProcessSttusCode()); |
|
| 530 |
- |
|
| 531 |
- ComDefaultCodeVO codeVO = new ComDefaultCodeVO(); |
|
| 532 |
- codeVO.setCodeId("COM108");
|
|
| 533 |
- model.addAttribute("qaCodeList", cmmUseService.selectCmmCodeDetail(codeVO));
|
|
| 534 |
- } |
|
| 535 |
- |
|
| 536 |
- model.addAttribute("board", board);
|
|
| 537 |
- |
|
| 538 |
- request.getSession().setAttribute("sessionVO", boardVO);
|
|
| 539 |
- |
|
| 540 |
- return "cop/cmy/bbs/cmy_001/EgovNoticeRegist"; |
|
| 541 |
- |
|
| 542 |
- } else {
|
|
| 543 |
- model.addAttribute("message", egovMessageSource.getMessage("fail.auth.regist"));
|
|
| 544 |
- return "forward:/cop/cmy/bbs/selectBoardList.do"; |
|
| 545 |
- } |
|
| 546 |
- } |
|
| 547 |
- |
|
| 548 |
- model.addAttribute("message", egovMessageSource.getMessage("fail.auth.access"));
|
|
| 549 |
- return "forward:/cop/cmy/bbs/selectBoardList.do"; |
|
| 550 |
- } |
|
| 551 |
- |
|
| 552 |
- /** |
|
| 553 |
- * 게시물에 대한 답변을 등록한다. |
|
| 554 |
- * |
|
| 555 |
- * @param boardVO |
|
| 556 |
- * @param board |
|
| 557 |
- * @param sessionVO |
|
| 558 |
- * @param model |
|
| 559 |
- * @return |
|
| 560 |
- * @throws Exception |
|
| 561 |
- */ |
|
| 562 |
- @SuppressWarnings("unchecked")
|
|
| 563 |
- @RequestMapping(value = "/cop/cmy/bbs/replyBoardArticle.do") |
|
| 564 |
- public String replyBoardArticle(final MultipartHttpServletRequest multiRequest, @ModelAttribute("searchVO") BoardVO boardVO,
|
|
| 565 |
- Board board, BindingResult bindingResult, |
|
| 566 |
- ModelMap model, HttpServletRequest request, HttpServletResponse response) throws Exception {
|
|
| 567 |
- |
|
| 568 |
- |
|
| 569 |
- if(request.getSession().getAttribute("sessionVO") == null) {
|
|
| 570 |
- return "forward:/cop/cmy/bbs/selectBoardList.do"; |
|
| 571 |
- } |
|
| 572 |
- |
|
| 573 |
- LoginVO user = EgovUserDetailsHelper.getAuthenticatedUser(request, response); |
|
| 574 |
- |
|
| 575 |
- beanValidator.validate(board, bindingResult); |
|
| 576 |
- |
|
| 577 |
- BoardMasterVO vo = new BoardMasterVO(); |
|
| 578 |
- vo.setBbsId(boardVO.getBbsId()); |
|
| 579 |
- vo.setTrgetId(boardVO.getTrgetId()); |
|
| 580 |
- |
|
| 581 |
- SiteManageVO siteVO = siteManageService.selectSiteServiceInfo(request); |
|
| 582 |
- vo.setSiteId(siteVO.getSiteId()); |
|
| 583 |
- vo.setSysTyCode(siteVO.getSysTyCode()); |
|
| 584 |
- |
|
| 585 |
- BoardMasterVO master = bbsAttrbService.selectBBSMasterInf(vo); |
|
| 586 |
- |
|
| 587 |
- int SE_CODE = 1; |
|
| 588 |
- CommunityUser cmmntyUser = new CommunityUser(); |
|
| 589 |
- cmmntyUser.setSiteId(siteVO.getSiteId()); |
|
| 590 |
- cmmntyUser.setEmplyrId(user.getId()); |
|
| 591 |
- cmmntyUser.setCmmntyId(boardVO.getTrgetId()); |
|
| 592 |
- cmmntyUser = cmmntyService.selectSingleCommunityUserInf(cmmntyUser); |
|
| 593 |
- if(cmmntyUser != null) {
|
|
| 594 |
- model.addAttribute("USER_INFO", cmmntyUser); //사용자 정보
|
|
| 595 |
- SE_CODE = Integer.parseInt(cmmntyUser.getAuthorCode()); |
|
| 596 |
- } |
|
| 597 |
- |
|
| 598 |
- if(bindingResult.hasErrors()) {
|
|
| 599 |
- |
|
| 600 |
- if(master != null && !EgovStringUtil.isEmpty(boardVO.getTrgetId())) {
|
|
| 601 |
- |
|
| 602 |
- model.addAttribute("brdMstrVO", master);
|
|
| 603 |
- |
|
| 604 |
- if("BBSA11".equals(master.getBbsAttrbCode())) {
|
|
| 605 |
- ComDefaultCodeVO codeVO = new ComDefaultCodeVO(); |
|
| 606 |
- codeVO.setCodeId("COM108");
|
|
| 607 |
- model.addAttribute("qaCodeList", cmmUseService.selectCmmCodeDetail(codeVO));
|
|
| 608 |
- } |
|
| 609 |
- } |
|
| 610 |
- |
|
| 611 |
- model.addAttribute("siteInfo", siteVO);
|
|
| 612 |
- model.addAttribute("LytFileStoreWebPathByWebFile", propertyService.getString("publish.tmplat.lyt.fileStoreWebPathByWebFile"));
|
|
| 613 |
- |
|
| 614 |
- return "cop/cmy/bbs/cmy_001/EgovNoticeRegist"; |
|
| 615 |
- } |
|
| 616 |
- |
|
| 617 |
- if(master != null && !EgovStringUtil.isEmpty(boardVO.getTrgetId())) {
|
|
| 618 |
- |
|
| 619 |
- if(SE_CODE >= Integer.parseInt(master.getAnswerAuthor())) {
|
|
| 620 |
- if(SE_CODE >= 10) {
|
|
| 621 |
- boardVO.setAdminAt("Y");
|
|
| 622 |
- } |
|
| 623 |
- |
|
| 624 |
- String atchFileId = boardVO.getAtchFileId();; |
|
| 625 |
- |
|
| 626 |
- final Map<String, MultipartFile> files = multiRequest.getFileMap(); |
|
| 627 |
- |
|
| 628 |
- |
|
| 629 |
- if("BBSA11".equals(master.getBbsAttrbCode())) {
|
|
| 630 |
- if(!files.isEmpty()) {
|
|
| 631 |
- if(EgovStringUtil.isEmpty(atchFileId)) {
|
|
| 632 |
- List<FileVO> result = fileUtil.parseBoardFileInf(Long.parseLong(master.getPosblAtchFileSize()) * 1024 * 1024, files, 0, atchFileId, siteManageService.selectSiteServiceInfo(request).getSiteId(), boardVO.getBbsId(),"",""); |
|
| 633 |
- atchFileId = fileMngService.insertFileInfs(result); |
|
| 634 |
- } else {
|
|
| 635 |
- FileVO fvo = new FileVO(); |
|
| 636 |
- fvo.setAtchFileId(atchFileId); |
|
| 637 |
- int cnt = fileMngService.getMaxFileSN(fvo); |
|
| 638 |
- List<FileVO> _result = fileUtil.parseBoardFileInf(Long.parseLong(master.getPosblAtchFileSize()) * 1024 * 1024, files, cnt, atchFileId, siteManageService.selectSiteServiceInfo(request).getSiteId(), boardVO.getBbsId(),"",""); |
|
| 639 |
- fileMngService.updateFileInfs(_result); |
|
| 640 |
- } |
|
| 641 |
- boardVO.setEstnAtchFileId(atchFileId); |
|
| 642 |
- } |
|
| 643 |
- |
|
| 644 |
- boardVO.setLastAnswrrId(user.getId()); |
|
| 645 |
- boardVO.setLastAnswrrNm(user.getName()); |
|
| 646 |
- |
|
| 647 |
- JSONObject jObj = new JSONObject(); |
|
| 648 |
- jObj.put("cn", boardVO.getNttCn());
|
|
| 649 |
- boardVO.setEstnData(jObj.toString()); |
|
| 650 |
- |
|
| 651 |
- bbsMngService.updateBoardArticle(boardVO, master, true); |
|
| 652 |
- } else {
|
|
| 653 |
- if(!files.isEmpty()) {
|
|
| 654 |
- List<FileVO> result = fileUtil.parseBoardFileInf(Long.parseLong(master.getPosblAtchFileSize()) * 1024 * 1024, files, 0, "", siteManageService.selectSiteServiceInfo(request).getSiteId(), boardVO.getBbsId(),"",""); |
|
| 655 |
- atchFileId = fileMngService.insertFileInfs(result); |
|
| 656 |
- } |
|
| 657 |
- |
|
| 658 |
- boardVO.setAtchFileId(atchFileId); |
|
| 659 |
- boardVO.setFrstRegisterId(user.getId()); |
|
| 660 |
- boardVO.setNtcrNm(user.getName()); |
|
| 661 |
- boardVO.setNttCn(unscript(boardVO.getNttCn())); // XSS 방지 |
|
| 662 |
- boardVO.setCreatIp(EgovClntInfo.getClntIP(request)); |
|
| 663 |
- |
|
| 664 |
- boardVO.setEstnData(EgovHttpUtil.getEstnParseData(request)); |
|
| 665 |
- bbsMngService.replyBoardArticle(boardVO, master); |
|
| 666 |
- } |
|
| 667 |
- } |
|
| 668 |
- } |
|
| 669 |
- |
|
| 670 |
- request.getSession().removeAttribute("sessionVO");
|
|
| 671 |
- |
|
| 672 |
- return "forward:/cop/cmy/bbs/selectBoardList.do"; |
|
| 673 |
- } |
|
| 674 |
- |
|
| 675 |
- /** |
|
| 676 |
- * 게시물 수정을 위한 수정페이지로 이동한다. |
|
| 677 |
- * |
|
| 678 |
- * @param boardVO |
|
| 679 |
- * @param vo |
|
| 680 |
- * @param sessionVO |
|
| 681 |
- * @param model |
|
| 682 |
- * @return |
|
| 683 |
- * @throws Exception |
|
| 684 |
- */ |
|
| 685 |
- @RequestMapping(value = "/cop/cmy/bbs/forUpdateBoardArticle.do") |
|
| 686 |
- public String selectBoardArticleForUpdt(@ModelAttribute("searchVO") BoardVO boardVO, ModelMap model, HttpServletRequest request, HttpServletResponse response) throws Exception {
|
|
| 687 |
- |
|
| 688 |
- if(!EgovUserDetailsHelper.isAuthenticated(request, response)) {
|
|
| 689 |
- return "redirect:" + EgovUserDetailsHelper.getRedirectLoginUrl(); |
|
| 690 |
- } |
|
| 691 |
- |
|
| 692 |
- BoardMasterVO vo = new BoardMasterVO(); |
|
| 693 |
- vo.setBbsId(boardVO.getBbsId()); |
|
| 694 |
- vo.setTrgetId(boardVO.getTrgetId()); |
|
| 695 |
- |
|
| 696 |
- SiteManageVO siteVO = siteManageService.selectSiteServiceInfo(request); |
|
| 697 |
- model.addAttribute("siteInfo", siteVO);
|
|
| 698 |
- model.addAttribute("LytFileStoreWebPathByWebFile", propertyService.getString("publish.tmplat.lyt.fileStoreWebPathByWebFile"));
|
|
| 699 |
- vo.setSiteId(siteVO.getSiteId()); |
|
| 700 |
- vo.setSysTyCode(siteVO.getSysTyCode()); |
|
| 701 |
- |
|
| 702 |
- BoardMasterVO master = bbsAttrbService.selectBBSMasterInf(vo); |
|
| 703 |
- |
|
| 704 |
- if(master != null && !EgovStringUtil.isEmpty(boardVO.getTrgetId())) {
|
|
| 705 |
- |
|
| 706 |
- LoginVO user = EgovUserDetailsHelper.getAuthenticatedUser(request, response); |
|
| 707 |
- boardVO.setFrstRegisterId(user.getId()); |
|
| 708 |
- |
|
| 709 |
- int SE_CODE = 1; |
|
| 710 |
- CommunityUser cmmntyUser = new CommunityUser(); |
|
| 711 |
- cmmntyUser.setSiteId(siteVO.getSiteId()); |
|
| 712 |
- cmmntyUser.setEmplyrId(user.getId()); |
|
| 713 |
- cmmntyUser.setCmmntyId(boardVO.getTrgetId()); |
|
| 714 |
- cmmntyUser = cmmntyService.selectSingleCommunityUserInf(cmmntyUser); |
|
| 715 |
- if(cmmntyUser != null) {
|
|
| 716 |
- model.addAttribute("USER_INFO", cmmntyUser); //사용자 정보
|
|
| 717 |
- SE_CODE = Integer.parseInt(cmmntyUser.getAuthorCode()); |
|
| 718 |
- } |
|
| 719 |
- |
|
| 720 |
- boardVO.setFrstRegisterId(user.getId()); |
|
| 721 |
- |
|
| 722 |
- if(SE_CODE >= 10) {
|
|
| 723 |
- boardVO.setAdminAt("Y");
|
|
| 724 |
- } |
|
| 725 |
- |
|
| 726 |
- if(SE_CODE >= Integer.parseInt(master.getRegistAuthor())){
|
|
| 727 |
- if(!EgovStringUtil.isEmpty(master.getCtgrymasterId())) {
|
|
| 728 |
- Ctgry ctgry = new Ctgry(); |
|
| 729 |
- ctgry.setCtgrymasterId(master.getCtgrymasterId()); |
|
| 730 |
- model.addAttribute("boardCateList", ctgryService.selectComtnbbsctgryList(ctgry));
|
|
| 731 |
- |
|
| 732 |
- model.addAttribute("boardCateLevel", ctgryService.selectComtnbbsctgryLevel(ctgry));
|
|
| 733 |
- } |
|
| 734 |
- |
|
| 735 |
- boardVO.setCtgrymasterId(master.getCtgrymasterId()); |
|
| 736 |
- BoardVO dataVO = bbsMngService.selectBoardArticle(boardVO); |
|
| 737 |
- |
|
| 738 |
- model.addAttribute("brdMstrVO", master);
|
|
| 739 |
- model.addAttribute("board", dataVO);
|
|
| 740 |
- |
|
| 741 |
- request.getSession().setAttribute("sessionVO", boardVO);
|
|
| 742 |
- |
|
| 743 |
- return "cop/cmy/bbs/cmy_001/EgovNoticeRegist"; |
|
| 744 |
- } else {
|
|
| 745 |
- model.addAttribute("message", egovMessageSource.getMessage("fail.auth.regist"));
|
|
| 746 |
- return "forward:/cop/cmy/bbs/selectBoardList.do"; |
|
| 747 |
- } |
|
| 748 |
- |
|
| 749 |
- } |
|
| 750 |
- |
|
| 751 |
- model.addAttribute("message", egovMessageSource.getMessage("fail.auth.access"));
|
|
| 752 |
- return "forward:/cop/cmy/bbs/selectBoardList.do"; |
|
| 753 |
- } |
|
| 754 |
- |
|
| 755 |
- /** |
|
| 756 |
- * 게시물에 대한 내용을 수정한다. |
|
| 757 |
- * |
|
| 758 |
- * @param boardVO |
|
| 759 |
- * @param board |
|
| 760 |
- * @param sessionVO |
|
| 761 |
- * @param model |
|
| 762 |
- * @return |
|
| 763 |
- * @throws Exception |
|
| 764 |
- */ |
|
| 765 |
- @SuppressWarnings("unchecked")
|
|
| 766 |
- @RequestMapping(value = "/cop/cmy/bbs/updateBoardArticle.do") |
|
| 767 |
- public String updateBoardArticle(final MultipartHttpServletRequest multiRequest, @ModelAttribute("searchVO") BoardVO boardVO,
|
|
| 768 |
- BoardVO board, BindingResult bindingResult, |
|
| 769 |
- ModelMap model, HttpServletRequest request, HttpServletResponse response) throws Exception {
|
|
| 770 |
- |
|
| 771 |
- if(request.getSession().getAttribute("sessionVO") == null) {
|
|
| 772 |
- return "forward:/cop/cmy/bbs/selectBoardList.do"; |
|
| 773 |
- } |
|
| 774 |
- |
|
| 775 |
- LoginVO user = EgovUserDetailsHelper.getAuthenticatedUser(request, response); |
|
| 776 |
- String atchFileId = boardVO.getAtchFileId(); |
|
| 777 |
- |
|
| 778 |
- beanValidator.validate(board, bindingResult); |
|
| 779 |
- |
|
| 780 |
- BoardMasterVO vo = new BoardMasterVO(); |
|
| 781 |
- vo.setBbsId(boardVO.getBbsId()); |
|
| 782 |
- vo.setTrgetId(boardVO.getTrgetId()); |
|
| 783 |
- |
|
| 784 |
- SiteManageVO siteVO = siteManageService.selectSiteServiceInfo(request); |
|
| 785 |
- vo.setSiteId(siteVO.getSiteId()); |
|
| 786 |
- vo.setSysTyCode(siteVO.getSysTyCode()); |
|
| 787 |
- |
|
| 788 |
- BoardMasterVO master = bbsAttrbService.selectBBSMasterInf(vo); |
|
| 789 |
- |
|
| 790 |
- int SE_CODE = 1; |
|
| 791 |
- CommunityUser cmmntyUser = new CommunityUser(); |
|
| 792 |
- cmmntyUser.setSiteId(siteVO.getSiteId()); |
|
| 793 |
- cmmntyUser.setEmplyrId(user.getId()); |
|
| 794 |
- cmmntyUser.setCmmntyId(boardVO.getTrgetId()); |
|
| 795 |
- cmmntyUser = cmmntyService.selectSingleCommunityUserInf(cmmntyUser); |
|
| 796 |
- if(cmmntyUser != null) {
|
|
| 797 |
- model.addAttribute("USER_INFO", cmmntyUser); //사용자 정보
|
|
| 798 |
- SE_CODE = Integer.parseInt(cmmntyUser.getAuthorCode()); |
|
| 799 |
- } |
|
| 800 |
- |
|
| 801 |
- if(bindingResult.hasErrors()) {
|
|
| 802 |
- |
|
| 803 |
- if(master != null && !EgovStringUtil.isEmpty(boardVO.getTrgetId())) {
|
|
| 804 |
- if(!EgovStringUtil.isEmpty(master.getCtgrymasterId())) {
|
|
| 805 |
- Ctgry ctgry = new Ctgry(); |
|
| 806 |
- ctgry.setCtgrymasterId(master.getCtgrymasterId()); |
|
| 807 |
- model.addAttribute("boardCateList", ctgryService.selectComtnbbsctgryList(ctgry));
|
|
| 808 |
- |
|
| 809 |
- model.addAttribute("boardCateLevel", ctgryService.selectComtnbbsctgryLevel(ctgry));
|
|
| 810 |
- } |
|
| 811 |
- |
|
| 812 |
- boardVO.setCtgrymasterId(master.getCtgrymasterId()); |
|
| 813 |
- BoardVO dataVO = bbsMngService.selectBoardArticle(boardVO); |
|
| 814 |
- |
|
| 815 |
- model.addAttribute("brdMstrVO", master);
|
|
| 816 |
- model.addAttribute("board", dataVO);
|
|
| 817 |
- } |
|
| 818 |
- model.addAttribute("siteInfo", siteVO);
|
|
| 819 |
- model.addAttribute("LytFileStoreWebPathByWebFile", propertyService.getString("publish.tmplat.lyt.fileStoreWebPathByWebFile"));
|
|
| 820 |
- |
|
| 821 |
- return "cop/cmy/bbs/cmy_001/EgovNoticeRegist"; |
|
| 822 |
- } |
|
| 823 |
- |
|
| 824 |
- if(master != null && !EgovStringUtil.isEmpty(boardVO.getTrgetId())) {
|
|
| 825 |
- |
|
| 826 |
- if(SE_CODE >= Integer.parseInt(master.getRegistAuthor())) {
|
|
| 827 |
- |
|
| 828 |
- final Map<String, MultipartFile> files = multiRequest.getFileMap(); |
|
| 829 |
- if(!files.isEmpty()) {
|
|
| 830 |
- if(EgovStringUtil.isEmpty(atchFileId)) {
|
|
| 831 |
- List<FileVO> result = fileUtil.parseBoardFileInf(Long.parseLong(master.getPosblAtchFileSize()) * 1024 * 1024, files, 0, atchFileId, siteManageService.selectSiteServiceInfo(request).getSiteId(), boardVO.getBbsId(),"",""); |
|
| 832 |
- atchFileId = fileMngService.insertFileInfs(result); |
|
| 833 |
- boardVO.setAtchFileId(atchFileId); |
|
| 834 |
- } else {
|
|
| 835 |
- FileVO fvo = new FileVO(); |
|
| 836 |
- fvo.setAtchFileId(atchFileId); |
|
| 837 |
- int cnt = fileMngService.getMaxFileSN(fvo); |
|
| 838 |
- List<FileVO> _result = fileUtil.parseBoardFileInf(Long.parseLong(master.getPosblAtchFileSize()) * 1024 * 1024, files, cnt, atchFileId, siteManageService.selectSiteServiceInfo(request).getSiteId(), boardVO.getBbsId(),"",""); |
|
| 839 |
- fileMngService.updateFileInfs(_result); |
|
| 840 |
- } |
|
| 841 |
- } |
|
| 842 |
- |
|
| 843 |
- if(!"".equals(atchFileId)) {
|
|
| 844 |
- FileVO fvo = new FileVO(); |
|
| 845 |
- fvo.setAtchFileId(atchFileId); |
|
| 846 |
- List<FileVO> dbFiles = fileMngService.selectFileInfs(fvo); |
|
| 847 |
- if(dbFiles == null || dbFiles.size() == 0) {
|
|
| 848 |
- boardVO.setAtchFileId("");
|
|
| 849 |
- boardVO.setFileGroupId("");
|
|
| 850 |
- } |
|
| 851 |
- } |
|
| 852 |
- |
|
| 853 |
- if(SE_CODE >= 10) {
|
|
| 854 |
- boardVO.setAdminAt("Y");
|
|
| 855 |
- } |
|
| 856 |
- boardVO.setLastUpdusrId(user.getId()); |
|
| 857 |
- boardVO.setNttCn(unscript(boardVO.getNttCn())); // XSS 방지 |
|
| 858 |
- boardVO.setEstnData(EgovHttpUtil.getEstnParseData(request)); |
|
| 859 |
- |
|
| 860 |
- bbsMngService.updateBoardArticle(boardVO, master, false); |
|
| 861 |
- } |
|
| 862 |
- } |
|
| 863 |
- |
|
| 864 |
- request.getSession().removeAttribute("sessionVO");
|
|
| 865 |
- |
|
| 866 |
- return "forward:/cop/cmy/bbs/selectBoardList.do"; |
|
| 867 |
- } |
|
| 868 |
- |
|
| 869 |
- /** |
|
| 870 |
- * 게시물에 대한 내용을 삭제한다. |
|
| 871 |
- * |
|
| 872 |
- * @param boardVO |
|
| 873 |
- * @param board |
|
| 874 |
- * @param sessionVO |
|
| 875 |
- * @param model |
|
| 876 |
- * @return |
|
| 877 |
- * @throws Exception |
|
| 878 |
- */ |
|
| 879 |
- @RequestMapping(value = "/cop/cmy/bbs/deleteBoardArticle.do") |
|
| 880 |
- public String deleteBoardArticle(@ModelAttribute("searchVO") BoardVO boardVO, BoardVO board, ModelMap model, HttpServletRequest request, HttpServletResponse response) throws Exception {
|
|
| 881 |
- |
|
| 882 |
- if(!EgovUserDetailsHelper.isAuthenticated(request, response)) {
|
|
| 883 |
- return "redirect:" + EgovUserDetailsHelper.getRedirectLoginUrl(); |
|
| 884 |
- } |
|
| 885 |
- |
|
| 886 |
- LoginVO user = EgovUserDetailsHelper.getAuthenticatedUser(request, response); |
|
| 887 |
- |
|
| 888 |
- BoardMasterVO vo = new BoardMasterVO(); |
|
| 889 |
- vo.setBbsId(boardVO.getBbsId()); |
|
| 890 |
- vo.setTrgetId(boardVO.getTrgetId()); |
|
| 891 |
- |
|
| 892 |
- SiteManageVO siteVO = siteManageService.selectSiteServiceInfo(request); |
|
| 893 |
- vo.setSiteId(siteVO.getSiteId()); |
|
| 894 |
- vo.setSysTyCode(siteVO.getSysTyCode()); |
|
| 895 |
- |
|
| 896 |
- BoardMasterVO master = bbsAttrbService.selectBBSMasterInf(vo); |
|
| 897 |
- |
|
| 898 |
- if(master != null && !EgovStringUtil.isEmpty(boardVO.getTrgetId())) {
|
|
| 899 |
- |
|
| 900 |
- int SE_CODE = 1; |
|
| 901 |
- CommunityUser cmmntyUser = new CommunityUser(); |
|
| 902 |
- cmmntyUser.setSiteId(siteVO.getSiteId()); |
|
| 903 |
- cmmntyUser.setEmplyrId(user.getId()); |
|
| 904 |
- cmmntyUser.setCmmntyId(boardVO.getTrgetId()); |
|
| 905 |
- cmmntyUser = cmmntyService.selectSingleCommunityUserInf(cmmntyUser); |
|
| 906 |
- if(cmmntyUser != null) {
|
|
| 907 |
- SE_CODE = Integer.parseInt(cmmntyUser.getAuthorCode()); |
|
| 908 |
- } |
|
| 909 |
- |
|
| 910 |
- if(SE_CODE >= Integer.parseInt(master.getRegistAuthor())){
|
|
| 911 |
- if(SE_CODE >= 10) {
|
|
| 912 |
- boardVO.setAdminAt("Y");
|
|
| 913 |
- } |
|
| 914 |
- |
|
| 915 |
- board.setLastUpdusrId(user.getId()); |
|
| 916 |
- bbsMngService.deleteBoardArticle(board, master); |
|
| 917 |
- } |
|
| 918 |
- } |
|
| 919 |
- |
|
| 920 |
- return "forward:/cop/cmy/bbs/selectBoardList.do"; |
|
| 921 |
- } |
|
| 922 |
- |
|
| 923 |
- |
|
| 924 |
-} |
|
| 1 |
+package egovframework.com.cop.cmy.web; |
|
| 2 |
+ |
|
| 3 |
+import java.math.BigDecimal; |
|
| 4 |
+import java.util.List; |
|
| 5 |
+import java.util.Map; |
|
| 6 |
+ |
|
| 7 |
+import javax.annotation.Resource; |
|
| 8 |
+ |
|
| 9 |
+import org.apache.log4j.Logger; |
|
| 10 |
+import net.sf.json.JSONObject; |
|
| 11 |
+import org.springframework.beans.factory.annotation.Autowired; |
|
| 12 |
+import org.springframework.stereotype.Controller; |
|
| 13 |
+import org.springframework.ui.ModelMap; |
|
| 14 |
+import org.springframework.validation.BindingResult; |
|
| 15 |
+import org.springframework.web.bind.annotation.ModelAttribute; |
|
| 16 |
+import org.springframework.web.bind.annotation.RequestMapping; |
|
| 17 |
+import org.springframework.web.multipart.MultipartFile; |
|
| 18 |
+import org.springframework.web.multipart.MultipartHttpServletRequest; |
|
| 19 |
+import org.springmodules.validation.commons.DefaultBeanValidator; |
|
| 20 |
+ |
|
| 21 |
+import egovframework.com.cmm.EgovMessageSource; |
|
| 22 |
+import egovframework.com.cmm.service.CmmUseService; |
|
| 23 |
+import egovframework.com.cmm.service.EgovFileMngService; |
|
| 24 |
+import egovframework.com.cmm.service.EgovFileMngUtil; |
|
| 25 |
+import egovframework.com.cmm.service.FileVO; |
|
| 26 |
+import egovframework.com.cop.bbs.service.Board; |
|
| 27 |
+import egovframework.com.cop.bbs.service.BoardMasterVO; |
|
| 28 |
+import egovframework.com.cop.bbs.service.BoardVO; |
|
| 29 |
+import egovframework.com.cop.bbs.service.Ctgry; |
|
| 30 |
+import egovframework.com.cop.bbs.service.EgovBBSAttributeManageService; |
|
| 31 |
+import egovframework.com.cop.bbs.service.EgovBBSCtgryService; |
|
| 32 |
+import egovframework.com.cop.bbs.service.EgovBBSManageService; |
|
| 33 |
+import egovframework.com.cop.cmy.service.CommunityUser; |
|
| 34 |
+import egovframework.com.cop.cmy.service.EgovCommunityManageService; |
|
| 35 |
+import egovframework.com.sec.ram.security.userdetails.util.EgovUserDetailsHelper; |
|
| 36 |
+import egovframework.com.sym.ccm.cde.service.CmmnDetailCodeVO; |
|
| 37 |
+import egovframework.com.sym.sit.service.SiteManageService; |
|
| 38 |
+import egovframework.com.sym.sit.service.SiteManageVO; |
|
| 39 |
+import egovframework.com.uat.uia.service.LoginVO; |
|
| 40 |
+import egovframework.rte.fdl.property.EgovPropertyService; |
|
| 41 |
+import egovframework.rte.ptl.mvc.tags.ui.pagination.PaginationInfo; |
|
| 42 |
+import egovframework.com.utl.fcc.service.EgovHttpUtil; |
|
| 43 |
+import egovframework.com.utl.fcc.service.EgovStringUtil; |
|
| 44 |
+import egovframework.com.utl.sim.service.EgovClntInfo; |
|
| 45 |
+ |
|
| 46 |
+import javax.servlet.http.HttpServletRequest; |
|
| 47 |
+import javax.servlet.http.HttpServletResponse; |
|
| 48 |
+ |
|
| 49 |
+ |
|
| 50 |
+/** |
|
| 51 |
+ * 게시물 관리를 위한 컨트롤러 클래스 |
|
| 52 |
+ * |
|
| 53 |
+ * @author 공통서비스개발팀 이삼섭 |
|
| 54 |
+ * @since 2009.06.01 |
|
| 55 |
+ * @version 1.0 |
|
| 56 |
+ * @see <pre> |
|
| 57 |
+ * << 개정이력(Modification Information) >> |
|
| 58 |
+ * |
|
| 59 |
+ * 수정일 수정자 수정내용 |
|
| 60 |
+ * ------- -------- --------------------------- |
|
| 61 |
+ * 2009.3.19 이삼섭 최초 생성 |
|
| 62 |
+ * 2009.06.29 한성곤 |
|
| 63 |
+ * |
|
| 64 |
+ * </pre> |
|
| 65 |
+ */ |
|
| 66 |
+@Controller("EgovCmyBBSManageController")
|
|
| 67 |
+public class EgovBBSManageController {
|
|
| 68 |
+ |
|
| 69 |
+ @Resource(name = "EgovBBSManageService") |
|
| 70 |
+ private EgovBBSManageService bbsMngService; |
|
| 71 |
+ |
|
| 72 |
+ @Resource(name = "EgovBBSAttributeManageService") |
|
| 73 |
+ private EgovBBSAttributeManageService bbsAttrbService; |
|
| 74 |
+ |
|
| 75 |
+ @Resource(name = "EgovBBSCtgryService") |
|
| 76 |
+ private EgovBBSCtgryService ctgryService; |
|
| 77 |
+ |
|
| 78 |
+ @Resource(name = "siteManageService") |
|
| 79 |
+ SiteManageService siteManageService; |
|
| 80 |
+ |
|
| 81 |
+ @Resource(name = "EgovFileMngService") |
|
| 82 |
+ private EgovFileMngService fileMngService; |
|
| 83 |
+ |
|
| 84 |
+ @Resource(name = "EgovFileMngUtil") |
|
| 85 |
+ private EgovFileMngUtil fileUtil; |
|
| 86 |
+ |
|
| 87 |
+ @Resource(name = "propertiesService") |
|
| 88 |
+ protected EgovPropertyService propertyService; |
|
| 89 |
+ |
|
| 90 |
+ @Resource(name = "cmmUseService") |
|
| 91 |
+ private CmmUseService cmmUseService; |
|
| 92 |
+ |
|
| 93 |
+ @Resource(name = "egovMessageSource") |
|
| 94 |
+ EgovMessageSource egovMessageSource; |
|
| 95 |
+ |
|
| 96 |
+ @Resource(name = "EgovCommunityManageService") |
|
| 97 |
+ private EgovCommunityManageService cmmntyService; |
|
| 98 |
+ |
|
| 99 |
+ @Autowired |
|
| 100 |
+ private DefaultBeanValidator beanValidator; |
|
| 101 |
+ |
|
| 102 |
+ Logger log = Logger.getLogger(this.getClass()); |
|
| 103 |
+ |
|
| 104 |
+ /** |
|
| 105 |
+ * XSS 방지 처리. |
|
| 106 |
+ * |
|
| 107 |
+ * @param data |
|
| 108 |
+ * @return |
|
| 109 |
+ */ |
|
| 110 |
+ protected String unscript(String data) {
|
|
| 111 |
+ if(data == null || data.trim().equals("")) {
|
|
| 112 |
+ return ""; |
|
| 113 |
+ } |
|
| 114 |
+ |
|
| 115 |
+ String ret = data; |
|
| 116 |
+ |
|
| 117 |
+ ret = ret.replaceAll("<(S|s)(C|c)(R|r)(I|i)(P|p)(T|t)", "<script");
|
|
| 118 |
+ ret = ret.replaceAll("</(S|s)(C|c)(R|r)(I|i)(P|p)(T|t)", "</script");
|
|
| 119 |
+ |
|
| 120 |
+ ret = ret.replaceAll("<(O|o)(B|b)(J|j)(E|e)(C|c)(T|t)", "<object");
|
|
| 121 |
+ ret = ret.replaceAll("</(O|o)(B|b)(J|j)(E|e)(C|c)(T|t)", "</object");
|
|
| 122 |
+ |
|
| 123 |
+ ret = ret.replaceAll("<(A|a)(P|p)(P|p)(L|l)(E|e)(T|t)", "<applet");
|
|
| 124 |
+ ret = ret.replaceAll("</(A|a)(P|p)(P|p)(L|l)(E|e)(T|t)", "</applet");
|
|
| 125 |
+ |
|
| 126 |
+ ret = ret.replaceAll("<(E|e)(M|m)(B|b)(E|e)(D|d)", "<embed");
|
|
| 127 |
+ ret = ret.replaceAll("</(E|e)(M|m)(B|b)(E|e)(D|d)", "<embed");
|
|
| 128 |
+ |
|
| 129 |
+ ret = ret.replaceAll("<(F|f)(O|o)(R|r)(M|m)", "<form");
|
|
| 130 |
+ ret = ret.replaceAll("</(F|f)(O|o)(R|r)(M|m)", "<form");
|
|
| 131 |
+ |
|
| 132 |
+ return ret; |
|
| 133 |
+ } |
|
| 134 |
+ |
|
| 135 |
+ |
|
| 136 |
+ /** |
|
| 137 |
+ * 게시물에 대한 목록을 조회한다. |
|
| 138 |
+ * |
|
| 139 |
+ * @param boardVO |
|
| 140 |
+ * @param sessionVO |
|
| 141 |
+ * @param model |
|
| 142 |
+ * @return |
|
| 143 |
+ * @throws Exception |
|
| 144 |
+ */ |
|
| 145 |
+ @RequestMapping(value = "/cop/cmy/bbs/selectBoardList.do") |
|
| 146 |
+ public String selectBoardArticles(@ModelAttribute("searchVO") BoardVO boardVO, ModelMap model, HttpServletRequest request, HttpServletResponse response) throws Exception {
|
|
| 147 |
+ |
|
| 148 |
+ PaginationInfo paginationInfo = new PaginationInfo(); |
|
| 149 |
+ |
|
| 150 |
+ BoardMasterVO vo = new BoardMasterVO(); |
|
| 151 |
+ vo.setBbsId(boardVO.getBbsId()); |
|
| 152 |
+ vo.setTrgetId(boardVO.getTrgetId()); |
|
| 153 |
+ |
|
| 154 |
+ SiteManageVO siteVO = siteManageService.selectSiteServiceInfo(request); |
|
| 155 |
+ model.addAttribute("siteInfo", siteVO);
|
|
| 156 |
+ model.addAttribute("LytFileStoreWebPathByWebFile", propertyService.getString("publish.tmplat.lyt.fileStoreWebPathByWebFile"));
|
|
| 157 |
+ vo.setSiteId(siteVO.getSiteId()); |
|
| 158 |
+ vo.setSysTyCode(siteVO.getSysTyCode()); |
|
| 159 |
+ |
|
| 160 |
+ BoardMasterVO master = bbsAttrbService.selectBBSMasterInf(vo); |
|
| 161 |
+ |
|
| 162 |
+ if(master != null && !EgovStringUtil.isEmpty(boardVO.getTrgetId())) {
|
|
| 163 |
+ |
|
| 164 |
+ // 페이징 정보 설정 |
|
| 165 |
+ boardVO.setPageUnit(propertyService.getInt("pageUnit"));
|
|
| 166 |
+ boardVO.setPageSize(propertyService.getInt("pageSize"));
|
|
| 167 |
+ boardVO.setCtgrymasterId(master.getCtgrymasterId()); |
|
| 168 |
+ |
|
| 169 |
+ if("BBSA02".equals(master.getBbsAttrbCode())) {
|
|
| 170 |
+ // 페이징 정보 설정 |
|
| 171 |
+ boardVO.setPageUnit(propertyService.getInt("photoPageUnit"));
|
|
| 172 |
+ boardVO.setPageSize(propertyService.getInt("photoPageSize"));
|
|
| 173 |
+ |
|
| 174 |
+ } else {
|
|
| 175 |
+ //공지게시물 가져오기 |
|
| 176 |
+ BoardVO noticeVO = new BoardVO(); |
|
| 177 |
+ noticeVO.setBbsId(boardVO.getBbsId()); |
|
| 178 |
+ noticeVO.setCommentUseAt(master.getCommentUseAt()); |
|
| 179 |
+ noticeVO.setSearchNoticeAt("Y");
|
|
| 180 |
+ noticeVO.setFirstIndex(0); |
|
| 181 |
+ noticeVO.setRecordCountPerPage(9999); |
|
| 182 |
+ |
|
| 183 |
+ model.addAttribute("noticeList", bbsMngService.selectBoardArticles(noticeVO));
|
|
| 184 |
+ } |
|
| 185 |
+ |
|
| 186 |
+ paginationInfo.setCurrentPageNo(boardVO.getPageIndex()); |
|
| 187 |
+ paginationInfo.setRecordCountPerPage(boardVO.getPageUnit()); |
|
| 188 |
+ paginationInfo.setPageSize(boardVO.getPageSize()); |
|
| 189 |
+ |
|
| 190 |
+ boardVO.setFirstIndex(paginationInfo.getFirstRecordIndex()); |
|
| 191 |
+ boardVO.setLastIndex(paginationInfo.getLastRecordIndex()); |
|
| 192 |
+ boardVO.setRecordCountPerPage(paginationInfo.getRecordCountPerPage()); |
|
| 193 |
+ |
|
| 194 |
+ boardVO.setCommentUseAt(master.getCommentUseAt()); |
|
| 195 |
+ boardVO.setBbsAttrbCode(master.getBbsAttrbCode()); |
|
| 196 |
+ |
|
| 197 |
+ List<BoardVO> resultList = bbsMngService.selectBoardArticles(boardVO); |
|
| 198 |
+ int totCnt = bbsMngService.selectBoardArticlesCnt(boardVO); |
|
| 199 |
+ |
|
| 200 |
+ paginationInfo.setTotalRecordCount(totCnt); |
|
| 201 |
+ |
|
| 202 |
+ if(!EgovStringUtil.isEmpty(master.getCtgrymasterId())) {
|
|
| 203 |
+ Ctgry ctgry = new Ctgry(); |
|
| 204 |
+ ctgry.setCtgrymasterId(master.getCtgrymasterId()); |
|
| 205 |
+ model.addAttribute("boardCateList", ctgryService.selectComtnbbsctgryList(ctgry));
|
|
| 206 |
+ model.addAttribute("boardCateLevel", ctgryService.selectComtnbbsctgryLevel(ctgry));
|
|
| 207 |
+ } |
|
| 208 |
+ |
|
| 209 |
+ |
|
| 210 |
+ |
|
| 211 |
+ model.addAttribute("resultList", resultList);
|
|
| 212 |
+ model.addAttribute("resultCnt", totCnt);
|
|
| 213 |
+ model.addAttribute("brdMstrVO", master);
|
|
| 214 |
+ |
|
| 215 |
+ LoginVO user = EgovUserDetailsHelper.getAuthenticatedUser(request, response); |
|
| 216 |
+ if(user != null) {
|
|
| 217 |
+ CommunityUser cmmntyUser = new CommunityUser(); |
|
| 218 |
+ cmmntyUser.setSiteId(siteVO.getSiteId()); |
|
| 219 |
+ cmmntyUser.setEmplyrId(user.getId()); |
|
| 220 |
+ cmmntyUser.setCmmntyId(boardVO.getTrgetId()); |
|
| 221 |
+ model.addAttribute("USER_INFO", cmmntyService.selectSingleCommunityUserInf(cmmntyUser)); //사용자 정보
|
|
| 222 |
+ } |
|
| 223 |
+ } |
|
| 224 |
+ |
|
| 225 |
+ model.addAttribute("paginationInfo", paginationInfo);
|
|
| 226 |
+ |
|
| 227 |
+ |
|
| 228 |
+ return "cop/cmy/bbs/cmy_001/EgovNoticeList"; |
|
| 229 |
+ } |
|
| 230 |
+ |
|
| 231 |
+ /** |
|
| 232 |
+ * 게시물에 대한 상세 정보를 조회한다. |
|
| 233 |
+ * |
|
| 234 |
+ * @param boardVO |
|
| 235 |
+ * @param sessionVO |
|
| 236 |
+ * @param model |
|
| 237 |
+ * @return |
|
| 238 |
+ * @throws Exception |
|
| 239 |
+ */ |
|
| 240 |
+ @RequestMapping(value = "/cop/cmy/bbs/selectBoardArticle.do") |
|
| 241 |
+ public String selectBoardArticle(@ModelAttribute("searchVO") BoardVO boardVO, ModelMap model, HttpServletRequest request, HttpServletResponse response) throws Exception {
|
|
| 242 |
+ |
|
| 243 |
+ BoardMasterVO vo = new BoardMasterVO(); |
|
| 244 |
+ vo.setBbsId(boardVO.getBbsId()); |
|
| 245 |
+ vo.setTrgetId(boardVO.getTrgetId()); |
|
| 246 |
+ |
|
| 247 |
+ SiteManageVO siteVO = siteManageService.selectSiteServiceInfo(request); |
|
| 248 |
+ model.addAttribute("siteInfo", siteVO);
|
|
| 249 |
+ model.addAttribute("LytFileStoreWebPathByWebFile", propertyService.getString("publish.tmplat.lyt.fileStoreWebPathByWebFile"));
|
|
| 250 |
+ vo.setSiteId(siteVO.getSiteId()); |
|
| 251 |
+ vo.setSysTyCode(siteVO.getSysTyCode()); |
|
| 252 |
+ |
|
| 253 |
+ BoardMasterVO master = bbsAttrbService.selectBBSMasterInf(vo); |
|
| 254 |
+ |
|
| 255 |
+ if(master != null && !EgovStringUtil.isEmpty(boardVO.getTrgetId())) {
|
|
| 256 |
+ |
|
| 257 |
+ model.addAttribute("brdMstrVO", master);
|
|
| 258 |
+ CommunityUser resultInfo = null; |
|
| 259 |
+ int SE_CODE = 1; |
|
| 260 |
+ |
|
| 261 |
+ LoginVO user = EgovUserDetailsHelper.getAuthenticatedUser(request, response); |
|
| 262 |
+ if(user != null) {
|
|
| 263 |
+ CommunityUser cmmntyUser = new CommunityUser(); |
|
| 264 |
+ cmmntyUser.setSiteId(siteVO.getSiteId()); |
|
| 265 |
+ cmmntyUser.setEmplyrId(user.getId()); |
|
| 266 |
+ cmmntyUser.setCmmntyId(boardVO.getTrgetId()); |
|
| 267 |
+ resultInfo = cmmntyService.selectSingleCommunityUserInf(cmmntyUser); |
|
| 268 |
+ if(resultInfo != null) {
|
|
| 269 |
+ model.addAttribute("USER_INFO", resultInfo); //사용자 정보
|
|
| 270 |
+ SE_CODE = Integer.parseInt(resultInfo.getAuthorCode()); |
|
| 271 |
+ } |
|
| 272 |
+ boardVO.setFrstRegisterId(user.getId()); |
|
| 273 |
+ } |
|
| 274 |
+ |
|
| 275 |
+ if(SE_CODE >= Integer.parseInt(master.getInqireAuthor())){
|
|
| 276 |
+ if(SE_CODE >= 10) {
|
|
| 277 |
+ boardVO.setAdminAt("Y");
|
|
| 278 |
+ } |
|
| 279 |
+ // 조회수 증가 여부 지정 |
|
| 280 |
+ boardVO.setPlusCount(true); |
|
| 281 |
+ boardVO.setCtgrymasterId(master.getCtgrymasterId()); |
|
| 282 |
+ model.addAttribute("board", bbsMngService.selectBoardArticle(boardVO));
|
|
| 283 |
+ |
|
| 284 |
+ return "cop/cmy/bbs/cmy_001/EgovNoticeInqire"; |
|
| 285 |
+ } else {
|
|
| 286 |
+ model.addAttribute("message", egovMessageSource.getMessage("fail.common.select"));
|
|
| 287 |
+ return "forward:/cop/cmy/bbs/selectBoardList.do"; |
|
| 288 |
+ } |
|
| 289 |
+ |
|
| 290 |
+ } |
|
| 291 |
+ |
|
| 292 |
+ model.addAttribute("message", egovMessageSource.getMessage("fail.auth.access"));
|
|
| 293 |
+ return "forward:/cop/cmy/bbs/selectBoardList.do"; |
|
| 294 |
+ } |
|
| 295 |
+ |
|
| 296 |
+ /** |
|
| 297 |
+ * 게시물 등록을 위한 등록페이지로 이동한다. |
|
| 298 |
+ * |
|
| 299 |
+ * @param boardVO |
|
| 300 |
+ * @param sessionVO |
|
| 301 |
+ * @param model |
|
| 302 |
+ * @return |
|
| 303 |
+ * @throws Exception |
|
| 304 |
+ */ |
|
| 305 |
+ @RequestMapping(value = "/cop/cmy/bbs/addBoardArticle.do") |
|
| 306 |
+ public String addBoardArticle(@ModelAttribute("searchVO") BoardVO boardVO, ModelMap model, HttpServletRequest request, HttpServletResponse response) throws Exception {
|
|
| 307 |
+ |
|
| 308 |
+ if(!EgovUserDetailsHelper.isAuthenticated(request, response)) {
|
|
| 309 |
+ return "redirect:" + EgovUserDetailsHelper.getRedirectLoginUrl(); |
|
| 310 |
+ } |
|
| 311 |
+ |
|
| 312 |
+ BoardMasterVO vo = new BoardMasterVO(); |
|
| 313 |
+ vo.setBbsId(boardVO.getBbsId()); |
|
| 314 |
+ vo.setTrgetId(boardVO.getTrgetId()); |
|
| 315 |
+ |
|
| 316 |
+ SiteManageVO siteVO = siteManageService.selectSiteServiceInfo(request); |
|
| 317 |
+ model.addAttribute("siteInfo", siteVO);
|
|
| 318 |
+ model.addAttribute("LytFileStoreWebPathByWebFile", propertyService.getString("publish.tmplat.lyt.fileStoreWebPathByWebFile"));
|
|
| 319 |
+ vo.setSiteId(siteVO.getSiteId()); |
|
| 320 |
+ vo.setSysTyCode(siteVO.getSysTyCode()); |
|
| 321 |
+ |
|
| 322 |
+ BoardMasterVO master = bbsAttrbService.selectBBSMasterInf(vo); |
|
| 323 |
+ |
|
| 324 |
+ if(master != null && !EgovStringUtil.isEmpty(boardVO.getTrgetId())) {
|
|
| 325 |
+ if(!EgovStringUtil.isEmpty(master.getCtgrymasterId())) {
|
|
| 326 |
+ Ctgry ctgry = new Ctgry(); |
|
| 327 |
+ ctgry.setCtgrymasterId(master.getCtgrymasterId()); |
|
| 328 |
+ model.addAttribute("boardCateList", ctgryService.selectComtnbbsctgryList(ctgry));
|
|
| 329 |
+ |
|
| 330 |
+ model.addAttribute("boardCateLevel", ctgryService.selectComtnbbsctgryLevel(ctgry));
|
|
| 331 |
+ } |
|
| 332 |
+ |
|
| 333 |
+ model.addAttribute("brdMstrVO", master);
|
|
| 334 |
+ |
|
| 335 |
+ Board board = new Board(); |
|
| 336 |
+ model.addAttribute("board", board);
|
|
| 337 |
+ |
|
| 338 |
+ request.getSession().setAttribute("sessionVO", boardVO);
|
|
| 339 |
+ CommunityUser resultInfo = null; |
|
| 340 |
+ int SE_CODE = 1; |
|
| 341 |
+ |
|
| 342 |
+ LoginVO user = EgovUserDetailsHelper.getAuthenticatedUser(request, response); |
|
| 343 |
+ if(user != null) {
|
|
| 344 |
+ CommunityUser cmmntyUser = new CommunityUser(); |
|
| 345 |
+ cmmntyUser.setSiteId(siteVO.getSiteId()); |
|
| 346 |
+ cmmntyUser.setEmplyrId(user.getId()); |
|
| 347 |
+ cmmntyUser.setCmmntyId(boardVO.getTrgetId()); |
|
| 348 |
+ resultInfo = cmmntyService.selectSingleCommunityUserInf(cmmntyUser); |
|
| 349 |
+ if(resultInfo != null) {
|
|
| 350 |
+ model.addAttribute("USER_INFO", resultInfo); //사용자 정보
|
|
| 351 |
+ SE_CODE = Integer.parseInt(resultInfo.getAuthorCode()); |
|
| 352 |
+ } |
|
| 353 |
+ } |
|
| 354 |
+ |
|
| 355 |
+ if(SE_CODE >= Integer.parseInt(master.getRegistAuthor())){
|
|
| 356 |
+ return "cop/cmy/bbs/cmy_001/EgovNoticeRegist"; |
|
| 357 |
+ } else {
|
|
| 358 |
+ model.addAttribute("message", egovMessageSource.getMessage("fail.auth.regist"));
|
|
| 359 |
+ return "forward:/cop/cmy/bbs/selectBoardList.do"; |
|
| 360 |
+ } |
|
| 361 |
+ } |
|
| 362 |
+ |
|
| 363 |
+ model.addAttribute("message", egovMessageSource.getMessage("fail.auth.access"));
|
|
| 364 |
+ return "forward:/cop/cmy/bbs/selectBoardList.do"; |
|
| 365 |
+ } |
|
| 366 |
+ |
|
| 367 |
+ /** |
|
| 368 |
+ * 게시물을 등록한다. |
|
| 369 |
+ * |
|
| 370 |
+ * @param boardVO |
|
| 371 |
+ * @param board |
|
| 372 |
+ * @param sessionVO |
|
| 373 |
+ * @param model |
|
| 374 |
+ * @return |
|
| 375 |
+ * @throws Exception |
|
| 376 |
+ */ |
|
| 377 |
+ @SuppressWarnings("unchecked")
|
|
| 378 |
+ @RequestMapping(value = "/cop/cmy/bbs/insertBoardArticle.do") |
|
| 379 |
+ public String insertBoardArticle(final MultipartHttpServletRequest multiRequest, @ModelAttribute("searchVO") BoardVO boardVO,
|
|
| 380 |
+ Board board, BindingResult bindingResult, |
|
| 381 |
+ HttpServletRequest request, HttpServletResponse response, ModelMap model) throws Exception {
|
|
| 382 |
+ |
|
| 383 |
+ if(request.getSession().getAttribute("sessionVO") == null) {
|
|
| 384 |
+ return "forward:/cop/cmy/bbs/selectBoardList.do"; |
|
| 385 |
+ } |
|
| 386 |
+ |
|
| 387 |
+ LoginVO user = EgovUserDetailsHelper.getAuthenticatedUser(request, response); |
|
| 388 |
+ |
|
| 389 |
+ beanValidator.validate(board, bindingResult); |
|
| 390 |
+ |
|
| 391 |
+ BoardMasterVO vo = new BoardMasterVO(); |
|
| 392 |
+ vo.setBbsId(boardVO.getBbsId()); |
|
| 393 |
+ vo.setTrgetId(boardVO.getTrgetId()); |
|
| 394 |
+ |
|
| 395 |
+ SiteManageVO siteVO = siteManageService.selectSiteServiceInfo(request); |
|
| 396 |
+ vo.setSiteId(siteVO.getSiteId()); |
|
| 397 |
+ vo.setSysTyCode(siteVO.getSysTyCode()); |
|
| 398 |
+ |
|
| 399 |
+ BoardMasterVO master = bbsAttrbService.selectBBSMasterInf(vo); |
|
| 400 |
+ |
|
| 401 |
+ int SE_CODE = 1; |
|
| 402 |
+ CommunityUser cmmntyUser = new CommunityUser(); |
|
| 403 |
+ cmmntyUser.setSiteId(siteVO.getSiteId()); |
|
| 404 |
+ cmmntyUser.setEmplyrId(user.getId()); |
|
| 405 |
+ cmmntyUser.setCmmntyId(boardVO.getTrgetId()); |
|
| 406 |
+ cmmntyUser = cmmntyService.selectSingleCommunityUserInf(cmmntyUser); |
|
| 407 |
+ if(cmmntyUser != null) {
|
|
| 408 |
+ model.addAttribute("USER_INFO", cmmntyUser); //사용자 정보
|
|
| 409 |
+ SE_CODE = Integer.parseInt(cmmntyUser.getAuthorCode()); |
|
| 410 |
+ } |
|
| 411 |
+ |
|
| 412 |
+ if(bindingResult.hasErrors()) {
|
|
| 413 |
+ |
|
| 414 |
+ if(master != null && !EgovStringUtil.isEmpty(boardVO.getTrgetId())) {
|
|
| 415 |
+ if(!EgovStringUtil.isEmpty(master.getCtgrymasterId())) {
|
|
| 416 |
+ Ctgry ctgry = new Ctgry(); |
|
| 417 |
+ ctgry.setCtgrymasterId(master.getCtgrymasterId()); |
|
| 418 |
+ model.addAttribute("boardCateList", ctgryService.selectComtnbbsctgryList(ctgry));
|
|
| 419 |
+ |
|
| 420 |
+ model.addAttribute("boardCateLevel", ctgryService.selectComtnbbsctgryLevel(ctgry));
|
|
| 421 |
+ } |
|
| 422 |
+ |
|
| 423 |
+ model.addAttribute("brdMstrVO", master);
|
|
| 424 |
+ model.addAttribute("siteInfo", siteVO);
|
|
| 425 |
+ model.addAttribute("LytFileStoreWebPathByWebFile", propertyService.getString("publish.tmplat.lyt.fileStoreWebPathByWebFile"));
|
|
| 426 |
+ } |
|
| 427 |
+ |
|
| 428 |
+ return "cop/cmy/bbs/cmy_001/EgovNoticeRegist"; |
|
| 429 |
+ } |
|
| 430 |
+ |
|
| 431 |
+ if(master != null && !EgovStringUtil.isEmpty(boardVO.getTrgetId())) {
|
|
| 432 |
+ |
|
| 433 |
+ if(SE_CODE >= Integer.parseInt(master.getRegistAuthor())) {
|
|
| 434 |
+ String atchFileId = ""; |
|
| 435 |
+ |
|
| 436 |
+ List<FileVO> result = null; |
|
| 437 |
+ |
|
| 438 |
+ final Map<String, MultipartFile> files = multiRequest.getFileMap(); |
|
| 439 |
+ if(!files.isEmpty()) {
|
|
| 440 |
+ result = fileUtil.parseBoardFileInf(Long.parseLong(master.getPosblAtchFileSize()) * 1024 * 1024, files, 0, "", siteManageService.selectSiteServiceInfo(request).getSiteId(), boardVO.getBbsId(),"",""); |
|
| 441 |
+ atchFileId = fileMngService.insertFileInfs(result); |
|
| 442 |
+ } |
|
| 443 |
+ |
|
| 444 |
+ boardVO.setAtchFileId(atchFileId); |
|
| 445 |
+ boardVO.setFrstRegisterId(user.getId()); |
|
| 446 |
+ boardVO.setNtcrNm(user.getName()); |
|
| 447 |
+ boardVO.setNttCn(unscript(boardVO.getNttCn())); // XSS 방지 |
|
| 448 |
+ boardVO.setCreatIp(EgovClntInfo.getClntIP(request)); |
|
| 449 |
+ boardVO.setEstnData(EgovHttpUtil.getEstnParseData(request)); |
|
| 450 |
+ |
|
| 451 |
+ bbsMngService.insertBoardArticle(boardVO, master); |
|
| 452 |
+ } |
|
| 453 |
+ } |
|
| 454 |
+ |
|
| 455 |
+ request.getSession().removeAttribute("sessionVO");
|
|
| 456 |
+ |
|
| 457 |
+ return "forward:/cop/cmy/bbs/selectBoardList.do"; |
|
| 458 |
+ } |
|
| 459 |
+ |
|
| 460 |
+ /** |
|
| 461 |
+ * 게시물에 대한 답변 등록을 위한 등록페이지로 이동한다. |
|
| 462 |
+ * |
|
| 463 |
+ * @param boardVO |
|
| 464 |
+ * @param sessionVO |
|
| 465 |
+ * @param model |
|
| 466 |
+ * @return |
|
| 467 |
+ * @throws Exception |
|
| 468 |
+ */ |
|
| 469 |
+ @RequestMapping(value = "/cop/cmy/bbs/addReplyBoardArticle.do") |
|
| 470 |
+ public String addReplyBoardArticle(@ModelAttribute("searchVO") BoardVO boardVO, ModelMap model, HttpServletRequest request, HttpServletResponse response) throws Exception {
|
|
| 471 |
+ |
|
| 472 |
+ if(!EgovUserDetailsHelper.isAuthenticated(request, response)) {
|
|
| 473 |
+ return "redirect:" + EgovUserDetailsHelper.getRedirectLoginUrl(); |
|
| 474 |
+ } |
|
| 475 |
+ |
|
| 476 |
+ BoardMasterVO vo = new BoardMasterVO(); |
|
| 477 |
+ vo.setBbsId(boardVO.getBbsId()); |
|
| 478 |
+ vo.setTrgetId(boardVO.getTrgetId()); |
|
| 479 |
+ |
|
| 480 |
+ SiteManageVO siteVO = siteManageService.selectSiteServiceInfo(request); |
|
| 481 |
+ model.addAttribute("siteInfo", siteVO);
|
|
| 482 |
+ model.addAttribute("LytFileStoreWebPathByWebFile", propertyService.getString("publish.tmplat.lyt.fileStoreWebPathByWebFile"));
|
|
| 483 |
+ vo.setSiteId(siteVO.getSiteId()); |
|
| 484 |
+ vo.setSysTyCode(siteVO.getSysTyCode()); |
|
| 485 |
+ |
|
| 486 |
+ BoardMasterVO master = bbsAttrbService.selectBBSMasterInf(vo); |
|
| 487 |
+ |
|
| 488 |
+ if(master != null && !EgovStringUtil.isEmpty(boardVO.getTrgetId())) {
|
|
| 489 |
+ |
|
| 490 |
+ CommunityUser resultInfo = null; |
|
| 491 |
+ int SE_CODE = 1; |
|
| 492 |
+ |
|
| 493 |
+ LoginVO user = EgovUserDetailsHelper.getAuthenticatedUser(request, response); |
|
| 494 |
+ if(user != null) {
|
|
| 495 |
+ CommunityUser cmmntyUser = new CommunityUser(); |
|
| 496 |
+ cmmntyUser.setSiteId(siteVO.getSiteId()); |
|
| 497 |
+ cmmntyUser.setEmplyrId(user.getId()); |
|
| 498 |
+ cmmntyUser.setCmmntyId(boardVO.getTrgetId()); |
|
| 499 |
+ resultInfo = cmmntyService.selectSingleCommunityUserInf(cmmntyUser); |
|
| 500 |
+ if(resultInfo != null) {
|
|
| 501 |
+ model.addAttribute("USER_INFO", resultInfo); //사용자 정보
|
|
| 502 |
+ SE_CODE = Integer.parseInt(resultInfo.getAuthorCode()); |
|
| 503 |
+ } |
|
| 504 |
+ } |
|
| 505 |
+ |
|
| 506 |
+ if(SE_CODE >= Integer.parseInt(master.getAnswerAuthor())){
|
|
| 507 |
+ model.addAttribute("brdMstrVO", master);
|
|
| 508 |
+ |
|
| 509 |
+ BoardVO selectVO = new BoardVO(); |
|
| 510 |
+ selectVO.setBbsId(master.getBbsId()); |
|
| 511 |
+ selectVO.setNttNo(boardVO.getNttNo()); |
|
| 512 |
+ selectVO.setAdminAt("Y");
|
|
| 513 |
+ |
|
| 514 |
+ selectVO = bbsMngService.selectBoardArticle(selectVO); |
|
| 515 |
+ |
|
| 516 |
+ Board board = new Board(); |
|
| 517 |
+ board.setCtgryId(selectVO.getCtgryId()); |
|
| 518 |
+ //board.setOrdrCode(selectVO.getOrdrCode()); |
|
| 519 |
+ //board.setOrdrCodeDp(BigDecimal.valueOf(selectVO.getOrdrCodeDp().longValue() + 1)); |
|
| 520 |
+ |
|
| 521 |
+ if("BBSA11".equals(master.getBbsAttrbCode())) {
|
|
| 522 |
+ |
|
| 523 |
+ board.setNttNo(selectVO.getNttNo()); |
|
| 524 |
+ board.setNttSj(selectVO.getNttSj()); |
|
| 525 |
+ if(!EgovStringUtil.isEmpty(selectVO.getEstnData())) {
|
|
| 526 |
+ board.setNttCn(selectVO.getEstnParseData().getString("cn"));
|
|
| 527 |
+ } |
|
| 528 |
+ board.setAtchFileId(selectVO.getEstnAtchFileId()); |
|
| 529 |
+ board.setProcessSttusCode(selectVO.getProcessSttusCode()); |
|
| 530 |
+ |
|
| 531 |
+ CmmnDetailCodeVO codeVO = new CmmnDetailCodeVO(); |
|
| 532 |
+ codeVO.setCodeId("COM108");
|
|
| 533 |
+ model.addAttribute("qaCodeList", cmmUseService.selectCmmCodeDetail(codeVO));
|
|
| 534 |
+ } |
|
| 535 |
+ |
|
| 536 |
+ model.addAttribute("board", board);
|
|
| 537 |
+ |
|
| 538 |
+ request.getSession().setAttribute("sessionVO", boardVO);
|
|
| 539 |
+ |
|
| 540 |
+ return "cop/cmy/bbs/cmy_001/EgovNoticeRegist"; |
|
| 541 |
+ |
|
| 542 |
+ } else {
|
|
| 543 |
+ model.addAttribute("message", egovMessageSource.getMessage("fail.auth.regist"));
|
|
| 544 |
+ return "forward:/cop/cmy/bbs/selectBoardList.do"; |
|
| 545 |
+ } |
|
| 546 |
+ } |
|
| 547 |
+ |
|
| 548 |
+ model.addAttribute("message", egovMessageSource.getMessage("fail.auth.access"));
|
|
| 549 |
+ return "forward:/cop/cmy/bbs/selectBoardList.do"; |
|
| 550 |
+ } |
|
| 551 |
+ |
|
| 552 |
+ /** |
|
| 553 |
+ * 게시물에 대한 답변을 등록한다. |
|
| 554 |
+ * |
|
| 555 |
+ * @param boardVO |
|
| 556 |
+ * @param board |
|
| 557 |
+ * @param sessionVO |
|
| 558 |
+ * @param model |
|
| 559 |
+ * @return |
|
| 560 |
+ * @throws Exception |
|
| 561 |
+ */ |
|
| 562 |
+ @SuppressWarnings("unchecked")
|
|
| 563 |
+ @RequestMapping(value = "/cop/cmy/bbs/replyBoardArticle.do") |
|
| 564 |
+ public String replyBoardArticle(final MultipartHttpServletRequest multiRequest, @ModelAttribute("searchVO") BoardVO boardVO,
|
|
| 565 |
+ Board board, BindingResult bindingResult, |
|
| 566 |
+ ModelMap model, HttpServletRequest request, HttpServletResponse response) throws Exception {
|
|
| 567 |
+ |
|
| 568 |
+ |
|
| 569 |
+ if(request.getSession().getAttribute("sessionVO") == null) {
|
|
| 570 |
+ return "forward:/cop/cmy/bbs/selectBoardList.do"; |
|
| 571 |
+ } |
|
| 572 |
+ |
|
| 573 |
+ LoginVO user = EgovUserDetailsHelper.getAuthenticatedUser(request, response); |
|
| 574 |
+ |
|
| 575 |
+ beanValidator.validate(board, bindingResult); |
|
| 576 |
+ |
|
| 577 |
+ BoardMasterVO vo = new BoardMasterVO(); |
|
| 578 |
+ vo.setBbsId(boardVO.getBbsId()); |
|
| 579 |
+ vo.setTrgetId(boardVO.getTrgetId()); |
|
| 580 |
+ |
|
| 581 |
+ SiteManageVO siteVO = siteManageService.selectSiteServiceInfo(request); |
|
| 582 |
+ vo.setSiteId(siteVO.getSiteId()); |
|
| 583 |
+ vo.setSysTyCode(siteVO.getSysTyCode()); |
|
| 584 |
+ |
|
| 585 |
+ BoardMasterVO master = bbsAttrbService.selectBBSMasterInf(vo); |
|
| 586 |
+ |
|
| 587 |
+ int SE_CODE = 1; |
|
| 588 |
+ CommunityUser cmmntyUser = new CommunityUser(); |
|
| 589 |
+ cmmntyUser.setSiteId(siteVO.getSiteId()); |
|
| 590 |
+ cmmntyUser.setEmplyrId(user.getId()); |
|
| 591 |
+ cmmntyUser.setCmmntyId(boardVO.getTrgetId()); |
|
| 592 |
+ cmmntyUser = cmmntyService.selectSingleCommunityUserInf(cmmntyUser); |
|
| 593 |
+ if(cmmntyUser != null) {
|
|
| 594 |
+ model.addAttribute("USER_INFO", cmmntyUser); //사용자 정보
|
|
| 595 |
+ SE_CODE = Integer.parseInt(cmmntyUser.getAuthorCode()); |
|
| 596 |
+ } |
|
| 597 |
+ |
|
| 598 |
+ if(bindingResult.hasErrors()) {
|
|
| 599 |
+ |
|
| 600 |
+ if(master != null && !EgovStringUtil.isEmpty(boardVO.getTrgetId())) {
|
|
| 601 |
+ |
|
| 602 |
+ model.addAttribute("brdMstrVO", master);
|
|
| 603 |
+ |
|
| 604 |
+ if("BBSA11".equals(master.getBbsAttrbCode())) {
|
|
| 605 |
+ CmmnDetailCodeVO codeVO = new CmmnDetailCodeVO(); |
|
| 606 |
+ codeVO.setCodeId("COM108");
|
|
| 607 |
+ model.addAttribute("qaCodeList", cmmUseService.selectCmmCodeDetail(codeVO));
|
|
| 608 |
+ } |
|
| 609 |
+ } |
|
| 610 |
+ |
|
| 611 |
+ model.addAttribute("siteInfo", siteVO);
|
|
| 612 |
+ model.addAttribute("LytFileStoreWebPathByWebFile", propertyService.getString("publish.tmplat.lyt.fileStoreWebPathByWebFile"));
|
|
| 613 |
+ |
|
| 614 |
+ return "cop/cmy/bbs/cmy_001/EgovNoticeRegist"; |
|
| 615 |
+ } |
|
| 616 |
+ |
|
| 617 |
+ if(master != null && !EgovStringUtil.isEmpty(boardVO.getTrgetId())) {
|
|
| 618 |
+ |
|
| 619 |
+ if(SE_CODE >= Integer.parseInt(master.getAnswerAuthor())) {
|
|
| 620 |
+ if(SE_CODE >= 10) {
|
|
| 621 |
+ boardVO.setAdminAt("Y");
|
|
| 622 |
+ } |
|
| 623 |
+ |
|
| 624 |
+ String atchFileId = boardVO.getAtchFileId();; |
|
| 625 |
+ |
|
| 626 |
+ final Map<String, MultipartFile> files = multiRequest.getFileMap(); |
|
| 627 |
+ |
|
| 628 |
+ |
|
| 629 |
+ if("BBSA11".equals(master.getBbsAttrbCode())) {
|
|
| 630 |
+ if(!files.isEmpty()) {
|
|
| 631 |
+ if(EgovStringUtil.isEmpty(atchFileId)) {
|
|
| 632 |
+ List<FileVO> result = fileUtil.parseBoardFileInf(Long.parseLong(master.getPosblAtchFileSize()) * 1024 * 1024, files, 0, atchFileId, siteManageService.selectSiteServiceInfo(request).getSiteId(), boardVO.getBbsId(),"",""); |
|
| 633 |
+ atchFileId = fileMngService.insertFileInfs(result); |
|
| 634 |
+ } else {
|
|
| 635 |
+ FileVO fvo = new FileVO(); |
|
| 636 |
+ fvo.setAtchFileId(atchFileId); |
|
| 637 |
+ int cnt = fileMngService.getMaxFileSN(fvo); |
|
| 638 |
+ List<FileVO> _result = fileUtil.parseBoardFileInf(Long.parseLong(master.getPosblAtchFileSize()) * 1024 * 1024, files, cnt, atchFileId, siteManageService.selectSiteServiceInfo(request).getSiteId(), boardVO.getBbsId(),"",""); |
|
| 639 |
+ fileMngService.updateFileInfs(_result); |
|
| 640 |
+ } |
|
| 641 |
+ boardVO.setEstnAtchFileId(atchFileId); |
|
| 642 |
+ } |
|
| 643 |
+ |
|
| 644 |
+ boardVO.setLastAnswrrId(user.getId()); |
|
| 645 |
+ boardVO.setLastAnswrrNm(user.getName()); |
|
| 646 |
+ |
|
| 647 |
+ JSONObject jObj = new JSONObject(); |
|
| 648 |
+ jObj.put("cn", boardVO.getNttCn());
|
|
| 649 |
+ boardVO.setEstnData(jObj.toString()); |
|
| 650 |
+ |
|
| 651 |
+ bbsMngService.updateBoardArticle(boardVO, master, true); |
|
| 652 |
+ } else {
|
|
| 653 |
+ if(!files.isEmpty()) {
|
|
| 654 |
+ List<FileVO> result = fileUtil.parseBoardFileInf(Long.parseLong(master.getPosblAtchFileSize()) * 1024 * 1024, files, 0, "", siteManageService.selectSiteServiceInfo(request).getSiteId(), boardVO.getBbsId(),"",""); |
|
| 655 |
+ atchFileId = fileMngService.insertFileInfs(result); |
|
| 656 |
+ } |
|
| 657 |
+ |
|
| 658 |
+ boardVO.setAtchFileId(atchFileId); |
|
| 659 |
+ boardVO.setFrstRegisterId(user.getId()); |
|
| 660 |
+ boardVO.setNtcrNm(user.getName()); |
|
| 661 |
+ boardVO.setNttCn(unscript(boardVO.getNttCn())); // XSS 방지 |
|
| 662 |
+ boardVO.setCreatIp(EgovClntInfo.getClntIP(request)); |
|
| 663 |
+ |
|
| 664 |
+ boardVO.setEstnData(EgovHttpUtil.getEstnParseData(request)); |
|
| 665 |
+ bbsMngService.replyBoardArticle(boardVO, master); |
|
| 666 |
+ } |
|
| 667 |
+ } |
|
| 668 |
+ } |
|
| 669 |
+ |
|
| 670 |
+ request.getSession().removeAttribute("sessionVO");
|
|
| 671 |
+ |
|
| 672 |
+ return "forward:/cop/cmy/bbs/selectBoardList.do"; |
|
| 673 |
+ } |
|
| 674 |
+ |
|
| 675 |
+ /** |
|
| 676 |
+ * 게시물 수정을 위한 수정페이지로 이동한다. |
|
| 677 |
+ * |
|
| 678 |
+ * @param boardVO |
|
| 679 |
+ * @param vo |
|
| 680 |
+ * @param sessionVO |
|
| 681 |
+ * @param model |
|
| 682 |
+ * @return |
|
| 683 |
+ * @throws Exception |
|
| 684 |
+ */ |
|
| 685 |
+ @RequestMapping(value = "/cop/cmy/bbs/forUpdateBoardArticle.do") |
|
| 686 |
+ public String selectBoardArticleForUpdt(@ModelAttribute("searchVO") BoardVO boardVO, ModelMap model, HttpServletRequest request, HttpServletResponse response) throws Exception {
|
|
| 687 |
+ |
|
| 688 |
+ if(!EgovUserDetailsHelper.isAuthenticated(request, response)) {
|
|
| 689 |
+ return "redirect:" + EgovUserDetailsHelper.getRedirectLoginUrl(); |
|
| 690 |
+ } |
|
| 691 |
+ |
|
| 692 |
+ BoardMasterVO vo = new BoardMasterVO(); |
|
| 693 |
+ vo.setBbsId(boardVO.getBbsId()); |
|
| 694 |
+ vo.setTrgetId(boardVO.getTrgetId()); |
|
| 695 |
+ |
|
| 696 |
+ SiteManageVO siteVO = siteManageService.selectSiteServiceInfo(request); |
|
| 697 |
+ model.addAttribute("siteInfo", siteVO);
|
|
| 698 |
+ model.addAttribute("LytFileStoreWebPathByWebFile", propertyService.getString("publish.tmplat.lyt.fileStoreWebPathByWebFile"));
|
|
| 699 |
+ vo.setSiteId(siteVO.getSiteId()); |
|
| 700 |
+ vo.setSysTyCode(siteVO.getSysTyCode()); |
|
| 701 |
+ |
|
| 702 |
+ BoardMasterVO master = bbsAttrbService.selectBBSMasterInf(vo); |
|
| 703 |
+ |
|
| 704 |
+ if(master != null && !EgovStringUtil.isEmpty(boardVO.getTrgetId())) {
|
|
| 705 |
+ |
|
| 706 |
+ LoginVO user = EgovUserDetailsHelper.getAuthenticatedUser(request, response); |
|
| 707 |
+ boardVO.setFrstRegisterId(user.getId()); |
|
| 708 |
+ |
|
| 709 |
+ int SE_CODE = 1; |
|
| 710 |
+ CommunityUser cmmntyUser = new CommunityUser(); |
|
| 711 |
+ cmmntyUser.setSiteId(siteVO.getSiteId()); |
|
| 712 |
+ cmmntyUser.setEmplyrId(user.getId()); |
|
| 713 |
+ cmmntyUser.setCmmntyId(boardVO.getTrgetId()); |
|
| 714 |
+ cmmntyUser = cmmntyService.selectSingleCommunityUserInf(cmmntyUser); |
|
| 715 |
+ if(cmmntyUser != null) {
|
|
| 716 |
+ model.addAttribute("USER_INFO", cmmntyUser); //사용자 정보
|
|
| 717 |
+ SE_CODE = Integer.parseInt(cmmntyUser.getAuthorCode()); |
|
| 718 |
+ } |
|
| 719 |
+ |
|
| 720 |
+ boardVO.setFrstRegisterId(user.getId()); |
|
| 721 |
+ |
|
| 722 |
+ if(SE_CODE >= 10) {
|
|
| 723 |
+ boardVO.setAdminAt("Y");
|
|
| 724 |
+ } |
|
| 725 |
+ |
|
| 726 |
+ if(SE_CODE >= Integer.parseInt(master.getRegistAuthor())){
|
|
| 727 |
+ if(!EgovStringUtil.isEmpty(master.getCtgrymasterId())) {
|
|
| 728 |
+ Ctgry ctgry = new Ctgry(); |
|
| 729 |
+ ctgry.setCtgrymasterId(master.getCtgrymasterId()); |
|
| 730 |
+ model.addAttribute("boardCateList", ctgryService.selectComtnbbsctgryList(ctgry));
|
|
| 731 |
+ |
|
| 732 |
+ model.addAttribute("boardCateLevel", ctgryService.selectComtnbbsctgryLevel(ctgry));
|
|
| 733 |
+ } |
|
| 734 |
+ |
|
| 735 |
+ boardVO.setCtgrymasterId(master.getCtgrymasterId()); |
|
| 736 |
+ BoardVO dataVO = bbsMngService.selectBoardArticle(boardVO); |
|
| 737 |
+ |
|
| 738 |
+ model.addAttribute("brdMstrVO", master);
|
|
| 739 |
+ model.addAttribute("board", dataVO);
|
|
| 740 |
+ |
|
| 741 |
+ request.getSession().setAttribute("sessionVO", boardVO);
|
|
| 742 |
+ |
|
| 743 |
+ return "cop/cmy/bbs/cmy_001/EgovNoticeRegist"; |
|
| 744 |
+ } else {
|
|
| 745 |
+ model.addAttribute("message", egovMessageSource.getMessage("fail.auth.regist"));
|
|
| 746 |
+ return "forward:/cop/cmy/bbs/selectBoardList.do"; |
|
| 747 |
+ } |
|
| 748 |
+ |
|
| 749 |
+ } |
|
| 750 |
+ |
|
| 751 |
+ model.addAttribute("message", egovMessageSource.getMessage("fail.auth.access"));
|
|
| 752 |
+ return "forward:/cop/cmy/bbs/selectBoardList.do"; |
|
| 753 |
+ } |
|
| 754 |
+ |
|
| 755 |
+ /** |
|
| 756 |
+ * 게시물에 대한 내용을 수정한다. |
|
| 757 |
+ * |
|
| 758 |
+ * @param boardVO |
|
| 759 |
+ * @param board |
|
| 760 |
+ * @param sessionVO |
|
| 761 |
+ * @param model |
|
| 762 |
+ * @return |
|
| 763 |
+ * @throws Exception |
|
| 764 |
+ */ |
|
| 765 |
+ @SuppressWarnings("unchecked")
|
|
| 766 |
+ @RequestMapping(value = "/cop/cmy/bbs/updateBoardArticle.do") |
|
| 767 |
+ public String updateBoardArticle(final MultipartHttpServletRequest multiRequest, @ModelAttribute("searchVO") BoardVO boardVO,
|
|
| 768 |
+ BoardVO board, BindingResult bindingResult, |
|
| 769 |
+ ModelMap model, HttpServletRequest request, HttpServletResponse response) throws Exception {
|
|
| 770 |
+ |
|
| 771 |
+ if(request.getSession().getAttribute("sessionVO") == null) {
|
|
| 772 |
+ return "forward:/cop/cmy/bbs/selectBoardList.do"; |
|
| 773 |
+ } |
|
| 774 |
+ |
|
| 775 |
+ LoginVO user = EgovUserDetailsHelper.getAuthenticatedUser(request, response); |
|
| 776 |
+ String atchFileId = boardVO.getAtchFileId(); |
|
| 777 |
+ |
|
| 778 |
+ beanValidator.validate(board, bindingResult); |
|
| 779 |
+ |
|
| 780 |
+ BoardMasterVO vo = new BoardMasterVO(); |
|
| 781 |
+ vo.setBbsId(boardVO.getBbsId()); |
|
| 782 |
+ vo.setTrgetId(boardVO.getTrgetId()); |
|
| 783 |
+ |
|
| 784 |
+ SiteManageVO siteVO = siteManageService.selectSiteServiceInfo(request); |
|
| 785 |
+ vo.setSiteId(siteVO.getSiteId()); |
|
| 786 |
+ vo.setSysTyCode(siteVO.getSysTyCode()); |
|
| 787 |
+ |
|
| 788 |
+ BoardMasterVO master = bbsAttrbService.selectBBSMasterInf(vo); |
|
| 789 |
+ |
|
| 790 |
+ int SE_CODE = 1; |
|
| 791 |
+ CommunityUser cmmntyUser = new CommunityUser(); |
|
| 792 |
+ cmmntyUser.setSiteId(siteVO.getSiteId()); |
|
| 793 |
+ cmmntyUser.setEmplyrId(user.getId()); |
|
| 794 |
+ cmmntyUser.setCmmntyId(boardVO.getTrgetId()); |
|
| 795 |
+ cmmntyUser = cmmntyService.selectSingleCommunityUserInf(cmmntyUser); |
|
| 796 |
+ if(cmmntyUser != null) {
|
|
| 797 |
+ model.addAttribute("USER_INFO", cmmntyUser); //사용자 정보
|
|
| 798 |
+ SE_CODE = Integer.parseInt(cmmntyUser.getAuthorCode()); |
|
| 799 |
+ } |
|
| 800 |
+ |
|
| 801 |
+ if(bindingResult.hasErrors()) {
|
|
| 802 |
+ |
|
| 803 |
+ if(master != null && !EgovStringUtil.isEmpty(boardVO.getTrgetId())) {
|
|
| 804 |
+ if(!EgovStringUtil.isEmpty(master.getCtgrymasterId())) {
|
|
| 805 |
+ Ctgry ctgry = new Ctgry(); |
|
| 806 |
+ ctgry.setCtgrymasterId(master.getCtgrymasterId()); |
|
| 807 |
+ model.addAttribute("boardCateList", ctgryService.selectComtnbbsctgryList(ctgry));
|
|
| 808 |
+ |
|
| 809 |
+ model.addAttribute("boardCateLevel", ctgryService.selectComtnbbsctgryLevel(ctgry));
|
|
| 810 |
+ } |
|
| 811 |
+ |
|
| 812 |
+ boardVO.setCtgrymasterId(master.getCtgrymasterId()); |
|
| 813 |
+ BoardVO dataVO = bbsMngService.selectBoardArticle(boardVO); |
|
| 814 |
+ |
|
| 815 |
+ model.addAttribute("brdMstrVO", master);
|
|
| 816 |
+ model.addAttribute("board", dataVO);
|
|
| 817 |
+ } |
|
| 818 |
+ model.addAttribute("siteInfo", siteVO);
|
|
| 819 |
+ model.addAttribute("LytFileStoreWebPathByWebFile", propertyService.getString("publish.tmplat.lyt.fileStoreWebPathByWebFile"));
|
|
| 820 |
+ |
|
| 821 |
+ return "cop/cmy/bbs/cmy_001/EgovNoticeRegist"; |
|
| 822 |
+ } |
|
| 823 |
+ |
|
| 824 |
+ if(master != null && !EgovStringUtil.isEmpty(boardVO.getTrgetId())) {
|
|
| 825 |
+ |
|
| 826 |
+ if(SE_CODE >= Integer.parseInt(master.getRegistAuthor())) {
|
|
| 827 |
+ |
|
| 828 |
+ final Map<String, MultipartFile> files = multiRequest.getFileMap(); |
|
| 829 |
+ if(!files.isEmpty()) {
|
|
| 830 |
+ if(EgovStringUtil.isEmpty(atchFileId)) {
|
|
| 831 |
+ List<FileVO> result = fileUtil.parseBoardFileInf(Long.parseLong(master.getPosblAtchFileSize()) * 1024 * 1024, files, 0, atchFileId, siteManageService.selectSiteServiceInfo(request).getSiteId(), boardVO.getBbsId(),"",""); |
|
| 832 |
+ atchFileId = fileMngService.insertFileInfs(result); |
|
| 833 |
+ boardVO.setAtchFileId(atchFileId); |
|
| 834 |
+ } else {
|
|
| 835 |
+ FileVO fvo = new FileVO(); |
|
| 836 |
+ fvo.setAtchFileId(atchFileId); |
|
| 837 |
+ int cnt = fileMngService.getMaxFileSN(fvo); |
|
| 838 |
+ List<FileVO> _result = fileUtil.parseBoardFileInf(Long.parseLong(master.getPosblAtchFileSize()) * 1024 * 1024, files, cnt, atchFileId, siteManageService.selectSiteServiceInfo(request).getSiteId(), boardVO.getBbsId(),"",""); |
|
| 839 |
+ fileMngService.updateFileInfs(_result); |
|
| 840 |
+ } |
|
| 841 |
+ } |
|
| 842 |
+ |
|
| 843 |
+ if(!"".equals(atchFileId)) {
|
|
| 844 |
+ FileVO fvo = new FileVO(); |
|
| 845 |
+ fvo.setAtchFileId(atchFileId); |
|
| 846 |
+ List<FileVO> dbFiles = fileMngService.selectFileInfs(fvo); |
|
| 847 |
+ if(dbFiles == null || dbFiles.size() == 0) {
|
|
| 848 |
+ boardVO.setAtchFileId("");
|
|
| 849 |
+ boardVO.setFileGroupId("");
|
|
| 850 |
+ } |
|
| 851 |
+ } |
|
| 852 |
+ |
|
| 853 |
+ if(SE_CODE >= 10) {
|
|
| 854 |
+ boardVO.setAdminAt("Y");
|
|
| 855 |
+ } |
|
| 856 |
+ boardVO.setLastUpdusrId(user.getId()); |
|
| 857 |
+ boardVO.setNttCn(unscript(boardVO.getNttCn())); // XSS 방지 |
|
| 858 |
+ boardVO.setEstnData(EgovHttpUtil.getEstnParseData(request)); |
|
| 859 |
+ |
|
| 860 |
+ bbsMngService.updateBoardArticle(boardVO, master, false); |
|
| 861 |
+ } |
|
| 862 |
+ } |
|
| 863 |
+ |
|
| 864 |
+ request.getSession().removeAttribute("sessionVO");
|
|
| 865 |
+ |
|
| 866 |
+ return "forward:/cop/cmy/bbs/selectBoardList.do"; |
|
| 867 |
+ } |
|
| 868 |
+ |
|
| 869 |
+ /** |
|
| 870 |
+ * 게시물에 대한 내용을 삭제한다. |
|
| 871 |
+ * |
|
| 872 |
+ * @param boardVO |
|
| 873 |
+ * @param board |
|
| 874 |
+ * @param sessionVO |
|
| 875 |
+ * @param model |
|
| 876 |
+ * @return |
|
| 877 |
+ * @throws Exception |
|
| 878 |
+ */ |
|
| 879 |
+ @RequestMapping(value = "/cop/cmy/bbs/deleteBoardArticle.do") |
|
| 880 |
+ public String deleteBoardArticle(@ModelAttribute("searchVO") BoardVO boardVO, BoardVO board, ModelMap model, HttpServletRequest request, HttpServletResponse response) throws Exception {
|
|
| 881 |
+ |
|
| 882 |
+ if(!EgovUserDetailsHelper.isAuthenticated(request, response)) {
|
|
| 883 |
+ return "redirect:" + EgovUserDetailsHelper.getRedirectLoginUrl(); |
|
| 884 |
+ } |
|
| 885 |
+ |
|
| 886 |
+ LoginVO user = EgovUserDetailsHelper.getAuthenticatedUser(request, response); |
|
| 887 |
+ |
|
| 888 |
+ BoardMasterVO vo = new BoardMasterVO(); |
|
| 889 |
+ vo.setBbsId(boardVO.getBbsId()); |
|
| 890 |
+ vo.setTrgetId(boardVO.getTrgetId()); |
|
| 891 |
+ |
|
| 892 |
+ SiteManageVO siteVO = siteManageService.selectSiteServiceInfo(request); |
|
| 893 |
+ vo.setSiteId(siteVO.getSiteId()); |
|
| 894 |
+ vo.setSysTyCode(siteVO.getSysTyCode()); |
|
| 895 |
+ |
|
| 896 |
+ BoardMasterVO master = bbsAttrbService.selectBBSMasterInf(vo); |
|
| 897 |
+ |
|
| 898 |
+ if(master != null && !EgovStringUtil.isEmpty(boardVO.getTrgetId())) {
|
|
| 899 |
+ |
|
| 900 |
+ int SE_CODE = 1; |
|
| 901 |
+ CommunityUser cmmntyUser = new CommunityUser(); |
|
| 902 |
+ cmmntyUser.setSiteId(siteVO.getSiteId()); |
|
| 903 |
+ cmmntyUser.setEmplyrId(user.getId()); |
|
| 904 |
+ cmmntyUser.setCmmntyId(boardVO.getTrgetId()); |
|
| 905 |
+ cmmntyUser = cmmntyService.selectSingleCommunityUserInf(cmmntyUser); |
|
| 906 |
+ if(cmmntyUser != null) {
|
|
| 907 |
+ SE_CODE = Integer.parseInt(cmmntyUser.getAuthorCode()); |
|
| 908 |
+ } |
|
| 909 |
+ |
|
| 910 |
+ if(SE_CODE >= Integer.parseInt(master.getRegistAuthor())){
|
|
| 911 |
+ if(SE_CODE >= 10) {
|
|
| 912 |
+ boardVO.setAdminAt("Y");
|
|
| 913 |
+ } |
|
| 914 |
+ |
|
| 915 |
+ board.setLastUpdusrId(user.getId()); |
|
| 916 |
+ bbsMngService.deleteBoardArticle(board, master); |
|
| 917 |
+ } |
|
| 918 |
+ } |
|
| 919 |
+ |
|
| 920 |
+ return "forward:/cop/cmy/bbs/selectBoardList.do"; |
|
| 921 |
+ } |
|
| 922 |
+ |
|
| 923 |
+ |
|
| 924 |
+} |
--- base/src/main/java/egovframework/com/cop/cmy/web/EgovCommunityManageController.java
+++ base/src/main/java/egovframework/com/cop/cmy/web/EgovCommunityManageController.java
... | ... | @@ -1,1069 +1,1067 @@ |
| 1 |
-package egovframework.com.cop.cmy.web; |
|
| 2 |
- |
|
| 3 |
-import java.io.PrintWriter; |
|
| 4 |
-import java.util.HashMap; |
|
| 5 |
-import java.util.List; |
|
| 6 |
-import java.util.Map; |
|
| 7 |
-import java.util.regex.*; |
|
| 8 |
- |
|
| 9 |
-import javax.annotation.Resource; |
|
| 10 |
-import javax.servlet.http.HttpServletRequest; |
|
| 11 |
-import javax.servlet.http.HttpServletResponse; |
|
| 12 |
- |
|
| 13 |
-import org.apache.log4j.Logger; |
|
| 14 |
-import net.sf.json.JSONArray; |
|
| 15 |
-import net.sf.json.JSONObject; |
|
| 16 |
-import org.springframework.beans.factory.annotation.Autowired; |
|
| 17 |
-import org.springframework.stereotype.Controller; |
|
| 18 |
-import org.springframework.ui.ModelMap; |
|
| 19 |
-import org.springframework.validation.BindingResult; |
|
| 20 |
-import org.springframework.web.bind.annotation.ModelAttribute; |
|
| 21 |
-import org.springframework.web.bind.annotation.RequestMapping; |
|
| 22 |
-import org.springframework.web.multipart.MultipartFile; |
|
| 23 |
-import org.springframework.web.multipart.MultipartHttpServletRequest; |
|
| 24 |
-import org.springmodules.validation.commons.DefaultBeanValidator; |
|
| 25 |
- |
|
| 26 |
-import egovframework.com.cmm.ComDefaultCodeVO; |
|
| 27 |
-import egovframework.com.cmm.EgovMessageSource; |
|
| 28 |
-import egovframework.com.cmm.service.EgovCmmUseService; |
|
| 29 |
-import egovframework.com.cmm.service.EgovFileMngUtil; |
|
| 30 |
-import egovframework.com.cmm.service.FileVO; |
|
| 31 |
-import egovframework.com.cop.bbs.service.BoardMasterVO; |
|
| 32 |
-import egovframework.com.cop.bbs.service.BoardVO; |
|
| 33 |
-import egovframework.com.cop.cmy.service.Community; |
|
| 34 |
-import egovframework.com.cop.cmy.service.CommunityMnuVO; |
|
| 35 |
-import egovframework.com.cop.cmy.service.CommunityUser; |
|
| 36 |
-import egovframework.com.cop.cmy.service.CommunityUserVO; |
|
| 37 |
-import egovframework.com.cop.cmy.service.CommunityVO; |
|
| 38 |
-import egovframework.com.cop.cmy.service.CommunityMnu; |
|
| 39 |
-import egovframework.com.cop.cmy.service.EgovCommunityManageService; |
|
| 40 |
-import egovframework.com.cop.com.service.ConfirmHistory; |
|
| 41 |
-import egovframework.com.cop.com.service.EgovConfirmManageService; |
|
| 42 |
-import egovframework.com.sec.ram.security.userdetails.util.EgovUserDetailsHelper; |
|
| 43 |
-import egovframework.com.sym.ccm.cde.service.CmmnDetailCode; |
|
| 44 |
-import egovframework.com.sym.sit.service.EgovSiteManageService; |
|
| 45 |
-import egovframework.com.sym.sit.service.SiteManageVO; |
|
| 46 |
-import egovframework.com.uat.uia.service.LoginVO; |
|
| 47 |
-import egovframework.com.utl.fcc.service.EgovDateUtil; |
|
| 48 |
-import egovframework.com.utl.fcc.service.EgovStringUtil; |
|
| 49 |
-import egovframework.rte.fdl.cmmn.exception.EgovBizException; |
|
| 50 |
-import egovframework.rte.fdl.property.EgovPropertyService; |
|
| 51 |
-import egovframework.rte.ptl.mvc.tags.ui.pagination.PaginationInfo; |
|
| 52 |
- |
|
| 53 |
- |
|
| 54 |
-/** |
|
| 55 |
- * 커뮤니티 정보를 관리하기 위한 컨트롤러 클래스 |
|
| 56 |
- * @author 공통서비스개발팀 이삼섭 |
|
| 57 |
- * @since 2009.06.01 |
|
| 58 |
- * @version 1.0 |
|
| 59 |
- * @see |
|
| 60 |
- * |
|
| 61 |
- * <pre> |
|
| 62 |
- * << 개정이력(Modification Information) >> |
|
| 63 |
- * |
|
| 64 |
- * 수정일 수정자 수정내용 |
|
| 65 |
- * ------- -------- --------------------------- |
|
| 66 |
- * 2009. 4. 2 이삼섭 최초 생성 |
|
| 67 |
- * 2012. 1. 18 이호영 충청남도교육연구정보원 스마트충남 기능 개선 구축 |
|
| 68 |
- * |
|
| 69 |
- * </pre> |
|
| 70 |
- */ |
|
| 71 |
-@Controller("EgovCommunityManageController")
|
|
| 72 |
-public class EgovCommunityManageController {
|
|
| 73 |
- |
|
| 74 |
- @Resource(name = "EgovCommunityManageService") |
|
| 75 |
- private EgovCommunityManageService cmmntyService; |
|
| 76 |
- |
|
| 77 |
- @Resource(name = "EgovConfirmManageService") |
|
| 78 |
- private EgovConfirmManageService confmService; |
|
| 79 |
- |
|
| 80 |
- @Resource(name = "propertiesService") |
|
| 81 |
- protected EgovPropertyService propertyService; |
|
| 82 |
- |
|
| 83 |
- @Resource(name = "SiteManageService") |
|
| 84 |
- EgovSiteManageService siteManageService; |
|
| 85 |
- |
|
| 86 |
- /** EgovCmmUseService */ |
|
| 87 |
- @Resource(name="EgovCmmUseService") |
|
| 88 |
- private EgovCmmUseService cmmUseService; |
|
| 89 |
- |
|
| 90 |
- @Resource(name = "EgovFileMngUtil") |
|
| 91 |
- private EgovFileMngUtil fileUtil; |
|
| 92 |
- |
|
| 93 |
- @Resource(name = "egovMessageSource") |
|
| 94 |
- EgovMessageSource egovMessageSource; |
|
| 95 |
- |
|
| 96 |
- @Autowired |
|
| 97 |
- private DefaultBeanValidator beanValidator; |
|
| 98 |
- |
|
| 99 |
- Logger log = Logger.getLogger(this.getClass()); |
|
| 100 |
- |
|
| 101 |
- |
|
| 102 |
- /** |
|
| 103 |
- * 커뮤니티 관리자 권한을 확인한다. |
|
| 104 |
- * |
|
| 105 |
- * @param history |
|
| 106 |
- * @throws EgovBizException |
|
| 107 |
- */ |
|
| 108 |
- protected void checkAuthority(String trgetId, HttpServletRequest request, HttpServletResponse response) throws Exception {
|
|
| 109 |
- |
|
| 110 |
- LoginVO user = EgovUserDetailsHelper.getAuthenticatedUser(request, response); |
|
| 111 |
- |
|
| 112 |
- if (user == null) {
|
|
| 113 |
- throw new EgovBizException("인증된 사용자 정보가 존재하지 않습니다.");
|
|
| 114 |
- } |
|
| 115 |
- |
|
| 116 |
- if (trgetId.startsWith("CMMNTY_")) {
|
|
| 117 |
- CommunityUser cmmntyUser = new CommunityUser(); |
|
| 118 |
- |
|
| 119 |
- cmmntyUser.setCmmntyId(trgetId); |
|
| 120 |
- cmmntyUser.setEmplyrId(user.getId()); |
|
| 121 |
- |
|
| 122 |
- if (!cmmntyService.isManager(cmmntyUser)) {
|
|
| 123 |
- throw new EgovBizException("해당 커뮤니티 관리자만 사용하실 수 있습니다.");
|
|
| 124 |
- } |
|
| 125 |
- } else {
|
|
| 126 |
- throw new EgovBizException("대상ID 정보가 정확하지 않습니다.");
|
|
| 127 |
- } |
|
| 128 |
- } |
|
| 129 |
- |
|
| 130 |
- /** |
|
| 131 |
- * 커뮤니티 메인에 대한 목록을 조회한다. |
|
| 132 |
- * |
|
| 133 |
- * @param cmmntyVO |
|
| 134 |
- * @param model |
|
| 135 |
- * @return |
|
| 136 |
- * @throws Exception |
|
| 137 |
- */ |
|
| 138 |
- @RequestMapping("/cop/cmy/selectCmmntyInfs.do")
|
|
| 139 |
- public String selectCmmntyInfs(@ModelAttribute("searchVO") CommunityVO cmmntyVO, ModelMap model, HttpServletRequest request, HttpServletResponse response) throws Exception {
|
|
| 140 |
- |
|
| 141 |
- /** 사이트 정보 */ |
|
| 142 |
- SiteManageVO siteVO = siteManageService.selectSiteServiceInfo(request); |
|
| 143 |
- model.addAttribute("siteInfo", siteVO);
|
|
| 144 |
- |
|
| 145 |
- cmmntyVO.setSiteId(siteVO.getSiteId()); |
|
| 146 |
- cmmntyVO.setSysTyCode(siteVO.getSysTyCode()); |
|
| 147 |
- |
|
| 148 |
- LoginVO user = EgovUserDetailsHelper.getAuthenticatedUser(request, response); |
|
| 149 |
- if(user != null) {
|
|
| 150 |
- CommunityUser cmmntyUser = new CommunityUser(); |
|
| 151 |
- cmmntyUser.setSiteId(cmmntyVO.getSiteId()); |
|
| 152 |
- cmmntyUser.setEmplyrId(user.getId()); |
|
| 153 |
- cmmntyUser.setCmmntyId(cmmntyVO.getCmmntyId()); |
|
| 154 |
- model.addAttribute("USER_SBSCRB", cmmntyService.selectMyCmmntyList(cmmntyUser)); //사용자 가입목록
|
|
| 155 |
- model.addAttribute("LOGIN_USER_INFO", user);
|
|
| 156 |
- } |
|
| 157 |
- |
|
| 158 |
- PaginationInfo paginationInfo = new PaginationInfo(); |
|
| 159 |
- cmmntyVO.setPageUnit(propertyService.getInt("pageUnit"));
|
|
| 160 |
- cmmntyVO.setPageSize(propertyService.getInt("pageSize"));
|
|
| 161 |
- paginationInfo.setCurrentPageNo(cmmntyVO.getPageIndex()); |
|
| 162 |
- paginationInfo.setRecordCountPerPage(cmmntyVO.getRecordCountPerPage()); |
|
| 163 |
- paginationInfo.setPageSize(cmmntyVO.getPageSize()); |
|
| 164 |
- cmmntyVO.setFirstIndex(paginationInfo.getFirstRecordIndex()); |
|
| 165 |
- cmmntyVO.setLastIndex(paginationInfo.getLastRecordIndex()); |
|
| 166 |
- cmmntyVO.setRecordCountPerPage(paginationInfo.getRecordCountPerPage()); |
|
| 167 |
- |
|
| 168 |
- HashMap<String, Object> map = (HashMap<String, Object>)cmmntyService.selectCommunityInfs(cmmntyVO); |
|
| 169 |
- model.addAttribute("resultList", map.get("resultList"));
|
|
| 170 |
- int resultCnt = Integer.parseInt((String)map.get("resultCnt"));
|
|
| 171 |
- paginationInfo.setTotalRecordCount(resultCnt); |
|
| 172 |
- |
|
| 173 |
- model.addAttribute("LytFileStoreWebPathByWebFile", propertyService.getString("publish.tmplat.lyt.fileStoreWebPathByWebFile"));
|
|
| 174 |
- model.addAttribute("paginationInfo", paginationInfo);
|
|
| 175 |
- |
|
| 176 |
- model.addAttribute("CmmntyFileStoreWebPath", propertyService.getString("Cmmnty.fileStoreWebPath"));
|
|
| 177 |
- |
|
| 178 |
- return "cop/cmy/EgovCmmntyInfs"; |
|
| 179 |
- } |
|
| 180 |
- |
|
| 181 |
- /** |
|
| 182 |
- * 커뮤니티 메인에 대한 목록을 조회한다. |
|
| 183 |
- * |
|
| 184 |
- * @param cmmntyVO |
|
| 185 |
- * @param model |
|
| 186 |
- * @return |
|
| 187 |
- * @throws Exception |
|
| 188 |
- */ |
|
| 189 |
- @SuppressWarnings({ "unchecked", "rawtypes" })
|
|
| 190 |
- @RequestMapping("/cop/cmy/selectCmmntyJsonList.do")
|
|
| 191 |
- public void selectCmmntyMainList(@ModelAttribute("searchVO") CommunityVO cmmntyVO, ModelMap model, HttpServletRequest request, HttpServletResponse response) throws Exception {
|
|
| 192 |
- |
|
| 193 |
- PaginationInfo paginationInfo = new PaginationInfo(); |
|
| 194 |
- |
|
| 195 |
- paginationInfo.setCurrentPageNo(cmmntyVO.getPageIndex()); |
|
| 196 |
- paginationInfo.setRecordCountPerPage(cmmntyVO.getRecordCountPerPage()); |
|
| 197 |
- paginationInfo.setPageSize(cmmntyVO.getPageSize()); |
|
| 198 |
- |
|
| 199 |
- cmmntyVO.setFirstIndex(paginationInfo.getFirstRecordIndex()); |
|
| 200 |
- cmmntyVO.setLastIndex(paginationInfo.getLastRecordIndex()); |
|
| 201 |
- cmmntyVO.setRecordCountPerPage(paginationInfo.getRecordCountPerPage()); |
|
| 202 |
- |
|
| 203 |
- HashMap map = (HashMap)cmmntyService.selectCommunityInfs(cmmntyVO); |
|
| 204 |
- |
|
| 205 |
- List<CommunityVO> resultList = (List<CommunityVO>) map.get("resultList");
|
|
| 206 |
- int resultCnt = Integer.parseInt((String)map.get("resultCnt"));
|
|
| 207 |
- |
|
| 208 |
- CommunityVO result = null; |
|
| 209 |
- JSONObject jObj = null; |
|
| 210 |
- JSONArray jArray = new JSONArray(); |
|
| 211 |
- if(resultList != null && resultList.size() > 0) {
|
|
| 212 |
- for(int i=0; i < resultList.size(); i++) {
|
|
| 213 |
- result = resultList.get(i); |
|
| 214 |
- jObj = new JSONObject(); |
|
| 215 |
- jObj.put("cmmntyId", egovframework.com.utl.fcc.service.EgovStringUtil.isNullToString(result.getCmmntyId()));
|
|
| 216 |
- jObj.put("cmmntyNm", egovframework.com.utl.fcc.service.EgovStringUtil.isNullToString(result.getCmmntyNm()));
|
|
| 217 |
- jObj.put("cmmntyAdres", egovframework.com.utl.fcc.service.EgovStringUtil.isNullToString(result.getCmmntyAdres()));
|
|
| 218 |
- jObj.put("cmmntyIntrcn", egovframework.com.utl.fcc.service.EgovStringUtil.isNullToString(result.getCmmntyIntrcn()));
|
|
| 219 |
- jObj.put("atchFileIcon", egovframework.com.utl.fcc.service.EgovStringUtil.isNullToString(result.getAtchFileIcon()));
|
|
| 220 |
- jObj.put("frstRegisterNm", egovframework.com.utl.fcc.service.EgovStringUtil.isNullToString(result.getFrstRegisterNm()));
|
|
| 221 |
- jObj.put("resultCnt", resultCnt);
|
|
| 222 |
- jObj.put("userCo", egovframework.com.utl.fcc.service.EgovStringUtil.isNullToString(result.getUserCo()));
|
|
| 223 |
- jArray.add(jObj); |
|
| 224 |
- } |
|
| 225 |
- } |
|
| 226 |
- |
|
| 227 |
- response.setContentType("text/javascript; charset=utf-8");
|
|
| 228 |
- PrintWriter printwriter = response.getWriter(); |
|
| 229 |
- printwriter.println(jArray.toString()); |
|
| 230 |
- printwriter.flush(); |
|
| 231 |
- printwriter.close(); |
|
| 232 |
- } |
|
| 233 |
- |
|
| 234 |
- /** |
|
| 235 |
- * 커뮤니티 등록을 위한 약관페이지로 이동한다. |
|
| 236 |
- * |
|
| 237 |
- * @param cmmntyVO |
|
| 238 |
- * @param model |
|
| 239 |
- * @return |
|
| 240 |
- * @throws Exception |
|
| 241 |
- */ |
|
| 242 |
- @RequestMapping("/cop/cmy/selectCmmntyStplat.do")
|
|
| 243 |
- public String selectCmmntyStplat(@ModelAttribute("searchVO") CommunityVO cmmntyVO, ModelMap model, HttpServletRequest request, HttpServletResponse response) throws Exception {
|
|
| 244 |
- |
|
| 245 |
- /** 사이트 정보 */ |
|
| 246 |
- SiteManageVO siteVO = siteManageService.selectSiteServiceInfo(request); |
|
| 247 |
- model.addAttribute("siteInfo", siteVO);
|
|
| 248 |
- |
|
| 249 |
- LoginVO user = EgovUserDetailsHelper.getAuthenticatedUser(request, response); |
|
| 250 |
- model.addAttribute("LOGIN_USER_INFO", user);
|
|
| 251 |
- |
|
| 252 |
- if(user == null) {
|
|
| 253 |
- model.addAttribute("message", egovMessageSource.getMessage("fail.user.login"));
|
|
| 254 |
- return "forward:/cop/cmy/selectCmmntyInfs.do"; |
|
| 255 |
- } |
|
| 256 |
- request.getSession().setAttribute("sessionVO", cmmntyVO);
|
|
| 257 |
- |
|
| 258 |
- model.addAttribute("LytFileStoreWebPathByWebFile", propertyService.getString("publish.tmplat.lyt.fileStoreWebPathByWebFile"));
|
|
| 259 |
- |
|
| 260 |
- return "cop/cmy/EgovCmmntyStplat"; |
|
| 261 |
- } |
|
| 262 |
- |
|
| 263 |
- /** |
|
| 264 |
- * 커뮤니티 등록을 위한 등록페이지로 이동한다. |
|
| 265 |
- * |
|
| 266 |
- * @param cmmntyVO |
|
| 267 |
- * @param model |
|
| 268 |
- * @return |
|
| 269 |
- * @throws Exception |
|
| 270 |
- */ |
|
| 271 |
- @RequestMapping("/cop/cmy/addCmmntyInf.do")
|
|
| 272 |
- public String addCmmntyInf(@ModelAttribute("searchVO") CommunityVO cmmntyVO,
|
|
| 273 |
- Community community, |
|
| 274 |
- ModelMap model, HttpServletRequest request, HttpServletResponse response) throws Exception {
|
|
| 275 |
- |
|
| 276 |
- /** 사이트 정보 */ |
|
| 277 |
- SiteManageVO siteVO = siteManageService.selectSiteServiceInfo(request); |
|
| 278 |
- model.addAttribute("siteInfo", siteVO);
|
|
| 279 |
- |
|
| 280 |
- LoginVO user = EgovUserDetailsHelper.getAuthenticatedUser(request, response); |
|
| 281 |
- model.addAttribute("LOGIN_USER_INFO", user);
|
|
| 282 |
- if(user == null) {
|
|
| 283 |
- model.addAttribute("message", egovMessageSource.getMessage("fail.user.login"));
|
|
| 284 |
- return "forward:/cop/cmy/selectCmmntyInfs.do"; |
|
| 285 |
- } |
|
| 286 |
- |
|
| 287 |
- if (request.getSession().getAttribute("sessionVO") == null) return "forward:/cop/cmy/selectCmmntyInfs.do";
|
|
| 288 |
- |
|
| 289 |
- /** 공통코드 - 커뮤니티구분코드(COM201) */ |
|
| 290 |
- ComDefaultCodeVO voComCode = new ComDefaultCodeVO(); |
|
| 291 |
- voComCode = new ComDefaultCodeVO(); |
|
| 292 |
- voComCode.setCodeId("COM201");
|
|
| 293 |
- List<CmmnDetailCode> listComCode = cmmUseService.selectCmmCodeDetail(voComCode); |
|
| 294 |
- model.addAttribute("cmmntySe", listComCode);
|
|
| 295 |
- |
|
| 296 |
- if(!"".equals(cmmntyVO.getSearchTy())) community.setCmmntySeCode(cmmntyVO.getSearchTy()); |
|
| 297 |
- |
|
| 298 |
- model.addAttribute("communityVO", community);
|
|
| 299 |
- |
|
| 300 |
- model.addAttribute("LytFileStoreWebPathByWebFile", propertyService.getString("publish.tmplat.lyt.fileStoreWebPathByWebFile"));
|
|
| 301 |
- |
|
| 302 |
- return "cop/cmy/EgovCmmntyRegist"; |
|
| 303 |
- } |
|
| 304 |
- |
|
| 305 |
- /** |
|
| 306 |
- * 커뮤니티 정보를 등록 개설한다. |
|
| 307 |
- * |
|
| 308 |
- * @param cmmntyVO |
|
| 309 |
- * @param community |
|
| 310 |
- * @return |
|
| 311 |
- * @throws Exception |
|
| 312 |
- */ |
|
| 313 |
- @SuppressWarnings("unchecked")
|
|
| 314 |
- @RequestMapping("/cop/cmy/insertCmmntyInf.do")
|
|
| 315 |
- public String insertCmmntyInf(final MultipartHttpServletRequest multiRequest, |
|
| 316 |
- @ModelAttribute("searchVO") CommunityVO cmmntyVO,
|
|
| 317 |
- Community community, |
|
| 318 |
- BindingResult bindingResult, |
|
| 319 |
- ModelMap model, |
|
| 320 |
- HttpServletRequest request, HttpServletResponse response) throws Exception {
|
|
| 321 |
- |
|
| 322 |
- if (request.getSession().getAttribute("sessionVO") == null) return "forward:/cop/cmy/selectCmmntyInfs.do";
|
|
| 323 |
- |
|
| 324 |
- //커뮤니티 개설정보 무결성 체크 |
|
| 325 |
- boolean checkCmmnty = true; |
|
| 326 |
- |
|
| 327 |
- beanValidator.validate(community, bindingResult); |
|
| 328 |
- if (bindingResult.hasErrors()) {
|
|
| 329 |
- checkCmmnty = false; |
|
| 330 |
- } |
|
| 331 |
- |
|
| 332 |
- if(checkCmmnty){
|
|
| 333 |
- if (cmmntyService.checkCmmntyNmDplct(cmmntyVO) > 0) {
|
|
| 334 |
- model.addAttribute("message", "입력하신 커뮤니티명은 이미 사용중입니다. 다른커뮤니티명을 입력하여 주십시오."); //커뮤니티명 중복확인 체크
|
|
| 335 |
- checkCmmnty = false; |
|
| 336 |
- } |
|
| 337 |
- } |
|
| 338 |
- |
|
| 339 |
- if(checkCmmnty){
|
|
| 340 |
- if (cmmntyService.checkCmmntyAdresDplct(cmmntyVO) > 0) {
|
|
| 341 |
- model.addAttribute("message", "입력하신 커뮤니티 주소는 이미 사용중입니다. 다른커뮤니티 주소를 입력하여 주십시오."); //커뮤니티 주소 중복확인 체크
|
|
| 342 |
- checkCmmnty = false; |
|
| 343 |
- } |
|
| 344 |
- } |
|
| 345 |
- |
|
| 346 |
- |
|
| 347 |
- if (checkCmmnty) {
|
|
| 348 |
- SiteManageVO siteVO = siteManageService.selectSiteServiceInfo(request); |
|
| 349 |
- community.setSiteId(siteVO.getSiteId()); |
|
| 350 |
- community.setSysTyCode(siteVO.getSysTyCode()); |
|
| 351 |
- |
|
| 352 |
- List<FileVO> result = null; |
|
| 353 |
- |
|
| 354 |
- final Map<String, MultipartFile> files = multiRequest.getFileMap(); |
|
| 355 |
- if(!files.isEmpty()) {
|
|
| 356 |
- result = fileUtil.directParseFileInf(files, "CMMNTY_", 0, "Cmmnty.fileStorePath", ""); |
|
| 357 |
- community.setFileValue(result); |
|
| 358 |
- } |
|
| 359 |
- |
|
| 360 |
- LoginVO user = EgovUserDetailsHelper.getAuthenticatedUser(request, response); |
|
| 361 |
- |
|
| 362 |
- community.setEmplyrId(user.getId()); |
|
| 363 |
- community.setFrstRegisterNm(user.getName()); |
|
| 364 |
- community.setUseAt("Y");
|
|
| 365 |
- community.setRegistSeCode("REGC02");
|
|
| 366 |
- community.setFrstRegisterId(user.getId()); |
|
| 367 |
- |
|
| 368 |
- cmmntyService.insertCommunityInf(community); |
|
| 369 |
- |
|
| 370 |
- request.getSession().removeAttribute("sessionVO");
|
|
| 371 |
- return "forward:/cmy/"+cmmntyVO.getCmmntyAdres()+".do"; |
|
| 372 |
- }else{
|
|
| 373 |
- /** 공통코드 - 커뮤니티구분코드(COM201) */ |
|
| 374 |
- ComDefaultCodeVO voComCode = new ComDefaultCodeVO(); |
|
| 375 |
- voComCode = new ComDefaultCodeVO(); |
|
| 376 |
- voComCode.setCodeId("COM201");
|
|
| 377 |
- List<CmmnDetailCode> listComCode = cmmUseService.selectCmmCodeDetail(voComCode); |
|
| 378 |
- model.addAttribute("cmmntySe", listComCode);
|
|
| 379 |
- |
|
| 380 |
- if(!"".equals(cmmntyVO.getSearchTy())) community.setCmmntySeCode(cmmntyVO.getSearchTy()); |
|
| 381 |
- return "cop/cmy/EgovCmmntyRegist"; |
|
| 382 |
- } |
|
| 383 |
- } |
|
| 384 |
- |
|
| 385 |
- /** |
|
| 386 |
- * 커뮤니티 정보 수정을 위한 수정페이지로 이동한다. |
|
| 387 |
- * |
|
| 388 |
- * @param cmmntyVO |
|
| 389 |
- * @param model |
|
| 390 |
- * @return |
|
| 391 |
- * @throws Exception |
|
| 392 |
- */ |
|
| 393 |
- @RequestMapping("/cop/cmy/forUpdateCmmntyInf.do")
|
|
| 394 |
- public String forUpdateCmmntyInf(@ModelAttribute("searchVO") CommunityVO cmmntyVO, Community community,
|
|
| 395 |
- ModelMap model, HttpServletRequest request, HttpServletResponse response) |
|
| 396 |
- throws Exception {
|
|
| 397 |
- |
|
| 398 |
- checkAuthority(cmmntyVO.getCmmntyId(), request, response); //권한확인 |
|
| 399 |
- |
|
| 400 |
- SiteManageVO siteVO = siteManageService.selectSiteServiceInfo(request); |
|
| 401 |
- model.addAttribute("siteInfo", siteVO);
|
|
| 402 |
- cmmntyVO.setSiteId(siteVO.getSiteId()); |
|
| 403 |
- cmmntyVO.setSysTyCode(siteVO.getSysTyCode()); |
|
| 404 |
- |
|
| 405 |
- /** 공통코드 - 커뮤니티구분코드(COM201) */ |
|
| 406 |
- ComDefaultCodeVO voComCode = new ComDefaultCodeVO(); |
|
| 407 |
- voComCode = new ComDefaultCodeVO(); |
|
| 408 |
- voComCode.setCodeId("COM201");
|
|
| 409 |
- model.addAttribute("cmmntySe", cmmUseService.selectCmmCodeDetail(voComCode));
|
|
| 410 |
- |
|
| 411 |
- LoginVO user = EgovUserDetailsHelper.getAuthenticatedUser(request, response); |
|
| 412 |
- |
|
| 413 |
- model.addAttribute("communityVO", cmmntyService.selectCommunityInf(cmmntyVO));
|
|
| 414 |
- model.addAttribute("LOGIN_USER_INFO", user);
|
|
| 415 |
- model.addAttribute("LytFileStoreWebPathByWebFile", propertyService.getString("publish.tmplat.lyt.fileStoreWebPathByWebFile"));
|
|
| 416 |
- |
|
| 417 |
- request.getSession().setAttribute("sessionVO", cmmntyVO);
|
|
| 418 |
- return "cop/cmy/EgovCmmntyUpdt"; |
|
| 419 |
- } |
|
| 420 |
- |
|
| 421 |
- /** |
|
| 422 |
- * 커뮤니티 정보를 수정한다. |
|
| 423 |
- * |
|
| 424 |
- * @param cmmntyVO |
|
| 425 |
- * @param status |
|
| 426 |
- * @param model |
|
| 427 |
- * @return |
|
| 428 |
- * @throws Exception |
|
| 429 |
- */ |
|
| 430 |
- @SuppressWarnings("unchecked")
|
|
| 431 |
- @RequestMapping("/cop/cmy/updtCmmntyInf.do")
|
|
| 432 |
- public String updtCmmntyInf(final MultipartHttpServletRequest multiRequest, |
|
| 433 |
- @ModelAttribute("searchVO") CommunityVO cmmntyVO,
|
|
| 434 |
- Community community, |
|
| 435 |
- BindingResult bindingResult, ModelMap model, |
|
| 436 |
- HttpServletRequest request, HttpServletResponse response) throws Exception {
|
|
| 437 |
- |
|
| 438 |
- checkAuthority(cmmntyVO.getCmmntyId(), request, response); //권한확인 |
|
| 439 |
- |
|
| 440 |
- if (request.getSession().getAttribute("sessionVO") == null) return "forward:/cmy/"+cmmntyVO.getCmmntyAdres()+".do";
|
|
| 441 |
- |
|
| 442 |
- LoginVO user = EgovUserDetailsHelper.getAuthenticatedUser(request, response); |
|
| 443 |
- |
|
| 444 |
- beanValidator.validate(community, bindingResult); |
|
| 445 |
- if (bindingResult.hasErrors()) {
|
|
| 446 |
- |
|
| 447 |
- SiteManageVO siteVO = siteManageService.selectSiteServiceInfo(request); |
|
| 448 |
- cmmntyVO.setSiteId(siteVO.getSiteId()); |
|
| 449 |
- cmmntyVO.setSysTyCode(siteVO.getSysTyCode()); |
|
| 450 |
- |
|
| 451 |
- /** 공통코드 - 커뮤니티구분코드(COM201) */ |
|
| 452 |
- ComDefaultCodeVO voComCode = new ComDefaultCodeVO(); |
|
| 453 |
- voComCode = new ComDefaultCodeVO(); |
|
| 454 |
- voComCode.setCodeId("COM201");
|
|
| 455 |
- List<CmmnDetailCode> listComCode = cmmUseService.selectCmmCodeDetail(voComCode); |
|
| 456 |
- model.addAttribute("cmmntySe", listComCode);
|
|
| 457 |
- |
|
| 458 |
- model.addAttribute("communityVO", cmmntyService.selectCommunityInf(cmmntyVO));
|
|
| 459 |
- |
|
| 460 |
- return "cop/cmy/EgovCmmntyUpdt"; |
|
| 461 |
- } |
|
| 462 |
- |
|
| 463 |
- if (user != null) {
|
|
| 464 |
- |
|
| 465 |
- List<FileVO> result = null; |
|
| 466 |
- |
|
| 467 |
- final Map<String, MultipartFile> files = multiRequest.getFileMap(); |
|
| 468 |
- if(!files.isEmpty()) {
|
|
| 469 |
- result = fileUtil.directParseFileInf(files, "CMMNTY_", 0, "Cmmnty.fileStorePath", ""); |
|
| 470 |
- community.setFileValue(result); |
|
| 471 |
- } |
|
| 472 |
- community.setLastUpdusrId(user.getId()); |
|
| 473 |
- |
|
| 474 |
- cmmntyService.updateCommunityInf(community); |
|
| 475 |
- } |
|
| 476 |
- request.getSession().removeAttribute("sessionVO");
|
|
| 477 |
- return "forward:/cmy/"+cmmntyVO.getCmmntyAdres()+".do"; |
|
| 478 |
- } |
|
| 479 |
- |
|
| 480 |
- /** |
|
| 481 |
- * 정규식에 의한 페이지 주소 확인 |
|
| 482 |
- * |
|
| 483 |
- * @param url |
|
| 484 |
- */ |
|
| 485 |
- public String extractUrlParts(String url) {
|
|
| 486 |
- |
|
| 487 |
- String rVal = ""; |
|
| 488 |
- Pattern urlPattern = Pattern.compile("^(/cmy/?)\\/([^#\\s\\?]*)?$");
|
|
| 489 |
- Matcher mc = urlPattern.matcher(url); |
|
| 490 |
- |
|
| 491 |
- if(mc.matches() && mc.group(2) != null && !"".equals(mc.group(2))){
|
|
| 492 |
- rVal = mc.group(2).replaceAll(".do", "");
|
|
| 493 |
- } |
|
| 494 |
- return rVal; |
|
| 495 |
- } |
|
| 496 |
- |
|
| 497 |
- /** |
|
| 498 |
- * 커뮤니티 메인페이지의 기본 내용(게시판 4개 표시) 조회한다. |
|
| 499 |
- * |
|
| 500 |
- * @param cmmntyVO |
|
| 501 |
- * @param model |
|
| 502 |
- * @return |
|
| 503 |
- * @throws Exception |
|
| 504 |
- */ |
|
| 505 |
- @RequestMapping(value = "/cmy/*") |
|
| 506 |
- public String selectCmmntyMainPage(@ModelAttribute("searchVO") CommunityVO cmmntyVO, ModelMap model, HttpServletRequest request, HttpServletResponse response) throws Exception {
|
|
| 507 |
- |
|
| 508 |
- String cmmntyAdres = extractUrlParts(request.getRequestURI()); //현재 URL정보 |
|
| 509 |
- |
|
| 510 |
- String cmmntyAdresReult = cmmntyService.selectCmmntyFindId(cmmntyAdres); |
|
| 511 |
- |
|
| 512 |
- if(cmmntyAdresReult == null || "".equals(cmmntyAdresReult)){
|
|
| 513 |
- model.addAttribute("message", "커뮤니티가 개설되어 있지 않거나 존재하지 않는 커뮤니티 입니다.");
|
|
| 514 |
- return "forward:/cop/cmy/selectCmmntyInfs.do"; |
|
| 515 |
- } |
|
| 516 |
- |
|
| 517 |
- cmmntyVO.setCmmntyId(cmmntyAdresReult); //커뮤니티 주소 매칭 |
|
| 518 |
- |
|
| 519 |
- SiteManageVO siteVO = siteManageService.selectSiteServiceInfo(request); |
|
| 520 |
- model.addAttribute("siteInfo", siteVO);
|
|
| 521 |
- cmmntyVO.setSiteId(siteVO.getSiteId()); |
|
| 522 |
- cmmntyVO.setSysTyCode(siteVO.getSysTyCode()); |
|
| 523 |
- |
|
| 524 |
- LoginVO user = EgovUserDetailsHelper.getAuthenticatedUser(request, response); |
|
| 525 |
- if(user != null) {
|
|
| 526 |
- CommunityUser cmmntyUser = new CommunityUser(); |
|
| 527 |
- cmmntyUser.setSiteId(cmmntyVO.getSiteId()); |
|
| 528 |
- cmmntyUser.setEmplyrId(user.getId()); |
|
| 529 |
- cmmntyUser.setCmmntyId(cmmntyVO.getCmmntyId()); |
|
| 530 |
- model.addAttribute("USER_INFO", cmmntyService.selectSingleCommunityUserInf(cmmntyUser)); //사용자 정보
|
|
| 531 |
- model.addAttribute("LOGIN_USER_INFO", user);
|
|
| 532 |
- } |
|
| 533 |
- |
|
| 534 |
- BoardMasterVO bbsVo = new BoardMasterVO(); |
|
| 535 |
- bbsVo.setSiteId(cmmntyVO.getSiteId()); |
|
| 536 |
- bbsVo.setSysTyCode(cmmntyVO.getSysTyCode()); |
|
| 537 |
- bbsVo.setTrgetId(cmmntyVO.getCmmntyId()); |
|
| 538 |
- |
|
| 539 |
- // 게시판 목록 정보 처리 |
|
| 540 |
- List<CommunityMnu> bbsResult = cmmntyService.selectCommunityBbsMaster(cmmntyVO); |
|
| 541 |
- |
|
| 542 |
- model.addAttribute("bbsList", bbsResult);
|
|
| 543 |
- |
|
| 544 |
- // 게시물 목록 정보 처리 |
|
| 545 |
- BoardVO boardVo = new BoardVO(); |
|
| 546 |
- CommunityMnu masterVo = null; |
|
| 547 |
- |
|
| 548 |
- boardVo.setTrgetId(cmmntyVO.getCmmntyId()); |
|
| 549 |
- |
|
| 550 |
- //신규 게시물 처리 |
|
| 551 |
- boardVo.setRecordCountPerPage(15); |
|
| 552 |
- List<BoardVO> bbsNewResult = cmmntyService.selectBoardNewArticles(boardVo); |
|
| 553 |
- model.addAttribute("bbsNewList", bbsNewResult);
|
|
| 554 |
- |
|
| 555 |
- if(bbsResult != null && bbsResult.size() > 0) {
|
|
| 556 |
- for (int i = 0; i < bbsResult.size() && i < 4; i++) {
|
|
| 557 |
- masterVo = bbsResult.get(i); |
|
| 558 |
- boardVo = new BoardVO(); |
|
| 559 |
- boardVo.setTrgetId(cmmntyVO.getCmmntyId()); |
|
| 560 |
- boardVo.setBbsId(masterVo.getBbsId()); |
|
| 561 |
- boardVo.setBbsNm(masterVo.getBbsNm()); |
|
| 562 |
- boardVo.setTmplatId(masterVo.getTmplatId()); |
|
| 563 |
- |
|
| 564 |
- boardVo.setRecordCountPerPage(5); |
|
| 565 |
- bbsResult.get(i).setAriticleList(cmmntyService.selectBoardNewArticles(boardVo)); |
|
| 566 |
- } |
|
| 567 |
- } |
|
| 568 |
- |
|
| 569 |
- model.addAttribute("LytFileStoreWebPathByWebFile", propertyService.getString("publish.tmplat.lyt.fileStoreWebPathByWebFile"));
|
|
| 570 |
- |
|
| 571 |
- return "cop/cmy/EgovCmmntyMainPage"; |
|
| 572 |
- } |
|
| 573 |
- |
|
| 574 |
- /** |
|
| 575 |
- * 커뮤니티 소개 페이지. |
|
| 576 |
- * |
|
| 577 |
- * @param cmmntyVO |
|
| 578 |
- * @param model |
|
| 579 |
- * @return |
|
| 580 |
- * @throws Exception |
|
| 581 |
- */ |
|
| 582 |
- @RequestMapping("/cop/cmy/selectCmmntyInfo.do")
|
|
| 583 |
- public String selectCmmntyView(@ModelAttribute("searchVO") CommunityVO cmmntyVO, ModelMap model, HttpServletRequest request, HttpServletResponse response) throws Exception {
|
|
| 584 |
- |
|
| 585 |
- SiteManageVO siteVO = siteManageService.selectSiteServiceInfo(request); |
|
| 586 |
- model.addAttribute("siteInfo", siteVO);
|
|
| 587 |
- |
|
| 588 |
- //커뮤니티 정보 |
|
| 589 |
- model.addAttribute("cmmntyVO", cmmntyService.selectCommunityInf(cmmntyVO));
|
|
| 590 |
- model.addAttribute("LytFileStoreWebPathByWebFile", propertyService.getString("publish.tmplat.lyt.fileStoreWebPathByWebFile"));
|
|
| 591 |
- |
|
| 592 |
- return "cop/cmy/EgovCmmntyInfo"; |
|
| 593 |
- } |
|
| 594 |
- |
|
| 595 |
- /** |
|
| 596 |
- * 커뮤니티 사용신청(회원가입) 등록페이지. |
|
| 597 |
- * |
|
| 598 |
- * @param cmmntyVO |
|
| 599 |
- * @param model |
|
| 600 |
- * @return |
|
| 601 |
- * @throws Exception |
|
| 602 |
- */ |
|
| 603 |
- @RequestMapping("/cop/cmy/selectCmmntyUserBySelf.do")
|
|
| 604 |
- public String selectCmmntyUserBySelf(@ModelAttribute("communityUserVO") CommunityUserVO communityUserVO,
|
|
| 605 |
- ModelMap model, HttpServletRequest request, HttpServletResponse response) throws Exception {
|
|
| 606 |
- |
|
| 607 |
- SiteManageVO siteVO = siteManageService.selectSiteServiceInfo(request); |
|
| 608 |
- model.addAttribute("siteInfo", siteVO);
|
|
| 609 |
- |
|
| 610 |
- LoginVO user = EgovUserDetailsHelper.getAuthenticatedUser(request, response); |
|
| 611 |
- if(user == null) {
|
|
| 612 |
- model.addAttribute("message", egovMessageSource.getMessage("fail.user.login"));
|
|
| 613 |
- return "forward:/cop/cmy/selectCmmntyInfs.do"; |
|
| 614 |
- } |
|
| 615 |
- |
|
| 616 |
- model.addAttribute("LOGIN_USER_INFO", user);
|
|
| 617 |
- model.addAttribute("LytFileStoreWebPathByWebFile", propertyService.getString("publish.tmplat.lyt.fileStoreWebPathByWebFile"));
|
|
| 618 |
- request.getSession().setAttribute("sessionVO", communityUserVO);
|
|
| 619 |
- return "cop/cmy/EgovCmmntyUserBySelf"; |
|
| 620 |
- } |
|
| 621 |
- |
|
| 622 |
- /** |
|
| 623 |
- * 커뮤니티 사용신청(회원가입)을 등록한다. |
|
| 624 |
- * |
|
| 625 |
- * @param communityUserVO |
|
| 626 |
- * @param model |
|
| 627 |
- * @return |
|
| 628 |
- * @throws Exception |
|
| 629 |
- */ |
|
| 630 |
- @RequestMapping("/cop/cmy/insertCmmntyUserBySelf.do")
|
|
| 631 |
- public String insertCmmntyUserBySelf(@ModelAttribute("communityUserVO") CommunityUserVO communityUserVO,
|
|
| 632 |
- BindingResult bindingResult, |
|
| 633 |
- @ModelAttribute("cmmntyVO") CommunityVO cmmntyVO,
|
|
| 634 |
- ModelMap model, HttpServletRequest request, HttpServletResponse response) throws Exception {
|
|
| 635 |
- |
|
| 636 |
- LoginVO user = EgovUserDetailsHelper.getAuthenticatedUser(request, response); |
|
| 637 |
- |
|
| 638 |
- if(user == null) {
|
|
| 639 |
- model.addAttribute("message", egovMessageSource.getMessage("fail.user.login"));
|
|
| 640 |
- return "forward:/cop/cmy/selectCmmntyInfs.do"; |
|
| 641 |
- } |
|
| 642 |
- |
|
| 643 |
- SiteManageVO siteVO = siteManageService.selectSiteServiceInfo(request); |
|
| 644 |
- model.addAttribute("siteInfo", siteVO);
|
|
| 645 |
- |
|
| 646 |
- beanValidator.validate(communityUserVO, bindingResult); |
|
| 647 |
- if (bindingResult.hasErrors()) {
|
|
| 648 |
- |
|
| 649 |
- model.addAttribute("LOGIN_USER_INFO", user);
|
|
| 650 |
- model.addAttribute("LytFileStoreWebPathByWebFile", propertyService.getString("publish.tmplat.lyt.fileStoreWebPathByWebFile"));
|
|
| 651 |
- |
|
| 652 |
- return "cop/cmy/EgovCmmntyUserBySelf"; |
|
| 653 |
- } |
|
| 654 |
- |
|
| 655 |
- if (request.getSession().getAttribute("sessionVO") == null) return "forward:/cop/cmy/selectCmmntyUserBySelf.do";
|
|
| 656 |
- |
|
| 657 |
- String retVal = ""; |
|
| 658 |
- |
|
| 659 |
- communityUserVO.setFrstRegisterId(user.getId()); |
|
| 660 |
- communityUserVO.setEmplyrId(user.getId()); |
|
| 661 |
- |
|
| 662 |
- //--------------------------------------------- |
|
| 663 |
- // 재가입정책에 따른 가입 처리 |
|
| 664 |
- // 가입방식 - confmPolicyCode Y:가입신청시 자동승인, N:확인 후 수동승인 |
|
| 665 |
- // 재가입정책 - resbscrbPolicyCode Y:재가입 허용, N:재가입 불가 |
|
| 666 |
- //--------------------------------------------- |
|
| 667 |
- CommunityVO resultInfo = cmmntyService.selectCommunityInf(cmmntyVO); |
|
| 668 |
- |
|
| 669 |
- if ("Y".equals(resultInfo.getResbscrbPolicyCode())) communityUserVO.setUseAt("Y"); // 재가입허용시 중복유무 체크
|
|
| 670 |
- retVal = cmmntyService.checkCommunityUserInf(communityUserVO); |
|
| 671 |
- |
|
| 672 |
- if (!retVal.equals("EXIST")) {
|
|
| 673 |
- |
|
| 674 |
- CommunityUser manager = cmmntyService.selectManager(cmmntyVO); |
|
| 675 |
- |
|
| 676 |
- ConfirmHistory history = new ConfirmHistory(); |
|
| 677 |
- |
|
| 678 |
- history.setAutoAt(resultInfo.getConfmPolicyCode()); // 자동승인여부 |
|
| 679 |
- history.setConfmRqesterId(user.getId()); // 요청자 ID |
|
| 680 |
- history.setConfmRqesterNm(user.getName()); // 요청자 이름 |
|
| 681 |
- history.setConfmRqesterIntrcn(communityUserVO.getUserIntrcn()); // 요청자 소개 |
|
| 682 |
- history.setConfmerId(manager.getEmplyrId()); // 승인자 ID |
|
| 683 |
- history.setConfmTyCode("CF11"); // 커뮤니티사용자등록 (커뮤니티사용자등록)
|
|
| 684 |
- history.setConfmSttusCode("AP01"); // 승인요청(AP01:승인요청 AP02:승인허가 AP03:승인반려)
|
|
| 685 |
- history.setOpertTyCode("WC01"); // 회원가입
|
|
| 686 |
- history.setTrgetJobTyCode("CMY"); // 대상작업구분
|
|
| 687 |
- history.setTrgetJobId(communityUserVO.getCmmntyId()); // 대상작업 ID |
|
| 688 |
- history.setMyMenuAt(communityUserVO.getMyMenuAt()); |
|
| 689 |
- |
|
| 690 |
- int cnt = confmService.countConfirmRequest(history); //승인중인 건수 중복체크 |
|
| 691 |
- |
|
| 692 |
- if (cnt == 0) {
|
|
| 693 |
- |
|
| 694 |
- confmService.insertConfirmRequest(history); |
|
| 695 |
- |
|
| 696 |
- if("Y".equals(resultInfo.getConfmPolicyCode())) {
|
|
| 697 |
- retVal = "CMMNTY_MBER_B"; //회원가입 완료 |
|
| 698 |
- }else{
|
|
| 699 |
- retVal = "CMMNTY_MBER_A"; //회원가입 요청 |
|
| 700 |
- } |
|
| 701 |
- } else {
|
|
| 702 |
- retVal = "ING"; |
|
| 703 |
- } |
|
| 704 |
- }else{
|
|
| 705 |
- if ("N".equals(resultInfo.getResbscrbPolicyCode())){
|
|
| 706 |
- retVal="CMMNTY_INTRCP"; //재가입 차단메세지 |
|
| 707 |
- }else{
|
|
| 708 |
- retVal="CMMNTY_MBER_FC"; //중복가입 메세지 |
|
| 709 |
- } |
|
| 710 |
- } |
|
| 711 |
- |
|
| 712 |
- cmmntyVO.setResultCode(retVal); |
|
| 713 |
- request.getSession().removeAttribute("sessionVO");
|
|
| 714 |
- return "forward:/cop/cmy/selectCmmntyMsg.do"; |
|
| 715 |
- } |
|
| 716 |
- |
|
| 717 |
- /** |
|
| 718 |
- * 커뮤니티 탈퇴신청 페이지로 이동한다. |
|
| 719 |
- * |
|
| 720 |
- * @param cmmntyVO |
|
| 721 |
- * @param model |
|
| 722 |
- * @return |
|
| 723 |
- * @throws Exception |
|
| 724 |
- */ |
|
| 725 |
- @RequestMapping("/cop/cmy/selectCmmntyUserSecsn.do")
|
|
| 726 |
- public String selectCmmntyUserSecsn(@ModelAttribute("searchVO") CommunityVO cmmntyVO,
|
|
| 727 |
- ModelMap model, HttpServletRequest request, HttpServletResponse response) throws Exception {
|
|
| 728 |
- |
|
| 729 |
- SiteManageVO siteVO = siteManageService.selectSiteServiceInfo(request); |
|
| 730 |
- model.addAttribute("siteInfo", siteVO);
|
|
| 731 |
- |
|
| 732 |
- LoginVO user = EgovUserDetailsHelper.getAuthenticatedUser(request, response); |
|
| 733 |
- if(user == null) {
|
|
| 734 |
- model.addAttribute("message", egovMessageSource.getMessage("fail.user.login"));
|
|
| 735 |
- return "forward:/cop/cmy/selectCmmntyInfs.do"; |
|
| 736 |
- } |
|
| 737 |
- model.addAttribute("LOGIN_USER_INFO", user);
|
|
| 738 |
- model.addAttribute("LytFileStoreWebPathByWebFile", propertyService.getString("publish.tmplat.lyt.fileStoreWebPathByWebFile"));
|
|
| 739 |
- |
|
| 740 |
- request.getSession().setAttribute("sessionVO", cmmntyVO);
|
|
| 741 |
- return "cop/cmy/EgovCmmntyUserSecsn"; |
|
| 742 |
- } |
|
| 743 |
- |
|
| 744 |
- /** |
|
| 745 |
- * 커뮤니티 탈퇴신청을 처리한다. |
|
| 746 |
- * |
|
| 747 |
- * @param cmmntyUser |
|
| 748 |
- * @param model |
|
| 749 |
- * @return |
|
| 750 |
- * @throws Exception |
|
| 751 |
- */ |
|
| 752 |
- @RequestMapping("/cop/cmy/deleteCmmntyUserSecsn.do")
|
|
| 753 |
- public String deleteCmmntyUserBySelf(@ModelAttribute("cmmntyUser") CommunityUser cmmntyUser,
|
|
| 754 |
- @ModelAttribute("cmmntyVO") CommunityVO cmmntyVO,
|
|
| 755 |
- ModelMap model, HttpServletRequest request, HttpServletResponse response) throws Exception {
|
|
| 756 |
- |
|
| 757 |
- String retVal = ""; |
|
| 758 |
- LoginVO user = EgovUserDetailsHelper.getAuthenticatedUser(request, response); |
|
| 759 |
- |
|
| 760 |
- if(user == null) {
|
|
| 761 |
- model.addAttribute("message", egovMessageSource.getMessage("fail.user.login"));
|
|
| 762 |
- return "forward:/cop/cmy/selectCmmntyInfs.do"; |
|
| 763 |
- } else {
|
|
| 764 |
- |
|
| 765 |
- if (request.getSession().getAttribute("sessionVO") == null) return "forward:/cop/cmy/selectCmmntyInfs.do";
|
|
| 766 |
- |
|
| 767 |
- cmmntyUser.setUseAt("N");
|
|
| 768 |
- cmmntyUser.setLastUpdusrId(user.getId()); |
|
| 769 |
- cmmntyUser.setEmplyrId(user.getId()); |
|
| 770 |
- cmmntyUser.setSecsnDe(EgovDateUtil.getToday()); |
|
| 771 |
- |
|
| 772 |
- ConfirmHistory history = new ConfirmHistory(); |
|
| 773 |
- history.setConfmRqesterId(user.getId()); |
|
| 774 |
- history.setConfmerId(cmmntyUser.getEmplyrId()); |
|
| 775 |
- history.setConfmDe(EgovDateUtil.getToday()); |
|
| 776 |
- history.setConfmTyCode("CF12"); //커뮤니티사용자탈퇴
|
|
| 777 |
- history.setConfmSttusCode("AP02"); //승인허가
|
|
| 778 |
- history.setOpertTyCode("WC03"); //회원탈퇴
|
|
| 779 |
- history.setOpertId("");
|
|
| 780 |
- history.setTrgetJobTyCode("CMY");
|
|
| 781 |
- history.setTrgetJobId(cmmntyUser.getCmmntyId()); |
|
| 782 |
- |
|
| 783 |
- confmService.insertConfirmRequest(history); |
|
| 784 |
- cmmntyService.deleteCommunityUserInf(cmmntyUser); |
|
| 785 |
- retVal = "DEL_REQ_SUCCESS"; |
|
| 786 |
- } |
|
| 787 |
- |
|
| 788 |
- cmmntyVO.setResultCode(retVal); |
|
| 789 |
- request.getSession().removeAttribute("sessionVO");
|
|
| 790 |
- return "forward:/cop/cmy/selectCmmntyMsg.do"; |
|
| 791 |
- } |
|
| 792 |
- |
|
| 793 |
- /** |
|
| 794 |
- * 커뮤니티 폐쇄신청페이지로 이동한다. |
|
| 795 |
- * |
|
| 796 |
- * @param cmmntyVO |
|
| 797 |
- * @param model |
|
| 798 |
- * @return |
|
| 799 |
- * @throws Exception |
|
| 800 |
- */ |
|
| 801 |
- @RequestMapping("/cop/cmy/selectCmmntyClosing.do")
|
|
| 802 |
- public String selectCmmntyClosing(@ModelAttribute("searchVO") CommunityVO cmmntyVO,
|
|
| 803 |
- ModelMap model, HttpServletRequest request, HttpServletResponse response) throws Exception {
|
|
| 804 |
- |
|
| 805 |
- checkAuthority(cmmntyVO.getCmmntyId(), request, response); //권한확인 |
|
| 806 |
- |
|
| 807 |
- SiteManageVO siteVO = siteManageService.selectSiteServiceInfo(request); |
|
| 808 |
- model.addAttribute("siteInfo", siteVO);
|
|
| 809 |
- |
|
| 810 |
- LoginVO user = EgovUserDetailsHelper.getAuthenticatedUser(request, response); |
|
| 811 |
- if(user == null) {
|
|
| 812 |
- model.addAttribute("message", egovMessageSource.getMessage("fail.user.login"));
|
|
| 813 |
- return "forward:/cop/cmy/selectCmmntyInfs.do"; |
|
| 814 |
- } |
|
| 815 |
- request.getSession().setAttribute("sessionVO", cmmntyVO);
|
|
| 816 |
- model.addAttribute("LOGIN_USER_INFO", user);
|
|
| 817 |
- model.addAttribute("LytFileStoreWebPathByWebFile", propertyService.getString("publish.tmplat.lyt.fileStoreWebPathByWebFile"));
|
|
| 818 |
- return "cop/cmy/EgovCmmntyClosing"; |
|
| 819 |
- } |
|
| 820 |
- |
|
| 821 |
- /** |
|
| 822 |
- * 커뮤니티를 폐쇄한다. |
|
| 823 |
- * |
|
| 824 |
- * @param cmmntyVO |
|
| 825 |
- * @param status |
|
| 826 |
- * @param model |
|
| 827 |
- * @return |
|
| 828 |
- * @throws Exception |
|
| 829 |
- */ |
|
| 830 |
- @RequestMapping("/cop/cmy/deleteCmmntyClosing.do")
|
|
| 831 |
- public String updtCmmntyCls(@ModelAttribute("searchVO") CommunityVO cmmntyVO,
|
|
| 832 |
- Community community, |
|
| 833 |
- ModelMap model, HttpServletRequest request, HttpServletResponse response) throws Exception {
|
|
| 834 |
- |
|
| 835 |
- LoginVO user = EgovUserDetailsHelper.getAuthenticatedUser(request, response); |
|
| 836 |
- if(user == null) {
|
|
| 837 |
- model.addAttribute("message", egovMessageSource.getMessage("fail.user.login"));
|
|
| 838 |
- return "forward:/cop/cmy/selectCmmntyInfs.do"; |
|
| 839 |
- } |
|
| 840 |
- |
|
| 841 |
- CommunityUser cmmntyUser = new CommunityUser(); |
|
| 842 |
- |
|
| 843 |
- cmmntyUser.setCmmntyId(cmmntyVO.getCmmntyId()); |
|
| 844 |
- cmmntyUser.setEmplyrId(user.getId()); |
|
| 845 |
- CommunityUser result = cmmntyService.selectSingleCommunityUserInf(cmmntyUser); |
|
| 846 |
- |
|
| 847 |
- if(!"Y".equals(result.getMngrAt())){
|
|
| 848 |
- model.addAttribute("message", "권한이 없습니다.");
|
|
| 849 |
- return "forward:/cop/cmy/selectCmmntyInfs.do"; |
|
| 850 |
- } |
|
| 851 |
- |
|
| 852 |
- cmmntyService.deleteCommunityInf(community); |
|
| 853 |
- model.addAttribute("message", "커뮤니티를 정상적으로 폐쇄하였습니다.");
|
|
| 854 |
- |
|
| 855 |
- return "forward:/cop/cmy/selectCmmntyInfs.do"; |
|
| 856 |
- } |
|
| 857 |
- |
|
| 858 |
- |
|
| 859 |
- /** |
|
| 860 |
- * 커뮤니티 등록을 위한 커뮤니티명을 중복검색 한다. |
|
| 861 |
- * |
|
| 862 |
- * @param cmmntyVO |
|
| 863 |
- * @param model |
|
| 864 |
- * @return |
|
| 865 |
- * @throws Exception |
|
| 866 |
- */ |
|
| 867 |
- @RequestMapping("/cop/cmy/selectCmmntyNmDplct.do")
|
|
| 868 |
- public String selectCmmntyNmDplct(@ModelAttribute("cmmntyVO") CommunityVO cmmntyVO,
|
|
| 869 |
- ModelMap model, HttpServletRequest request) throws Exception {
|
|
| 870 |
- |
|
| 871 |
- SiteManageVO siteVO = siteManageService.selectSiteServiceInfo(request); |
|
| 872 |
- model.addAttribute("siteInfo", siteVO);
|
|
| 873 |
- model.addAttribute("LytFileStoreWebPathByWebFile", propertyService.getString("publish.tmplat.lyt.fileStoreWebPathByWebFile"));
|
|
| 874 |
- |
|
| 875 |
- int cmmntyNmCnt = -1; |
|
| 876 |
- |
|
| 877 |
- if(EgovStringUtil.isEmpty(cmmntyVO.getCmmntyNm())){ //커뮤니티명이 입력시에만 중복확인 처리 한다.
|
|
| 878 |
- model.addAttribute("cmmntyNmCnt", cmmntyNmCnt);
|
|
| 879 |
- return "cop/cmy/EgovCmmntyNmDplct"; |
|
| 880 |
- } |
|
| 881 |
- |
|
| 882 |
- model.addAttribute("cmmntyNmCnt", cmmntyService.checkCmmntyNmDplct(cmmntyVO));
|
|
| 883 |
- return "cop/cmy/EgovCmmntyNmDplct"; |
|
| 884 |
- } |
|
| 885 |
- |
|
| 886 |
- /** |
|
| 887 |
- * 커뮤니티 등록을 위한 커뮤니티 주소를 중복검색 한다. |
|
| 888 |
- * |
|
| 889 |
- * @param cmmntyVO |
|
| 890 |
- * @param model |
|
| 891 |
- * @return |
|
| 892 |
- * @throws Exception |
|
| 893 |
- */ |
|
| 894 |
- @RequestMapping("/cop/cmy/selectCmmntyAdresDplct.do")
|
|
| 895 |
- public String selectCmmntyAdresDplct(@ModelAttribute("cmmntyVO") CommunityVO cmmntyVO,
|
|
| 896 |
- ModelMap model, HttpServletRequest request) throws Exception {
|
|
| 897 |
- |
|
| 898 |
- SiteManageVO siteVO = siteManageService.selectSiteServiceInfo(request); |
|
| 899 |
- model.addAttribute("siteInfo", siteVO);
|
|
| 900 |
- model.addAttribute("LytFileStoreWebPathByWebFile", propertyService.getString("publish.tmplat.lyt.fileStoreWebPathByWebFile"));
|
|
| 901 |
- |
|
| 902 |
- int cmmntyAdresCnt = -1; |
|
| 903 |
- |
|
| 904 |
- if(EgovStringUtil.isEmpty(cmmntyVO.getCmmntyAdres())){ //커뮤니티주소가 입력시에만 중복확인 처리 한다.
|
|
| 905 |
- model.addAttribute("cmmntyAdresCnt", cmmntyAdresCnt);
|
|
| 906 |
- return "cop/cmy/EgovCmmntyAdresDplct"; |
|
| 907 |
- } |
|
| 908 |
- |
|
| 909 |
- model.addAttribute("cmmntyAdresCnt", cmmntyService.checkCmmntyAdresDplct(cmmntyVO));
|
|
| 910 |
- return "cop/cmy/EgovCmmntyAdresDplct"; |
|
| 911 |
- } |
|
| 912 |
- |
|
| 913 |
- /** |
|
| 914 |
- * 커뮤니티 메뉴를 순서를 변경한다. |
|
| 915 |
- * |
|
| 916 |
- * @param mnuVO |
|
| 917 |
- * @param model |
|
| 918 |
- * @return |
|
| 919 |
- * @throws Exception |
|
| 920 |
- */ |
|
| 921 |
- @RequestMapping("/cop/cmy/updateCmmntySortOrdr.do")
|
|
| 922 |
- public String updateMpmSortOrdr(@ModelAttribute("searchVO") CommunityMnu communityMnu, ModelMap model, HttpServletRequest request, HttpServletResponse response) throws Exception {
|
|
| 923 |
- |
|
| 924 |
- checkAuthority(communityMnu.getTrgetId(), request, response); //권한확인 |
|
| 925 |
- |
|
| 926 |
- SiteManageVO siteVO = siteManageService.selectSiteServiceInfo(request); |
|
| 927 |
- communityMnu.setSiteId(siteVO.getSiteId()); |
|
| 928 |
- communityMnu.setSysTyCode(siteVO.getSysTyCode()); |
|
| 929 |
- communityMnu.setCmmntyId(communityMnu.getTrgetId()); |
|
| 930 |
- |
|
| 931 |
- LoginVO user = EgovUserDetailsHelper.getAuthenticatedUser(request, response); |
|
| 932 |
- communityMnu.setEmplyrId(user.getId()); |
|
| 933 |
- cmmntyService.updateCommunitySortOrdr(communityMnu); |
|
| 934 |
- |
|
| 935 |
- return "forward:/cop/cmy/selectCmmntyMasterInfs.do"; |
|
| 936 |
- } |
|
| 937 |
- |
|
| 938 |
- /** |
|
| 939 |
- * 커뮤니티 게시판 마스터 목록을 조회한다. |
|
| 940 |
- * |
|
| 941 |
- * @param communityMnuVO |
|
| 942 |
- * @param model |
|
| 943 |
- * @return |
|
| 944 |
- * @throws Exception |
|
| 945 |
- */ |
|
| 946 |
- @RequestMapping("/cop/cmy/selectCmmntyMasterInfs.do")
|
|
| 947 |
- public String selectCmmntyMasterInfs(@ModelAttribute("searchVO") CommunityMnuVO communityMnuVO, ModelMap model, HttpServletRequest request, HttpServletResponse response) throws Exception {
|
|
| 948 |
- |
|
| 949 |
- checkAuthority(communityMnuVO.getTrgetId(), request, response); //권한확인 |
|
| 950 |
- |
|
| 951 |
- SiteManageVO siteVO = siteManageService.selectSiteServiceInfo(request); |
|
| 952 |
- model.addAttribute("siteInfo", siteVO);
|
|
| 953 |
- communityMnuVO.setSiteId(siteVO.getSiteId()); |
|
| 954 |
- communityMnuVO.setSysTyCode(siteVO.getSysTyCode()); |
|
| 955 |
- |
|
| 956 |
- LoginVO user = EgovUserDetailsHelper.getAuthenticatedUser(request, response); |
|
| 957 |
- if(user == null) {
|
|
| 958 |
- return "forward:/cop/cmy/selectCmmntyInfs.do"; |
|
| 959 |
- }else{
|
|
| 960 |
- CommunityUser cmmntyUser = new CommunityUser(); |
|
| 961 |
- cmmntyUser.setSiteId(communityMnuVO.getSiteId()); |
|
| 962 |
- cmmntyUser.setEmplyrId(user.getId()); |
|
| 963 |
- cmmntyUser.setCmmntyId(communityMnuVO.getTrgetId()); |
|
| 964 |
- model.addAttribute("USER_INFO", cmmntyService.selectSingleCommunityUserInf(cmmntyUser)); //사용자 정보
|
|
| 965 |
- } |
|
| 966 |
- |
|
| 967 |
- communityMnuVO.setPageUnit(propertyService.getInt("pageUnit"));
|
|
| 968 |
- communityMnuVO.setPageSize(propertyService.getInt("pageSize"));
|
|
| 969 |
- |
|
| 970 |
- PaginationInfo paginationInfo = new PaginationInfo(); |
|
| 971 |
- |
|
| 972 |
- paginationInfo.setCurrentPageNo(communityMnuVO.getPageIndex()); |
|
| 973 |
- paginationInfo.setRecordCountPerPage(communityMnuVO.getPageUnit()); |
|
| 974 |
- paginationInfo.setPageSize(communityMnuVO.getPageSize()); |
|
| 975 |
- |
|
| 976 |
- communityMnuVO.setFirstIndex(paginationInfo.getFirstRecordIndex()); |
|
| 977 |
- communityMnuVO.setLastIndex(paginationInfo.getLastRecordIndex()); |
|
| 978 |
- communityMnuVO.setRecordCountPerPage(paginationInfo.getRecordCountPerPage()); |
|
| 979 |
- |
|
| 980 |
- Map<String, Object> map = cmmntyService.selectCmmntyMasterInfs(communityMnuVO); |
|
| 981 |
- int totCnt = Integer.parseInt((String)map.get("resultCnt"));
|
|
| 982 |
- |
|
| 983 |
- paginationInfo.setTotalRecordCount(totCnt); |
|
| 984 |
- |
|
| 985 |
- model.addAttribute("resultList", map.get("resultList"));
|
|
| 986 |
- model.addAttribute("resultCnt", map.get("resultCnt"));
|
|
| 987 |
- model.addAttribute("paginationInfo", paginationInfo);
|
|
| 988 |
- |
|
| 989 |
- return "cop/cmy/EgovCmybbsMstrList"; |
|
| 990 |
- } |
|
| 991 |
- |
|
| 992 |
- /** |
|
| 993 |
- * 커뮤니티에 대한 처리결과 메세지를 보여준다. |
|
| 994 |
- * |
|
| 995 |
- * @param cmmntyVO |
|
| 996 |
- * @param status |
|
| 997 |
- * @param model |
|
| 998 |
- * @return |
|
| 999 |
- * @throws Exception |
|
| 1000 |
- */ |
|
| 1001 |
- @RequestMapping("/cop/cmy/selectCmmntyMsg.do")
|
|
| 1002 |
- public String selectCmmntyMsg(@ModelAttribute("searchVO") CommunityVO cmmntyVO, ModelMap model, HttpServletRequest request, HttpServletResponse response) throws Exception {
|
|
| 1003 |
- |
|
| 1004 |
- SiteManageVO siteVO = siteManageService.selectSiteServiceInfo(request); |
|
| 1005 |
- model.addAttribute("siteInfo", siteVO);
|
|
| 1006 |
- |
|
| 1007 |
- LoginVO user = EgovUserDetailsHelper.getAuthenticatedUser(request, response); |
|
| 1008 |
- if(user == null) {
|
|
| 1009 |
- model.addAttribute("message", egovMessageSource.getMessage("fail.user.login"));
|
|
| 1010 |
- return "forward:/cop/cmy/selectCmmntyInfs.do"; |
|
| 1011 |
- } |
|
| 1012 |
- |
|
| 1013 |
- model.addAttribute("LOGIN_USER_INFO", user);
|
|
| 1014 |
- model.addAttribute("LytFileStoreWebPathByWebFile", propertyService.getString("publish.tmplat.lyt.fileStoreWebPathByWebFile"));
|
|
| 1015 |
- |
|
| 1016 |
- return "cop/cmy/EgovCmmntyMsg"; |
|
| 1017 |
- } |
|
| 1018 |
- |
|
| 1019 |
- /** |
|
| 1020 |
- * 커뮤니티 게시판의 전체검색 결과를 보여준다. |
|
| 1021 |
- * |
|
| 1022 |
- * @param cmmntyVO |
|
| 1023 |
- * @param status |
|
| 1024 |
- * @param model |
|
| 1025 |
- * @return |
|
| 1026 |
- * @throws Exception |
|
| 1027 |
- */ |
|
| 1028 |
- @RequestMapping("/cop/cmy/selectCmmntyBoardList.do")
|
|
| 1029 |
- public String selectCmmntyBoardList(@ModelAttribute("searchVO") CommunityVO cmmntyVO, ModelMap model, HttpServletRequest request, HttpServletResponse response) throws Exception {
|
|
| 1030 |
- |
|
| 1031 |
- SiteManageVO siteVO = siteManageService.selectSiteServiceInfo(request); |
|
| 1032 |
- model.addAttribute("siteInfo", siteVO);
|
|
| 1033 |
- |
|
| 1034 |
- LoginVO user = EgovUserDetailsHelper.getAuthenticatedUser(request, response); |
|
| 1035 |
- if(user != null) {
|
|
| 1036 |
- CommunityUser cmmntyUser = new CommunityUser(); |
|
| 1037 |
- cmmntyUser.setSiteId(siteVO.getSiteId()); |
|
| 1038 |
- cmmntyUser.setEmplyrId(user.getId()); |
|
| 1039 |
- cmmntyUser.setCmmntyId(cmmntyVO.getCmmntyId()); |
|
| 1040 |
- model.addAttribute("USER_INFO", cmmntyService.selectSingleCommunityUserInf(cmmntyUser)); //사용자 정보
|
|
| 1041 |
- model.addAttribute("LOGIN_USER_INFO", user);
|
|
| 1042 |
- } |
|
| 1043 |
- |
|
| 1044 |
- cmmntyVO.setPageUnit(propertyService.getInt("pageUnit"));
|
|
| 1045 |
- cmmntyVO.setPageSize(propertyService.getInt("pageSize"));
|
|
| 1046 |
- |
|
| 1047 |
- PaginationInfo paginationInfo = new PaginationInfo(); |
|
| 1048 |
- |
|
| 1049 |
- paginationInfo.setCurrentPageNo(cmmntyVO.getPageIndex()); |
|
| 1050 |
- paginationInfo.setRecordCountPerPage(cmmntyVO.getPageUnit()); |
|
| 1051 |
- paginationInfo.setPageSize(cmmntyVO.getPageSize()); |
|
| 1052 |
- |
|
| 1053 |
- cmmntyVO.setFirstIndex(paginationInfo.getFirstRecordIndex()); |
|
| 1054 |
- cmmntyVO.setLastIndex(paginationInfo.getLastRecordIndex()); |
|
| 1055 |
- cmmntyVO.setRecordCountPerPage(paginationInfo.getRecordCountPerPage()); |
|
| 1056 |
- |
|
| 1057 |
- List<BoardVO> resultList = cmmntyService.selectCommunityBoardAllArticles(cmmntyVO); |
|
| 1058 |
- int totCnt = cmmntyService.selectCommunityBoardAllArticlesCnt(cmmntyVO); |
|
| 1059 |
- |
|
| 1060 |
- paginationInfo.setTotalRecordCount(totCnt); |
|
| 1061 |
- |
|
| 1062 |
- model.addAttribute("resultList", resultList);
|
|
| 1063 |
- model.addAttribute("resultCnt", totCnt);
|
|
| 1064 |
- model.addAttribute("paginationInfo", paginationInfo);
|
|
| 1065 |
- model.addAttribute("LytFileStoreWebPathByWebFile", propertyService.getString("publish.tmplat.lyt.fileStoreWebPathByWebFile"));
|
|
| 1066 |
- |
|
| 1067 |
- return "cop/cmy/EgovCommntyBoardList"; |
|
| 1068 |
- } |
|
| 1069 |
-} |
|
| 1 |
+package egovframework.com.cop.cmy.web; |
|
| 2 |
+ |
|
| 3 |
+import java.io.PrintWriter; |
|
| 4 |
+import java.util.HashMap; |
|
| 5 |
+import java.util.List; |
|
| 6 |
+import java.util.Map; |
|
| 7 |
+import java.util.regex.*; |
|
| 8 |
+ |
|
| 9 |
+import javax.annotation.Resource; |
|
| 10 |
+import javax.servlet.http.HttpServletRequest; |
|
| 11 |
+import javax.servlet.http.HttpServletResponse; |
|
| 12 |
+ |
|
| 13 |
+import org.apache.log4j.Logger; |
|
| 14 |
+import net.sf.json.JSONArray; |
|
| 15 |
+import net.sf.json.JSONObject; |
|
| 16 |
+import org.springframework.beans.factory.annotation.Autowired; |
|
| 17 |
+import org.springframework.stereotype.Controller; |
|
| 18 |
+import org.springframework.ui.ModelMap; |
|
| 19 |
+import org.springframework.validation.BindingResult; |
|
| 20 |
+import org.springframework.web.bind.annotation.ModelAttribute; |
|
| 21 |
+import org.springframework.web.bind.annotation.RequestMapping; |
|
| 22 |
+import org.springframework.web.multipart.MultipartFile; |
|
| 23 |
+import org.springframework.web.multipart.MultipartHttpServletRequest; |
|
| 24 |
+import org.springmodules.validation.commons.DefaultBeanValidator; |
|
| 25 |
+ |
|
| 26 |
+import egovframework.com.cmm.EgovMessageSource; |
|
| 27 |
+import egovframework.com.cmm.service.CmmUseService; |
|
| 28 |
+import egovframework.com.cmm.service.EgovFileMngUtil; |
|
| 29 |
+import egovframework.com.cmm.service.FileVO; |
|
| 30 |
+import egovframework.com.cop.bbs.service.BoardMasterVO; |
|
| 31 |
+import egovframework.com.cop.bbs.service.BoardVO; |
|
| 32 |
+import egovframework.com.cop.cmy.service.Community; |
|
| 33 |
+import egovframework.com.cop.cmy.service.CommunityMnuVO; |
|
| 34 |
+import egovframework.com.cop.cmy.service.CommunityUser; |
|
| 35 |
+import egovframework.com.cop.cmy.service.CommunityUserVO; |
|
| 36 |
+import egovframework.com.cop.cmy.service.CommunityVO; |
|
| 37 |
+import egovframework.com.cop.cmy.service.CommunityMnu; |
|
| 38 |
+import egovframework.com.cop.cmy.service.EgovCommunityManageService; |
|
| 39 |
+import egovframework.com.cop.com.service.ConfirmHistory; |
|
| 40 |
+import egovframework.com.cop.com.service.EgovConfirmManageService; |
|
| 41 |
+import egovframework.com.sec.ram.security.userdetails.util.EgovUserDetailsHelper; |
|
| 42 |
+import egovframework.com.sym.ccm.cde.service.CmmnDetailCodeVO; |
|
| 43 |
+import egovframework.com.sym.sit.service.SiteManageService; |
|
| 44 |
+import egovframework.com.sym.sit.service.SiteManageVO; |
|
| 45 |
+import egovframework.com.uat.uia.service.LoginVO; |
|
| 46 |
+import egovframework.com.utl.fcc.service.EgovDateUtil; |
|
| 47 |
+import egovframework.com.utl.fcc.service.EgovStringUtil; |
|
| 48 |
+import egovframework.rte.fdl.cmmn.exception.EgovBizException; |
|
| 49 |
+import egovframework.rte.fdl.property.EgovPropertyService; |
|
| 50 |
+import egovframework.rte.ptl.mvc.tags.ui.pagination.PaginationInfo; |
|
| 51 |
+ |
|
| 52 |
+ |
|
| 53 |
+/** |
|
| 54 |
+ * 커뮤니티 정보를 관리하기 위한 컨트롤러 클래스 |
|
| 55 |
+ * @author 공통서비스개발팀 이삼섭 |
|
| 56 |
+ * @since 2009.06.01 |
|
| 57 |
+ * @version 1.0 |
|
| 58 |
+ * @see |
|
| 59 |
+ * |
|
| 60 |
+ * <pre> |
|
| 61 |
+ * << 개정이력(Modification Information) >> |
|
| 62 |
+ * |
|
| 63 |
+ * 수정일 수정자 수정내용 |
|
| 64 |
+ * ------- -------- --------------------------- |
|
| 65 |
+ * 2009. 4. 2 이삼섭 최초 생성 |
|
| 66 |
+ * 2012. 1. 18 이호영 충청남도교육연구정보원 스마트충남 기능 개선 구축 |
|
| 67 |
+ * |
|
| 68 |
+ * </pre> |
|
| 69 |
+ */ |
|
| 70 |
+@Controller("EgovCommunityManageController")
|
|
| 71 |
+public class EgovCommunityManageController {
|
|
| 72 |
+ |
|
| 73 |
+ @Resource(name = "EgovCommunityManageService") |
|
| 74 |
+ private EgovCommunityManageService cmmntyService; |
|
| 75 |
+ |
|
| 76 |
+ @Resource(name = "EgovConfirmManageService") |
|
| 77 |
+ private EgovConfirmManageService confmService; |
|
| 78 |
+ |
|
| 79 |
+ @Resource(name = "propertiesService") |
|
| 80 |
+ protected EgovPropertyService propertyService; |
|
| 81 |
+ |
|
| 82 |
+ @Resource(name = "siteManageService") |
|
| 83 |
+ SiteManageService siteManageService; |
|
| 84 |
+ |
|
| 85 |
+ @Resource(name="cmmUseService") |
|
| 86 |
+ private CmmUseService cmmUseService; |
|
| 87 |
+ |
|
| 88 |
+ @Resource(name = "EgovFileMngUtil") |
|
| 89 |
+ private EgovFileMngUtil fileUtil; |
|
| 90 |
+ |
|
| 91 |
+ @Resource(name = "egovMessageSource") |
|
| 92 |
+ EgovMessageSource egovMessageSource; |
|
| 93 |
+ |
|
| 94 |
+ @Autowired |
|
| 95 |
+ private DefaultBeanValidator beanValidator; |
|
| 96 |
+ |
|
| 97 |
+ Logger log = Logger.getLogger(this.getClass()); |
|
| 98 |
+ |
|
| 99 |
+ |
|
| 100 |
+ /** |
|
| 101 |
+ * 커뮤니티 관리자 권한을 확인한다. |
|
| 102 |
+ * |
|
| 103 |
+ * @param history |
|
| 104 |
+ * @throws EgovBizException |
|
| 105 |
+ */ |
|
| 106 |
+ protected void checkAuthority(String trgetId, HttpServletRequest request, HttpServletResponse response) throws Exception {
|
|
| 107 |
+ |
|
| 108 |
+ LoginVO user = EgovUserDetailsHelper.getAuthenticatedUser(request, response); |
|
| 109 |
+ |
|
| 110 |
+ if (user == null) {
|
|
| 111 |
+ throw new EgovBizException("인증된 사용자 정보가 존재하지 않습니다.");
|
|
| 112 |
+ } |
|
| 113 |
+ |
|
| 114 |
+ if (trgetId.startsWith("CMMNTY_")) {
|
|
| 115 |
+ CommunityUser cmmntyUser = new CommunityUser(); |
|
| 116 |
+ |
|
| 117 |
+ cmmntyUser.setCmmntyId(trgetId); |
|
| 118 |
+ cmmntyUser.setEmplyrId(user.getId()); |
|
| 119 |
+ |
|
| 120 |
+ if (!cmmntyService.isManager(cmmntyUser)) {
|
|
| 121 |
+ throw new EgovBizException("해당 커뮤니티 관리자만 사용하실 수 있습니다.");
|
|
| 122 |
+ } |
|
| 123 |
+ } else {
|
|
| 124 |
+ throw new EgovBizException("대상ID 정보가 정확하지 않습니다.");
|
|
| 125 |
+ } |
|
| 126 |
+ } |
|
| 127 |
+ |
|
| 128 |
+ /** |
|
| 129 |
+ * 커뮤니티 메인에 대한 목록을 조회한다. |
|
| 130 |
+ * |
|
| 131 |
+ * @param cmmntyVO |
|
| 132 |
+ * @param model |
|
| 133 |
+ * @return |
|
| 134 |
+ * @throws Exception |
|
| 135 |
+ */ |
|
| 136 |
+ @RequestMapping("/cop/cmy/selectCmmntyInfs.do")
|
|
| 137 |
+ public String selectCmmntyInfs(@ModelAttribute("searchVO") CommunityVO cmmntyVO, ModelMap model, HttpServletRequest request, HttpServletResponse response) throws Exception {
|
|
| 138 |
+ |
|
| 139 |
+ /** 사이트 정보 */ |
|
| 140 |
+ SiteManageVO siteVO = siteManageService.selectSiteServiceInfo(request); |
|
| 141 |
+ model.addAttribute("siteInfo", siteVO);
|
|
| 142 |
+ |
|
| 143 |
+ cmmntyVO.setSiteId(siteVO.getSiteId()); |
|
| 144 |
+ cmmntyVO.setSysTyCode(siteVO.getSysTyCode()); |
|
| 145 |
+ |
|
| 146 |
+ LoginVO user = EgovUserDetailsHelper.getAuthenticatedUser(request, response); |
|
| 147 |
+ if(user != null) {
|
|
| 148 |
+ CommunityUser cmmntyUser = new CommunityUser(); |
|
| 149 |
+ cmmntyUser.setSiteId(cmmntyVO.getSiteId()); |
|
| 150 |
+ cmmntyUser.setEmplyrId(user.getId()); |
|
| 151 |
+ cmmntyUser.setCmmntyId(cmmntyVO.getCmmntyId()); |
|
| 152 |
+ model.addAttribute("USER_SBSCRB", cmmntyService.selectMyCmmntyList(cmmntyUser)); //사용자 가입목록
|
|
| 153 |
+ model.addAttribute("LOGIN_USER_INFO", user);
|
|
| 154 |
+ } |
|
| 155 |
+ |
|
| 156 |
+ PaginationInfo paginationInfo = new PaginationInfo(); |
|
| 157 |
+ cmmntyVO.setPageUnit(propertyService.getInt("pageUnit"));
|
|
| 158 |
+ cmmntyVO.setPageSize(propertyService.getInt("pageSize"));
|
|
| 159 |
+ paginationInfo.setCurrentPageNo(cmmntyVO.getPageIndex()); |
|
| 160 |
+ paginationInfo.setRecordCountPerPage(cmmntyVO.getRecordCountPerPage()); |
|
| 161 |
+ paginationInfo.setPageSize(cmmntyVO.getPageSize()); |
|
| 162 |
+ cmmntyVO.setFirstIndex(paginationInfo.getFirstRecordIndex()); |
|
| 163 |
+ cmmntyVO.setLastIndex(paginationInfo.getLastRecordIndex()); |
|
| 164 |
+ cmmntyVO.setRecordCountPerPage(paginationInfo.getRecordCountPerPage()); |
|
| 165 |
+ |
|
| 166 |
+ HashMap<String, Object> map = (HashMap<String, Object>)cmmntyService.selectCommunityInfs(cmmntyVO); |
|
| 167 |
+ model.addAttribute("resultList", map.get("resultList"));
|
|
| 168 |
+ int resultCnt = Integer.parseInt((String)map.get("resultCnt"));
|
|
| 169 |
+ paginationInfo.setTotalRecordCount(resultCnt); |
|
| 170 |
+ |
|
| 171 |
+ model.addAttribute("LytFileStoreWebPathByWebFile", propertyService.getString("publish.tmplat.lyt.fileStoreWebPathByWebFile"));
|
|
| 172 |
+ model.addAttribute("paginationInfo", paginationInfo);
|
|
| 173 |
+ |
|
| 174 |
+ model.addAttribute("CmmntyFileStoreWebPath", propertyService.getString("Cmmnty.fileStoreWebPath"));
|
|
| 175 |
+ |
|
| 176 |
+ return "cop/cmy/EgovCmmntyInfs"; |
|
| 177 |
+ } |
|
| 178 |
+ |
|
| 179 |
+ /** |
|
| 180 |
+ * 커뮤니티 메인에 대한 목록을 조회한다. |
|
| 181 |
+ * |
|
| 182 |
+ * @param cmmntyVO |
|
| 183 |
+ * @param model |
|
| 184 |
+ * @return |
|
| 185 |
+ * @throws Exception |
|
| 186 |
+ */ |
|
| 187 |
+ @SuppressWarnings({ "unchecked", "rawtypes" })
|
|
| 188 |
+ @RequestMapping("/cop/cmy/selectCmmntyJsonList.do")
|
|
| 189 |
+ public void selectCmmntyMainList(@ModelAttribute("searchVO") CommunityVO cmmntyVO, ModelMap model, HttpServletRequest request, HttpServletResponse response) throws Exception {
|
|
| 190 |
+ |
|
| 191 |
+ PaginationInfo paginationInfo = new PaginationInfo(); |
|
| 192 |
+ |
|
| 193 |
+ paginationInfo.setCurrentPageNo(cmmntyVO.getPageIndex()); |
|
| 194 |
+ paginationInfo.setRecordCountPerPage(cmmntyVO.getRecordCountPerPage()); |
|
| 195 |
+ paginationInfo.setPageSize(cmmntyVO.getPageSize()); |
|
| 196 |
+ |
|
| 197 |
+ cmmntyVO.setFirstIndex(paginationInfo.getFirstRecordIndex()); |
|
| 198 |
+ cmmntyVO.setLastIndex(paginationInfo.getLastRecordIndex()); |
|
| 199 |
+ cmmntyVO.setRecordCountPerPage(paginationInfo.getRecordCountPerPage()); |
|
| 200 |
+ |
|
| 201 |
+ HashMap map = (HashMap)cmmntyService.selectCommunityInfs(cmmntyVO); |
|
| 202 |
+ |
|
| 203 |
+ List<CommunityVO> resultList = (List<CommunityVO>) map.get("resultList");
|
|
| 204 |
+ int resultCnt = Integer.parseInt((String)map.get("resultCnt"));
|
|
| 205 |
+ |
|
| 206 |
+ CommunityVO result = null; |
|
| 207 |
+ JSONObject jObj = null; |
|
| 208 |
+ JSONArray jArray = new JSONArray(); |
|
| 209 |
+ if(resultList != null && resultList.size() > 0) {
|
|
| 210 |
+ for(int i=0; i < resultList.size(); i++) {
|
|
| 211 |
+ result = resultList.get(i); |
|
| 212 |
+ jObj = new JSONObject(); |
|
| 213 |
+ jObj.put("cmmntyId", egovframework.com.utl.fcc.service.EgovStringUtil.isNullToString(result.getCmmntyId()));
|
|
| 214 |
+ jObj.put("cmmntyNm", egovframework.com.utl.fcc.service.EgovStringUtil.isNullToString(result.getCmmntyNm()));
|
|
| 215 |
+ jObj.put("cmmntyAdres", egovframework.com.utl.fcc.service.EgovStringUtil.isNullToString(result.getCmmntyAdres()));
|
|
| 216 |
+ jObj.put("cmmntyIntrcn", egovframework.com.utl.fcc.service.EgovStringUtil.isNullToString(result.getCmmntyIntrcn()));
|
|
| 217 |
+ jObj.put("atchFileIcon", egovframework.com.utl.fcc.service.EgovStringUtil.isNullToString(result.getAtchFileIcon()));
|
|
| 218 |
+ jObj.put("frstRegisterNm", egovframework.com.utl.fcc.service.EgovStringUtil.isNullToString(result.getFrstRegisterNm()));
|
|
| 219 |
+ jObj.put("resultCnt", resultCnt);
|
|
| 220 |
+ jObj.put("userCo", egovframework.com.utl.fcc.service.EgovStringUtil.isNullToString(result.getUserCo()));
|
|
| 221 |
+ jArray.add(jObj); |
|
| 222 |
+ } |
|
| 223 |
+ } |
|
| 224 |
+ |
|
| 225 |
+ response.setContentType("text/javascript; charset=utf-8");
|
|
| 226 |
+ PrintWriter printwriter = response.getWriter(); |
|
| 227 |
+ printwriter.println(jArray.toString()); |
|
| 228 |
+ printwriter.flush(); |
|
| 229 |
+ printwriter.close(); |
|
| 230 |
+ } |
|
| 231 |
+ |
|
| 232 |
+ /** |
|
| 233 |
+ * 커뮤니티 등록을 위한 약관페이지로 이동한다. |
|
| 234 |
+ * |
|
| 235 |
+ * @param cmmntyVO |
|
| 236 |
+ * @param model |
|
| 237 |
+ * @return |
|
| 238 |
+ * @throws Exception |
|
| 239 |
+ */ |
|
| 240 |
+ @RequestMapping("/cop/cmy/selectCmmntyStplat.do")
|
|
| 241 |
+ public String selectCmmntyStplat(@ModelAttribute("searchVO") CommunityVO cmmntyVO, ModelMap model, HttpServletRequest request, HttpServletResponse response) throws Exception {
|
|
| 242 |
+ |
|
| 243 |
+ /** 사이트 정보 */ |
|
| 244 |
+ SiteManageVO siteVO = siteManageService.selectSiteServiceInfo(request); |
|
| 245 |
+ model.addAttribute("siteInfo", siteVO);
|
|
| 246 |
+ |
|
| 247 |
+ LoginVO user = EgovUserDetailsHelper.getAuthenticatedUser(request, response); |
|
| 248 |
+ model.addAttribute("LOGIN_USER_INFO", user);
|
|
| 249 |
+ |
|
| 250 |
+ if(user == null) {
|
|
| 251 |
+ model.addAttribute("message", egovMessageSource.getMessage("fail.user.login"));
|
|
| 252 |
+ return "forward:/cop/cmy/selectCmmntyInfs.do"; |
|
| 253 |
+ } |
|
| 254 |
+ request.getSession().setAttribute("sessionVO", cmmntyVO);
|
|
| 255 |
+ |
|
| 256 |
+ model.addAttribute("LytFileStoreWebPathByWebFile", propertyService.getString("publish.tmplat.lyt.fileStoreWebPathByWebFile"));
|
|
| 257 |
+ |
|
| 258 |
+ return "cop/cmy/EgovCmmntyStplat"; |
|
| 259 |
+ } |
|
| 260 |
+ |
|
| 261 |
+ /** |
|
| 262 |
+ * 커뮤니티 등록을 위한 등록페이지로 이동한다. |
|
| 263 |
+ * |
|
| 264 |
+ * @param cmmntyVO |
|
| 265 |
+ * @param model |
|
| 266 |
+ * @return |
|
| 267 |
+ * @throws Exception |
|
| 268 |
+ */ |
|
| 269 |
+ @RequestMapping("/cop/cmy/addCmmntyInf.do")
|
|
| 270 |
+ public String addCmmntyInf(@ModelAttribute("searchVO") CommunityVO cmmntyVO,
|
|
| 271 |
+ Community community, |
|
| 272 |
+ ModelMap model, HttpServletRequest request, HttpServletResponse response) throws Exception {
|
|
| 273 |
+ |
|
| 274 |
+ /** 사이트 정보 */ |
|
| 275 |
+ SiteManageVO siteVO = siteManageService.selectSiteServiceInfo(request); |
|
| 276 |
+ model.addAttribute("siteInfo", siteVO);
|
|
| 277 |
+ |
|
| 278 |
+ LoginVO user = EgovUserDetailsHelper.getAuthenticatedUser(request, response); |
|
| 279 |
+ model.addAttribute("LOGIN_USER_INFO", user);
|
|
| 280 |
+ if(user == null) {
|
|
| 281 |
+ model.addAttribute("message", egovMessageSource.getMessage("fail.user.login"));
|
|
| 282 |
+ return "forward:/cop/cmy/selectCmmntyInfs.do"; |
|
| 283 |
+ } |
|
| 284 |
+ |
|
| 285 |
+ if (request.getSession().getAttribute("sessionVO") == null) return "forward:/cop/cmy/selectCmmntyInfs.do";
|
|
| 286 |
+ |
|
| 287 |
+ /** 공통코드 - 커뮤니티구분코드(COM201) */ |
|
| 288 |
+ CmmnDetailCodeVO voComCode = new CmmnDetailCodeVO(); |
|
| 289 |
+ voComCode = new CmmnDetailCodeVO(); |
|
| 290 |
+ voComCode.setCodeId("COM201");
|
|
| 291 |
+ List<CmmnDetailCodeVO> listComCode = cmmUseService.selectCmmCodeDetail(voComCode); |
|
| 292 |
+ model.addAttribute("cmmntySe", listComCode);
|
|
| 293 |
+ |
|
| 294 |
+ if(!"".equals(cmmntyVO.getSearchTy())) community.setCmmntySeCode(cmmntyVO.getSearchTy()); |
|
| 295 |
+ |
|
| 296 |
+ model.addAttribute("communityVO", community);
|
|
| 297 |
+ |
|
| 298 |
+ model.addAttribute("LytFileStoreWebPathByWebFile", propertyService.getString("publish.tmplat.lyt.fileStoreWebPathByWebFile"));
|
|
| 299 |
+ |
|
| 300 |
+ return "cop/cmy/EgovCmmntyRegist"; |
|
| 301 |
+ } |
|
| 302 |
+ |
|
| 303 |
+ /** |
|
| 304 |
+ * 커뮤니티 정보를 등록 개설한다. |
|
| 305 |
+ * |
|
| 306 |
+ * @param cmmntyVO |
|
| 307 |
+ * @param community |
|
| 308 |
+ * @return |
|
| 309 |
+ * @throws Exception |
|
| 310 |
+ */ |
|
| 311 |
+ @SuppressWarnings("unchecked")
|
|
| 312 |
+ @RequestMapping("/cop/cmy/insertCmmntyInf.do")
|
|
| 313 |
+ public String insertCmmntyInf(final MultipartHttpServletRequest multiRequest, |
|
| 314 |
+ @ModelAttribute("searchVO") CommunityVO cmmntyVO,
|
|
| 315 |
+ Community community, |
|
| 316 |
+ BindingResult bindingResult, |
|
| 317 |
+ ModelMap model, |
|
| 318 |
+ HttpServletRequest request, HttpServletResponse response) throws Exception {
|
|
| 319 |
+ |
|
| 320 |
+ if (request.getSession().getAttribute("sessionVO") == null) return "forward:/cop/cmy/selectCmmntyInfs.do";
|
|
| 321 |
+ |
|
| 322 |
+ //커뮤니티 개설정보 무결성 체크 |
|
| 323 |
+ boolean checkCmmnty = true; |
|
| 324 |
+ |
|
| 325 |
+ beanValidator.validate(community, bindingResult); |
|
| 326 |
+ if (bindingResult.hasErrors()) {
|
|
| 327 |
+ checkCmmnty = false; |
|
| 328 |
+ } |
|
| 329 |
+ |
|
| 330 |
+ if(checkCmmnty){
|
|
| 331 |
+ if (cmmntyService.checkCmmntyNmDplct(cmmntyVO) > 0) {
|
|
| 332 |
+ model.addAttribute("message", "입력하신 커뮤니티명은 이미 사용중입니다. 다른커뮤니티명을 입력하여 주십시오."); //커뮤니티명 중복확인 체크
|
|
| 333 |
+ checkCmmnty = false; |
|
| 334 |
+ } |
|
| 335 |
+ } |
|
| 336 |
+ |
|
| 337 |
+ if(checkCmmnty){
|
|
| 338 |
+ if (cmmntyService.checkCmmntyAdresDplct(cmmntyVO) > 0) {
|
|
| 339 |
+ model.addAttribute("message", "입력하신 커뮤니티 주소는 이미 사용중입니다. 다른커뮤니티 주소를 입력하여 주십시오."); //커뮤니티 주소 중복확인 체크
|
|
| 340 |
+ checkCmmnty = false; |
|
| 341 |
+ } |
|
| 342 |
+ } |
|
| 343 |
+ |
|
| 344 |
+ |
|
| 345 |
+ if (checkCmmnty) {
|
|
| 346 |
+ SiteManageVO siteVO = siteManageService.selectSiteServiceInfo(request); |
|
| 347 |
+ community.setSiteId(siteVO.getSiteId()); |
|
| 348 |
+ community.setSysTyCode(siteVO.getSysTyCode()); |
|
| 349 |
+ |
|
| 350 |
+ List<FileVO> result = null; |
|
| 351 |
+ |
|
| 352 |
+ final Map<String, MultipartFile> files = multiRequest.getFileMap(); |
|
| 353 |
+ if(!files.isEmpty()) {
|
|
| 354 |
+ result = fileUtil.directParseFileInf(files, "CMMNTY_", 0, "Cmmnty.fileStorePath", ""); |
|
| 355 |
+ community.setFileValue(result); |
|
| 356 |
+ } |
|
| 357 |
+ |
|
| 358 |
+ LoginVO user = EgovUserDetailsHelper.getAuthenticatedUser(request, response); |
|
| 359 |
+ |
|
| 360 |
+ community.setEmplyrId(user.getId()); |
|
| 361 |
+ community.setFrstRegisterNm(user.getName()); |
|
| 362 |
+ community.setUseAt("Y");
|
|
| 363 |
+ community.setRegistSeCode("REGC02");
|
|
| 364 |
+ community.setFrstRegisterId(user.getId()); |
|
| 365 |
+ |
|
| 366 |
+ cmmntyService.insertCommunityInf(community); |
|
| 367 |
+ |
|
| 368 |
+ request.getSession().removeAttribute("sessionVO");
|
|
| 369 |
+ return "forward:/cmy/"+cmmntyVO.getCmmntyAdres()+".do"; |
|
| 370 |
+ }else{
|
|
| 371 |
+ /** 공통코드 - 커뮤니티구분코드(COM201) */ |
|
| 372 |
+ CmmnDetailCodeVO voComCode = new CmmnDetailCodeVO(); |
|
| 373 |
+ voComCode = new CmmnDetailCodeVO(); |
|
| 374 |
+ voComCode.setCodeId("COM201");
|
|
| 375 |
+ List<CmmnDetailCodeVO> listComCode = cmmUseService.selectCmmCodeDetail(voComCode); |
|
| 376 |
+ model.addAttribute("cmmntySe", listComCode);
|
|
| 377 |
+ |
|
| 378 |
+ if(!"".equals(cmmntyVO.getSearchTy())) community.setCmmntySeCode(cmmntyVO.getSearchTy()); |
|
| 379 |
+ return "cop/cmy/EgovCmmntyRegist"; |
|
| 380 |
+ } |
|
| 381 |
+ } |
|
| 382 |
+ |
|
| 383 |
+ /** |
|
| 384 |
+ * 커뮤니티 정보 수정을 위한 수정페이지로 이동한다. |
|
| 385 |
+ * |
|
| 386 |
+ * @param cmmntyVO |
|
| 387 |
+ * @param model |
|
| 388 |
+ * @return |
|
| 389 |
+ * @throws Exception |
|
| 390 |
+ */ |
|
| 391 |
+ @RequestMapping("/cop/cmy/forUpdateCmmntyInf.do")
|
|
| 392 |
+ public String forUpdateCmmntyInf(@ModelAttribute("searchVO") CommunityVO cmmntyVO, Community community,
|
|
| 393 |
+ ModelMap model, HttpServletRequest request, HttpServletResponse response) |
|
| 394 |
+ throws Exception {
|
|
| 395 |
+ |
|
| 396 |
+ checkAuthority(cmmntyVO.getCmmntyId(), request, response); //권한확인 |
|
| 397 |
+ |
|
| 398 |
+ SiteManageVO siteVO = siteManageService.selectSiteServiceInfo(request); |
|
| 399 |
+ model.addAttribute("siteInfo", siteVO);
|
|
| 400 |
+ cmmntyVO.setSiteId(siteVO.getSiteId()); |
|
| 401 |
+ cmmntyVO.setSysTyCode(siteVO.getSysTyCode()); |
|
| 402 |
+ |
|
| 403 |
+ /** 공통코드 - 커뮤니티구분코드(COM201) */ |
|
| 404 |
+ CmmnDetailCodeVO voComCode = new CmmnDetailCodeVO(); |
|
| 405 |
+ voComCode = new CmmnDetailCodeVO(); |
|
| 406 |
+ voComCode.setCodeId("COM201");
|
|
| 407 |
+ model.addAttribute("cmmntySe", cmmUseService.selectCmmCodeDetail(voComCode));
|
|
| 408 |
+ |
|
| 409 |
+ LoginVO user = EgovUserDetailsHelper.getAuthenticatedUser(request, response); |
|
| 410 |
+ |
|
| 411 |
+ model.addAttribute("communityVO", cmmntyService.selectCommunityInf(cmmntyVO));
|
|
| 412 |
+ model.addAttribute("LOGIN_USER_INFO", user);
|
|
| 413 |
+ model.addAttribute("LytFileStoreWebPathByWebFile", propertyService.getString("publish.tmplat.lyt.fileStoreWebPathByWebFile"));
|
|
| 414 |
+ |
|
| 415 |
+ request.getSession().setAttribute("sessionVO", cmmntyVO);
|
|
| 416 |
+ return "cop/cmy/EgovCmmntyUpdt"; |
|
| 417 |
+ } |
|
| 418 |
+ |
|
| 419 |
+ /** |
|
| 420 |
+ * 커뮤니티 정보를 수정한다. |
|
| 421 |
+ * |
|
| 422 |
+ * @param cmmntyVO |
|
| 423 |
+ * @param status |
|
| 424 |
+ * @param model |
|
| 425 |
+ * @return |
|
| 426 |
+ * @throws Exception |
|
| 427 |
+ */ |
|
| 428 |
+ @SuppressWarnings("unchecked")
|
|
| 429 |
+ @RequestMapping("/cop/cmy/updtCmmntyInf.do")
|
|
| 430 |
+ public String updtCmmntyInf(final MultipartHttpServletRequest multiRequest, |
|
| 431 |
+ @ModelAttribute("searchVO") CommunityVO cmmntyVO,
|
|
| 432 |
+ Community community, |
|
| 433 |
+ BindingResult bindingResult, ModelMap model, |
|
| 434 |
+ HttpServletRequest request, HttpServletResponse response) throws Exception {
|
|
| 435 |
+ |
|
| 436 |
+ checkAuthority(cmmntyVO.getCmmntyId(), request, response); //권한확인 |
|
| 437 |
+ |
|
| 438 |
+ if (request.getSession().getAttribute("sessionVO") == null) return "forward:/cmy/"+cmmntyVO.getCmmntyAdres()+".do";
|
|
| 439 |
+ |
|
| 440 |
+ LoginVO user = EgovUserDetailsHelper.getAuthenticatedUser(request, response); |
|
| 441 |
+ |
|
| 442 |
+ beanValidator.validate(community, bindingResult); |
|
| 443 |
+ if (bindingResult.hasErrors()) {
|
|
| 444 |
+ |
|
| 445 |
+ SiteManageVO siteVO = siteManageService.selectSiteServiceInfo(request); |
|
| 446 |
+ cmmntyVO.setSiteId(siteVO.getSiteId()); |
|
| 447 |
+ cmmntyVO.setSysTyCode(siteVO.getSysTyCode()); |
|
| 448 |
+ |
|
| 449 |
+ /** 공통코드 - 커뮤니티구분코드(COM201) */ |
|
| 450 |
+ CmmnDetailCodeVO voComCode = new CmmnDetailCodeVO(); |
|
| 451 |
+ voComCode = new CmmnDetailCodeVO(); |
|
| 452 |
+ voComCode.setCodeId("COM201");
|
|
| 453 |
+ List<CmmnDetailCodeVO> listComCode = cmmUseService.selectCmmCodeDetail(voComCode); |
|
| 454 |
+ model.addAttribute("cmmntySe", listComCode);
|
|
| 455 |
+ |
|
| 456 |
+ model.addAttribute("communityVO", cmmntyService.selectCommunityInf(cmmntyVO));
|
|
| 457 |
+ |
|
| 458 |
+ return "cop/cmy/EgovCmmntyUpdt"; |
|
| 459 |
+ } |
|
| 460 |
+ |
|
| 461 |
+ if (user != null) {
|
|
| 462 |
+ |
|
| 463 |
+ List<FileVO> result = null; |
|
| 464 |
+ |
|
| 465 |
+ final Map<String, MultipartFile> files = multiRequest.getFileMap(); |
|
| 466 |
+ if(!files.isEmpty()) {
|
|
| 467 |
+ result = fileUtil.directParseFileInf(files, "CMMNTY_", 0, "Cmmnty.fileStorePath", ""); |
|
| 468 |
+ community.setFileValue(result); |
|
| 469 |
+ } |
|
| 470 |
+ community.setLastUpdusrId(user.getId()); |
|
| 471 |
+ |
|
| 472 |
+ cmmntyService.updateCommunityInf(community); |
|
| 473 |
+ } |
|
| 474 |
+ request.getSession().removeAttribute("sessionVO");
|
|
| 475 |
+ return "forward:/cmy/"+cmmntyVO.getCmmntyAdres()+".do"; |
|
| 476 |
+ } |
|
| 477 |
+ |
|
| 478 |
+ /** |
|
| 479 |
+ * 정규식에 의한 페이지 주소 확인 |
|
| 480 |
+ * |
|
| 481 |
+ * @param url |
|
| 482 |
+ */ |
|
| 483 |
+ public String extractUrlParts(String url) {
|
|
| 484 |
+ |
|
| 485 |
+ String rVal = ""; |
|
| 486 |
+ Pattern urlPattern = Pattern.compile("^(/cmy/?)\\/([^#\\s\\?]*)?$");
|
|
| 487 |
+ Matcher mc = urlPattern.matcher(url); |
|
| 488 |
+ |
|
| 489 |
+ if(mc.matches() && mc.group(2) != null && !"".equals(mc.group(2))){
|
|
| 490 |
+ rVal = mc.group(2).replaceAll(".do", "");
|
|
| 491 |
+ } |
|
| 492 |
+ return rVal; |
|
| 493 |
+ } |
|
| 494 |
+ |
|
| 495 |
+ /** |
|
| 496 |
+ * 커뮤니티 메인페이지의 기본 내용(게시판 4개 표시) 조회한다. |
|
| 497 |
+ * |
|
| 498 |
+ * @param cmmntyVO |
|
| 499 |
+ * @param model |
|
| 500 |
+ * @return |
|
| 501 |
+ * @throws Exception |
|
| 502 |
+ */ |
|
| 503 |
+ @RequestMapping(value = "/cmy/*") |
|
| 504 |
+ public String selectCmmntyMainPage(@ModelAttribute("searchVO") CommunityVO cmmntyVO, ModelMap model, HttpServletRequest request, HttpServletResponse response) throws Exception {
|
|
| 505 |
+ |
|
| 506 |
+ String cmmntyAdres = extractUrlParts(request.getRequestURI()); //현재 URL정보 |
|
| 507 |
+ |
|
| 508 |
+ String cmmntyAdresReult = cmmntyService.selectCmmntyFindId(cmmntyAdres); |
|
| 509 |
+ |
|
| 510 |
+ if(cmmntyAdresReult == null || "".equals(cmmntyAdresReult)){
|
|
| 511 |
+ model.addAttribute("message", "커뮤니티가 개설되어 있지 않거나 존재하지 않는 커뮤니티 입니다.");
|
|
| 512 |
+ return "forward:/cop/cmy/selectCmmntyInfs.do"; |
|
| 513 |
+ } |
|
| 514 |
+ |
|
| 515 |
+ cmmntyVO.setCmmntyId(cmmntyAdresReult); //커뮤니티 주소 매칭 |
|
| 516 |
+ |
|
| 517 |
+ SiteManageVO siteVO = siteManageService.selectSiteServiceInfo(request); |
|
| 518 |
+ model.addAttribute("siteInfo", siteVO);
|
|
| 519 |
+ cmmntyVO.setSiteId(siteVO.getSiteId()); |
|
| 520 |
+ cmmntyVO.setSysTyCode(siteVO.getSysTyCode()); |
|
| 521 |
+ |
|
| 522 |
+ LoginVO user = EgovUserDetailsHelper.getAuthenticatedUser(request, response); |
|
| 523 |
+ if(user != null) {
|
|
| 524 |
+ CommunityUser cmmntyUser = new CommunityUser(); |
|
| 525 |
+ cmmntyUser.setSiteId(cmmntyVO.getSiteId()); |
|
| 526 |
+ cmmntyUser.setEmplyrId(user.getId()); |
|
| 527 |
+ cmmntyUser.setCmmntyId(cmmntyVO.getCmmntyId()); |
|
| 528 |
+ model.addAttribute("USER_INFO", cmmntyService.selectSingleCommunityUserInf(cmmntyUser)); //사용자 정보
|
|
| 529 |
+ model.addAttribute("LOGIN_USER_INFO", user);
|
|
| 530 |
+ } |
|
| 531 |
+ |
|
| 532 |
+ BoardMasterVO bbsVo = new BoardMasterVO(); |
|
| 533 |
+ bbsVo.setSiteId(cmmntyVO.getSiteId()); |
|
| 534 |
+ bbsVo.setSysTyCode(cmmntyVO.getSysTyCode()); |
|
| 535 |
+ bbsVo.setTrgetId(cmmntyVO.getCmmntyId()); |
|
| 536 |
+ |
|
| 537 |
+ // 게시판 목록 정보 처리 |
|
| 538 |
+ List<CommunityMnu> bbsResult = cmmntyService.selectCommunityBbsMaster(cmmntyVO); |
|
| 539 |
+ |
|
| 540 |
+ model.addAttribute("bbsList", bbsResult);
|
|
| 541 |
+ |
|
| 542 |
+ // 게시물 목록 정보 처리 |
|
| 543 |
+ BoardVO boardVo = new BoardVO(); |
|
| 544 |
+ CommunityMnu masterVo = null; |
|
| 545 |
+ |
|
| 546 |
+ boardVo.setTrgetId(cmmntyVO.getCmmntyId()); |
|
| 547 |
+ |
|
| 548 |
+ //신규 게시물 처리 |
|
| 549 |
+ boardVo.setRecordCountPerPage(15); |
|
| 550 |
+ List<BoardVO> bbsNewResult = cmmntyService.selectBoardNewArticles(boardVo); |
|
| 551 |
+ model.addAttribute("bbsNewList", bbsNewResult);
|
|
| 552 |
+ |
|
| 553 |
+ if(bbsResult != null && bbsResult.size() > 0) {
|
|
| 554 |
+ for (int i = 0; i < bbsResult.size() && i < 4; i++) {
|
|
| 555 |
+ masterVo = bbsResult.get(i); |
|
| 556 |
+ boardVo = new BoardVO(); |
|
| 557 |
+ boardVo.setTrgetId(cmmntyVO.getCmmntyId()); |
|
| 558 |
+ boardVo.setBbsId(masterVo.getBbsId()); |
|
| 559 |
+ boardVo.setBbsNm(masterVo.getBbsNm()); |
|
| 560 |
+ boardVo.setTmplatId(masterVo.getTmplatId()); |
|
| 561 |
+ |
|
| 562 |
+ boardVo.setRecordCountPerPage(5); |
|
| 563 |
+ bbsResult.get(i).setAriticleList(cmmntyService.selectBoardNewArticles(boardVo)); |
|
| 564 |
+ } |
|
| 565 |
+ } |
|
| 566 |
+ |
|
| 567 |
+ model.addAttribute("LytFileStoreWebPathByWebFile", propertyService.getString("publish.tmplat.lyt.fileStoreWebPathByWebFile"));
|
|
| 568 |
+ |
|
| 569 |
+ return "cop/cmy/EgovCmmntyMainPage"; |
|
| 570 |
+ } |
|
| 571 |
+ |
|
| 572 |
+ /** |
|
| 573 |
+ * 커뮤니티 소개 페이지. |
|
| 574 |
+ * |
|
| 575 |
+ * @param cmmntyVO |
|
| 576 |
+ * @param model |
|
| 577 |
+ * @return |
|
| 578 |
+ * @throws Exception |
|
| 579 |
+ */ |
|
| 580 |
+ @RequestMapping("/cop/cmy/selectCmmntyInfo.do")
|
|
| 581 |
+ public String selectCmmntyView(@ModelAttribute("searchVO") CommunityVO cmmntyVO, ModelMap model, HttpServletRequest request, HttpServletResponse response) throws Exception {
|
|
| 582 |
+ |
|
| 583 |
+ SiteManageVO siteVO = siteManageService.selectSiteServiceInfo(request); |
|
| 584 |
+ model.addAttribute("siteInfo", siteVO);
|
|
| 585 |
+ |
|
| 586 |
+ //커뮤니티 정보 |
|
| 587 |
+ model.addAttribute("cmmntyVO", cmmntyService.selectCommunityInf(cmmntyVO));
|
|
| 588 |
+ model.addAttribute("LytFileStoreWebPathByWebFile", propertyService.getString("publish.tmplat.lyt.fileStoreWebPathByWebFile"));
|
|
| 589 |
+ |
|
| 590 |
+ return "cop/cmy/EgovCmmntyInfo"; |
|
| 591 |
+ } |
|
| 592 |
+ |
|
| 593 |
+ /** |
|
| 594 |
+ * 커뮤니티 사용신청(회원가입) 등록페이지. |
|
| 595 |
+ * |
|
| 596 |
+ * @param cmmntyVO |
|
| 597 |
+ * @param model |
|
| 598 |
+ * @return |
|
| 599 |
+ * @throws Exception |
|
| 600 |
+ */ |
|
| 601 |
+ @RequestMapping("/cop/cmy/selectCmmntyUserBySelf.do")
|
|
| 602 |
+ public String selectCmmntyUserBySelf(@ModelAttribute("communityUserVO") CommunityUserVO communityUserVO,
|
|
| 603 |
+ ModelMap model, HttpServletRequest request, HttpServletResponse response) throws Exception {
|
|
| 604 |
+ |
|
| 605 |
+ SiteManageVO siteVO = siteManageService.selectSiteServiceInfo(request); |
|
| 606 |
+ model.addAttribute("siteInfo", siteVO);
|
|
| 607 |
+ |
|
| 608 |
+ LoginVO user = EgovUserDetailsHelper.getAuthenticatedUser(request, response); |
|
| 609 |
+ if(user == null) {
|
|
| 610 |
+ model.addAttribute("message", egovMessageSource.getMessage("fail.user.login"));
|
|
| 611 |
+ return "forward:/cop/cmy/selectCmmntyInfs.do"; |
|
| 612 |
+ } |
|
| 613 |
+ |
|
| 614 |
+ model.addAttribute("LOGIN_USER_INFO", user);
|
|
| 615 |
+ model.addAttribute("LytFileStoreWebPathByWebFile", propertyService.getString("publish.tmplat.lyt.fileStoreWebPathByWebFile"));
|
|
| 616 |
+ request.getSession().setAttribute("sessionVO", communityUserVO);
|
|
| 617 |
+ return "cop/cmy/EgovCmmntyUserBySelf"; |
|
| 618 |
+ } |
|
| 619 |
+ |
|
| 620 |
+ /** |
|
| 621 |
+ * 커뮤니티 사용신청(회원가입)을 등록한다. |
|
| 622 |
+ * |
|
| 623 |
+ * @param communityUserVO |
|
| 624 |
+ * @param model |
|
| 625 |
+ * @return |
|
| 626 |
+ * @throws Exception |
|
| 627 |
+ */ |
|
| 628 |
+ @RequestMapping("/cop/cmy/insertCmmntyUserBySelf.do")
|
|
| 629 |
+ public String insertCmmntyUserBySelf(@ModelAttribute("communityUserVO") CommunityUserVO communityUserVO,
|
|
| 630 |
+ BindingResult bindingResult, |
|
| 631 |
+ @ModelAttribute("cmmntyVO") CommunityVO cmmntyVO,
|
|
| 632 |
+ ModelMap model, HttpServletRequest request, HttpServletResponse response) throws Exception {
|
|
| 633 |
+ |
|
| 634 |
+ LoginVO user = EgovUserDetailsHelper.getAuthenticatedUser(request, response); |
|
| 635 |
+ |
|
| 636 |
+ if(user == null) {
|
|
| 637 |
+ model.addAttribute("message", egovMessageSource.getMessage("fail.user.login"));
|
|
| 638 |
+ return "forward:/cop/cmy/selectCmmntyInfs.do"; |
|
| 639 |
+ } |
|
| 640 |
+ |
|
| 641 |
+ SiteManageVO siteVO = siteManageService.selectSiteServiceInfo(request); |
|
| 642 |
+ model.addAttribute("siteInfo", siteVO);
|
|
| 643 |
+ |
|
| 644 |
+ beanValidator.validate(communityUserVO, bindingResult); |
|
| 645 |
+ if (bindingResult.hasErrors()) {
|
|
| 646 |
+ |
|
| 647 |
+ model.addAttribute("LOGIN_USER_INFO", user);
|
|
| 648 |
+ model.addAttribute("LytFileStoreWebPathByWebFile", propertyService.getString("publish.tmplat.lyt.fileStoreWebPathByWebFile"));
|
|
| 649 |
+ |
|
| 650 |
+ return "cop/cmy/EgovCmmntyUserBySelf"; |
|
| 651 |
+ } |
|
| 652 |
+ |
|
| 653 |
+ if (request.getSession().getAttribute("sessionVO") == null) return "forward:/cop/cmy/selectCmmntyUserBySelf.do";
|
|
| 654 |
+ |
|
| 655 |
+ String retVal = ""; |
|
| 656 |
+ |
|
| 657 |
+ communityUserVO.setFrstRegisterId(user.getId()); |
|
| 658 |
+ communityUserVO.setEmplyrId(user.getId()); |
|
| 659 |
+ |
|
| 660 |
+ //--------------------------------------------- |
|
| 661 |
+ // 재가입정책에 따른 가입 처리 |
|
| 662 |
+ // 가입방식 - confmPolicyCode Y:가입신청시 자동승인, N:확인 후 수동승인 |
|
| 663 |
+ // 재가입정책 - resbscrbPolicyCode Y:재가입 허용, N:재가입 불가 |
|
| 664 |
+ //--------------------------------------------- |
|
| 665 |
+ CommunityVO resultInfo = cmmntyService.selectCommunityInf(cmmntyVO); |
|
| 666 |
+ |
|
| 667 |
+ if ("Y".equals(resultInfo.getResbscrbPolicyCode())) communityUserVO.setUseAt("Y"); // 재가입허용시 중복유무 체크
|
|
| 668 |
+ retVal = cmmntyService.checkCommunityUserInf(communityUserVO); |
|
| 669 |
+ |
|
| 670 |
+ if (!retVal.equals("EXIST")) {
|
|
| 671 |
+ |
|
| 672 |
+ CommunityUser manager = cmmntyService.selectManager(cmmntyVO); |
|
| 673 |
+ |
|
| 674 |
+ ConfirmHistory history = new ConfirmHistory(); |
|
| 675 |
+ |
|
| 676 |
+ history.setAutoAt(resultInfo.getConfmPolicyCode()); // 자동승인여부 |
|
| 677 |
+ history.setConfmRqesterId(user.getId()); // 요청자 ID |
|
| 678 |
+ history.setConfmRqesterNm(user.getName()); // 요청자 이름 |
|
| 679 |
+ history.setConfmRqesterIntrcn(communityUserVO.getUserIntrcn()); // 요청자 소개 |
|
| 680 |
+ history.setConfmerId(manager.getEmplyrId()); // 승인자 ID |
|
| 681 |
+ history.setConfmTyCode("CF11"); // 커뮤니티사용자등록 (커뮤니티사용자등록)
|
|
| 682 |
+ history.setConfmSttusCode("AP01"); // 승인요청(AP01:승인요청 AP02:승인허가 AP03:승인반려)
|
|
| 683 |
+ history.setOpertTyCode("WC01"); // 회원가입
|
|
| 684 |
+ history.setTrgetJobTyCode("CMY"); // 대상작업구분
|
|
| 685 |
+ history.setTrgetJobId(communityUserVO.getCmmntyId()); // 대상작업 ID |
|
| 686 |
+ history.setMyMenuAt(communityUserVO.getMyMenuAt()); |
|
| 687 |
+ |
|
| 688 |
+ int cnt = confmService.countConfirmRequest(history); //승인중인 건수 중복체크 |
|
| 689 |
+ |
|
| 690 |
+ if (cnt == 0) {
|
|
| 691 |
+ |
|
| 692 |
+ confmService.insertConfirmRequest(history); |
|
| 693 |
+ |
|
| 694 |
+ if("Y".equals(resultInfo.getConfmPolicyCode())) {
|
|
| 695 |
+ retVal = "CMMNTY_MBER_B"; //회원가입 완료 |
|
| 696 |
+ }else{
|
|
| 697 |
+ retVal = "CMMNTY_MBER_A"; //회원가입 요청 |
|
| 698 |
+ } |
|
| 699 |
+ } else {
|
|
| 700 |
+ retVal = "ING"; |
|
| 701 |
+ } |
|
| 702 |
+ }else{
|
|
| 703 |
+ if ("N".equals(resultInfo.getResbscrbPolicyCode())){
|
|
| 704 |
+ retVal="CMMNTY_INTRCP"; //재가입 차단메세지 |
|
| 705 |
+ }else{
|
|
| 706 |
+ retVal="CMMNTY_MBER_FC"; //중복가입 메세지 |
|
| 707 |
+ } |
|
| 708 |
+ } |
|
| 709 |
+ |
|
| 710 |
+ cmmntyVO.setResultCode(retVal); |
|
| 711 |
+ request.getSession().removeAttribute("sessionVO");
|
|
| 712 |
+ return "forward:/cop/cmy/selectCmmntyMsg.do"; |
|
| 713 |
+ } |
|
| 714 |
+ |
|
| 715 |
+ /** |
|
| 716 |
+ * 커뮤니티 탈퇴신청 페이지로 이동한다. |
|
| 717 |
+ * |
|
| 718 |
+ * @param cmmntyVO |
|
| 719 |
+ * @param model |
|
| 720 |
+ * @return |
|
| 721 |
+ * @throws Exception |
|
| 722 |
+ */ |
|
| 723 |
+ @RequestMapping("/cop/cmy/selectCmmntyUserSecsn.do")
|
|
| 724 |
+ public String selectCmmntyUserSecsn(@ModelAttribute("searchVO") CommunityVO cmmntyVO,
|
|
| 725 |
+ ModelMap model, HttpServletRequest request, HttpServletResponse response) throws Exception {
|
|
| 726 |
+ |
|
| 727 |
+ SiteManageVO siteVO = siteManageService.selectSiteServiceInfo(request); |
|
| 728 |
+ model.addAttribute("siteInfo", siteVO);
|
|
| 729 |
+ |
|
| 730 |
+ LoginVO user = EgovUserDetailsHelper.getAuthenticatedUser(request, response); |
|
| 731 |
+ if(user == null) {
|
|
| 732 |
+ model.addAttribute("message", egovMessageSource.getMessage("fail.user.login"));
|
|
| 733 |
+ return "forward:/cop/cmy/selectCmmntyInfs.do"; |
|
| 734 |
+ } |
|
| 735 |
+ model.addAttribute("LOGIN_USER_INFO", user);
|
|
| 736 |
+ model.addAttribute("LytFileStoreWebPathByWebFile", propertyService.getString("publish.tmplat.lyt.fileStoreWebPathByWebFile"));
|
|
| 737 |
+ |
|
| 738 |
+ request.getSession().setAttribute("sessionVO", cmmntyVO);
|
|
| 739 |
+ return "cop/cmy/EgovCmmntyUserSecsn"; |
|
| 740 |
+ } |
|
| 741 |
+ |
|
| 742 |
+ /** |
|
| 743 |
+ * 커뮤니티 탈퇴신청을 처리한다. |
|
| 744 |
+ * |
|
| 745 |
+ * @param cmmntyUser |
|
| 746 |
+ * @param model |
|
| 747 |
+ * @return |
|
| 748 |
+ * @throws Exception |
|
| 749 |
+ */ |
|
| 750 |
+ @RequestMapping("/cop/cmy/deleteCmmntyUserSecsn.do")
|
|
| 751 |
+ public String deleteCmmntyUserBySelf(@ModelAttribute("cmmntyUser") CommunityUser cmmntyUser,
|
|
| 752 |
+ @ModelAttribute("cmmntyVO") CommunityVO cmmntyVO,
|
|
| 753 |
+ ModelMap model, HttpServletRequest request, HttpServletResponse response) throws Exception {
|
|
| 754 |
+ |
|
| 755 |
+ String retVal = ""; |
|
| 756 |
+ LoginVO user = EgovUserDetailsHelper.getAuthenticatedUser(request, response); |
|
| 757 |
+ |
|
| 758 |
+ if(user == null) {
|
|
| 759 |
+ model.addAttribute("message", egovMessageSource.getMessage("fail.user.login"));
|
|
| 760 |
+ return "forward:/cop/cmy/selectCmmntyInfs.do"; |
|
| 761 |
+ } else {
|
|
| 762 |
+ |
|
| 763 |
+ if (request.getSession().getAttribute("sessionVO") == null) return "forward:/cop/cmy/selectCmmntyInfs.do";
|
|
| 764 |
+ |
|
| 765 |
+ cmmntyUser.setUseAt("N");
|
|
| 766 |
+ cmmntyUser.setLastUpdusrId(user.getId()); |
|
| 767 |
+ cmmntyUser.setEmplyrId(user.getId()); |
|
| 768 |
+ cmmntyUser.setSecsnDe(EgovDateUtil.getToday()); |
|
| 769 |
+ |
|
| 770 |
+ ConfirmHistory history = new ConfirmHistory(); |
|
| 771 |
+ history.setConfmRqesterId(user.getId()); |
|
| 772 |
+ history.setConfmerId(cmmntyUser.getEmplyrId()); |
|
| 773 |
+ history.setConfmDe(EgovDateUtil.getToday()); |
|
| 774 |
+ history.setConfmTyCode("CF12"); //커뮤니티사용자탈퇴
|
|
| 775 |
+ history.setConfmSttusCode("AP02"); //승인허가
|
|
| 776 |
+ history.setOpertTyCode("WC03"); //회원탈퇴
|
|
| 777 |
+ history.setOpertId("");
|
|
| 778 |
+ history.setTrgetJobTyCode("CMY");
|
|
| 779 |
+ history.setTrgetJobId(cmmntyUser.getCmmntyId()); |
|
| 780 |
+ |
|
| 781 |
+ confmService.insertConfirmRequest(history); |
|
| 782 |
+ cmmntyService.deleteCommunityUserInf(cmmntyUser); |
|
| 783 |
+ retVal = "DEL_REQ_SUCCESS"; |
|
| 784 |
+ } |
|
| 785 |
+ |
|
| 786 |
+ cmmntyVO.setResultCode(retVal); |
|
| 787 |
+ request.getSession().removeAttribute("sessionVO");
|
|
| 788 |
+ return "forward:/cop/cmy/selectCmmntyMsg.do"; |
|
| 789 |
+ } |
|
| 790 |
+ |
|
| 791 |
+ /** |
|
| 792 |
+ * 커뮤니티 폐쇄신청페이지로 이동한다. |
|
| 793 |
+ * |
|
| 794 |
+ * @param cmmntyVO |
|
| 795 |
+ * @param model |
|
| 796 |
+ * @return |
|
| 797 |
+ * @throws Exception |
|
| 798 |
+ */ |
|
| 799 |
+ @RequestMapping("/cop/cmy/selectCmmntyClosing.do")
|
|
| 800 |
+ public String selectCmmntyClosing(@ModelAttribute("searchVO") CommunityVO cmmntyVO,
|
|
| 801 |
+ ModelMap model, HttpServletRequest request, HttpServletResponse response) throws Exception {
|
|
| 802 |
+ |
|
| 803 |
+ checkAuthority(cmmntyVO.getCmmntyId(), request, response); //권한확인 |
|
| 804 |
+ |
|
| 805 |
+ SiteManageVO siteVO = siteManageService.selectSiteServiceInfo(request); |
|
| 806 |
+ model.addAttribute("siteInfo", siteVO);
|
|
| 807 |
+ |
|
| 808 |
+ LoginVO user = EgovUserDetailsHelper.getAuthenticatedUser(request, response); |
|
| 809 |
+ if(user == null) {
|
|
| 810 |
+ model.addAttribute("message", egovMessageSource.getMessage("fail.user.login"));
|
|
| 811 |
+ return "forward:/cop/cmy/selectCmmntyInfs.do"; |
|
| 812 |
+ } |
|
| 813 |
+ request.getSession().setAttribute("sessionVO", cmmntyVO);
|
|
| 814 |
+ model.addAttribute("LOGIN_USER_INFO", user);
|
|
| 815 |
+ model.addAttribute("LytFileStoreWebPathByWebFile", propertyService.getString("publish.tmplat.lyt.fileStoreWebPathByWebFile"));
|
|
| 816 |
+ return "cop/cmy/EgovCmmntyClosing"; |
|
| 817 |
+ } |
|
| 818 |
+ |
|
| 819 |
+ /** |
|
| 820 |
+ * 커뮤니티를 폐쇄한다. |
|
| 821 |
+ * |
|
| 822 |
+ * @param cmmntyVO |
|
| 823 |
+ * @param status |
|
| 824 |
+ * @param model |
|
| 825 |
+ * @return |
|
| 826 |
+ * @throws Exception |
|
| 827 |
+ */ |
|
| 828 |
+ @RequestMapping("/cop/cmy/deleteCmmntyClosing.do")
|
|
| 829 |
+ public String updtCmmntyCls(@ModelAttribute("searchVO") CommunityVO cmmntyVO,
|
|
| 830 |
+ Community community, |
|
| 831 |
+ ModelMap model, HttpServletRequest request, HttpServletResponse response) throws Exception {
|
|
| 832 |
+ |
|
| 833 |
+ LoginVO user = EgovUserDetailsHelper.getAuthenticatedUser(request, response); |
|
| 834 |
+ if(user == null) {
|
|
| 835 |
+ model.addAttribute("message", egovMessageSource.getMessage("fail.user.login"));
|
|
| 836 |
+ return "forward:/cop/cmy/selectCmmntyInfs.do"; |
|
| 837 |
+ } |
|
| 838 |
+ |
|
| 839 |
+ CommunityUser cmmntyUser = new CommunityUser(); |
|
| 840 |
+ |
|
| 841 |
+ cmmntyUser.setCmmntyId(cmmntyVO.getCmmntyId()); |
|
| 842 |
+ cmmntyUser.setEmplyrId(user.getId()); |
|
| 843 |
+ CommunityUser result = cmmntyService.selectSingleCommunityUserInf(cmmntyUser); |
|
| 844 |
+ |
|
| 845 |
+ if(!"Y".equals(result.getMngrAt())){
|
|
| 846 |
+ model.addAttribute("message", "권한이 없습니다.");
|
|
| 847 |
+ return "forward:/cop/cmy/selectCmmntyInfs.do"; |
|
| 848 |
+ } |
|
| 849 |
+ |
|
| 850 |
+ cmmntyService.deleteCommunityInf(community); |
|
| 851 |
+ model.addAttribute("message", "커뮤니티를 정상적으로 폐쇄하였습니다.");
|
|
| 852 |
+ |
|
| 853 |
+ return "forward:/cop/cmy/selectCmmntyInfs.do"; |
|
| 854 |
+ } |
|
| 855 |
+ |
|
| 856 |
+ |
|
| 857 |
+ /** |
|
| 858 |
+ * 커뮤니티 등록을 위한 커뮤니티명을 중복검색 한다. |
|
| 859 |
+ * |
|
| 860 |
+ * @param cmmntyVO |
|
| 861 |
+ * @param model |
|
| 862 |
+ * @return |
|
| 863 |
+ * @throws Exception |
|
| 864 |
+ */ |
|
| 865 |
+ @RequestMapping("/cop/cmy/selectCmmntyNmDplct.do")
|
|
| 866 |
+ public String selectCmmntyNmDplct(@ModelAttribute("cmmntyVO") CommunityVO cmmntyVO,
|
|
| 867 |
+ ModelMap model, HttpServletRequest request) throws Exception {
|
|
| 868 |
+ |
|
| 869 |
+ SiteManageVO siteVO = siteManageService.selectSiteServiceInfo(request); |
|
| 870 |
+ model.addAttribute("siteInfo", siteVO);
|
|
| 871 |
+ model.addAttribute("LytFileStoreWebPathByWebFile", propertyService.getString("publish.tmplat.lyt.fileStoreWebPathByWebFile"));
|
|
| 872 |
+ |
|
| 873 |
+ int cmmntyNmCnt = -1; |
|
| 874 |
+ |
|
| 875 |
+ if(EgovStringUtil.isEmpty(cmmntyVO.getCmmntyNm())){ //커뮤니티명이 입력시에만 중복확인 처리 한다.
|
|
| 876 |
+ model.addAttribute("cmmntyNmCnt", cmmntyNmCnt);
|
|
| 877 |
+ return "cop/cmy/EgovCmmntyNmDplct"; |
|
| 878 |
+ } |
|
| 879 |
+ |
|
| 880 |
+ model.addAttribute("cmmntyNmCnt", cmmntyService.checkCmmntyNmDplct(cmmntyVO));
|
|
| 881 |
+ return "cop/cmy/EgovCmmntyNmDplct"; |
|
| 882 |
+ } |
|
| 883 |
+ |
|
| 884 |
+ /** |
|
| 885 |
+ * 커뮤니티 등록을 위한 커뮤니티 주소를 중복검색 한다. |
|
| 886 |
+ * |
|
| 887 |
+ * @param cmmntyVO |
|
| 888 |
+ * @param model |
|
| 889 |
+ * @return |
|
| 890 |
+ * @throws Exception |
|
| 891 |
+ */ |
|
| 892 |
+ @RequestMapping("/cop/cmy/selectCmmntyAdresDplct.do")
|
|
| 893 |
+ public String selectCmmntyAdresDplct(@ModelAttribute("cmmntyVO") CommunityVO cmmntyVO,
|
|
| 894 |
+ ModelMap model, HttpServletRequest request) throws Exception {
|
|
| 895 |
+ |
|
| 896 |
+ SiteManageVO siteVO = siteManageService.selectSiteServiceInfo(request); |
|
| 897 |
+ model.addAttribute("siteInfo", siteVO);
|
|
| 898 |
+ model.addAttribute("LytFileStoreWebPathByWebFile", propertyService.getString("publish.tmplat.lyt.fileStoreWebPathByWebFile"));
|
|
| 899 |
+ |
|
| 900 |
+ int cmmntyAdresCnt = -1; |
|
| 901 |
+ |
|
| 902 |
+ if(EgovStringUtil.isEmpty(cmmntyVO.getCmmntyAdres())){ //커뮤니티주소가 입력시에만 중복확인 처리 한다.
|
|
| 903 |
+ model.addAttribute("cmmntyAdresCnt", cmmntyAdresCnt);
|
|
| 904 |
+ return "cop/cmy/EgovCmmntyAdresDplct"; |
|
| 905 |
+ } |
|
| 906 |
+ |
|
| 907 |
+ model.addAttribute("cmmntyAdresCnt", cmmntyService.checkCmmntyAdresDplct(cmmntyVO));
|
|
| 908 |
+ return "cop/cmy/EgovCmmntyAdresDplct"; |
|
| 909 |
+ } |
|
| 910 |
+ |
|
| 911 |
+ /** |
|
| 912 |
+ * 커뮤니티 메뉴를 순서를 변경한다. |
|
| 913 |
+ * |
|
| 914 |
+ * @param mnuVO |
|
| 915 |
+ * @param model |
|
| 916 |
+ * @return |
|
| 917 |
+ * @throws Exception |
|
| 918 |
+ */ |
|
| 919 |
+ @RequestMapping("/cop/cmy/updateCmmntySortOrdr.do")
|
|
| 920 |
+ public String updateMpmSortOrdr(@ModelAttribute("searchVO") CommunityMnu communityMnu, ModelMap model, HttpServletRequest request, HttpServletResponse response) throws Exception {
|
|
| 921 |
+ |
|
| 922 |
+ checkAuthority(communityMnu.getTrgetId(), request, response); //권한확인 |
|
| 923 |
+ |
|
| 924 |
+ SiteManageVO siteVO = siteManageService.selectSiteServiceInfo(request); |
|
| 925 |
+ communityMnu.setSiteId(siteVO.getSiteId()); |
|
| 926 |
+ communityMnu.setSysTyCode(siteVO.getSysTyCode()); |
|
| 927 |
+ communityMnu.setCmmntyId(communityMnu.getTrgetId()); |
|
| 928 |
+ |
|
| 929 |
+ LoginVO user = EgovUserDetailsHelper.getAuthenticatedUser(request, response); |
|
| 930 |
+ communityMnu.setEmplyrId(user.getId()); |
|
| 931 |
+ cmmntyService.updateCommunitySortOrdr(communityMnu); |
|
| 932 |
+ |
|
| 933 |
+ return "forward:/cop/cmy/selectCmmntyMasterInfs.do"; |
|
| 934 |
+ } |
|
| 935 |
+ |
|
| 936 |
+ /** |
|
| 937 |
+ * 커뮤니티 게시판 마스터 목록을 조회한다. |
|
| 938 |
+ * |
|
| 939 |
+ * @param communityMnuVO |
|
| 940 |
+ * @param model |
|
| 941 |
+ * @return |
|
| 942 |
+ * @throws Exception |
|
| 943 |
+ */ |
|
| 944 |
+ @RequestMapping("/cop/cmy/selectCmmntyMasterInfs.do")
|
|
| 945 |
+ public String selectCmmntyMasterInfs(@ModelAttribute("searchVO") CommunityMnuVO communityMnuVO, ModelMap model, HttpServletRequest request, HttpServletResponse response) throws Exception {
|
|
| 946 |
+ |
|
| 947 |
+ checkAuthority(communityMnuVO.getTrgetId(), request, response); //권한확인 |
|
| 948 |
+ |
|
| 949 |
+ SiteManageVO siteVO = siteManageService.selectSiteServiceInfo(request); |
|
| 950 |
+ model.addAttribute("siteInfo", siteVO);
|
|
| 951 |
+ communityMnuVO.setSiteId(siteVO.getSiteId()); |
|
| 952 |
+ communityMnuVO.setSysTyCode(siteVO.getSysTyCode()); |
|
| 953 |
+ |
|
| 954 |
+ LoginVO user = EgovUserDetailsHelper.getAuthenticatedUser(request, response); |
|
| 955 |
+ if(user == null) {
|
|
| 956 |
+ return "forward:/cop/cmy/selectCmmntyInfs.do"; |
|
| 957 |
+ }else{
|
|
| 958 |
+ CommunityUser cmmntyUser = new CommunityUser(); |
|
| 959 |
+ cmmntyUser.setSiteId(communityMnuVO.getSiteId()); |
|
| 960 |
+ cmmntyUser.setEmplyrId(user.getId()); |
|
| 961 |
+ cmmntyUser.setCmmntyId(communityMnuVO.getTrgetId()); |
|
| 962 |
+ model.addAttribute("USER_INFO", cmmntyService.selectSingleCommunityUserInf(cmmntyUser)); //사용자 정보
|
|
| 963 |
+ } |
|
| 964 |
+ |
|
| 965 |
+ communityMnuVO.setPageUnit(propertyService.getInt("pageUnit"));
|
|
| 966 |
+ communityMnuVO.setPageSize(propertyService.getInt("pageSize"));
|
|
| 967 |
+ |
|
| 968 |
+ PaginationInfo paginationInfo = new PaginationInfo(); |
|
| 969 |
+ |
|
| 970 |
+ paginationInfo.setCurrentPageNo(communityMnuVO.getPageIndex()); |
|
| 971 |
+ paginationInfo.setRecordCountPerPage(communityMnuVO.getPageUnit()); |
|
| 972 |
+ paginationInfo.setPageSize(communityMnuVO.getPageSize()); |
|
| 973 |
+ |
|
| 974 |
+ communityMnuVO.setFirstIndex(paginationInfo.getFirstRecordIndex()); |
|
| 975 |
+ communityMnuVO.setLastIndex(paginationInfo.getLastRecordIndex()); |
|
| 976 |
+ communityMnuVO.setRecordCountPerPage(paginationInfo.getRecordCountPerPage()); |
|
| 977 |
+ |
|
| 978 |
+ Map<String, Object> map = cmmntyService.selectCmmntyMasterInfs(communityMnuVO); |
|
| 979 |
+ int totCnt = Integer.parseInt((String)map.get("resultCnt"));
|
|
| 980 |
+ |
|
| 981 |
+ paginationInfo.setTotalRecordCount(totCnt); |
|
| 982 |
+ |
|
| 983 |
+ model.addAttribute("resultList", map.get("resultList"));
|
|
| 984 |
+ model.addAttribute("resultCnt", map.get("resultCnt"));
|
|
| 985 |
+ model.addAttribute("paginationInfo", paginationInfo);
|
|
| 986 |
+ |
|
| 987 |
+ return "cop/cmy/EgovCmybbsMstrList"; |
|
| 988 |
+ } |
|
| 989 |
+ |
|
| 990 |
+ /** |
|
| 991 |
+ * 커뮤니티에 대한 처리결과 메세지를 보여준다. |
|
| 992 |
+ * |
|
| 993 |
+ * @param cmmntyVO |
|
| 994 |
+ * @param status |
|
| 995 |
+ * @param model |
|
| 996 |
+ * @return |
|
| 997 |
+ * @throws Exception |
|
| 998 |
+ */ |
|
| 999 |
+ @RequestMapping("/cop/cmy/selectCmmntyMsg.do")
|
|
| 1000 |
+ public String selectCmmntyMsg(@ModelAttribute("searchVO") CommunityVO cmmntyVO, ModelMap model, HttpServletRequest request, HttpServletResponse response) throws Exception {
|
|
| 1001 |
+ |
|
| 1002 |
+ SiteManageVO siteVO = siteManageService.selectSiteServiceInfo(request); |
|
| 1003 |
+ model.addAttribute("siteInfo", siteVO);
|
|
| 1004 |
+ |
|
| 1005 |
+ LoginVO user = EgovUserDetailsHelper.getAuthenticatedUser(request, response); |
|
| 1006 |
+ if(user == null) {
|
|
| 1007 |
+ model.addAttribute("message", egovMessageSource.getMessage("fail.user.login"));
|
|
| 1008 |
+ return "forward:/cop/cmy/selectCmmntyInfs.do"; |
|
| 1009 |
+ } |
|
| 1010 |
+ |
|
| 1011 |
+ model.addAttribute("LOGIN_USER_INFO", user);
|
|
| 1012 |
+ model.addAttribute("LytFileStoreWebPathByWebFile", propertyService.getString("publish.tmplat.lyt.fileStoreWebPathByWebFile"));
|
|
| 1013 |
+ |
|
| 1014 |
+ return "cop/cmy/EgovCmmntyMsg"; |
|
| 1015 |
+ } |
|
| 1016 |
+ |
|
| 1017 |
+ /** |
|
| 1018 |
+ * 커뮤니티 게시판의 전체검색 결과를 보여준다. |
|
| 1019 |
+ * |
|
| 1020 |
+ * @param cmmntyVO |
|
| 1021 |
+ * @param status |
|
| 1022 |
+ * @param model |
|
| 1023 |
+ * @return |
|
| 1024 |
+ * @throws Exception |
|
| 1025 |
+ */ |
|
| 1026 |
+ @RequestMapping("/cop/cmy/selectCmmntyBoardList.do")
|
|
| 1027 |
+ public String selectCmmntyBoardList(@ModelAttribute("searchVO") CommunityVO cmmntyVO, ModelMap model, HttpServletRequest request, HttpServletResponse response) throws Exception {
|
|
| 1028 |
+ |
|
| 1029 |
+ SiteManageVO siteVO = siteManageService.selectSiteServiceInfo(request); |
|
| 1030 |
+ model.addAttribute("siteInfo", siteVO);
|
|
| 1031 |
+ |
|
| 1032 |
+ LoginVO user = EgovUserDetailsHelper.getAuthenticatedUser(request, response); |
|
| 1033 |
+ if(user != null) {
|
|
| 1034 |
+ CommunityUser cmmntyUser = new CommunityUser(); |
|
| 1035 |
+ cmmntyUser.setSiteId(siteVO.getSiteId()); |
|
| 1036 |
+ cmmntyUser.setEmplyrId(user.getId()); |
|
| 1037 |
+ cmmntyUser.setCmmntyId(cmmntyVO.getCmmntyId()); |
|
| 1038 |
+ model.addAttribute("USER_INFO", cmmntyService.selectSingleCommunityUserInf(cmmntyUser)); //사용자 정보
|
|
| 1039 |
+ model.addAttribute("LOGIN_USER_INFO", user);
|
|
| 1040 |
+ } |
|
| 1041 |
+ |
|
| 1042 |
+ cmmntyVO.setPageUnit(propertyService.getInt("pageUnit"));
|
|
| 1043 |
+ cmmntyVO.setPageSize(propertyService.getInt("pageSize"));
|
|
| 1044 |
+ |
|
| 1045 |
+ PaginationInfo paginationInfo = new PaginationInfo(); |
|
| 1046 |
+ |
|
| 1047 |
+ paginationInfo.setCurrentPageNo(cmmntyVO.getPageIndex()); |
|
| 1048 |
+ paginationInfo.setRecordCountPerPage(cmmntyVO.getPageUnit()); |
|
| 1049 |
+ paginationInfo.setPageSize(cmmntyVO.getPageSize()); |
|
| 1050 |
+ |
|
| 1051 |
+ cmmntyVO.setFirstIndex(paginationInfo.getFirstRecordIndex()); |
|
| 1052 |
+ cmmntyVO.setLastIndex(paginationInfo.getLastRecordIndex()); |
|
| 1053 |
+ cmmntyVO.setRecordCountPerPage(paginationInfo.getRecordCountPerPage()); |
|
| 1054 |
+ |
|
| 1055 |
+ List<BoardVO> resultList = cmmntyService.selectCommunityBoardAllArticles(cmmntyVO); |
|
| 1056 |
+ int totCnt = cmmntyService.selectCommunityBoardAllArticlesCnt(cmmntyVO); |
|
| 1057 |
+ |
|
| 1058 |
+ paginationInfo.setTotalRecordCount(totCnt); |
|
| 1059 |
+ |
|
| 1060 |
+ model.addAttribute("resultList", resultList);
|
|
| 1061 |
+ model.addAttribute("resultCnt", totCnt);
|
|
| 1062 |
+ model.addAttribute("paginationInfo", paginationInfo);
|
|
| 1063 |
+ model.addAttribute("LytFileStoreWebPathByWebFile", propertyService.getString("publish.tmplat.lyt.fileStoreWebPathByWebFile"));
|
|
| 1064 |
+ |
|
| 1065 |
+ return "cop/cmy/EgovCommntyBoardList"; |
|
| 1066 |
+ } |
|
| 1067 |
+} |
--- base/src/main/java/egovframework/com/cop/cmy/web/TemplateServiceController.java
+++ base/src/main/java/egovframework/com/cop/cmy/web/TemplateServiceController.java
... | ... | @@ -1,103 +1,103 @@ |
| 1 |
-package egovframework.com.cop.cmy.web; |
|
| 2 |
- |
|
| 3 |
-import javax.annotation.Resource; |
|
| 4 |
-import javax.servlet.http.HttpServletRequest; |
|
| 5 |
-import javax.servlet.http.HttpServletResponse; |
|
| 6 |
- |
|
| 7 |
-import org.springframework.stereotype.Controller; |
|
| 8 |
-import org.springframework.ui.ModelMap; |
|
| 9 |
-import org.springframework.web.bind.annotation.ModelAttribute; |
|
| 10 |
-import org.springframework.web.bind.annotation.RequestMapping; |
|
| 11 |
- |
|
| 12 |
-import egovframework.com.cmm.service.Globals; |
|
| 13 |
-import egovframework.com.cop.cmy.service.CommunityUser; |
|
| 14 |
-import egovframework.com.cop.cmy.service.CommunityVO; |
|
| 15 |
-import egovframework.com.cop.cmy.service.EgovCommunityManageService; |
|
| 16 |
-import egovframework.com.sec.ram.security.userdetails.util.EgovUserDetailsHelper; |
|
| 17 |
-import egovframework.com.sym.sit.service.EgovSiteManageService; |
|
| 18 |
-import egovframework.com.sym.sit.service.SiteManageVO; |
|
| 19 |
-import egovframework.com.uat.uia.service.LoginVO; |
|
| 20 |
-import egovframework.com.utl.fcc.service.EgovHttpUtil; |
|
| 21 |
-import egovframework.rte.fdl.property.EgovPropertyService; |
|
| 22 |
- |
|
| 23 |
-/****************************************************** |
|
| 24 |
- * @Class Name : TemplateServiceController.java |
|
| 25 |
- * @Program name : egovframework.com.cop.cmy.web |
|
| 26 |
- * @Descriptopn : 커뮤니티 템플릿 |
|
| 27 |
- * @version : 1.0.0 |
|
| 28 |
- * @author : 이호영 |
|
| 29 |
- * @created date : 2012. 1. 25. |
|
| 30 |
- * Modification log |
|
| 31 |
- * ===================================================== |
|
| 32 |
- * date name description |
|
| 33 |
- * ----------------------------------------------------- |
|
| 34 |
- * 2012. 1. 25. 이호영 first generated |
|
| 35 |
-*********************************************************/ |
|
| 36 |
- |
|
| 37 |
-@Controller("CmyTemplateServiceController")
|
|
| 38 |
-public class TemplateServiceController {
|
|
| 39 |
- |
|
| 40 |
- @Resource(name = "propertiesService") |
|
| 41 |
- protected EgovPropertyService propertyService; |
|
| 42 |
- |
|
| 43 |
- @Resource(name = "EgovCommunityManageService") |
|
| 44 |
- private EgovCommunityManageService cmmntyService; |
|
| 45 |
- |
|
| 46 |
- @Resource(name = "SiteManageService") |
|
| 47 |
- EgovSiteManageService siteManageService; |
|
| 48 |
- |
|
| 49 |
- @RequestMapping(value = "/cop/cmy/tmplatHead.do") |
|
| 50 |
- public String cmyTmplatHead(@ModelAttribute("searchVO") CommunityVO cmmntyVO, HttpServletRequest request, HttpServletResponse response, ModelMap model) throws Exception {
|
|
| 51 |
- |
|
| 52 |
- if(!"".equals(cmmntyVO.getTrgetId())) cmmntyVO.setCmmntyId(cmmntyVO.getTrgetId()); |
|
| 53 |
- |
|
| 54 |
- /* |
|
| 55 |
- ComDefaultCodeVO voComCode = new ComDefaultCodeVO(); |
|
| 56 |
- voComCode = new ComDefaultCodeVO(); |
|
| 57 |
- voComCode.setCodeId("COM201");
|
|
| 58 |
- List<CmmnDetailCode> listComCode = cmmUseService.selectCmmCodeDetail(voComCode); |
|
| 59 |
- model.addAttribute("cmmntySe", listComCode); //공통카테고리
|
|
| 60 |
- */ |
|
| 61 |
- |
|
| 62 |
- if(!"Y".equals(request.getParameter("isMain"))) model.addAttribute("cmmntyMnuList", cmmntyService.selectCommunityMenuList(cmmntyVO)); //메뉴정보
|
|
| 63 |
- if(!"".equals(cmmntyVO.getCmmntyId())) model.addAttribute("cmmntyVO", cmmntyService.selectCommunityInfo(cmmntyVO)); //커뮤니티 정보
|
|
| 64 |
- |
|
| 65 |
- SiteManageVO siteVO = siteManageService.selectSiteServiceInfo(request); |
|
| 66 |
- model.addAttribute("siteInfo", siteVO);
|
|
| 67 |
- model.addAttribute("LytFileStoreWebPathByWebFile", propertyService.getString("publish.tmplat.lyt.fileStoreWebPathByWebFile"));
|
|
| 68 |
- |
|
| 69 |
- LoginVO user = EgovUserDetailsHelper.getAuthenticatedUser(request, response); |
|
| 70 |
- if(user != null) {
|
|
| 71 |
- CommunityUser cmmntyUser = new CommunityUser(); |
|
| 72 |
- cmmntyUser.setSiteId(siteVO.getSiteId()); |
|
| 73 |
- cmmntyUser.setEmplyrId(user.getId()); |
|
| 74 |
- cmmntyUser.setCmmntyId(cmmntyVO.getCmmntyId()); |
|
| 75 |
- model.addAttribute("USER_SBSCRB", cmmntyService.selectMyCmmntyList(cmmntyUser)); //사용자 가입목록
|
|
| 76 |
- model.addAttribute("USER_INFO", cmmntyService.selectSingleCommunityUserInf(cmmntyUser)); //사용자 정보
|
|
| 77 |
- } |
|
| 78 |
- |
|
| 79 |
- model.addAttribute("CmmntyFileStoreWebPath", propertyService.getString("Cmmnty.fileStoreWebPath"));
|
|
| 80 |
- |
|
| 81 |
- return propertyService.getString("publish.sourc.lyt.fileStoreWebPathByJspFile")
|
|
| 82 |
- + "cmy/" |
|
| 83 |
- + siteVO.getCmySourcId() |
|
| 84 |
- + "/sourcHead" |
|
| 85 |
- + (EgovHttpUtil.getIsMobile(request) && "Y".equals(siteVO.getMobileUseAt()) ? Globals.PUBLISH_MOBILE_APPEND_FREFIX : ""); |
|
| 86 |
- } |
|
| 87 |
- |
|
| 88 |
- @RequestMapping(value = "/cop/cmy/tmplatBottom.do") |
|
| 89 |
- public String cmyTmplatBottom(@ModelAttribute("searchVO") CommunityVO cmmntyVO, ModelMap model, HttpServletRequest request) throws Exception {
|
|
| 90 |
- if(!"".equals(cmmntyVO.getTrgetId())) cmmntyVO.setCmmntyId(cmmntyVO.getTrgetId()); |
|
| 91 |
- |
|
| 92 |
- SiteManageVO siteVO = siteManageService.selectSiteServiceInfo(request); |
|
| 93 |
- model.addAttribute("siteInfo", siteVO);
|
|
| 94 |
- model.addAttribute("LytFileStoreWebPathByWebFile", propertyService.getString("publish.tmplat.lyt.fileStoreWebPathByWebFile"));
|
|
| 95 |
- |
|
| 96 |
- return propertyService.getString("publish.sourc.lyt.fileStoreWebPathByJspFile")
|
|
| 97 |
- + "cmy/" |
|
| 98 |
- + siteVO.getCmySourcId() |
|
| 99 |
- + "/sourcBottom" |
|
| 100 |
- + (EgovHttpUtil.getIsMobile(request) && "Y".equals(siteVO.getMobileUseAt()) ? Globals.PUBLISH_MOBILE_APPEND_FREFIX : ""); |
|
| 101 |
- } |
|
| 102 |
- |
|
| 103 |
-} |
|
| 1 |
+package egovframework.com.cop.cmy.web; |
|
| 2 |
+ |
|
| 3 |
+import javax.annotation.Resource; |
|
| 4 |
+import javax.servlet.http.HttpServletRequest; |
|
| 5 |
+import javax.servlet.http.HttpServletResponse; |
|
| 6 |
+ |
|
| 7 |
+import org.springframework.stereotype.Controller; |
|
| 8 |
+import org.springframework.ui.ModelMap; |
|
| 9 |
+import org.springframework.web.bind.annotation.ModelAttribute; |
|
| 10 |
+import org.springframework.web.bind.annotation.RequestMapping; |
|
| 11 |
+ |
|
| 12 |
+import egovframework.com.cmm.service.Globals; |
|
| 13 |
+import egovframework.com.cop.cmy.service.CommunityUser; |
|
| 14 |
+import egovframework.com.cop.cmy.service.CommunityVO; |
|
| 15 |
+import egovframework.com.cop.cmy.service.EgovCommunityManageService; |
|
| 16 |
+import egovframework.com.sec.ram.security.userdetails.util.EgovUserDetailsHelper; |
|
| 17 |
+import egovframework.com.sym.sit.service.SiteManageService; |
|
| 18 |
+import egovframework.com.sym.sit.service.SiteManageVO; |
|
| 19 |
+import egovframework.com.uat.uia.service.LoginVO; |
|
| 20 |
+import egovframework.com.utl.fcc.service.EgovHttpUtil; |
|
| 21 |
+import egovframework.rte.fdl.property.EgovPropertyService; |
|
| 22 |
+ |
|
| 23 |
+/****************************************************** |
|
| 24 |
+ * @Class Name : TemplateServiceController.java |
|
| 25 |
+ * @Program name : egovframework.com.cop.cmy.web |
|
| 26 |
+ * @Descriptopn : 커뮤니티 템플릿 |
|
| 27 |
+ * @version : 1.0.0 |
|
| 28 |
+ * @author : 이호영 |
|
| 29 |
+ * @created date : 2012. 1. 25. |
|
| 30 |
+ * Modification log |
|
| 31 |
+ * ===================================================== |
|
| 32 |
+ * date name description |
|
| 33 |
+ * ----------------------------------------------------- |
|
| 34 |
+ * 2012. 1. 25. 이호영 first generated |
|
| 35 |
+*********************************************************/ |
|
| 36 |
+ |
|
| 37 |
+@Controller("CmyTemplateServiceController")
|
|
| 38 |
+public class TemplateServiceController {
|
|
| 39 |
+ |
|
| 40 |
+ @Resource(name = "propertiesService") |
|
| 41 |
+ protected EgovPropertyService propertyService; |
|
| 42 |
+ |
|
| 43 |
+ @Resource(name = "EgovCommunityManageService") |
|
| 44 |
+ private EgovCommunityManageService cmmntyService; |
|
| 45 |
+ |
|
| 46 |
+ @Resource(name = "siteManageService") |
|
| 47 |
+ SiteManageService siteManageService; |
|
| 48 |
+ |
|
| 49 |
+ @RequestMapping(value = "/cop/cmy/tmplatHead.do") |
|
| 50 |
+ public String cmyTmplatHead(@ModelAttribute("searchVO") CommunityVO cmmntyVO, HttpServletRequest request, HttpServletResponse response, ModelMap model) throws Exception {
|
|
| 51 |
+ |
|
| 52 |
+ if(!"".equals(cmmntyVO.getTrgetId())) cmmntyVO.setCmmntyId(cmmntyVO.getTrgetId()); |
|
| 53 |
+ |
|
| 54 |
+ /* |
|
| 55 |
+ ComDefaultCodeVO voComCode = new ComDefaultCodeVO(); |
|
| 56 |
+ voComCode = new ComDefaultCodeVO(); |
|
| 57 |
+ voComCode.setCodeId("COM201");
|
|
| 58 |
+ List<CmmnDetailCode> listComCode = cmmUseService.selectCmmCodeDetail(voComCode); |
|
| 59 |
+ model.addAttribute("cmmntySe", listComCode); //공통카테고리
|
|
| 60 |
+ */ |
|
| 61 |
+ |
|
| 62 |
+ if(!"Y".equals(request.getParameter("isMain"))) model.addAttribute("cmmntyMnuList", cmmntyService.selectCommunityMenuList(cmmntyVO)); //메뉴정보
|
|
| 63 |
+ if(!"".equals(cmmntyVO.getCmmntyId())) model.addAttribute("cmmntyVO", cmmntyService.selectCommunityInfo(cmmntyVO)); //커뮤니티 정보
|
|
| 64 |
+ |
|
| 65 |
+ SiteManageVO siteVO = siteManageService.selectSiteServiceInfo(request); |
|
| 66 |
+ model.addAttribute("siteInfo", siteVO);
|
|
| 67 |
+ model.addAttribute("LytFileStoreWebPathByWebFile", propertyService.getString("publish.tmplat.lyt.fileStoreWebPathByWebFile"));
|
|
| 68 |
+ |
|
| 69 |
+ LoginVO user = EgovUserDetailsHelper.getAuthenticatedUser(request, response); |
|
| 70 |
+ if(user != null) {
|
|
| 71 |
+ CommunityUser cmmntyUser = new CommunityUser(); |
|
| 72 |
+ cmmntyUser.setSiteId(siteVO.getSiteId()); |
|
| 73 |
+ cmmntyUser.setEmplyrId(user.getId()); |
|
| 74 |
+ cmmntyUser.setCmmntyId(cmmntyVO.getCmmntyId()); |
|
| 75 |
+ model.addAttribute("USER_SBSCRB", cmmntyService.selectMyCmmntyList(cmmntyUser)); //사용자 가입목록
|
|
| 76 |
+ model.addAttribute("USER_INFO", cmmntyService.selectSingleCommunityUserInf(cmmntyUser)); //사용자 정보
|
|
| 77 |
+ } |
|
| 78 |
+ |
|
| 79 |
+ model.addAttribute("CmmntyFileStoreWebPath", propertyService.getString("Cmmnty.fileStoreWebPath"));
|
|
| 80 |
+ |
|
| 81 |
+ return propertyService.getString("publish.sourc.lyt.fileStoreWebPathByJspFile")
|
|
| 82 |
+ + "cmy/" |
|
| 83 |
+ + siteVO.getCmySourcId() |
|
| 84 |
+ + "/sourcHead" |
|
| 85 |
+ + (EgovHttpUtil.getIsMobile(request) && "Y".equals(siteVO.getMobileUseAt()) ? Globals.PUBLISH_MOBILE_APPEND_FREFIX : ""); |
|
| 86 |
+ } |
|
| 87 |
+ |
|
| 88 |
+ @RequestMapping(value = "/cop/cmy/tmplatBottom.do") |
|
| 89 |
+ public String cmyTmplatBottom(@ModelAttribute("searchVO") CommunityVO cmmntyVO, ModelMap model, HttpServletRequest request) throws Exception {
|
|
| 90 |
+ if(!"".equals(cmmntyVO.getTrgetId())) cmmntyVO.setCmmntyId(cmmntyVO.getTrgetId()); |
|
| 91 |
+ |
|
| 92 |
+ SiteManageVO siteVO = siteManageService.selectSiteServiceInfo(request); |
|
| 93 |
+ model.addAttribute("siteInfo", siteVO);
|
|
| 94 |
+ model.addAttribute("LytFileStoreWebPathByWebFile", propertyService.getString("publish.tmplat.lyt.fileStoreWebPathByWebFile"));
|
|
| 95 |
+ |
|
| 96 |
+ return propertyService.getString("publish.sourc.lyt.fileStoreWebPathByJspFile")
|
|
| 97 |
+ + "cmy/" |
|
| 98 |
+ + siteVO.getCmySourcId() |
|
| 99 |
+ + "/sourcBottom" |
|
| 100 |
+ + (EgovHttpUtil.getIsMobile(request) && "Y".equals(siteVO.getMobileUseAt()) ? Globals.PUBLISH_MOBILE_APPEND_FREFIX : ""); |
|
| 101 |
+ } |
|
| 102 |
+ |
|
| 103 |
+} |
--- base/src/main/java/egovframework/com/cop/com/service/EgovLytSourcHistoryService.java
... | ... | @@ -1,61 +0,0 @@ |
| 1 | -package egovframework.com.cop.com.service; | |
| 2 | - | |
| 3 | -import java.util.List; | |
| 4 | -import egovframework.com.cop.com.service.LytSourcVO; | |
| 5 | -import egovframework.com.cop.com.service.LytSourc; | |
| 6 | - | |
| 7 | -/** | |
| 8 | - * @Class Name : EgovLytSourcHistoryService | |
| 9 | - * @Description : EgovLytSourcHistoryService Business class | |
| 10 | - * @Modification Information | |
| 11 | - * | |
| 12 | - * @author 정정욱 | |
| 13 | - * @since 20120905 | |
| 14 | - * @version 1.0 | |
| 15 | - * @see | |
| 16 | - * | |
| 17 | - * Copyright (C) All right reserved. | |
| 18 | - */ | |
| 19 | -public interface EgovLytSourcHistoryService {
| |
| 20 | - | |
| 21 | - /** | |
| 22 | - * COMTNLYTSOURCHISTORY을 등록한다. | |
| 23 | - * @param vo - 등록할 정보가 담긴 ComtnlytsourcVO | |
| 24 | - * @return 등록 결과 | |
| 25 | - * @exception Exception | |
| 26 | - */ | |
| 27 | - String insertLytSourcHistory(LytSourc vo) throws Exception; | |
| 28 | - | |
| 29 | - /** | |
| 30 | - * COMTNLYTSOURCHISTORY을 삭제한다. | |
| 31 | - * @param vo - 삭제할 정보가 담긴 ComtnlytsourcVO | |
| 32 | - * @return void형 | |
| 33 | - * @exception Exception | |
| 34 | - */ | |
| 35 | - void deleteLytSourcHistory(LytSourc vo) throws Exception; | |
| 36 | - | |
| 37 | - /** | |
| 38 | - * COMTNLYTSOURCHISTORY을 조회한다. | |
| 39 | - * @param vo - 조회할 정보가 담긴 ComtnlytsourcVO | |
| 40 | - * @return 조회한 COMTNLYTSOURCHISTORY | |
| 41 | - * @exception Exception | |
| 42 | - */ | |
| 43 | - LytSourc selectLytSourcHistory(LytSourc vo) throws Exception; | |
| 44 | - | |
| 45 | - /** | |
| 46 | - * COMTNLYTSOURCHISTORY 목록을 조회한다. | |
| 47 | - * @param searchVO - 조회할 정보가 담긴 VO | |
| 48 | - * @return COMTNLYTSOURCHISTORY 목록 | |
| 49 | - * @exception Exception | |
| 50 | - */ | |
| 51 | - List<LytSourc> selectLytSourcHistoryList(LytSourcVO searchVO) throws Exception; | |
| 52 | - | |
| 53 | - /** | |
| 54 | - * COMTNLYTSOURCHISTORY 총 갯수를 조회한다. | |
| 55 | - * @param searchVO - 조회할 정보가 담긴 VO | |
| 56 | - * @return COMTNLYTSOURCHISTORY 총 갯수 | |
| 57 | - * @exception | |
| 58 | - */ | |
| 59 | - int selectLytSourcHistoryListCnt(LytSourcVO searchVO); | |
| 60 | - | |
| 61 | -} |
--- base/src/main/java/egovframework/com/cop/com/service/EgovLytSourcService.java
... | ... | @@ -1,71 +0,0 @@ |
| 1 | -package egovframework.com.cop.com.service; | |
| 2 | - | |
| 3 | -import java.util.List; | |
| 4 | -import egovframework.com.cop.com.service.LytSourcVO; | |
| 5 | -import egovframework.com.cop.com.service.LytSourc; | |
| 6 | - | |
| 7 | -/** | |
| 8 | - * @Class Name : EgovLytSourcService | |
| 9 | - * @Description : EgovLytSourcService Business class | |
| 10 | - * @Modification Information | |
| 11 | - * | |
| 12 | - * @author 정정욱 | |
| 13 | - * @since 20120905 | |
| 14 | - * @version 1.0 | |
| 15 | - * @see | |
| 16 | - * | |
| 17 | - * Copyright (C) All right reserved. | |
| 18 | - */ | |
| 19 | -public interface EgovLytSourcService {
| |
| 20 | - | |
| 21 | - /** | |
| 22 | - * COMTNLYTSOURC을 등록한다. | |
| 23 | - * @param vo - 등록할 정보가 담긴 ComtnlytsourcVO | |
| 24 | - * @return 등록 결과 | |
| 25 | - * @exception Exception | |
| 26 | - */ | |
| 27 | - String insertLytSourc(LytSourc vo) throws Exception; | |
| 28 | - | |
| 29 | - /** | |
| 30 | - * COMTNLYTSOURC을 수정한다. | |
| 31 | - * @param vo - 수정할 정보가 담긴 ComtnlytsourcVO | |
| 32 | - * @return void형 | |
| 33 | - * @exception Exception | |
| 34 | - */ | |
| 35 | - void updateLytSourc(LytSourc vo) throws Exception; | |
| 36 | - | |
| 37 | - /** | |
| 38 | - * COMTNLYTSOURC을 삭제한다. | |
| 39 | - * @param vo - 삭제할 정보가 담긴 ComtnlytsourcVO | |
| 40 | - * @return void형 | |
| 41 | - * @exception Exception | |
| 42 | - */ | |
| 43 | - void deleteLytSourc(LytSourc vo) throws Exception; | |
| 44 | - | |
| 45 | - /** | |
| 46 | - * COMTNLYTSOURC을 조회한다. | |
| 47 | - * @param vo - 조회할 정보가 담긴 ComtnlytsourcVO | |
| 48 | - * @return 조회한 COMTNLYTSOURC | |
| 49 | - * @exception Exception | |
| 50 | - */ | |
| 51 | - LytSourc selectLytSourc(LytSourc vo) throws Exception; | |
| 52 | - | |
| 53 | - /** | |
| 54 | - * COMTNLYTSOURC 목록을 조회한다. | |
| 55 | - * @param searchVO - 조회할 정보가 담긴 VO | |
| 56 | - * @return COMTNLYTSOURC 목록 | |
| 57 | - * @exception Exception | |
| 58 | - */ | |
| 59 | - List<LytSourc> selectLytSourcList(LytSourcVO searchVO) throws Exception; | |
| 60 | - | |
| 61 | - /** | |
| 62 | - * COMTNLYTSOURC 총 갯수를 조회한다. | |
| 63 | - * @param searchVO - 조회할 정보가 담긴 VO | |
| 64 | - * @return COMTNLYTSOURC 총 갯수 | |
| 65 | - * @exception | |
| 66 | - */ | |
| 67 | - int selectLytSourcListCnt(LytSourcVO searchVO); | |
| 68 | - | |
| 69 | - public void publishCreate(LytSourc vo) throws Exception ; | |
| 70 | - | |
| 71 | -} |
--- base/src/main/java/egovframework/com/cop/com/service/EgovLytTmplatHistoryService.java
... | ... | @@ -1,61 +0,0 @@ |
| 1 | -package egovframework.com.cop.com.service; | |
| 2 | - | |
| 3 | -import java.util.List; | |
| 4 | -import egovframework.com.cop.com.service.LytTmplatVO; | |
| 5 | -import egovframework.com.cop.com.service.LytTmplat; | |
| 6 | - | |
| 7 | -/** | |
| 8 | - * @Class Name : EgovLytTmplatHistoryService | |
| 9 | - * @Description : EgovLytTmplatHistoryService Business class | |
| 10 | - * @Modification Information | |
| 11 | - * | |
| 12 | - * @author 정정욱 | |
| 13 | - * @since 20120905 | |
| 14 | - * @version 1.0 | |
| 15 | - * @see | |
| 16 | - * | |
| 17 | - * Copyright (C) All right reserved. | |
| 18 | - */ | |
| 19 | -public interface EgovLytTmplatHistoryService {
| |
| 20 | - | |
| 21 | - /** | |
| 22 | - * COMTNLYTTMPLATHISTORY을 등록한다. | |
| 23 | - * @param vo - 등록할 정보가 담긴 ComtnlyttmplatVO | |
| 24 | - * @return 등록 결과 | |
| 25 | - * @exception Exception | |
| 26 | - */ | |
| 27 | - String insertLytTmplatHistory(LytTmplat vo) throws Exception; | |
| 28 | - | |
| 29 | - /** | |
| 30 | - * COMTNLYTTMPLATHISTORY을 삭제한다. | |
| 31 | - * @param vo - 삭제할 정보가 담긴 ComtnlyttmplatVO | |
| 32 | - * @return void형 | |
| 33 | - * @exception Exception | |
| 34 | - */ | |
| 35 | - void deleteLytTmplatHistory(LytTmplat vo) throws Exception; | |
| 36 | - | |
| 37 | - /** | |
| 38 | - * COMTNLYTTMPLATHISTORY을 조회한다. | |
| 39 | - * @param vo - 조회할 정보가 담긴 ComtnlyttmplatVO | |
| 40 | - * @return 조회한 COMTNLYTTMPLATHISTORY | |
| 41 | - * @exception Exception | |
| 42 | - */ | |
| 43 | - LytTmplat selectLytTmplatHistory(LytTmplat vo) throws Exception; | |
| 44 | - | |
| 45 | - /** | |
| 46 | - * COMTNLYTTMPLATHISTORY 목록을 조회한다. | |
| 47 | - * @param searchVO - 조회할 정보가 담긴 VO | |
| 48 | - * @return COMTNLYTTMPLATHISTORY 목록 | |
| 49 | - * @exception Exception | |
| 50 | - */ | |
| 51 | - List<LytTmplat> selectLytTmplatHistoryList(LytTmplatVO searchVO) throws Exception; | |
| 52 | - | |
| 53 | - /** | |
| 54 | - * COMTNLYTTMPLATHISTORY 총 갯수를 조회한다. | |
| 55 | - * @param searchVO - 조회할 정보가 담긴 VO | |
| 56 | - * @return COMTNLYTTMPLATHISTORY 총 갯수 | |
| 57 | - * @exception | |
| 58 | - */ | |
| 59 | - int selectLytTmplatHistoryListCnt(LytTmplatVO searchVO); | |
| 60 | - | |
| 61 | -} |
--- base/src/main/java/egovframework/com/cop/com/service/EgovLytTmplatService.java
... | ... | @@ -1,71 +0,0 @@ |
| 1 | -package egovframework.com.cop.com.service; | |
| 2 | - | |
| 3 | -import java.util.List; | |
| 4 | -import egovframework.com.cop.com.service.LytTmplatVO; | |
| 5 | -import egovframework.com.cop.com.service.LytTmplat; | |
| 6 | - | |
| 7 | -/** | |
| 8 | - * @Class Name : EgovLytTmplatService | |
| 9 | - * @Description : EgovLytTmplatService Business class | |
| 10 | - * @Modification Information | |
| 11 | - * | |
| 12 | - * @author 정정욱 | |
| 13 | - * @since 20120905 | |
| 14 | - * @version 1.0 | |
| 15 | - * @see | |
| 16 | - * | |
| 17 | - * Copyright (C) All right reserved. | |
| 18 | - */ | |
| 19 | -public interface EgovLytTmplatService {
| |
| 20 | - | |
| 21 | - /** | |
| 22 | - * COMTNLYTTMPLAT을 등록한다. | |
| 23 | - * @param vo - 등록할 정보가 담긴 ComtnlyttmplatVO | |
| 24 | - * @return 등록 결과 | |
| 25 | - * @exception Exception | |
| 26 | - */ | |
| 27 | - String insertLytTmplat(LytTmplat vo) throws Exception; | |
| 28 | - | |
| 29 | - /** | |
| 30 | - * COMTNLYTTMPLAT을 수정한다. | |
| 31 | - * @param vo - 수정할 정보가 담긴 ComtnlyttmplatVO | |
| 32 | - * @return void형 | |
| 33 | - * @exception Exception | |
| 34 | - */ | |
| 35 | - void updateLytTmplat(LytTmplat vo) throws Exception; | |
| 36 | - | |
| 37 | - /** | |
| 38 | - * COMTNLYTTMPLAT을 삭제한다. | |
| 39 | - * @param vo - 삭제할 정보가 담긴 ComtnlyttmplatVO | |
| 40 | - * @return void형 | |
| 41 | - * @exception Exception | |
| 42 | - */ | |
| 43 | - void deleteLytTmplat(LytTmplat vo) throws Exception; | |
| 44 | - | |
| 45 | - /** | |
| 46 | - * COMTNLYTTMPLAT을 조회한다. | |
| 47 | - * @param vo - 조회할 정보가 담긴 ComtnlyttmplatVO | |
| 48 | - * @return 조회한 COMTNLYTTMPLAT | |
| 49 | - * @exception Exception | |
| 50 | - */ | |
| 51 | - LytTmplat selectLytTmplat(LytTmplat vo) throws Exception; | |
| 52 | - | |
| 53 | - /** | |
| 54 | - * COMTNLYTTMPLAT 목록을 조회한다. | |
| 55 | - * @param searchVO - 조회할 정보가 담긴 VO | |
| 56 | - * @return COMTNLYTTMPLAT 목록 | |
| 57 | - * @exception Exception | |
| 58 | - */ | |
| 59 | - List<LytTmplat> selectLytTmplatList(LytTmplatVO searchVO) throws Exception; | |
| 60 | - | |
| 61 | - /** | |
| 62 | - * COMTNLYTTMPLAT 총 갯수를 조회한다. | |
| 63 | - * @param searchVO - 조회할 정보가 담긴 VO | |
| 64 | - * @return COMTNLYTTMPLAT 총 갯수 | |
| 65 | - * @exception | |
| 66 | - */ | |
| 67 | - int selectLytTmplatListCnt(LytTmplatVO searchVO); | |
| 68 | - | |
| 69 | - public void publishCreate(LytTmplat vo) throws Exception ; | |
| 70 | - | |
| 71 | -} |
--- base/src/main/java/egovframework/com/cop/com/service/LytSourc.java
... | ... | @@ -1,185 +0,0 @@ |
| 1 | -package egovframework.com.cop.com.service; | |
| 2 | - | |
| 3 | -import java.io.Serializable; | |
| 4 | - | |
| 5 | -/** | |
| 6 | - * @Class Name : LytSourc | |
| 7 | - * @Description : LytSourc class | |
| 8 | - * @Modification Information | |
| 9 | - * | |
| 10 | - * @author 정정욱 | |
| 11 | - * @since 20120905 | |
| 12 | - * @version 1.0 | |
| 13 | - * @see | |
| 14 | - * | |
| 15 | - * Copyright (C) All right reserved. | |
| 16 | - */ | |
| 17 | -@SuppressWarnings("serial")
| |
| 18 | -public class LytSourc implements Serializable {
| |
| 19 | - | |
| 20 | - /** LYT_SOURC_ID */ | |
| 21 | - private java.lang.String lytSourcId; | |
| 22 | - | |
| 23 | - /** SOURC_SE_CODE */ | |
| 24 | - private java.lang.String sourcSeCode; | |
| 25 | - | |
| 26 | - /** SOURC_SE_CODE_NM */ | |
| 27 | - private java.lang.String sourcSeCodeNm; | |
| 28 | - | |
| 29 | - /** SOURC_NM */ | |
| 30 | - private java.lang.String sourcNm; | |
| 31 | - | |
| 32 | - /** UPEND_SOURC */ | |
| 33 | - private java.lang.String upendSourc; | |
| 34 | - | |
| 35 | - /** LPT_SOURC */ | |
| 36 | - private java.lang.String lptSourc; | |
| 37 | - | |
| 38 | - /** MOBILE_UPEND_SOURC */ | |
| 39 | - private java.lang.String mobileUpendSourc; | |
| 40 | - | |
| 41 | - /** MOBILE_LPT_SOURC */ | |
| 42 | - private java.lang.String mobileLptSourc; | |
| 43 | - | |
| 44 | - /** PREVEW_FILE_NM */ | |
| 45 | - private java.lang.String prevewFileNm; | |
| 46 | - | |
| 47 | - /** USE_AT */ | |
| 48 | - private java.lang.String useAt; | |
| 49 | - | |
| 50 | - /** FRST_REGISTER_ID */ | |
| 51 | - private java.lang.String frstRegisterId; | |
| 52 | - | |
| 53 | - /** FRST_REGISTER_PNTTM */ | |
| 54 | - private java.util.Date frstRegisterPnttm; | |
| 55 | - | |
| 56 | - /** LAST_UPDUSR_ID */ | |
| 57 | - private java.lang.String lastUpdusrId; | |
| 58 | - | |
| 59 | - /** LAST_UPDUSR_PNTTM */ | |
| 60 | - private java.util.Date lastUpdusrPnttm; | |
| 61 | - | |
| 62 | - /** LYT_SOURC_HIST_ID */ | |
| 63 | - private java.lang.String lytSourcHistId; | |
| 64 | - | |
| 65 | - public java.lang.String getLytSourcId() {
| |
| 66 | - return this.lytSourcId; | |
| 67 | - } | |
| 68 | - | |
| 69 | - public void setLytSourcId(java.lang.String lytSourcId) {
| |
| 70 | - this.lytSourcId = lytSourcId; | |
| 71 | - } | |
| 72 | - | |
| 73 | - public java.lang.String getSourcSeCode() {
| |
| 74 | - return sourcSeCode; | |
| 75 | - } | |
| 76 | - | |
| 77 | - public void setSourcSeCode(java.lang.String sourcSeCode) {
| |
| 78 | - this.sourcSeCode = sourcSeCode; | |
| 79 | - } | |
| 80 | - | |
| 81 | - public java.lang.String getSourcSeCodeNm() {
| |
| 82 | - return sourcSeCodeNm; | |
| 83 | - } | |
| 84 | - | |
| 85 | - public void setSourcSeCodeNm(java.lang.String sourcSeCodeNm) {
| |
| 86 | - this.sourcSeCodeNm = sourcSeCodeNm; | |
| 87 | - } | |
| 88 | - | |
| 89 | - public java.lang.String getSourcNm() {
| |
| 90 | - return this.sourcNm; | |
| 91 | - } | |
| 92 | - | |
| 93 | - public void setSourcNm(java.lang.String sourcNm) {
| |
| 94 | - this.sourcNm = sourcNm; | |
| 95 | - } | |
| 96 | - | |
| 97 | - public java.lang.String getUpendSourc() {
| |
| 98 | - return this.upendSourc; | |
| 99 | - } | |
| 100 | - | |
| 101 | - public void setUpendSourc(java.lang.String upendSourc) {
| |
| 102 | - this.upendSourc = upendSourc; | |
| 103 | - } | |
| 104 | - | |
| 105 | - public java.lang.String getLptSourc() {
| |
| 106 | - return this.lptSourc; | |
| 107 | - } | |
| 108 | - | |
| 109 | - public void setLptSourc(java.lang.String lptSourc) {
| |
| 110 | - this.lptSourc = lptSourc; | |
| 111 | - } | |
| 112 | - | |
| 113 | - public java.lang.String getMobileUpendSourc() {
| |
| 114 | - return mobileUpendSourc; | |
| 115 | - } | |
| 116 | - | |
| 117 | - public void setMobileUpendSourc(java.lang.String mobileUpendSourc) {
| |
| 118 | - this.mobileUpendSourc = mobileUpendSourc; | |
| 119 | - } | |
| 120 | - | |
| 121 | - public java.lang.String getMobileLptSourc() {
| |
| 122 | - return mobileLptSourc; | |
| 123 | - } | |
| 124 | - | |
| 125 | - public void setMobileLptSourc(java.lang.String mobileLptSourc) {
| |
| 126 | - this.mobileLptSourc = mobileLptSourc; | |
| 127 | - } | |
| 128 | - | |
| 129 | - public java.lang.String getPrevewFileNm() {
| |
| 130 | - return prevewFileNm; | |
| 131 | - } | |
| 132 | - | |
| 133 | - public void setPrevewFileNm(java.lang.String prevewFileNm) {
| |
| 134 | - this.prevewFileNm = prevewFileNm; | |
| 135 | - } | |
| 136 | - | |
| 137 | - public java.lang.String getUseAt() {
| |
| 138 | - return this.useAt; | |
| 139 | - } | |
| 140 | - | |
| 141 | - public void setUseAt(java.lang.String useAt) {
| |
| 142 | - this.useAt = useAt; | |
| 143 | - } | |
| 144 | - | |
| 145 | - public java.lang.String getFrstRegisterId() {
| |
| 146 | - return this.frstRegisterId; | |
| 147 | - } | |
| 148 | - | |
| 149 | - public void setFrstRegisterId(java.lang.String frstRegisterId) {
| |
| 150 | - this.frstRegisterId = frstRegisterId; | |
| 151 | - } | |
| 152 | - | |
| 153 | - public java.util.Date getFrstRegisterPnttm() {
| |
| 154 | - return this.frstRegisterPnttm; | |
| 155 | - } | |
| 156 | - | |
| 157 | - public void setFrstRegisterPnttm(java.util.Date frstRegisterPnttm) {
| |
| 158 | - this.frstRegisterPnttm = frstRegisterPnttm; | |
| 159 | - } | |
| 160 | - | |
| 161 | - public java.lang.String getLastUpdusrId() {
| |
| 162 | - return this.lastUpdusrId; | |
| 163 | - } | |
| 164 | - | |
| 165 | - public void setLastUpdusrId(java.lang.String lastUpdusrId) {
| |
| 166 | - this.lastUpdusrId = lastUpdusrId; | |
| 167 | - } | |
| 168 | - | |
| 169 | - public java.util.Date getLastUpdusrPnttm() {
| |
| 170 | - return this.lastUpdusrPnttm; | |
| 171 | - } | |
| 172 | - | |
| 173 | - public void setLastUpdusrPnttm(java.util.Date lastUpdusrPnttm) {
| |
| 174 | - this.lastUpdusrPnttm = lastUpdusrPnttm; | |
| 175 | - } | |
| 176 | - | |
| 177 | - public java.lang.String getLytSourcHistId() {
| |
| 178 | - return lytSourcHistId; | |
| 179 | - } | |
| 180 | - | |
| 181 | - public void setLytSourcHistId(java.lang.String lytSourcHistId) {
| |
| 182 | - this.lytSourcHistId = lytSourcHistId; | |
| 183 | - } | |
| 184 | - | |
| 185 | -} |
+++ base/src/main/java/egovframework/com/cop/com/service/LytSourcHistoryService.java
... | ... | @@ -0,0 +1,24 @@ |
| 1 | +package egovframework.com.cop.com.service; | |
| 2 | + | |
| 3 | +import java.util.List; | |
| 4 | +import egovframework.com.cop.com.service.LytSourcVO; | |
| 5 | + | |
| 6 | + | |
| 7 | +public interface LytSourcHistoryService { | |
| 8 | + | |
| 9 | + //COMTNLYTSOURCHISTORY을 등록한다. | |
| 10 | + String insertLytSourcHistory(LytSourcVO vo) throws Exception; | |
| 11 | + | |
| 12 | + //COMTNLYTSOURCHISTORY을 삭제한다. | |
| 13 | + void deleteLytSourcHistory(LytSourcVO vo) throws Exception; | |
| 14 | + | |
| 15 | + //COMTNLYTSOURCHISTORY을 조회한다. | |
| 16 | + LytSourcVO selectLytSourcHistory(LytSourcVO vo) throws Exception; | |
| 17 | + | |
| 18 | + //COMTNLYTSOURCHISTORY 목록을 조회한다. | |
| 19 | + List<LytSourcVO> selectLytSourcHistoryList(LytSourcVO searchVO) throws Exception; | |
| 20 | + | |
| 21 | + //COMTNLYTSOURCHISTORY 총 갯수를 조회한다. | |
| 22 | + int selectLytSourcHistoryListCnt(LytSourcVO searchVO); | |
| 23 | + | |
| 24 | +} |
+++ base/src/main/java/egovframework/com/cop/com/service/LytSourcService.java
... | ... | @@ -0,0 +1,28 @@ |
| 1 | +package egovframework.com.cop.com.service; | |
| 2 | + | |
| 3 | +import java.util.List; | |
| 4 | +import egovframework.com.cop.com.service.LytSourcVO; | |
| 5 | + | |
| 6 | +public interface LytSourcService { | |
| 7 | + | |
| 8 | + //COMTNLYTSOURC을 등록한다. | |
| 9 | + String insertLytSourc(LytSourcVO vo) throws Exception; | |
| 10 | + | |
| 11 | + //COMTNLYTSOURC을 수정한다. | |
| 12 | + void updateLytSourc(LytSourcVO vo) throws Exception; | |
| 13 | + | |
| 14 | + //COMTNLYTSOURC을 삭제한다. | |
| 15 | + void deleteLytSourc(LytSourcVO vo) throws Exception; | |
| 16 | + | |
| 17 | + //COMTNLYTSOURC을 조회한다. | |
| 18 | + LytSourcVO selectLytSourc(LytSourcVO vo) throws Exception; | |
| 19 | + | |
| 20 | + //COMTNLYTSOURC 목록을 조회한다. | |
| 21 | + List<LytSourcVO> selectLytSourcList(LytSourcVO searchVO) throws Exception; | |
| 22 | + | |
| 23 | + //COMTNLYTSOURC 총 갯수를 조회한다. | |
| 24 | + int selectLytSourcListCnt(LytSourcVO searchVO); | |
| 25 | + | |
| 26 | + public void publishCreate(LytSourcVO vo) throws Exception ; | |
| 27 | + | |
| 28 | +} |
--- base/src/main/java/egovframework/com/cop/com/service/LytSourcVO.java
+++ base/src/main/java/egovframework/com/cop/com/service/LytSourcVO.java
... | ... | @@ -1,147 +1,188 @@ |
| 1 |
-package egovframework.com.cop.com.service; |
|
| 2 |
- |
|
| 3 |
-import java.io.Serializable; |
|
| 4 |
-import org.apache.commons.lang.builder.ToStringBuilder; |
|
| 5 |
- |
|
| 6 |
-/** |
|
| 7 |
- * @Class Name : LytSourcVO |
|
| 8 |
- * @Description : LytSourcVO class |
|
| 9 |
- * @Modification Information |
|
| 10 |
- * |
|
| 11 |
- * @author 정정욱 |
|
| 12 |
- * @since 20120905 |
|
| 13 |
- * @version 1.0 |
|
| 14 |
- * @see |
|
| 15 |
- * |
|
| 16 |
- * Copyright (C) All right reserved. |
|
| 17 |
- */ |
|
| 18 |
-@SuppressWarnings("serial")
|
|
| 19 |
-public class LytSourcVO extends LytSourc implements Serializable {
|
|
| 20 |
- |
|
| 21 |
- /** 선택모드여부 */ |
|
| 22 |
- private String selectMode = "N"; |
|
| 23 |
- |
|
| 24 |
- /** 검색구분코드 */ |
|
| 25 |
- private String searchSourcSeCode = ""; |
|
| 26 |
- |
|
| 27 |
- /** 검색조건 */ |
|
| 28 |
- private String searchCnd = ""; |
|
| 29 |
- |
|
| 30 |
- /** 검색Keyword */ |
|
| 31 |
- private String searchWrd = ""; |
|
| 32 |
- |
|
| 33 |
- /** 검색사용여부 */ |
|
| 34 |
- private String searchUseYn = ""; |
|
| 35 |
- |
|
| 36 |
- /** 현재페이지 */ |
|
| 37 |
- private int pageIndex = 1; |
|
| 38 |
- |
|
| 39 |
- /** 페이지갯수 */ |
|
| 40 |
- private int pageUnit = 10; |
|
| 41 |
- |
|
| 42 |
- /** 페이지사이즈 */ |
|
| 43 |
- private int pageSize = 10; |
|
| 44 |
- |
|
| 45 |
- /** firstIndex */ |
|
| 46 |
- private int firstIndex = 1; |
|
| 47 |
- |
|
| 48 |
- /** lastIndex */ |
|
| 49 |
- private int lastIndex = 1; |
|
| 50 |
- |
|
| 51 |
- /** recordCountPerPage */ |
|
| 52 |
- private int recordCountPerPage = 10; |
|
| 53 |
- |
|
| 54 |
- |
|
| 55 |
- public int getFirstIndex() {
|
|
| 56 |
- return firstIndex; |
|
| 57 |
- } |
|
| 58 |
- |
|
| 59 |
- public void setFirstIndex(int firstIndex) {
|
|
| 60 |
- this.firstIndex = firstIndex; |
|
| 61 |
- } |
|
| 62 |
- |
|
| 63 |
- public int getLastIndex() {
|
|
| 64 |
- return lastIndex; |
|
| 65 |
- } |
|
| 66 |
- |
|
| 67 |
- public void setLastIndex(int lastIndex) {
|
|
| 68 |
- this.lastIndex = lastIndex; |
|
| 69 |
- } |
|
| 70 |
- |
|
| 71 |
- public int getRecordCountPerPage() {
|
|
| 72 |
- return recordCountPerPage; |
|
| 73 |
- } |
|
| 74 |
- |
|
| 75 |
- public void setRecordCountPerPage(int recordCountPerPage) {
|
|
| 76 |
- this.recordCountPerPage = recordCountPerPage; |
|
| 77 |
- } |
|
| 78 |
- |
|
| 79 |
- public String getSearchCnd() {
|
|
| 80 |
- return searchCnd; |
|
| 81 |
- } |
|
| 82 |
- |
|
| 83 |
- public void setSearchCnd(String searchCnd) {
|
|
| 84 |
- this.searchCnd = searchCnd; |
|
| 85 |
- } |
|
| 86 |
- |
|
| 87 |
- public String getSearchWrd() {
|
|
| 88 |
- return searchWrd; |
|
| 89 |
- } |
|
| 90 |
- |
|
| 91 |
- public void setSearchWrd(String searchWrd) {
|
|
| 92 |
- this.searchWrd = searchWrd; |
|
| 93 |
- } |
|
| 94 |
- |
|
| 95 |
- public String getSearchUseYn() {
|
|
| 96 |
- return searchUseYn; |
|
| 97 |
- } |
|
| 98 |
- |
|
| 99 |
- public void setSearchUseYn(String searchUseYn) {
|
|
| 100 |
- this.searchUseYn = searchUseYn; |
|
| 101 |
- } |
|
| 102 |
- |
|
| 103 |
- public String getSelectMode() {
|
|
| 104 |
- return selectMode; |
|
| 105 |
- } |
|
| 106 |
- |
|
| 107 |
- public void setSelectMode(String selectMode) {
|
|
| 108 |
- this.selectMode = selectMode; |
|
| 109 |
- } |
|
| 110 |
- |
|
| 111 |
- public String getSearchSourcSeCode() {
|
|
| 112 |
- return searchSourcSeCode; |
|
| 113 |
- } |
|
| 114 |
- |
|
| 115 |
- public void setSearchSourcSeCode(String searchSourcSeCode) {
|
|
| 116 |
- this.searchSourcSeCode = searchSourcSeCode; |
|
| 117 |
- } |
|
| 118 |
- |
|
| 119 |
- public int getPageIndex() {
|
|
| 120 |
- return pageIndex; |
|
| 121 |
- } |
|
| 122 |
- |
|
| 123 |
- public void setPageIndex(int pageIndex) {
|
|
| 124 |
- this.pageIndex = pageIndex; |
|
| 125 |
- } |
|
| 126 |
- |
|
| 127 |
- public int getPageUnit() {
|
|
| 128 |
- return pageUnit; |
|
| 129 |
- } |
|
| 130 |
- |
|
| 131 |
- public void setPageUnit(int pageUnit) {
|
|
| 132 |
- this.pageUnit = pageUnit; |
|
| 133 |
- } |
|
| 134 |
- |
|
| 135 |
- public int getPageSize() {
|
|
| 136 |
- return pageSize; |
|
| 137 |
- } |
|
| 138 |
- |
|
| 139 |
- public void setPageSize(int pageSize) {
|
|
| 140 |
- this.pageSize = pageSize; |
|
| 141 |
- } |
|
| 142 |
- |
|
| 143 |
- public String toString() {
|
|
| 144 |
- return ToStringBuilder.reflectionToString(this); |
|
| 145 |
- } |
|
| 146 |
- |
|
| 147 |
-} |
|
| 1 |
+package egovframework.com.cop.com.service; |
|
| 2 |
+ |
|
| 3 |
+import java.io.Serializable; |
|
| 4 |
+import org.apache.commons.lang.builder.ToStringBuilder; |
|
| 5 |
+ |
|
| 6 |
+import egovframework.com.cmm.ComDefaultVO; |
|
| 7 |
+ |
|
| 8 |
+@SuppressWarnings("serial")
|
|
| 9 |
+public class LytSourcVO extends ComDefaultVO implements Serializable {
|
|
| 10 |
+ |
|
| 11 |
+ /** 검색구분코드 */ |
|
| 12 |
+ private String searchSourcSeCode = ""; |
|
| 13 |
+ |
|
| 14 |
+ /** LYT_SOURC_ID */ |
|
| 15 |
+ private java.lang.String lytSourcId; |
|
| 16 |
+ |
|
| 17 |
+ /** SOURC_SE_CODE */ |
|
| 18 |
+ private java.lang.String sourcSeCode; |
|
| 19 |
+ |
|
| 20 |
+ /** SOURC_SE_CODE_NM */ |
|
| 21 |
+ private java.lang.String sourcSeCodeNm; |
|
| 22 |
+ |
|
| 23 |
+ /** SOURC_NM */ |
|
| 24 |
+ private java.lang.String sourcNm; |
|
| 25 |
+ |
|
| 26 |
+ /** UPEND_SOURC */ |
|
| 27 |
+ private java.lang.String upendSourc; |
|
| 28 |
+ |
|
| 29 |
+ /** LPT_SOURC */ |
|
| 30 |
+ private java.lang.String lptSourc; |
|
| 31 |
+ |
|
| 32 |
+ /** MOBILE_UPEND_SOURC */ |
|
| 33 |
+ private java.lang.String mobileUpendSourc; |
|
| 34 |
+ |
|
| 35 |
+ /** MOBILE_LPT_SOURC */ |
|
| 36 |
+ private java.lang.String mobileLptSourc; |
|
| 37 |
+ |
|
| 38 |
+ /** PREVEW_FILE_NM */ |
|
| 39 |
+ private java.lang.String prevewFileNm; |
|
| 40 |
+ |
|
| 41 |
+ /** USE_AT */ |
|
| 42 |
+ private java.lang.String useAt; |
|
| 43 |
+ |
|
| 44 |
+ /** FRST_REGISTER_ID */ |
|
| 45 |
+ private java.lang.String frstRegisterId; |
|
| 46 |
+ |
|
| 47 |
+ /** FRST_REGISTER_PNTTM */ |
|
| 48 |
+ private java.util.Date frstRegisterPnttm; |
|
| 49 |
+ |
|
| 50 |
+ /** LAST_UPDUSR_ID */ |
|
| 51 |
+ private java.lang.String lastUpdusrId; |
|
| 52 |
+ |
|
| 53 |
+ /** LAST_UPDUSR_PNTTM */ |
|
| 54 |
+ private java.util.Date lastUpdusrPnttm; |
|
| 55 |
+ |
|
| 56 |
+ /** LYT_SOURC_HIST_ID */ |
|
| 57 |
+ private java.lang.String lytSourcHistId; |
|
| 58 |
+ |
|
| 59 |
+ public String getSearchSourcSeCode() {
|
|
| 60 |
+ return searchSourcSeCode; |
|
| 61 |
+ } |
|
| 62 |
+ |
|
| 63 |
+ public void setSearchSourcSeCode(String searchSourcSeCode) {
|
|
| 64 |
+ this.searchSourcSeCode = searchSourcSeCode; |
|
| 65 |
+ } |
|
| 66 |
+ |
|
| 67 |
+ public java.lang.String getLytSourcId() {
|
|
| 68 |
+ return lytSourcId; |
|
| 69 |
+ } |
|
| 70 |
+ |
|
| 71 |
+ public void setLytSourcId(java.lang.String lytSourcId) {
|
|
| 72 |
+ this.lytSourcId = lytSourcId; |
|
| 73 |
+ } |
|
| 74 |
+ |
|
| 75 |
+ public java.lang.String getSourcSeCode() {
|
|
| 76 |
+ return sourcSeCode; |
|
| 77 |
+ } |
|
| 78 |
+ |
|
| 79 |
+ public void setSourcSeCode(java.lang.String sourcSeCode) {
|
|
| 80 |
+ this.sourcSeCode = sourcSeCode; |
|
| 81 |
+ } |
|
| 82 |
+ |
|
| 83 |
+ public java.lang.String getSourcSeCodeNm() {
|
|
| 84 |
+ return sourcSeCodeNm; |
|
| 85 |
+ } |
|
| 86 |
+ |
|
| 87 |
+ public void setSourcSeCodeNm(java.lang.String sourcSeCodeNm) {
|
|
| 88 |
+ this.sourcSeCodeNm = sourcSeCodeNm; |
|
| 89 |
+ } |
|
| 90 |
+ |
|
| 91 |
+ public java.lang.String getSourcNm() {
|
|
| 92 |
+ return sourcNm; |
|
| 93 |
+ } |
|
| 94 |
+ |
|
| 95 |
+ public void setSourcNm(java.lang.String sourcNm) {
|
|
| 96 |
+ this.sourcNm = sourcNm; |
|
| 97 |
+ } |
|
| 98 |
+ |
|
| 99 |
+ public java.lang.String getUpendSourc() {
|
|
| 100 |
+ return upendSourc; |
|
| 101 |
+ } |
|
| 102 |
+ |
|
| 103 |
+ public void setUpendSourc(java.lang.String upendSourc) {
|
|
| 104 |
+ this.upendSourc = upendSourc; |
|
| 105 |
+ } |
|
| 106 |
+ |
|
| 107 |
+ public java.lang.String getLptSourc() {
|
|
| 108 |
+ return lptSourc; |
|
| 109 |
+ } |
|
| 110 |
+ |
|
| 111 |
+ public void setLptSourc(java.lang.String lptSourc) {
|
|
| 112 |
+ this.lptSourc = lptSourc; |
|
| 113 |
+ } |
|
| 114 |
+ |
|
| 115 |
+ public java.lang.String getMobileUpendSourc() {
|
|
| 116 |
+ return mobileUpendSourc; |
|
| 117 |
+ } |
|
| 118 |
+ |
|
| 119 |
+ public void setMobileUpendSourc(java.lang.String mobileUpendSourc) {
|
|
| 120 |
+ this.mobileUpendSourc = mobileUpendSourc; |
|
| 121 |
+ } |
|
| 122 |
+ |
|
| 123 |
+ public java.lang.String getMobileLptSourc() {
|
|
| 124 |
+ return mobileLptSourc; |
|
| 125 |
+ } |
|
| 126 |
+ |
|
| 127 |
+ public void setMobileLptSourc(java.lang.String mobileLptSourc) {
|
|
| 128 |
+ this.mobileLptSourc = mobileLptSourc; |
|
| 129 |
+ } |
|
| 130 |
+ |
|
| 131 |
+ public java.lang.String getPrevewFileNm() {
|
|
| 132 |
+ return prevewFileNm; |
|
| 133 |
+ } |
|
| 134 |
+ |
|
| 135 |
+ public void setPrevewFileNm(java.lang.String prevewFileNm) {
|
|
| 136 |
+ this.prevewFileNm = prevewFileNm; |
|
| 137 |
+ } |
|
| 138 |
+ |
|
| 139 |
+ public java.lang.String getUseAt() {
|
|
| 140 |
+ return useAt; |
|
| 141 |
+ } |
|
| 142 |
+ |
|
| 143 |
+ public void setUseAt(java.lang.String useAt) {
|
|
| 144 |
+ this.useAt = useAt; |
|
| 145 |
+ } |
|
| 146 |
+ |
|
| 147 |
+ public java.lang.String getFrstRegisterId() {
|
|
| 148 |
+ return frstRegisterId; |
|
| 149 |
+ } |
|
| 150 |
+ |
|
| 151 |
+ public void setFrstRegisterId(java.lang.String frstRegisterId) {
|
|
| 152 |
+ this.frstRegisterId = frstRegisterId; |
|
| 153 |
+ } |
|
| 154 |
+ |
|
| 155 |
+ public java.util.Date getFrstRegisterPnttm() {
|
|
| 156 |
+ return frstRegisterPnttm; |
|
| 157 |
+ } |
|
| 158 |
+ |
|
| 159 |
+ public void setFrstRegisterPnttm(java.util.Date frstRegisterPnttm) {
|
|
| 160 |
+ this.frstRegisterPnttm = frstRegisterPnttm; |
|
| 161 |
+ } |
|
| 162 |
+ |
|
| 163 |
+ public java.lang.String getLastUpdusrId() {
|
|
| 164 |
+ return lastUpdusrId; |
|
| 165 |
+ } |
|
| 166 |
+ |
|
| 167 |
+ public void setLastUpdusrId(java.lang.String lastUpdusrId) {
|
|
| 168 |
+ this.lastUpdusrId = lastUpdusrId; |
|
| 169 |
+ } |
|
| 170 |
+ |
|
| 171 |
+ public java.util.Date getLastUpdusrPnttm() {
|
|
| 172 |
+ return lastUpdusrPnttm; |
|
| 173 |
+ } |
|
| 174 |
+ |
|
| 175 |
+ public void setLastUpdusrPnttm(java.util.Date lastUpdusrPnttm) {
|
|
| 176 |
+ this.lastUpdusrPnttm = lastUpdusrPnttm; |
|
| 177 |
+ } |
|
| 178 |
+ |
|
| 179 |
+ public java.lang.String getLytSourcHistId() {
|
|
| 180 |
+ return lytSourcHistId; |
|
| 181 |
+ } |
|
| 182 |
+ |
|
| 183 |
+ public void setLytSourcHistId(java.lang.String lytSourcHistId) {
|
|
| 184 |
+ this.lytSourcHistId = lytSourcHistId; |
|
| 185 |
+ } |
|
| 186 |
+ |
|
| 187 |
+ |
|
| 188 |
+} |
--- base/src/main/java/egovframework/com/cop/com/service/LytTmplat.java
... | ... | @@ -1,207 +0,0 @@ |
| 1 | -package egovframework.com.cop.com.service; | |
| 2 | - | |
| 3 | -import java.io.Serializable; | |
| 4 | - | |
| 5 | -/** | |
| 6 | - * @Class Name : LytTmplat | |
| 7 | - * @Description : LytTmplat class | |
| 8 | - * @Modification Information | |
| 9 | - * | |
| 10 | - * @author 정정욱 | |
| 11 | - * @since 20120905 | |
| 12 | - * @version 1.0 | |
| 13 | - * @see | |
| 14 | - * | |
| 15 | - * Copyright (C) All right reserved. | |
| 16 | - */ | |
| 17 | -@SuppressWarnings("serial")
| |
| 18 | -public class LytTmplat implements Serializable {
| |
| 19 | - | |
| 20 | - /** LYT_TMPLAT_ID */ | |
| 21 | - private java.lang.String lytTmplatId; | |
| 22 | - | |
| 23 | - /** TMPLAT_LCAS_CODE */ | |
| 24 | - private java.lang.String tmplatLcasCode; | |
| 25 | - | |
| 26 | - /** TMPLAT_LCAS_CODE_NM */ | |
| 27 | - private java.lang.String tmplatLcasCodeNm; | |
| 28 | - | |
| 29 | - /** TMPLAT_MLSFC_CODE */ | |
| 30 | - private java.lang.String tmplatMlsfcCode; | |
| 31 | - | |
| 32 | - /** TMPLAT_MLSFC_CODE_NM */ | |
| 33 | - private java.lang.String tmplatMlsfcCodeNm; | |
| 34 | - | |
| 35 | - /** TMPLAT_NM */ | |
| 36 | - private java.lang.String tmplatNm; | |
| 37 | - | |
| 38 | - /** CSS_SOURC */ | |
| 39 | - private java.lang.String cssSourc; | |
| 40 | - | |
| 41 | - /** SCRIPT_SOURC */ | |
| 42 | - private java.lang.String scriptSourc; | |
| 43 | - | |
| 44 | - /** MOBILE_CSS_SOURC */ | |
| 45 | - private java.lang.String mobileCssSourc; | |
| 46 | - | |
| 47 | - /** MOBILE_SCRIPT_SOURC */ | |
| 48 | - private java.lang.String mobileScriptSourc; | |
| 49 | - | |
| 50 | - /** PREVEW_FILE_NM */ | |
| 51 | - private java.lang.String prevewFileNm; | |
| 52 | - | |
| 53 | - /** USE_AT */ | |
| 54 | - private java.lang.String useAt; | |
| 55 | - | |
| 56 | - /** FRST_REGISTER_ID */ | |
| 57 | - private java.lang.String frstRegisterId; | |
| 58 | - | |
| 59 | - /** FRST_REGISTER_PNTTM */ | |
| 60 | - private java.util.Date frstRegisterPnttm; | |
| 61 | - | |
| 62 | - /** LAST_UPDUSR_ID */ | |
| 63 | - private java.lang.String lastUpdusrId; | |
| 64 | - | |
| 65 | - /** LAST_UPDUSR_PNTTM */ | |
| 66 | - private java.util.Date lastUpdusrPnttm; | |
| 67 | - | |
| 68 | - /** LYT_TMPLAT_HIST_ID */ | |
| 69 | - private java.lang.String lytTmplatHistId; | |
| 70 | - | |
| 71 | - public java.lang.String getLytTmplatId() {
| |
| 72 | - return this.lytTmplatId; | |
| 73 | - } | |
| 74 | - | |
| 75 | - public void setLytTmplatId(java.lang.String lytTmplatId) {
| |
| 76 | - this.lytTmplatId = lytTmplatId; | |
| 77 | - } | |
| 78 | - | |
| 79 | - public java.lang.String getTmplatLcasCode() {
| |
| 80 | - return tmplatLcasCode; | |
| 81 | - } | |
| 82 | - | |
| 83 | - public void setTmplatLcasCode(java.lang.String tmplatLcasCode) {
| |
| 84 | - this.tmplatLcasCode = tmplatLcasCode; | |
| 85 | - } | |
| 86 | - | |
| 87 | - public java.lang.String getTmplatLcasCodeNm() {
| |
| 88 | - return tmplatLcasCodeNm; | |
| 89 | - } | |
| 90 | - | |
| 91 | - public void setTmplatLcasCodeNm(java.lang.String tmplatLcasCodeNm) {
| |
| 92 | - this.tmplatLcasCodeNm = tmplatLcasCodeNm; | |
| 93 | - } | |
| 94 | - | |
| 95 | - public java.lang.String getTmplatMlsfcCode() {
| |
| 96 | - return tmplatMlsfcCode; | |
| 97 | - } | |
| 98 | - | |
| 99 | - public void setTmplatMlsfcCode(java.lang.String tmplatMlsfcCode) {
| |
| 100 | - this.tmplatMlsfcCode = tmplatMlsfcCode; | |
| 101 | - } | |
| 102 | - | |
| 103 | - public java.lang.String getTmplatMlsfcCodeNm() {
| |
| 104 | - return tmplatMlsfcCodeNm; | |
| 105 | - } | |
| 106 | - | |
| 107 | - public void setTmplatMlsfcCodeNm(java.lang.String tmplatMlsfcCodeNm) {
| |
| 108 | - this.tmplatMlsfcCodeNm = tmplatMlsfcCodeNm; | |
| 109 | - } | |
| 110 | - | |
| 111 | - public java.lang.String getTmplatNm() {
| |
| 112 | - return this.tmplatNm; | |
| 113 | - } | |
| 114 | - | |
| 115 | - public void setTmplatNm(java.lang.String tmplatNm) {
| |
| 116 | - this.tmplatNm = tmplatNm; | |
| 117 | - } | |
| 118 | - | |
| 119 | - public java.lang.String getCssSourc() {
| |
| 120 | - return this.cssSourc; | |
| 121 | - } | |
| 122 | - | |
| 123 | - public void setCssSourc(java.lang.String cssSourc) {
| |
| 124 | - this.cssSourc = cssSourc; | |
| 125 | - } | |
| 126 | - | |
| 127 | - public java.lang.String getScriptSourc() {
| |
| 128 | - return this.scriptSourc; | |
| 129 | - } | |
| 130 | - | |
| 131 | - public void setScriptSourc(java.lang.String scriptSourc) {
| |
| 132 | - this.scriptSourc = scriptSourc; | |
| 133 | - } | |
| 134 | - | |
| 135 | - public java.lang.String getMobileCssSourc() {
| |
| 136 | - return mobileCssSourc; | |
| 137 | - } | |
| 138 | - | |
| 139 | - public void setMobileCssSourc(java.lang.String mobileCssSourc) {
| |
| 140 | - this.mobileCssSourc = mobileCssSourc; | |
| 141 | - } | |
| 142 | - | |
| 143 | - public java.lang.String getMobileScriptSourc() {
| |
| 144 | - return mobileScriptSourc; | |
| 145 | - } | |
| 146 | - | |
| 147 | - public void setMobileScriptSourc(java.lang.String mobileScriptSourc) {
| |
| 148 | - this.mobileScriptSourc = mobileScriptSourc; | |
| 149 | - } | |
| 150 | - | |
| 151 | - public java.lang.String getPrevewFileNm() {
| |
| 152 | - return prevewFileNm; | |
| 153 | - } | |
| 154 | - | |
| 155 | - public void setPrevewFileNm(java.lang.String prevewFileNm) {
| |
| 156 | - this.prevewFileNm = prevewFileNm; | |
| 157 | - } | |
| 158 | - | |
| 159 | - public java.lang.String getUseAt() {
| |
| 160 | - return this.useAt; | |
| 161 | - } | |
| 162 | - | |
| 163 | - public void setUseAt(java.lang.String useAt) {
| |
| 164 | - this.useAt = useAt; | |
| 165 | - } | |
| 166 | - | |
| 167 | - public java.lang.String getFrstRegisterId() {
| |
| 168 | - return this.frstRegisterId; | |
| 169 | - } | |
| 170 | - | |
| 171 | - public void setFrstRegisterId(java.lang.String frstRegisterId) {
| |
| 172 | - this.frstRegisterId = frstRegisterId; | |
| 173 | - } | |
| 174 | - | |
| 175 | - public java.util.Date getFrstRegisterPnttm() {
| |
| 176 | - return this.frstRegisterPnttm; | |
| 177 | - } | |
| 178 | - | |
| 179 | - public void setFrstRegisterPnttm(java.util.Date frstRegisterPnttm) {
| |
| 180 | - this.frstRegisterPnttm = frstRegisterPnttm; | |
| 181 | - } | |
| 182 | - | |
| 183 | - public java.lang.String getLastUpdusrId() {
| |
| 184 | - return this.lastUpdusrId; | |
| 185 | - } | |
| 186 | - | |
| 187 | - public void setLastUpdusrId(java.lang.String lastUpdusrId) {
| |
| 188 | - this.lastUpdusrId = lastUpdusrId; | |
| 189 | - } | |
| 190 | - | |
| 191 | - public java.util.Date getLastUpdusrPnttm() {
| |
| 192 | - return this.lastUpdusrPnttm; | |
| 193 | - } | |
| 194 | - | |
| 195 | - public void setLastUpdusrPnttm(java.util.Date lastUpdusrPnttm) {
| |
| 196 | - this.lastUpdusrPnttm = lastUpdusrPnttm; | |
| 197 | - } | |
| 198 | - | |
| 199 | - public java.lang.String getLytTmplatHistId() {
| |
| 200 | - return lytTmplatHistId; | |
| 201 | - } | |
| 202 | - | |
| 203 | - public void setLytTmplatHistId(java.lang.String lytTmplatHistId) {
| |
| 204 | - this.lytTmplatHistId = lytTmplatHistId; | |
| 205 | - } | |
| 206 | - | |
| 207 | -} |
+++ base/src/main/java/egovframework/com/cop/com/service/LytTmplatHistoryService.java
... | ... | @@ -0,0 +1,23 @@ |
| 1 | +package egovframework.com.cop.com.service; | |
| 2 | + | |
| 3 | +import java.util.List; | |
| 4 | +import egovframework.com.cop.com.service.LytTmplatVO; | |
| 5 | + | |
| 6 | +public interface LytTmplatHistoryService { | |
| 7 | + | |
| 8 | + //COMTNLYTTMPLATHISTORY을 등록한다. | |
| 9 | + String insertLytTmplatHistory(LytTmplatVO vo) throws Exception; | |
| 10 | + | |
| 11 | + //COMTNLYTTMPLATHISTORY을 삭제한다. | |
| 12 | + void deleteLytTmplatHistory(LytTmplatVO vo) throws Exception; | |
| 13 | + | |
| 14 | + //COMTNLYTTMPLATHISTORY을 조회한다. | |
| 15 | + LytTmplatVO selectLytTmplatHistory(LytTmplatVO vo) throws Exception; | |
| 16 | + | |
| 17 | + //COMTNLYTTMPLATHISTORY 목록을 조회한다. | |
| 18 | + List<LytTmplatVO> selectLytTmplatHistoryList(LytTmplatVO searchVO) throws Exception; | |
| 19 | + | |
| 20 | + //COMTNLYTTMPLATHISTORY 총 갯수를 조회한다. | |
| 21 | + int selectLytTmplatHistoryListCnt(LytTmplatVO searchVO); | |
| 22 | + | |
| 23 | +} |
+++ base/src/main/java/egovframework/com/cop/com/service/LytTmplatService.java
... | ... | @@ -0,0 +1,29 @@ |
| 1 | +package egovframework.com.cop.com.service; | |
| 2 | + | |
| 3 | +import java.util.List; | |
| 4 | +import egovframework.com.cop.com.service.LytTmplatVO; | |
| 5 | + | |
| 6 | + | |
| 7 | +public interface LytTmplatService { | |
| 8 | + | |
| 9 | + //COMTNLYTTMPLAT을 등록한다. | |
| 10 | + String insertLytTmplat(LytTmplatVO vo) throws Exception; | |
| 11 | + | |
| 12 | + //COMTNLYTTMPLAT을 수정한다. | |
| 13 | + void updateLytTmplat(LytTmplatVO vo) throws Exception; | |
| 14 | + | |
| 15 | + //COMTNLYTTMPLAT을 삭제한다. | |
| 16 | + void deleteLytTmplat(LytTmplatVO vo) throws Exception; | |
| 17 | + | |
| 18 | + //COMTNLYTTMPLAT을 조회한다. | |
| 19 | + LytTmplatVO selectLytTmplat(LytTmplatVO vo) throws Exception; | |
| 20 | + | |
| 21 | + //COMTNLYTTMPLAT 목록을 조회한다. | |
| 22 | + List<LytTmplatVO> selectLytTmplatList(LytTmplatVO searchVO) throws Exception; | |
| 23 | + | |
| 24 | + //COMTNLYTTMPLAT 총 갯수를 조회한다. | |
| 25 | + int selectLytTmplatListCnt(LytTmplatVO searchVO); | |
| 26 | + | |
| 27 | + public void publishCreate(LytTmplatVO vo) throws Exception; | |
| 28 | + | |
| 29 | +} |
--- base/src/main/java/egovframework/com/cop/com/service/LytTmplatVO.java
+++ base/src/main/java/egovframework/com/cop/com/service/LytTmplatVO.java
... | ... | @@ -1,158 +1,222 @@ |
| 1 |
-package egovframework.com.cop.com.service; |
|
| 2 |
- |
|
| 3 |
-import java.io.Serializable; |
|
| 4 |
-import org.apache.commons.lang.builder.ToStringBuilder; |
|
| 5 |
- |
|
| 6 |
-/** |
|
| 7 |
- * @Class Name : LytTmplatVO |
|
| 8 |
- * @Description : LytTmplatVO class |
|
| 9 |
- * @Modification Information |
|
| 10 |
- * |
|
| 11 |
- * @author 정정욱 |
|
| 12 |
- * @since 20120905 |
|
| 13 |
- * @version 1.0 |
|
| 14 |
- * @see |
|
| 15 |
- * |
|
| 16 |
- * Copyright (C) All right reserved. |
|
| 17 |
- */ |
|
| 18 |
-@SuppressWarnings("serial")
|
|
| 19 |
-public class LytTmplatVO extends LytTmplat implements Serializable {
|
|
| 20 |
- |
|
| 21 |
- /** 대분류검색구분 */ |
|
| 22 |
- private String searchTmplatLcasCode; |
|
| 23 |
- |
|
| 24 |
- /** 중분류검색구분 */ |
|
| 25 |
- private String searchTmplatMlsfcCode; |
|
| 26 |
- |
|
| 27 |
- /** 선택모드여부 */ |
|
| 28 |
- private String selectMode = "N"; |
|
| 29 |
- |
|
| 30 |
- /** 검색조건 */ |
|
| 31 |
- private String searchCnd = ""; |
|
| 32 |
- |
|
| 33 |
- /** 검색Keyword */ |
|
| 34 |
- private String searchWrd = ""; |
|
| 35 |
- |
|
| 36 |
- /** 검색사용여부 */ |
|
| 37 |
- private String searchUseYn = ""; |
|
| 38 |
- |
|
| 39 |
- /** 현재페이지 */ |
|
| 40 |
- private int pageIndex = 1; |
|
| 41 |
- |
|
| 42 |
- /** 페이지갯수 */ |
|
| 43 |
- private int pageUnit = 10; |
|
| 44 |
- |
|
| 45 |
- /** 페이지사이즈 */ |
|
| 46 |
- private int pageSize = 10; |
|
| 47 |
- |
|
| 48 |
- /** firstIndex */ |
|
| 49 |
- private int firstIndex = 1; |
|
| 50 |
- |
|
| 51 |
- /** lastIndex */ |
|
| 52 |
- private int lastIndex = 1; |
|
| 53 |
- |
|
| 54 |
- /** recordCountPerPage */ |
|
| 55 |
- private int recordCountPerPage = 10; |
|
| 56 |
- |
|
| 57 |
- |
|
| 58 |
- public int getFirstIndex() {
|
|
| 59 |
- return firstIndex; |
|
| 60 |
- } |
|
| 61 |
- |
|
| 62 |
- public void setFirstIndex(int firstIndex) {
|
|
| 63 |
- this.firstIndex = firstIndex; |
|
| 64 |
- } |
|
| 65 |
- |
|
| 66 |
- public int getLastIndex() {
|
|
| 67 |
- return lastIndex; |
|
| 68 |
- } |
|
| 69 |
- |
|
| 70 |
- public void setLastIndex(int lastIndex) {
|
|
| 71 |
- this.lastIndex = lastIndex; |
|
| 72 |
- } |
|
| 73 |
- |
|
| 74 |
- public int getRecordCountPerPage() {
|
|
| 75 |
- return recordCountPerPage; |
|
| 76 |
- } |
|
| 77 |
- |
|
| 78 |
- public void setRecordCountPerPage(int recordCountPerPage) {
|
|
| 79 |
- this.recordCountPerPage = recordCountPerPage; |
|
| 80 |
- } |
|
| 81 |
- |
|
| 82 |
- public String getSearchTmplatLcasCode() {
|
|
| 83 |
- return searchTmplatLcasCode; |
|
| 84 |
- } |
|
| 85 |
- |
|
| 86 |
- public void setSearchTmplatLcasCode(String searchTmplatLcasCode) {
|
|
| 87 |
- this.searchTmplatLcasCode = searchTmplatLcasCode; |
|
| 88 |
- } |
|
| 89 |
- |
|
| 90 |
- public String getSearchTmplatMlsfcCode() {
|
|
| 91 |
- return searchTmplatMlsfcCode; |
|
| 92 |
- } |
|
| 93 |
- |
|
| 94 |
- public void setSearchTmplatMlsfcCode(String searchTmplatMlsfcCode) {
|
|
| 95 |
- this.searchTmplatMlsfcCode = searchTmplatMlsfcCode; |
|
| 96 |
- } |
|
| 97 |
- |
|
| 98 |
- public String getSearchCnd() {
|
|
| 99 |
- return searchCnd; |
|
| 100 |
- } |
|
| 101 |
- |
|
| 102 |
- public void setSearchCnd(String searchCnd) {
|
|
| 103 |
- this.searchCnd = searchCnd; |
|
| 104 |
- } |
|
| 105 |
- |
|
| 106 |
- public String getSearchWrd() {
|
|
| 107 |
- return searchWrd; |
|
| 108 |
- } |
|
| 109 |
- |
|
| 110 |
- public void setSearchWrd(String searchWrd) {
|
|
| 111 |
- this.searchWrd = searchWrd; |
|
| 112 |
- } |
|
| 113 |
- |
|
| 114 |
- public String getSearchUseYn() {
|
|
| 115 |
- return searchUseYn; |
|
| 116 |
- } |
|
| 117 |
- |
|
| 118 |
- public void setSearchUseYn(String searchUseYn) {
|
|
| 119 |
- this.searchUseYn = searchUseYn; |
|
| 120 |
- } |
|
| 121 |
- |
|
| 122 |
- public String getSelectMode() {
|
|
| 123 |
- return selectMode; |
|
| 124 |
- } |
|
| 125 |
- |
|
| 126 |
- public void setSelectMode(String selectMode) {
|
|
| 127 |
- this.selectMode = selectMode; |
|
| 128 |
- } |
|
| 129 |
- |
|
| 130 |
- public int getPageIndex() {
|
|
| 131 |
- return pageIndex; |
|
| 132 |
- } |
|
| 133 |
- |
|
| 134 |
- public void setPageIndex(int pageIndex) {
|
|
| 135 |
- this.pageIndex = pageIndex; |
|
| 136 |
- } |
|
| 137 |
- |
|
| 138 |
- public int getPageUnit() {
|
|
| 139 |
- return pageUnit; |
|
| 140 |
- } |
|
| 141 |
- |
|
| 142 |
- public void setPageUnit(int pageUnit) {
|
|
| 143 |
- this.pageUnit = pageUnit; |
|
| 144 |
- } |
|
| 145 |
- |
|
| 146 |
- public int getPageSize() {
|
|
| 147 |
- return pageSize; |
|
| 148 |
- } |
|
| 149 |
- |
|
| 150 |
- public void setPageSize(int pageSize) {
|
|
| 151 |
- this.pageSize = pageSize; |
|
| 152 |
- } |
|
| 153 |
- |
|
| 154 |
- public String toString() {
|
|
| 155 |
- return ToStringBuilder.reflectionToString(this); |
|
| 156 |
- } |
|
| 157 |
- |
|
| 158 |
-} |
|
| 1 |
+package egovframework.com.cop.com.service; |
|
| 2 |
+ |
|
| 3 |
+import java.io.Serializable; |
|
| 4 |
+import org.apache.commons.lang.builder.ToStringBuilder; |
|
| 5 |
+ |
|
| 6 |
+import egovframework.com.cmm.ComDefaultVO; |
|
| 7 |
+ |
|
| 8 |
+ |
|
| 9 |
+@SuppressWarnings("serial")
|
|
| 10 |
+public class LytTmplatVO extends ComDefaultVO implements Serializable {
|
|
| 11 |
+ |
|
| 12 |
+ /** 대분류검색구분 */ |
|
| 13 |
+ private String searchTmplatLcasCode; |
|
| 14 |
+ |
|
| 15 |
+ /** 중분류검색구분 */ |
|
| 16 |
+ private String searchTmplatMlsfcCode; |
|
| 17 |
+ |
|
| 18 |
+ /** LYT_TMPLAT_ID */ |
|
| 19 |
+ private java.lang.String lytTmplatId; |
|
| 20 |
+ |
|
| 21 |
+ /** TMPLAT_LCAS_CODE */ |
|
| 22 |
+ private java.lang.String tmplatLcasCode; |
|
| 23 |
+ |
|
| 24 |
+ /** TMPLAT_LCAS_CODE_NM */ |
|
| 25 |
+ private java.lang.String tmplatLcasCodeNm; |
|
| 26 |
+ |
|
| 27 |
+ /** TMPLAT_MLSFC_CODE */ |
|
| 28 |
+ private java.lang.String tmplatMlsfcCode; |
|
| 29 |
+ |
|
| 30 |
+ /** TMPLAT_MLSFC_CODE_NM */ |
|
| 31 |
+ private java.lang.String tmplatMlsfcCodeNm; |
|
| 32 |
+ |
|
| 33 |
+ /** TMPLAT_NM */ |
|
| 34 |
+ private java.lang.String tmplatNm; |
|
| 35 |
+ |
|
| 36 |
+ /** CSS_SOURC */ |
|
| 37 |
+ private java.lang.String cssSourc; |
|
| 38 |
+ |
|
| 39 |
+ /** SCRIPT_SOURC */ |
|
| 40 |
+ private java.lang.String scriptSourc; |
|
| 41 |
+ |
|
| 42 |
+ /** MOBILE_CSS_SOURC */ |
|
| 43 |
+ private java.lang.String mobileCssSourc; |
|
| 44 |
+ |
|
| 45 |
+ /** MOBILE_SCRIPT_SOURC */ |
|
| 46 |
+ private java.lang.String mobileScriptSourc; |
|
| 47 |
+ |
|
| 48 |
+ /** PREVEW_FILE_NM */ |
|
| 49 |
+ private java.lang.String prevewFileNm; |
|
| 50 |
+ |
|
| 51 |
+ /** USE_AT */ |
|
| 52 |
+ private java.lang.String useAt; |
|
| 53 |
+ |
|
| 54 |
+ /** FRST_REGISTER_ID */ |
|
| 55 |
+ private java.lang.String frstRegisterId; |
|
| 56 |
+ |
|
| 57 |
+ /** FRST_REGISTER_PNTTM */ |
|
| 58 |
+ private java.util.Date frstRegisterPnttm; |
|
| 59 |
+ |
|
| 60 |
+ /** LAST_UPDUSR_ID */ |
|
| 61 |
+ private java.lang.String lastUpdusrId; |
|
| 62 |
+ |
|
| 63 |
+ /** LAST_UPDUSR_PNTTM */ |
|
| 64 |
+ private java.util.Date lastUpdusrPnttm; |
|
| 65 |
+ |
|
| 66 |
+ /** LYT_TMPLAT_HIST_ID */ |
|
| 67 |
+ private java.lang.String lytTmplatHistId; |
|
| 68 |
+ |
|
| 69 |
+ public String getSearchTmplatLcasCode() {
|
|
| 70 |
+ return searchTmplatLcasCode; |
|
| 71 |
+ } |
|
| 72 |
+ |
|
| 73 |
+ public void setSearchTmplatLcasCode(String searchTmplatLcasCode) {
|
|
| 74 |
+ this.searchTmplatLcasCode = searchTmplatLcasCode; |
|
| 75 |
+ } |
|
| 76 |
+ |
|
| 77 |
+ public String getSearchTmplatMlsfcCode() {
|
|
| 78 |
+ return searchTmplatMlsfcCode; |
|
| 79 |
+ } |
|
| 80 |
+ |
|
| 81 |
+ public void setSearchTmplatMlsfcCode(String searchTmplatMlsfcCode) {
|
|
| 82 |
+ this.searchTmplatMlsfcCode = searchTmplatMlsfcCode; |
|
| 83 |
+ } |
|
| 84 |
+ |
|
| 85 |
+ public java.lang.String getLytTmplatId() {
|
|
| 86 |
+ return lytTmplatId; |
|
| 87 |
+ } |
|
| 88 |
+ |
|
| 89 |
+ public void setLytTmplatId(java.lang.String lytTmplatId) {
|
|
| 90 |
+ this.lytTmplatId = lytTmplatId; |
|
| 91 |
+ } |
|
| 92 |
+ |
|
| 93 |
+ public java.lang.String getTmplatLcasCode() {
|
|
| 94 |
+ return tmplatLcasCode; |
|
| 95 |
+ } |
|
| 96 |
+ |
|
| 97 |
+ public void setTmplatLcasCode(java.lang.String tmplatLcasCode) {
|
|
| 98 |
+ this.tmplatLcasCode = tmplatLcasCode; |
|
| 99 |
+ } |
|
| 100 |
+ |
|
| 101 |
+ public java.lang.String getTmplatLcasCodeNm() {
|
|
| 102 |
+ return tmplatLcasCodeNm; |
|
| 103 |
+ } |
|
| 104 |
+ |
|
| 105 |
+ public void setTmplatLcasCodeNm(java.lang.String tmplatLcasCodeNm) {
|
|
| 106 |
+ this.tmplatLcasCodeNm = tmplatLcasCodeNm; |
|
| 107 |
+ } |
|
| 108 |
+ |
|
| 109 |
+ public java.lang.String getTmplatMlsfcCode() {
|
|
| 110 |
+ return tmplatMlsfcCode; |
|
| 111 |
+ } |
|
| 112 |
+ |
|
| 113 |
+ public void setTmplatMlsfcCode(java.lang.String tmplatMlsfcCode) {
|
|
| 114 |
+ this.tmplatMlsfcCode = tmplatMlsfcCode; |
|
| 115 |
+ } |
|
| 116 |
+ |
|
| 117 |
+ public java.lang.String getTmplatMlsfcCodeNm() {
|
|
| 118 |
+ return tmplatMlsfcCodeNm; |
|
| 119 |
+ } |
|
| 120 |
+ |
|
| 121 |
+ public void setTmplatMlsfcCodeNm(java.lang.String tmplatMlsfcCodeNm) {
|
|
| 122 |
+ this.tmplatMlsfcCodeNm = tmplatMlsfcCodeNm; |
|
| 123 |
+ } |
|
| 124 |
+ |
|
| 125 |
+ public java.lang.String getTmplatNm() {
|
|
| 126 |
+ return tmplatNm; |
|
| 127 |
+ } |
|
| 128 |
+ |
|
| 129 |
+ public void setTmplatNm(java.lang.String tmplatNm) {
|
|
| 130 |
+ this.tmplatNm = tmplatNm; |
|
| 131 |
+ } |
|
| 132 |
+ |
|
| 133 |
+ public java.lang.String getCssSourc() {
|
|
| 134 |
+ return cssSourc; |
|
| 135 |
+ } |
|
| 136 |
+ |
|
| 137 |
+ public void setCssSourc(java.lang.String cssSourc) {
|
|
| 138 |
+ this.cssSourc = cssSourc; |
|
| 139 |
+ } |
|
| 140 |
+ |
|
| 141 |
+ public java.lang.String getScriptSourc() {
|
|
| 142 |
+ return scriptSourc; |
|
| 143 |
+ } |
|
| 144 |
+ |
|
| 145 |
+ public void setScriptSourc(java.lang.String scriptSourc) {
|
|
| 146 |
+ this.scriptSourc = scriptSourc; |
|
| 147 |
+ } |
|
| 148 |
+ |
|
| 149 |
+ public java.lang.String getMobileCssSourc() {
|
|
| 150 |
+ return mobileCssSourc; |
|
| 151 |
+ } |
|
| 152 |
+ |
|
| 153 |
+ public void setMobileCssSourc(java.lang.String mobileCssSourc) {
|
|
| 154 |
+ this.mobileCssSourc = mobileCssSourc; |
|
| 155 |
+ } |
|
| 156 |
+ |
|
| 157 |
+ public java.lang.String getMobileScriptSourc() {
|
|
| 158 |
+ return mobileScriptSourc; |
|
| 159 |
+ } |
|
| 160 |
+ |
|
| 161 |
+ public void setMobileScriptSourc(java.lang.String mobileScriptSourc) {
|
|
| 162 |
+ this.mobileScriptSourc = mobileScriptSourc; |
|
| 163 |
+ } |
|
| 164 |
+ |
|
| 165 |
+ public java.lang.String getPrevewFileNm() {
|
|
| 166 |
+ return prevewFileNm; |
|
| 167 |
+ } |
|
| 168 |
+ |
|
| 169 |
+ public void setPrevewFileNm(java.lang.String prevewFileNm) {
|
|
| 170 |
+ this.prevewFileNm = prevewFileNm; |
|
| 171 |
+ } |
|
| 172 |
+ |
|
| 173 |
+ public java.lang.String getUseAt() {
|
|
| 174 |
+ return useAt; |
|
| 175 |
+ } |
|
| 176 |
+ |
|
| 177 |
+ public void setUseAt(java.lang.String useAt) {
|
|
| 178 |
+ this.useAt = useAt; |
|
| 179 |
+ } |
|
| 180 |
+ |
|
| 181 |
+ public java.lang.String getFrstRegisterId() {
|
|
| 182 |
+ return frstRegisterId; |
|
| 183 |
+ } |
|
| 184 |
+ |
|
| 185 |
+ public void setFrstRegisterId(java.lang.String frstRegisterId) {
|
|
| 186 |
+ this.frstRegisterId = frstRegisterId; |
|
| 187 |
+ } |
|
| 188 |
+ |
|
| 189 |
+ public java.util.Date getFrstRegisterPnttm() {
|
|
| 190 |
+ return frstRegisterPnttm; |
|
| 191 |
+ } |
|
| 192 |
+ |
|
| 193 |
+ public void setFrstRegisterPnttm(java.util.Date frstRegisterPnttm) {
|
|
| 194 |
+ this.frstRegisterPnttm = frstRegisterPnttm; |
|
| 195 |
+ } |
|
| 196 |
+ |
|
| 197 |
+ public java.lang.String getLastUpdusrId() {
|
|
| 198 |
+ return lastUpdusrId; |
|
| 199 |
+ } |
|
| 200 |
+ |
|
| 201 |
+ public void setLastUpdusrId(java.lang.String lastUpdusrId) {
|
|
| 202 |
+ this.lastUpdusrId = lastUpdusrId; |
|
| 203 |
+ } |
|
| 204 |
+ |
|
| 205 |
+ public java.util.Date getLastUpdusrPnttm() {
|
|
| 206 |
+ return lastUpdusrPnttm; |
|
| 207 |
+ } |
|
| 208 |
+ |
|
| 209 |
+ public void setLastUpdusrPnttm(java.util.Date lastUpdusrPnttm) {
|
|
| 210 |
+ this.lastUpdusrPnttm = lastUpdusrPnttm; |
|
| 211 |
+ } |
|
| 212 |
+ |
|
| 213 |
+ public java.lang.String getLytTmplatHistId() {
|
|
| 214 |
+ return lytTmplatHistId; |
|
| 215 |
+ } |
|
| 216 |
+ |
|
| 217 |
+ public void setLytTmplatHistId(java.lang.String lytTmplatHistId) {
|
|
| 218 |
+ this.lytTmplatHistId = lytTmplatHistId; |
|
| 219 |
+ } |
|
| 220 |
+ |
|
| 221 |
+ |
|
| 222 |
+} |
--- base/src/main/java/egovframework/com/cop/com/service/impl/EgovLytSourcDAO.java
| This diff is skipped because there are too many other diffs. |
--- base/src/main/java/egovframework/com/cop/com/service/impl/EgovLytSourcHistoryDAO.java
| This diff is skipped because there are too many other diffs. |
--- base/src/main/java/egovframework/com/cop/com/service/impl/EgovLytSourcHistoryServiceImpl.java
| This diff is skipped because there are too many other diffs. |
--- base/src/main/java/egovframework/com/cop/com/service/impl/EgovLytSourcServiceImpl.java
| This diff is skipped because there are too many other diffs. |
--- base/src/main/java/egovframework/com/cop/com/service/impl/EgovLytTmplatDAO.java
| This diff is skipped because there are too many other diffs. |
--- base/src/main/java/egovframework/com/cop/com/service/impl/EgovLytTmplatHistoryDAO.java
| This diff is skipped because there are too many other diffs. |
--- base/src/main/java/egovframework/com/cop/com/service/impl/EgovLytTmplatHistoryServiceImpl.java
| This diff is skipped because there are too many other diffs. |
--- base/src/main/java/egovframework/com/cop/com/service/impl/EgovLytTmplatServiceImpl.java
| This diff is skipped because there are too many other diffs. |
+++ base/src/main/java/egovframework/com/cop/com/service/impl/LytSourcHistoryMapper.java
| This diff is skipped because there are too many other diffs. |
+++ base/src/main/java/egovframework/com/cop/com/service/impl/LytSourcHistoryServiceImpl.java
| This diff is skipped because there are too many other diffs. |
+++ base/src/main/java/egovframework/com/cop/com/service/impl/LytSourcMapper.java
| This diff is skipped because there are too many other diffs. |
+++ base/src/main/java/egovframework/com/cop/com/service/impl/LytSourcServiceImpl.java
| This diff is skipped because there are too many other diffs. |
+++ base/src/main/java/egovframework/com/cop/com/service/impl/LytTmplatHistoryMapper.java
| This diff is skipped because there are too many other diffs. |
+++ base/src/main/java/egovframework/com/cop/com/service/impl/LytTmplatHistoryServiceImpl.java
| This diff is skipped because there are too many other diffs. |
+++ base/src/main/java/egovframework/com/cop/com/service/impl/LytTmplatMapper.java
| This diff is skipped because there are too many other diffs. |
+++ base/src/main/java/egovframework/com/cop/com/service/impl/LytTmplatServiceImpl.java
| This diff is skipped because there are too many other diffs. |
--- base/src/main/java/egovframework/com/cop/com/web/EgovConfirmController.java
+++ base/src/main/java/egovframework/com/cop/com/web/EgovConfirmController.java
| This diff is skipped because there are too many other diffs. |
--- base/src/main/java/egovframework/com/cop/com/web/EgovCopUserInfController.java
+++ base/src/main/java/egovframework/com/cop/com/web/EgovCopUserInfController.java
| This diff is skipped because there are too many other diffs. |
--- base/src/main/java/egovframework/com/evt/web/ComtnschdulinfoController.java
+++ base/src/main/java/egovframework/com/evt/web/ComtnschdulinfoController.java
| This diff is skipped because there are too many other diffs. |
--- base/src/main/java/egovframework/com/mng/cop/bbs/web/EgovBBSAttributeManageController.java
+++ base/src/main/java/egovframework/com/mng/cop/bbs/web/EgovBBSAttributeManageController.java
| This diff is skipped because there are too many other diffs. |
--- base/src/main/java/egovframework/com/mng/cop/bbs/web/EgovBBSManageController.java
+++ base/src/main/java/egovframework/com/mng/cop/bbs/web/EgovBBSManageController.java
| This diff is skipped because there are too many other diffs. |
--- base/src/main/java/egovframework/com/mng/cop/cmy/web/EgovCommunityManageController.java
+++ base/src/main/java/egovframework/com/mng/cop/cmy/web/EgovCommunityManageController.java
| This diff is skipped because there are too many other diffs. |
--- base/src/main/java/egovframework/com/mng/cop/com/web/EgovBbsSourcManageController.java
+++ base/src/main/java/egovframework/com/mng/cop/com/web/EgovBbsSourcManageController.java
| This diff is skipped because there are too many other diffs. |
--- base/src/main/java/egovframework/com/mng/cop/com/web/EgovBbsTmplatManageController.java
+++ base/src/main/java/egovframework/com/mng/cop/com/web/EgovBbsTmplatManageController.java
| This diff is skipped because there are too many other diffs. |
--- base/src/main/java/egovframework/com/mng/cop/com/web/EgovLytSourcManageController.java
+++ base/src/main/java/egovframework/com/mng/cop/com/web/LytSourcManageController.java
| This diff is skipped because there are too many other diffs. |
--- base/src/main/java/egovframework/com/mng/cop/com/web/EgovLytTmplatManageController.java
+++ base/src/main/java/egovframework/com/mng/cop/com/web/LytTmplatManageController.java
| This diff is skipped because there are too many other diffs. |
--- base/src/main/java/egovframework/com/mng/evt/ComtnschdulinfoMngController.java
+++ base/src/main/java/egovframework/com/mng/evt/ComtnschdulinfoMngController.java
| This diff is skipped because there are too many other diffs. |
--- base/src/main/java/egovframework/com/mng/msi/web/EgovTemplateController.java
+++ base/src/main/java/egovframework/com/mng/msi/web/EgovTemplateController.java
| This diff is skipped because there are too many other diffs. |
+++ base/src/main/java/egovframework/com/mng/sym/ccm/web/CcmCmmnClCodeManageController.java
| This diff is skipped because there are too many other diffs. |
+++ base/src/main/java/egovframework/com/mng/sym/ccm/web/CcmCmmnCodeManageController.java
| This diff is skipped because there are too many other diffs. |
--- base/src/main/java/egovframework/com/mng/sym/ccm/web/EgovCcmCmmnDetailCodeManageController.java
+++ base/src/main/java/egovframework/com/mng/sym/ccm/web/CcmCmmnDetailCodeManageController.java
| This diff is skipped because there are too many other diffs. |
--- base/src/main/java/egovframework/com/mng/sym/ccm/web/EgovCcmCmmnClCodeManageController.java
| This diff is skipped because there are too many other diffs. |
--- base/src/main/java/egovframework/com/mng/sym/ccm/web/EgovCcmCmmnCodeManageController.java
| This diff is skipped because there are too many other diffs. |
--- base/src/main/java/egovframework/com/mng/sym/mpm/web/EgovMpmController.java
+++ base/src/main/java/egovframework/com/mng/sym/mpm/web/MpmController.java
| This diff is skipped because there are too many other diffs. |
--- base/src/main/java/egovframework/com/mng/sym/sit/web/EgovSiteManageController.java
+++ base/src/main/java/egovframework/com/mng/sym/sit/web/SiteManageController.java
| This diff is skipped because there are too many other diffs. |
--- base/src/main/java/egovframework/com/mng/uss/ion/bnr/web/EgovBannerController.java
+++ base/src/main/java/egovframework/com/mng/uss/ion/bnr/web/EgovBannerController.java
| This diff is skipped because there are too many other diffs. |
--- base/src/main/java/egovframework/com/mng/uss/ion/pwm/web/EgovPopupManageController.java
+++ base/src/main/java/egovframework/com/mng/uss/ion/pwm/web/EgovPopupManageController.java
| This diff is skipped because there are too many other diffs. |
--- base/src/main/java/egovframework/com/mng/uss/ion/sit/web/EgovLinkSiteManageController.java
+++ base/src/main/java/egovframework/com/mng/uss/ion/sit/web/EgovLinkSiteManageController.java
| This diff is skipped because there are too many other diffs. |
--- base/src/main/java/egovframework/com/mng/uss/umt/web/EgovUserManageController.java
+++ base/src/main/java/egovframework/com/mng/uss/umt/web/EgovUserManageController.java
| This diff is skipped because there are too many other diffs. |
--- base/src/main/java/egovframework/com/msi/web/ContentsServiceController.java
+++ base/src/main/java/egovframework/com/msi/web/ContentsServiceController.java
| This diff is skipped because there are too many other diffs. |
--- base/src/main/java/egovframework/com/msi/web/SearchServiceController.java
+++ base/src/main/java/egovframework/com/msi/web/SearchServiceController.java
| This diff is skipped because there are too many other diffs. |
--- base/src/main/java/egovframework/com/msi/web/TemplateServiceController.java
+++ base/src/main/java/egovframework/com/msi/web/TemplateServiceController.java
| This diff is skipped because there are too many other diffs. |
--- base/src/main/java/egovframework/com/sec/ram/security/userdetails/util/EgovUserDetailsHelper.java
+++ base/src/main/java/egovframework/com/sec/ram/security/userdetails/util/EgovUserDetailsHelper.java
| This diff is skipped because there are too many other diffs. |
--- base/src/main/java/egovframework/com/sym/cal/service/EgovCalRestdeManageService.java
| This diff is skipped because there are too many other diffs. |
--- base/src/main/java/egovframework/com/sym/cal/service/Restde.java
| This diff is skipped because there are too many other diffs. |
--- base/src/main/java/egovframework/com/sym/cal/service/RestdeVO.java
| This diff is skipped because there are too many other diffs. |
--- base/src/main/java/egovframework/com/sym/cal/service/impl/EgovCalRestdeManageServiceImpl.java
| This diff is skipped because there are too many other diffs. |
--- base/src/main/java/egovframework/com/sym/cal/service/impl/RestdeManageDAO.java
| This diff is skipped because there are too many other diffs. |
--- base/src/main/java/egovframework/com/sym/cal/web/EgovCalRestdeManageController.java
| This diff is skipped because there are too many other diffs. |
+++ base/src/main/java/egovframework/com/sym/ccm/cca/service/CcmCmmnCodeManageService.java
| This diff is skipped because there are too many other diffs. |
--- base/src/main/java/egovframework/com/sym/ccm/cca/service/CmmnCode.java
| This diff is skipped because there are too many other diffs. |
--- base/src/main/java/egovframework/com/sym/ccm/cca/service/CmmnCodeVO.java
+++ base/src/main/java/egovframework/com/sym/ccm/cca/service/CmmnCodeVO.java
| This diff is skipped because there are too many other diffs. |
--- base/src/main/java/egovframework/com/sym/ccm/cca/service/EgovCcmCmmnCodeManageService.java
| This diff is skipped because there are too many other diffs. |
+++ base/src/main/java/egovframework/com/sym/ccm/cca/service/impl/CcmCmmnCodeManageServiceImpl.java
| This diff is skipped because there are too many other diffs. |
--- base/src/main/java/egovframework/com/sym/ccm/cca/service/impl/CmmnCodeManageDAO.java
| This diff is skipped because there are too many other diffs. |
+++ base/src/main/java/egovframework/com/sym/ccm/cca/service/impl/CmmnCodeManageMapper.java
| This diff is skipped because there are too many other diffs. |
--- base/src/main/java/egovframework/com/sym/ccm/cca/service/impl/EgovCcmCmmnCodeManageServiceImpl.java
| This diff is skipped because there are too many other diffs. |
+++ base/src/main/java/egovframework/com/sym/ccm/ccc/service/CcmCmmnClCodeManageService.java
| This diff is skipped because there are too many other diffs. |
--- base/src/main/java/egovframework/com/sym/ccm/ccc/service/CmmnClCode.java
| This diff is skipped because there are too many other diffs. |
--- base/src/main/java/egovframework/com/sym/ccm/ccc/service/CmmnClCodeVO.java
+++ base/src/main/java/egovframework/com/sym/ccm/ccc/service/CmmnClCodeVO.java
| This diff is skipped because there are too many other diffs. |
--- base/src/main/java/egovframework/com/sym/ccm/ccc/service/EgovCcmCmmnClCodeManageService.java
| This diff is skipped because there are too many other diffs. |
+++ base/src/main/java/egovframework/com/sym/ccm/ccc/service/impl/CcmCmmnClCodeManageServiceImpl.java
| This diff is skipped because there are too many other diffs. |
--- base/src/main/java/egovframework/com/sym/ccm/ccc/service/impl/CmmnClCodeManageDAO.java
| This diff is skipped because there are too many other diffs. |
+++ base/src/main/java/egovframework/com/sym/ccm/ccc/service/impl/CmmnClCodeManageMapper.java
| This diff is skipped because there are too many other diffs. |
--- base/src/main/java/egovframework/com/sym/ccm/ccc/service/impl/EgovCcmCmmnClCodeManageServiceImpl.java
| This diff is skipped because there are too many other diffs. |
+++ base/src/main/java/egovframework/com/sym/ccm/cde/service/CcmCmmnDetailCodeManageService.java
| This diff is skipped because there are too many other diffs. |
--- base/src/main/java/egovframework/com/sym/ccm/cde/service/CmmnDetailCode.java
| This diff is skipped because there are too many other diffs. |
--- base/src/main/java/egovframework/com/sym/ccm/cde/service/CmmnDetailCodeVO.java
+++ base/src/main/java/egovframework/com/sym/ccm/cde/service/CmmnDetailCodeVO.java
| This diff is skipped because there are too many other diffs. |
--- base/src/main/java/egovframework/com/sym/ccm/cde/service/EgovCcmCmmnDetailCodeManageService.java
| This diff is skipped because there are too many other diffs. |
+++ base/src/main/java/egovframework/com/sym/ccm/cde/service/impl/CcmCmmnDetailCodeManageServiceImpl.java
| This diff is skipped because there are too many other diffs. |
--- base/src/main/java/egovframework/com/sym/ccm/cde/service/impl/CmmnDetailCodeManageDAO.java
| This diff is skipped because there are too many other diffs. |
+++ base/src/main/java/egovframework/com/sym/ccm/cde/service/impl/CmmnDetailCodeManageMapper.java
| This diff is skipped because there are too many other diffs. |
--- base/src/main/java/egovframework/com/sym/ccm/cde/service/impl/EgovCcmCmmnDetailCodeManageServiceImpl.java
| This diff is skipped because there are too many other diffs. |
--- base/src/main/java/egovframework/com/sym/ext/service/EgovOrgCodeVO.java
| This diff is skipped because there are too many other diffs. |
--- base/src/main/java/egovframework/com/sym/log/service/EgovLogManageAspect.java
+++ base/src/main/java/egovframework/com/sym/log/service/EgovLogManageAspect.java
| This diff is skipped because there are too many other diffs. |
--- base/src/main/java/egovframework/com/sym/log/web/EgovWebLogInterceptor.java
+++ base/src/main/java/egovframework/com/sym/log/web/EgovWebLogInterceptor.java
| This diff is skipped because there are too many other diffs. |
--- base/src/main/java/egovframework/com/sym/mpm/service/EgovMpmHistoryService.java
| This diff is skipped because there are too many other diffs. |
--- base/src/main/java/egovframework/com/sym/mpm/service/EgovMpmService.java
| This diff is skipped because there are too many other diffs. |
--- base/src/main/java/egovframework/com/sym/mpm/service/FileCompare.java
| This diff is skipped because there are too many other diffs. |
--- base/src/main/java/egovframework/com/sym/mpm/service/Mpm.java
| This diff is skipped because there are too many other diffs. |
+++ base/src/main/java/egovframework/com/sym/mpm/service/MpmHistoryService.java
| This diff is skipped because there are too many other diffs. |
+++ base/src/main/java/egovframework/com/sym/mpm/service/MpmService.java
| This diff is skipped because there are too many other diffs. |
--- base/src/main/java/egovframework/com/sym/mpm/service/MpmVO.java
+++ base/src/main/java/egovframework/com/sym/mpm/service/MpmVO.java
| This diff is skipped because there are too many other diffs. |
--- base/src/main/java/egovframework/com/sym/mpm/service/impl/EgovMpmHistoryServiceImpl.java
| This diff is skipped because there are too many other diffs. |
--- base/src/main/java/egovframework/com/sym/mpm/service/impl/MpmDAO.java
| This diff is skipped because there are too many other diffs. |
--- base/src/main/java/egovframework/com/sym/mpm/service/impl/MpmHistoryDAO.java
| This diff is skipped because there are too many other diffs. |
+++ base/src/main/java/egovframework/com/sym/mpm/service/impl/MpmHistoryMapper.java
| This diff is skipped because there are too many other diffs. |
+++ base/src/main/java/egovframework/com/sym/mpm/service/impl/MpmHistoryServiceImpl.java
| This diff is skipped because there are too many other diffs. |
+++ base/src/main/java/egovframework/com/sym/mpm/service/impl/MpmMapper.java
| This diff is skipped because there are too many other diffs. |
--- base/src/main/java/egovframework/com/sym/mpm/service/impl/EgovMpmServiceImpl.java
+++ base/src/main/java/egovframework/com/sym/mpm/service/impl/MpmServiceImpl.java
| This diff is skipped because there are too many other diffs. |
--- base/src/main/java/egovframework/com/sym/sit/service/EgovSiteManageService.java
| This diff is skipped because there are too many other diffs. |
--- base/src/main/java/egovframework/com/sym/sit/service/SiteManageDefaultVO.java
| This diff is skipped because there are too many other diffs. |
+++ base/src/main/java/egovframework/com/sym/sit/service/SiteManageService.java
| This diff is skipped because there are too many other diffs. |
--- base/src/main/java/egovframework/com/sym/sit/service/SiteManageVO.java
+++ base/src/main/java/egovframework/com/sym/sit/service/SiteManageVO.java
| This diff is skipped because there are too many other diffs. |
--- base/src/main/java/egovframework/com/sym/sit/service/impl/SiteManageDAO.java
| This diff is skipped because there are too many other diffs. |
+++ base/src/main/java/egovframework/com/sym/sit/service/impl/SiteManageMapper.java
| This diff is skipped because there are too many other diffs. |
--- base/src/main/java/egovframework/com/sym/sit/service/impl/EgovSiteManageServiceImpl.java
+++ base/src/main/java/egovframework/com/sym/sit/service/impl/SiteManageServiceImpl.java
| This diff is skipped because there are too many other diffs. |
--- base/src/main/java/egovframework/com/uat/sso/filter/EgovSSOFilter.java
+++ base/src/main/java/egovframework/com/uat/sso/filter/EgovSSOFilter.java
| This diff is skipped because there are too many other diffs. |
--- base/src/main/java/egovframework/com/uat/uia/service/impl/EgovLoginServiceImpl.java
+++ base/src/main/java/egovframework/com/uat/uia/service/impl/EgovLoginServiceImpl.java
| This diff is skipped because there are too many other diffs. |
--- base/src/main/java/egovframework/com/uat/uia/web/EgovLoginController.java
+++ base/src/main/java/egovframework/com/uat/uia/web/EgovLoginController.java
| This diff is skipped because there are too many other diffs. |
--- base/src/main/java/egovframework/com/uss/ion/bnr/web/EgovBannerController.java
+++ base/src/main/java/egovframework/com/uss/ion/bnr/web/EgovBannerController.java
| This diff is skipped because there are too many other diffs. |
--- base/src/main/java/egovframework/com/uss/ion/pwm/web/EgovPopupManageController.java
+++ base/src/main/java/egovframework/com/uss/ion/pwm/web/EgovPopupManageController.java
| This diff is skipped because there are too many other diffs. |
--- base/src/main/java/egovframework/com/uss/ion/rsn/service/EgovRssService.class
| Binary file is not shown |
--- base/src/main/java/egovframework/com/uss/ion/rsn/service/EgovRssService.java
| This diff is skipped because there are too many other diffs. |
--- base/src/main/java/egovframework/com/uss/ion/rsn/service/RssInfo.class
| Binary file is not shown |
--- base/src/main/java/egovframework/com/uss/ion/rsn/service/RssInfo.java
| This diff is skipped because there are too many other diffs. |
--- base/src/main/java/egovframework/com/uss/ion/rsn/service/impl/EgovRssServiceImpl.class
| Binary file is not shown |
--- base/src/main/java/egovframework/com/uss/ion/rsn/service/impl/EgovRssServiceImpl.java
| This diff is skipped because there are too many other diffs. |
--- base/src/main/java/egovframework/com/uss/ion/rsn/service/impl/RssDao.class
| Binary file is not shown |
--- base/src/main/java/egovframework/com/uss/ion/rsn/service/impl/RssDao.java
| This diff is skipped because there are too many other diffs. |
--- base/src/main/java/egovframework/com/uss/ion/rsn/web/EgovRssController.class
| Binary file is not shown |
--- base/src/main/java/egovframework/com/uss/ion/rsn/web/EgovRssController.java
| This diff is skipped because there are too many other diffs. |
--- base/src/main/java/egovframework/com/uss/ivp/web/EgovIndvdlestbsController.java
+++ base/src/main/java/egovframework/com/uss/ivp/web/EgovIndvdlestbsController.java
| This diff is skipped because there are too many other diffs. |
--- base/src/main/java/egovframework/com/uss/umt/web/EgovUserInfoController.java
+++ base/src/main/java/egovframework/com/uss/umt/web/EgovUserInfoController.java
| This diff is skipped because there are too many other diffs. |
+++ base/src/main/resources/egovframework/mapper/mysql/cmm/sym/ccm/CmmnClCodeManage_SQL.xml
| This diff is skipped because there are too many other diffs. |
+++ base/src/main/resources/egovframework/mapper/mysql/cmm/sym/ccm/CmmnCodeManage_SQL.xml
| This diff is skipped because there are too many other diffs. |
+++ base/src/main/resources/egovframework/mapper/mysql/cmm/sym/ccm/CmmnDetailCodeManage_SQL.xml
| This diff is skipped because there are too many other diffs. |
+++ base/src/main/resources/egovframework/mapper/mysql/cmm/use/CmmUse_SQL.xml
| This diff is skipped because there are too many other diffs. |
+++ base/src/main/resources/egovframework/mapper/mysql/cop/com/LytSourcHistory_SQL.xml
| This diff is skipped because there are too many other diffs. |
+++ base/src/main/resources/egovframework/mapper/mysql/cop/com/LytSourc_SQL.xml
| This diff is skipped because there are too many other diffs. |
+++ base/src/main/resources/egovframework/mapper/mysql/cop/com/LytTmplatHistory_SQL.xml
| This diff is skipped because there are too many other diffs. |
+++ base/src/main/resources/egovframework/mapper/mysql/cop/com/LytTmplat_SQL.xml
| This diff is skipped because there are too many other diffs. |
+++ base/src/main/resources/egovframework/mapper/mysql/sym/mpm/MpmHistory_SQL.xml
| This diff is skipped because there are too many other diffs. |
+++ base/src/main/resources/egovframework/mapper/mysql/sym/mpm/Mpm_SQL.xml
| This diff is skipped because there are too many other diffs. |
+++ base/src/main/resources/egovframework/mapper/mysql/sym/sit/SiteManage_SQL.xml
| This diff is skipped because there are too many other diffs. |
--- base/src/main/resources/egovframework/spring/context-egovuserdetailshelper.xml
+++ base/src/main/resources/egovframework/spring/context-egovuserdetailshelper.xml
| This diff is skipped because there are too many other diffs. |
--- base/src/main/resources/egovframework/spring/context-idgen.xml
+++ base/src/main/resources/egovframework/spring/context-idgen.xml
| This diff is skipped because there are too many other diffs. |
--- base/src/main/resources/egovframework/spring/context-properties.xml
+++ base/src/main/resources/egovframework/spring/context-properties.xml
| This diff is skipped because there are too many other diffs. |
--- base/src/main/resources/egovframework/sqlmap/config/mysql/sql-map-config-mysql.xml
+++ base/src/main/resources/egovframework/sqlmap/config/mysql/sql-map-config-mysql.xml
| This diff is skipped because there are too many other diffs. |
--- base/src/main/resources/egovframework/sqlmap/mysql/cmm/sym/cal/EgovRestdeManage_SQL_Mysql.xml
| This diff is skipped because there are too many other diffs. |
--- base/src/main/resources/egovframework/sqlmap/mysql/cmm/sym/ccm/EgovAdministCodeManage_SQL_Mysql.xml
+++ base/src/main/resources/egovframework/sqlmap/mysql/cmm/sym/ccm/EgovAdministCodeManage_SQL_Mysql.xml
| This diff is skipped because there are too many other diffs. |
--- base/src/main/resources/egovframework/sqlmap/mysql/cmm/sym/ccm/EgovCmmnClCodeManage_SQL_Mysql.xml
+++ base/src/main/resources/egovframework/sqlmap/mysql/cmm/sym/ccm/EgovCmmnClCodeManage_SQL_Mysql.xml
| This diff is skipped because there are too many other diffs. |
--- base/src/main/resources/egovframework/sqlmap/mysql/cmm/sym/ccm/EgovCmmnCodeManage_SQL_Mysql.xml
+++ base/src/main/resources/egovframework/sqlmap/mysql/cmm/sym/ccm/EgovCmmnCodeManage_SQL_Mysql.xml
| This diff is skipped because there are too many other diffs. |
--- base/src/main/resources/egovframework/sqlmap/mysql/cmm/sym/ccm/EgovCmmnDetailCodeManage_SQL_Mysql.xml
+++ base/src/main/resources/egovframework/sqlmap/mysql/cmm/sym/ccm/EgovCmmnDetailCodeManage_SQL_Mysql.xml
| This diff is skipped because there are too many other diffs. |
--- base/src/main/resources/egovframework/sqlmap/mysql/cmm/use/EgovCmmUse_SQL_Mysql.xml
+++ base/src/main/resources/egovframework/sqlmap/mysql/cmm/use/EgovCmmUse_SQL_Mysql.xml
| This diff is skipped because there are too many other diffs. |
--- base/src/main/resources/egovframework/sqlmap/mysql/cop/com/EgovLytSourcHistory_SQL_Mysql.xml
| This diff is skipped because there are too many other diffs. |
--- base/src/main/resources/egovframework/sqlmap/mysql/cop/com/EgovLytSourc_SQL_Mysql.xml
| This diff is skipped because there are too many other diffs. |
--- base/src/main/resources/egovframework/sqlmap/mysql/cop/com/EgovLytTmplatHistory_SQL_Mysql.xml
| This diff is skipped because there are too many other diffs. |
--- base/src/main/resources/egovframework/sqlmap/mysql/cop/com/EgovLytTmplat_SQL_Mysql.xml
| This diff is skipped because there are too many other diffs. |
--- base/src/main/resources/egovframework/sqlmap/mysql/sym/mpm/EgovMpmHistory_SQL_Mysql.xml
| This diff is skipped because there are too many other diffs. |
--- base/src/main/resources/egovframework/sqlmap/mysql/sym/mpm/EgovMpm_SQL_Mysql.xml
| This diff is skipped because there are too many other diffs. |
--- base/src/main/resources/egovframework/sqlmap/mysql/sym/sit/EgovSiteManage_SQL_Mysql.xml
| This diff is skipped because there are too many other diffs. |
--- base/src/main/webapp/WEB-INF/jsp/egovframework/cmm/fms/EgovFileList.jsp
+++ base/src/main/webapp/WEB-INF/jsp/egovframework/cmm/fms/EgovFileList.jsp
| This diff is skipped because there are too many other diffs. |
--- base/src/main/webapp/WEB-INF/jsp/egovframework/cmm/fms/EgovImgFileList.jsp
+++ base/src/main/webapp/WEB-INF/jsp/egovframework/cmm/fms/EgovImgFileList.jsp
| This diff is skipped because there are too many other diffs. |
--- base/src/main/webapp/WEB-INF/jsp/egovframework/cmm/fms/EgovStaffFileList.jsp
+++ base/src/main/webapp/WEB-INF/jsp/egovframework/cmm/fms/EgovStaffFileList.jsp
| This diff is skipped because there are too many other diffs. |
--- base/src/main/webapp/WEB-INF/jsp/egovframework/cmm/fms/StudyFileList.jsp
+++ base/src/main/webapp/WEB-INF/jsp/egovframework/cmm/fms/StudyFileList.jsp
| This diff is skipped because there are too many other diffs. |
--- base/src/main/webapp/WEB-INF/jsp/egovframework/cmm/sym/cal/EgovAdministCalPopup.jsp
| This diff is skipped because there are too many other diffs. |
--- base/src/main/webapp/WEB-INF/jsp/egovframework/cmm/sym/cal/EgovAdministCalendar.jsp
| This diff is skipped because there are too many other diffs. |
--- base/src/main/webapp/WEB-INF/jsp/egovframework/cmm/sym/cal/EgovAdministDayCalendar.jsp
| This diff is skipped because there are too many other diffs. |
--- base/src/main/webapp/WEB-INF/jsp/egovframework/cmm/sym/cal/EgovAdministMonthCalendar.jsp
| This diff is skipped because there are too many other diffs. |
--- base/src/main/webapp/WEB-INF/jsp/egovframework/cmm/sym/cal/EgovAdministWeekCalendar.jsp
| This diff is skipped because there are too many other diffs. |
--- base/src/main/webapp/WEB-INF/jsp/egovframework/cmm/sym/cal/EgovAdministYearCalendar.jsp
| This diff is skipped because there are too many other diffs. |
--- base/src/main/webapp/WEB-INF/jsp/egovframework/cmm/sym/cal/EgovCalPopup.jsp
| This diff is skipped because there are too many other diffs. |
--- base/src/main/webapp/WEB-INF/jsp/egovframework/cmm/sym/cal/EgovCalendar.jsp
| This diff is skipped because there are too many other diffs. |
--- base/src/main/webapp/WEB-INF/jsp/egovframework/cmm/sym/cal/EgovNormalCalPopup.jsp
| This diff is skipped because there are too many other diffs. |
--- base/src/main/webapp/WEB-INF/jsp/egovframework/cmm/sym/cal/EgovNormalCalendar.jsp
| This diff is skipped because there are too many other diffs. |
--- base/src/main/webapp/WEB-INF/jsp/egovframework/cmm/sym/cal/EgovNormalDayCalendar.jsp
| This diff is skipped because there are too many other diffs. |
--- base/src/main/webapp/WEB-INF/jsp/egovframework/cmm/sym/cal/EgovNormalMonthCalendar.jsp
| This diff is skipped because there are too many other diffs. |
--- base/src/main/webapp/WEB-INF/jsp/egovframework/cmm/sym/cal/EgovNormalWeekCalendar.jsp
| This diff is skipped because there are too many other diffs. |
--- base/src/main/webapp/WEB-INF/jsp/egovframework/cmm/sym/cal/EgovNormalYearCalendar.jsp
| This diff is skipped because there are too many other diffs. |
--- base/src/main/webapp/WEB-INF/jsp/egovframework/cmm/sym/cal/EgovRestdeDetail.jsp
| This diff is skipped because there are too many other diffs. |
--- base/src/main/webapp/WEB-INF/jsp/egovframework/cmm/sym/cal/EgovRestdeList.jsp
| This diff is skipped because there are too many other diffs. |
--- base/src/main/webapp/WEB-INF/jsp/egovframework/cmm/sym/cal/EgovRestdeModify.jsp
| This diff is skipped because there are too many other diffs. |
--- base/src/main/webapp/WEB-INF/jsp/egovframework/cmm/sym/cal/EgovRestdeRegist.jsp
| This diff is skipped because there are too many other diffs. |
--- base/src/main/webapp/WEB-INF/jsp/egovframework/cmm/sym/ccm/cca/EgovCcmCmmnCodeList.jsp
+++ base/src/main/webapp/WEB-INF/jsp/egovframework/cmm/sym/ccm/cca/EgovCcmCmmnCodeList.jsp
| This diff is skipped because there are too many other diffs. |
--- base/src/main/webapp/WEB-INF/jsp/egovframework/cmm/sym/ccm/cca/EgovCcmCmmnCodeModify.jsp
+++ base/src/main/webapp/WEB-INF/jsp/egovframework/cmm/sym/ccm/cca/EgovCcmCmmnCodeModify.jsp
| This diff is skipped because there are too many other diffs. |
--- base/src/main/webapp/WEB-INF/jsp/egovframework/cmm/sym/ccm/cca/EgovCcmCmmnCodeRegist.jsp
+++ base/src/main/webapp/WEB-INF/jsp/egovframework/cmm/sym/ccm/cca/EgovCcmCmmnCodeRegist.jsp
| This diff is skipped because there are too many other diffs. |
--- base/src/main/webapp/WEB-INF/jsp/egovframework/cmm/sym/ccm/ccc/EgovCcmCmmnClCodeList.jsp
+++ base/src/main/webapp/WEB-INF/jsp/egovframework/cmm/sym/ccm/ccc/EgovCcmCmmnClCodeList.jsp
| This diff is skipped because there are too many other diffs. |
--- base/src/main/webapp/WEB-INF/jsp/egovframework/cmm/sym/ccm/ccc/EgovCcmCmmnClCodeModify.jsp
+++ base/src/main/webapp/WEB-INF/jsp/egovframework/cmm/sym/ccm/ccc/EgovCcmCmmnClCodeModify.jsp
| This diff is skipped because there are too many other diffs. |
--- base/src/main/webapp/WEB-INF/jsp/egovframework/cmm/sym/ccm/ccc/EgovCcmCmmnClCodeRegist.jsp
+++ base/src/main/webapp/WEB-INF/jsp/egovframework/cmm/sym/ccm/ccc/EgovCcmCmmnClCodeRegist.jsp
| This diff is skipped because there are too many other diffs. |
--- base/src/main/webapp/WEB-INF/jsp/egovframework/cmm/sym/ccm/ccc/EgovCcmCmmnCodeDetail.jsp
+++ base/src/main/webapp/WEB-INF/jsp/egovframework/cmm/sym/ccm/ccc/EgovCcmCmmnCodeDetail.jsp
| This diff is skipped because there are too many other diffs. |
--- base/src/main/webapp/WEB-INF/jsp/egovframework/cmm/sym/ccm/cde/EgovCcmCmmnDetailCodeList.jsp
+++ base/src/main/webapp/WEB-INF/jsp/egovframework/cmm/sym/ccm/cde/EgovCcmCmmnDetailCodeList.jsp
| This diff is skipped because there are too many other diffs. |
--- base/src/main/webapp/WEB-INF/jsp/egovframework/cmm/sym/ccm/cde/EgovCcmCmmnDetailCodeModify.jsp
+++ base/src/main/webapp/WEB-INF/jsp/egovframework/cmm/sym/ccm/cde/EgovCcmCmmnDetailCodeModify.jsp
| This diff is skipped because there are too many other diffs. |
--- base/src/main/webapp/WEB-INF/jsp/egovframework/cmm/sym/ccm/cde/EgovCcmCmmnDetailCodeRegist.jsp
+++ base/src/main/webapp/WEB-INF/jsp/egovframework/cmm/sym/ccm/cde/EgovCcmCmmnDetailCodeRegist.jsp
| This diff is skipped because there are too many other diffs. |
--- base/src/main/webapp/WEB-INF/jsp/egovframework/cop/com/selectAllBBSMasterManageInfs.jsp
+++ base/src/main/webapp/WEB-INF/jsp/egovframework/cop/com/selectAllBBSMasterManageInfs.jsp
| This diff is skipped because there are too many other diffs. |
--- base/src/main/webapp/WEB-INF/jsp/egovframework/evt/ComtnschdulEventResult.jsp
+++ base/src/main/webapp/WEB-INF/jsp/egovframework/evt/ComtnschdulEventResult.jsp
| This diff is skipped because there are too many other diffs. |
--- base/src/main/webapp/WEB-INF/jsp/egovframework/mng/cmm/EgovLoginMng.jsp
+++ base/src/main/webapp/WEB-INF/jsp/egovframework/mng/cmm/EgovLoginMng.jsp
| This diff is skipped because there are too many other diffs. |
--- base/src/main/webapp/WEB-INF/jsp/egovframework/mng/cop/bbs/EgovBoardMstrList.jsp
+++ base/src/main/webapp/WEB-INF/jsp/egovframework/mng/cop/bbs/EgovBoardMstrList.jsp
| This diff is skipped because there are too many other diffs. |
--- base/src/main/webapp/WEB-INF/jsp/egovframework/mng/cop/bbs/EgovBoardMstrRegist.jsp
+++ base/src/main/webapp/WEB-INF/jsp/egovframework/mng/cop/bbs/EgovBoardMstrRegist.jsp
| This diff is skipped because there are too many other diffs. |
--- base/src/main/webapp/WEB-INF/jsp/egovframework/mng/cop/bbs/ctg/EgovBBSCtgryList.jsp
+++ base/src/main/webapp/WEB-INF/jsp/egovframework/mng/cop/bbs/ctg/EgovBBSCtgryList.jsp
| This diff is skipped because there are too many other diffs. |
--- base/src/main/webapp/WEB-INF/jsp/egovframework/mng/cop/bbs/ctg/EgovBBSCtgryMasterList.jsp
+++ base/src/main/webapp/WEB-INF/jsp/egovframework/mng/cop/bbs/ctg/EgovBBSCtgryMasterList.jsp
| This diff is skipped because there are too many other diffs. |
--- base/src/main/webapp/WEB-INF/jsp/egovframework/mng/cop/bbs/ctg/EgovBBSCtgryMasterList02.jsp
+++ base/src/main/webapp/WEB-INF/jsp/egovframework/mng/cop/bbs/ctg/EgovBBSCtgryMasterList02.jsp
| This diff is skipped because there are too many other diffs. |
--- base/src/main/webapp/WEB-INF/jsp/egovframework/mng/cop/bbs/ctg/EgovBBSCtgryMasterRegist.jsp
+++ base/src/main/webapp/WEB-INF/jsp/egovframework/mng/cop/bbs/ctg/EgovBBSCtgryMasterRegist.jsp
| This diff is skipped because there are too many other diffs. |
--- base/src/main/webapp/WEB-INF/jsp/egovframework/mng/cop/bbs/ctg/EgovBBSCtgryRegist.jsp
+++ base/src/main/webapp/WEB-INF/jsp/egovframework/mng/cop/bbs/ctg/EgovBBSCtgryRegist.jsp
| This diff is skipped because there are too many other diffs. |
--- base/src/main/webapp/WEB-INF/jsp/egovframework/mng/cop/bbs/default/EgovCommentList.jsp
+++ base/src/main/webapp/WEB-INF/jsp/egovframework/mng/cop/bbs/default/EgovCommentList.jsp
| This diff is skipped because there are too many other diffs. |
--- base/src/main/webapp/WEB-INF/jsp/egovframework/mng/cop/bbs/default/EgovNoticeInqire.jsp
+++ base/src/main/webapp/WEB-INF/jsp/egovframework/mng/cop/bbs/default/EgovNoticeInqire.jsp
| This diff is skipped because there are too many other diffs. |
--- base/src/main/webapp/WEB-INF/jsp/egovframework/mng/cop/bbs/default/EgovNoticeList.jsp
+++ base/src/main/webapp/WEB-INF/jsp/egovframework/mng/cop/bbs/default/EgovNoticeList.jsp
| This diff is skipped because there are too many other diffs. |
--- base/src/main/webapp/WEB-INF/jsp/egovframework/mng/cop/bbs/default/EgovNoticeRegist.jsp
+++ base/src/main/webapp/WEB-INF/jsp/egovframework/mng/cop/bbs/default/EgovNoticeRegist.jsp
| This diff is skipped because there are too many other diffs. |
--- base/src/main/webapp/WEB-INF/jsp/egovframework/mng/cop/cmy/EgovCmmntyUseInfo.jsp
+++ base/src/main/webapp/WEB-INF/jsp/egovframework/mng/cop/cmy/EgovCmmntyUseInfo.jsp
| This diff is skipped because there are too many other diffs. |
--- base/src/main/webapp/WEB-INF/jsp/egovframework/mng/cop/cmy/EgovCmmntyUseList.jsp
+++ base/src/main/webapp/WEB-INF/jsp/egovframework/mng/cop/cmy/EgovCmmntyUseList.jsp
| This diff is skipped because there are too many other diffs. |
--- base/src/main/webapp/WEB-INF/jsp/egovframework/mng/cop/com/EgovBbsSourcHistoryList.jsp
+++ base/src/main/webapp/WEB-INF/jsp/egovframework/mng/cop/com/EgovBbsSourcHistoryList.jsp
| This diff is skipped because there are too many other diffs. |
--- base/src/main/webapp/WEB-INF/jsp/egovframework/mng/cop/com/EgovBbsSourcHistoryView.jsp
+++ base/src/main/webapp/WEB-INF/jsp/egovframework/mng/cop/com/EgovBbsSourcHistoryView.jsp
| This diff is skipped because there are too many other diffs. |
--- base/src/main/webapp/WEB-INF/jsp/egovframework/mng/cop/com/EgovBbsSourcList.jsp
+++ base/src/main/webapp/WEB-INF/jsp/egovframework/mng/cop/com/EgovBbsSourcList.jsp
| This diff is skipped because there are too many other diffs. |
--- base/src/main/webapp/WEB-INF/jsp/egovframework/mng/cop/com/EgovBbsSourcRegister.jsp
+++ base/src/main/webapp/WEB-INF/jsp/egovframework/mng/cop/com/EgovBbsSourcRegister.jsp
| This diff is skipped because there are too many other diffs. |
--- base/src/main/webapp/WEB-INF/jsp/egovframework/mng/cop/com/EgovBbsTemplateHistoryList.jsp
+++ base/src/main/webapp/WEB-INF/jsp/egovframework/mng/cop/com/EgovBbsTemplateHistoryList.jsp
| This diff is skipped because there are too many other diffs. |
--- base/src/main/webapp/WEB-INF/jsp/egovframework/mng/cop/com/EgovBbsTemplateHistoryView.jsp
+++ base/src/main/webapp/WEB-INF/jsp/egovframework/mng/cop/com/EgovBbsTemplateHistoryView.jsp
| This diff is skipped because there are too many other diffs. |
--- base/src/main/webapp/WEB-INF/jsp/egovframework/mng/cop/com/EgovBbsTemplateList.jsp
+++ base/src/main/webapp/WEB-INF/jsp/egovframework/mng/cop/com/EgovBbsTemplateList.jsp
| This diff is skipped because there are too many other diffs. |
--- base/src/main/webapp/WEB-INF/jsp/egovframework/mng/cop/com/EgovBbsTemplateRegister.jsp
+++ base/src/main/webapp/WEB-INF/jsp/egovframework/mng/cop/com/EgovBbsTemplateRegister.jsp
| This diff is skipped because there are too many other diffs. |
--- base/src/main/webapp/WEB-INF/jsp/egovframework/mng/cop/com/EgovLytSourcHistoryList.jsp
+++ base/src/main/webapp/WEB-INF/jsp/egovframework/mng/cop/com/LytSourcHistoryList.jsp
| This diff is skipped because there are too many other diffs. |
--- base/src/main/webapp/WEB-INF/jsp/egovframework/mng/cop/com/EgovLytSourcHistoryView.jsp
+++ base/src/main/webapp/WEB-INF/jsp/egovframework/mng/cop/com/LytSourcHistoryView.jsp
| This diff is skipped because there are too many other diffs. |
--- base/src/main/webapp/WEB-INF/jsp/egovframework/mng/cop/com/EgovLytSourcList.jsp
+++ base/src/main/webapp/WEB-INF/jsp/egovframework/mng/cop/com/LytSourcList.jsp
| This diff is skipped because there are too many other diffs. |
--- base/src/main/webapp/WEB-INF/jsp/egovframework/mng/cop/com/EgovLytSourcRegister.jsp
+++ base/src/main/webapp/WEB-INF/jsp/egovframework/mng/cop/com/LytSourcRegister.jsp
| This diff is skipped because there are too many other diffs. |
--- base/src/main/webapp/WEB-INF/jsp/egovframework/mng/cop/com/EgovLytTemplateHistoryList.jsp
+++ base/src/main/webapp/WEB-INF/jsp/egovframework/mng/cop/com/LytTemplateHistoryList.jsp
| This diff is skipped because there are too many other diffs. |
--- base/src/main/webapp/WEB-INF/jsp/egovframework/mng/cop/com/EgovLytTemplateHistoryView.jsp
+++ base/src/main/webapp/WEB-INF/jsp/egovframework/mng/cop/com/LytTemplateHistoryView.jsp
| This diff is skipped because there are too many other diffs. |
--- base/src/main/webapp/WEB-INF/jsp/egovframework/mng/cop/com/EgovLytTemplateList.jsp
+++ base/src/main/webapp/WEB-INF/jsp/egovframework/mng/cop/com/LytTemplateList.jsp
| This diff is skipped because there are too many other diffs. |
--- base/src/main/webapp/WEB-INF/jsp/egovframework/mng/cop/com/EgovLytTemplateRegister.jsp
+++ base/src/main/webapp/WEB-INF/jsp/egovframework/mng/cop/com/LytTemplateRegister.jsp
| This diff is skipped because there are too many other diffs. |
--- base/src/main/webapp/WEB-INF/jsp/egovframework/mng/ems/ComtnemsInfo.jsp
+++ base/src/main/webapp/WEB-INF/jsp/egovframework/mng/ems/ComtnemsInfo.jsp
| This diff is skipped because there are too many other diffs. |
--- base/src/main/webapp/WEB-INF/jsp/egovframework/mng/evt/ComtneventadhrncMngList.jsp
+++ base/src/main/webapp/WEB-INF/jsp/egovframework/mng/evt/ComtneventadhrncMngList.jsp
| This diff is skipped because there are too many other diffs. |
--- base/src/main/webapp/WEB-INF/jsp/egovframework/mng/evt/ComtneventprzwnerList.jsp
+++ base/src/main/webapp/WEB-INF/jsp/egovframework/mng/evt/ComtneventprzwnerList.jsp
| This diff is skipped because there are too many other diffs. |
--- base/src/main/webapp/WEB-INF/jsp/egovframework/mng/evt/ComtneventprzwnerUserList.jsp
+++ base/src/main/webapp/WEB-INF/jsp/egovframework/mng/evt/ComtneventprzwnerUserList.jsp
| This diff is skipped because there are too many other diffs. |
--- base/src/main/webapp/WEB-INF/jsp/egovframework/mng/evt/ComtnschdulinfoMngList.jsp
+++ base/src/main/webapp/WEB-INF/jsp/egovframework/mng/evt/ComtnschdulinfoMngList.jsp
| This diff is skipped because there are too many other diffs. |
--- base/src/main/webapp/WEB-INF/jsp/egovframework/mng/evt/ComtnschdulinfoMngRegister.jsp
+++ base/src/main/webapp/WEB-INF/jsp/egovframework/mng/evt/ComtnschdulinfoMngRegister.jsp
| This diff is skipped because there are too many other diffs. |
--- base/src/main/webapp/WEB-INF/jsp/egovframework/mng/lms/academicSystem.jsp
| This diff is skipped because there are too many other diffs. |
--- base/src/main/webapp/WEB-INF/jsp/egovframework/mng/lms/academicSystemRegist.jsp
| This diff is skipped because there are too many other diffs. |
--- base/src/main/webapp/WEB-INF/jsp/egovframework/mng/lms/atd/AttendList.jsp
| This diff is skipped because there are too many other diffs. |
--- base/src/main/webapp/WEB-INF/jsp/egovframework/mng/lms/atd/AttendListAjax.jsp
| This diff is skipped because there are too many other diffs. |
--- base/src/main/webapp/WEB-INF/jsp/egovframework/mng/lms/basefile/BasefileList.jsp
| This diff is skipped because there are too many other diffs. |
--- base/src/main/webapp/WEB-INF/jsp/egovframework/mng/lms/basefile/BasefileRegister.jsp
| This diff is skipped because there are too many other diffs. |
--- base/src/main/webapp/WEB-INF/jsp/egovframework/mng/lms/certificate/certificateList.jsp
| This diff is skipped because there are too many other diffs. |
--- base/src/main/webapp/WEB-INF/jsp/egovframework/mng/lms/cla/classFileList2.jsp
| This diff is skipped because there are too many other diffs. |
--- base/src/main/webapp/WEB-INF/jsp/egovframework/mng/lms/cla/classFileView.jsp
| This diff is skipped because there are too many other diffs. |
--- base/src/main/webapp/WEB-INF/jsp/egovframework/mng/lms/cla/classSurveyList.jsp
| This diff is skipped because there are too many other diffs. |
--- base/src/main/webapp/WEB-INF/jsp/egovframework/mng/lms/cla/curriculumBoardList.jsp
| This diff is skipped because there are too many other diffs. |
--- base/src/main/webapp/WEB-INF/jsp/egovframework/mng/lms/cla/curriculumStudyList.jsp
| This diff is skipped because there are too many other diffs. |
--- base/src/main/webapp/WEB-INF/jsp/egovframework/mng/lms/crcl/CurriculumList.jsp
| This diff is skipped because there are too many other diffs. |
--- base/src/main/webapp/WEB-INF/jsp/egovframework/mng/lms/crcl/CurriculumMngList.jsp
| This diff is skipped because there are too many other diffs. |
--- base/src/main/webapp/WEB-INF/jsp/egovframework/mng/lms/crcl/CurriculumRegister.jsp
| This diff is skipped because there are too many other diffs. |
--- base/src/main/webapp/WEB-INF/jsp/egovframework/mng/lms/crcl/CurriculumStudentView.jsp
| This diff is skipped because there are too many other diffs. |
--- base/src/main/webapp/WEB-INF/jsp/egovframework/mng/lms/crcl/CurriculumView.jsp
| This diff is skipped because there are too many other diffs. |
--- base/src/main/webapp/WEB-INF/jsp/egovframework/mng/lms/crcl/HomeworkArticle.jsp
| This diff is skipped because there are too many other diffs. |
--- base/src/main/webapp/WEB-INF/jsp/egovframework/mng/lms/crcl/HomeworkList.jsp
| This diff is skipped because there are too many other diffs. |
--- base/src/main/webapp/WEB-INF/jsp/egovframework/mng/lms/crcl/HomeworkRegister.jsp
| This diff is skipped because there are too many other diffs. |
--- base/src/main/webapp/WEB-INF/jsp/egovframework/mng/lms/crcl/HomeworkTestList.jsp
| This diff is skipped because there are too many other diffs. |
--- base/src/main/webapp/WEB-INF/jsp/egovframework/mng/lms/crclb/CurriculumbaseDetailAjax.jsp
| This diff is skipped because there are too many other diffs. |
--- base/src/main/webapp/WEB-INF/jsp/egovframework/mng/lms/crclb/CurriculumbaseList.jsp
| This diff is skipped because there are too many other diffs. |
--- base/src/main/webapp/WEB-INF/jsp/egovframework/mng/lms/crclb/CurriculumbaseRegister.jsp
| This diff is skipped because there are too many other diffs. |
--- base/src/main/webapp/WEB-INF/jsp/egovframework/mng/lms/crm/curriculumAcceptView.jsp
| This diff is skipped because there are too many other diffs. |
--- base/src/main/webapp/WEB-INF/jsp/egovframework/mng/lms/crm/curriculumClassRegister.jsp
| This diff is skipped because there are too many other diffs. |
--- base/src/main/webapp/WEB-INF/jsp/egovframework/mng/lms/crm/curriculumClassView.jsp
| This diff is skipped because there are too many other diffs. |
--- base/src/main/webapp/WEB-INF/jsp/egovframework/mng/lms/crm/curriculumGroupRegister.jsp
| This diff is skipped because there are too many other diffs. |
--- base/src/main/webapp/WEB-INF/jsp/egovframework/mng/lms/crm/curriculumGroupView.jsp
| This diff is skipped because there are too many other diffs. |
--- base/src/main/webapp/WEB-INF/jsp/egovframework/mng/lms/crm/curriculumRegisterView.jsp
| This diff is skipped because there are too many other diffs. |
--- base/src/main/webapp/WEB-INF/jsp/egovframework/mng/lms/crm/curriculumStudentView.jsp
| This diff is skipped because there are too many other diffs. |
--- base/src/main/webapp/WEB-INF/jsp/egovframework/mng/lms/crm/curseregManage.jsp
| This diff is skipped because there are too many other diffs. |
--- base/src/main/webapp/WEB-INF/jsp/egovframework/mng/lms/crm/curseregManageCancelRule.jsp
| This diff is skipped because there are too many other diffs. |
--- base/src/main/webapp/WEB-INF/jsp/egovframework/mng/lms/crm/curseregManageCancelRuleReg.jsp
| This diff is skipped because there are too many other diffs. |
--- base/src/main/webapp/WEB-INF/jsp/egovframework/mng/lms/crm/curseregManageConfirm.jsp
| This diff is skipped because there are too many other diffs. |
--- base/src/main/webapp/WEB-INF/jsp/egovframework/mng/lms/crm/curseregManageView.jsp
| This diff is skipped because there are too many other diffs. |
--- base/src/main/webapp/WEB-INF/jsp/egovframework/mng/lms/crm/curseregSttusList.jsp
| This diff is skipped because there are too many other diffs. |
--- base/src/main/webapp/WEB-INF/jsp/egovframework/mng/lms/crm/curseregSttusView.jsp
| This diff is skipped because there are too many other diffs. |
--- base/src/main/webapp/WEB-INF/jsp/egovframework/mng/lms/manage/HomeworkList.jsp
| This diff is skipped because there are too many other diffs. |
--- base/src/main/webapp/WEB-INF/jsp/egovframework/mng/lms/manage/HomeworkTotalList.jsp
| This diff is skipped because there are too many other diffs. |
--- base/src/main/webapp/WEB-INF/jsp/egovframework/mng/lms/manage/completeStand.jsp
| This diff is skipped because there are too many other diffs. |
--- base/src/main/webapp/WEB-INF/jsp/egovframework/mng/lms/manage/curriculumSurveyList.jsp
| This diff is skipped because there are too many other diffs. |
--- base/src/main/webapp/WEB-INF/jsp/egovframework/mng/lms/manage/curriculumSurveyView.jsp
| This diff is skipped because there are too many other diffs. |
--- base/src/main/webapp/WEB-INF/jsp/egovframework/mng/lms/manage/gradeTotal.jsp
| This diff is skipped because there are too many other diffs. |
--- base/src/main/webapp/WEB-INF/jsp/egovframework/mng/lms/manage/lmsBbsAdd.jsp
| This diff is skipped because there are too many other diffs. |
--- base/src/main/webapp/WEB-INF/jsp/egovframework/mng/lms/manage/lmsBbsControl.jsp
| This diff is skipped because there are too many other diffs. |
--- base/src/main/webapp/WEB-INF/jsp/egovframework/mng/lms/manage/lmsBbsList.jsp
| This diff is skipped because there are too many other diffs. |
--- base/src/main/webapp/WEB-INF/jsp/egovframework/mng/lms/manage/lmsBbsPopList.jsp
| This diff is skipped because there are too many other diffs. |
--- base/src/main/webapp/WEB-INF/jsp/egovframework/mng/lms/manage/lmsBbsStatistics.jsp
| This diff is skipped because there are too many other diffs. |
--- base/src/main/webapp/WEB-INF/jsp/egovframework/mng/lms/manage/lmsBbsView.jsp
| This diff is skipped because there are too many other diffs. |
--- base/src/main/webapp/WEB-INF/jsp/egovframework/mng/lms/manage/lmsControl.jsp
| This diff is skipped because there are too many other diffs. |
--- base/src/main/webapp/WEB-INF/jsp/egovframework/mng/lms/manage/lmsEvtPopList.jsp
| This diff is skipped because there are too many other diffs. |
--- base/src/main/webapp/WEB-INF/jsp/egovframework/mng/lms/manage/lmsMemBbsList.jsp
| This diff is skipped because there are too many other diffs. |
--- base/src/main/webapp/WEB-INF/jsp/egovframework/mng/lms/manage/lmsMemBbsView.jsp
| This diff is skipped because there are too many other diffs. |
--- base/src/main/webapp/WEB-INF/jsp/egovframework/mng/lms/manage/manageReport.jsp
| This diff is skipped because there are too many other diffs. |
--- base/src/main/webapp/WEB-INF/jsp/egovframework/mng/lms/manage/manageReportList.jsp
| This diff is skipped because there are too many other diffs. |
--- base/src/main/webapp/WEB-INF/jsp/egovframework/mng/lms/manage/quizExamList.jsp
| This diff is skipped because there are too many other diffs. |
--- base/src/main/webapp/WEB-INF/jsp/egovframework/mng/lms/manage/quizList.jsp
| This diff is skipped because there are too many other diffs. |
--- base/src/main/webapp/WEB-INF/jsp/egovframework/mng/lms/manage/schedule.jsp
| This diff is skipped because there are too many other diffs. |
--- base/src/main/webapp/WEB-INF/jsp/egovframework/mng/lms/manage/scheduleCalendar.jsp
| This diff is skipped because there are too many other diffs. |
--- base/src/main/webapp/WEB-INF/jsp/egovframework/mng/lms/manage/scheduleCalendarView.jsp
| This diff is skipped because there are too many other diffs. |
--- base/src/main/webapp/WEB-INF/jsp/egovframework/mng/lms/manage/scheduleIstAjax.jsp
| This diff is skipped because there are too many other diffs. |
--- base/src/main/webapp/WEB-INF/jsp/egovframework/mng/lms/manage/studyPlan.jsp
| This diff is skipped because there are too many other diffs. |
--- base/src/main/webapp/WEB-INF/jsp/egovframework/mng/lms/manage/studyPlanReg.jsp
| This diff is skipped because there are too many other diffs. |
--- base/src/main/webapp/WEB-INF/jsp/egovframework/mng/lms/manage/studyPlanView.jsp
| This diff is skipped because there are too many other diffs. |
--- base/src/main/webapp/WEB-INF/jsp/egovframework/mng/lms/manage/surveyMemberList.jsp
| This diff is skipped because there are too many other diffs. |
--- base/src/main/webapp/WEB-INF/jsp/egovframework/mng/lms/sur/SurveyManage.jsp
| This diff is skipped because there are too many other diffs. |
--- base/src/main/webapp/WEB-INF/jsp/egovframework/mng/lms/sur/SurveyManageList.jsp
| This diff is skipped because there are too many other diffs. |
--- base/src/main/webapp/WEB-INF/jsp/egovframework/mng/rnk/MngRankingMileage.jsp
+++ base/src/main/webapp/WEB-INF/jsp/egovframework/mng/rnk/MngRankingMileage.jsp
| This diff is skipped because there are too many other diffs. |
--- base/src/main/webapp/WEB-INF/jsp/egovframework/mng/sch/campusSchedule.jsp
| This diff is skipped because there are too many other diffs. |
--- base/src/main/webapp/WEB-INF/jsp/egovframework/mng/sch/classSchedule.jsp
| This diff is skipped because there are too many other diffs. |
--- base/src/main/webapp/WEB-INF/jsp/egovframework/mng/sch/classScheduleView.jsp
| This diff is skipped because there are too many other diffs. |
--- base/src/main/webapp/WEB-INF/jsp/egovframework/mng/sms/ComtnmmsInfo.jsp
+++ base/src/main/webapp/WEB-INF/jsp/egovframework/mng/sms/ComtnmmsInfo.jsp
| This diff is skipped because there are too many other diffs. |
--- base/src/main/webapp/WEB-INF/jsp/egovframework/mng/sms/ComtnsmsInfo.jsp
+++ base/src/main/webapp/WEB-INF/jsp/egovframework/mng/sms/ComtnsmsInfo.jsp
| This diff is skipped because there are too many other diffs. |
--- base/src/main/webapp/WEB-INF/jsp/egovframework/mng/sms/ComtnsmsuserList.jsp
+++ base/src/main/webapp/WEB-INF/jsp/egovframework/mng/sms/ComtnsmsuserList.jsp
| This diff is skipped because there are too many other diffs. |
--- base/src/main/webapp/WEB-INF/jsp/egovframework/mng/sms/ComtnsmsuserMmsList.jsp
+++ base/src/main/webapp/WEB-INF/jsp/egovframework/mng/sms/ComtnsmsuserMmsList.jsp
| This diff is skipped because there are too many other diffs. |
--- base/src/main/webapp/WEB-INF/jsp/egovframework/mng/sts/EgovBbsStats.jsp
+++ base/src/main/webapp/WEB-INF/jsp/egovframework/mng/sts/EgovBbsStats.jsp
| This diff is skipped because there are too many other diffs. |
--- base/src/main/webapp/WEB-INF/jsp/egovframework/mng/sts/EgovCmyStats.jsp
+++ base/src/main/webapp/WEB-INF/jsp/egovframework/mng/sts/EgovCmyStats.jsp
| This diff is skipped because there are too many other diffs. |
--- base/src/main/webapp/WEB-INF/jsp/egovframework/mng/sts/EgovEvtStats.jsp
+++ base/src/main/webapp/WEB-INF/jsp/egovframework/mng/sts/EgovEvtStats.jsp
| This diff is skipped because there are too many other diffs. |
--- base/src/main/webapp/WEB-INF/jsp/egovframework/mng/sts/EgovEvtStatsuser.jsp
+++ base/src/main/webapp/WEB-INF/jsp/egovframework/mng/sts/EgovEvtStatsuser.jsp
| This diff is skipped because there are too many other diffs. |
--- base/src/main/webapp/WEB-INF/jsp/egovframework/mng/sts/EgovMlgStats.jsp
+++ base/src/main/webapp/WEB-INF/jsp/egovframework/mng/sts/EgovMlgStats.jsp
| This diff is skipped because there are too many other diffs. |
--- base/src/main/webapp/WEB-INF/jsp/egovframework/mng/sts/EgovScrinStats.jsp
+++ base/src/main/webapp/WEB-INF/jsp/egovframework/mng/sts/EgovScrinStats.jsp
| This diff is skipped because there are too many other diffs. |
--- base/src/main/webapp/WEB-INF/jsp/egovframework/mng/sym/ccm/cca/EgovCcmCmmnCodeList.jsp
+++ base/src/main/webapp/WEB-INF/jsp/egovframework/mng/sym/ccm/cca/CcmCmmnCodeList.jsp
| This diff is skipped because there are too many other diffs. |
--- base/src/main/webapp/WEB-INF/jsp/egovframework/mng/sym/ccm/cca/EgovCcmCmmnCodeModify.jsp
+++ base/src/main/webapp/WEB-INF/jsp/egovframework/mng/sym/ccm/cca/CcmCmmnCodeModify.jsp
| This diff is skipped because there are too many other diffs. |
--- base/src/main/webapp/WEB-INF/jsp/egovframework/mng/sym/ccm/cca/EgovCcmCmmnCodeRegist.jsp
+++ base/src/main/webapp/WEB-INF/jsp/egovframework/mng/sym/ccm/cca/CcmCmmnCodeRegist.jsp
| This diff is skipped because there are too many other diffs. |
--- base/src/main/webapp/WEB-INF/jsp/egovframework/mng/sym/ccm/ccc/EgovCcmCmmnClCodeList.jsp
+++ base/src/main/webapp/WEB-INF/jsp/egovframework/mng/sym/ccm/ccc/EgovCcmCmmnClCodeList.jsp
| This diff is skipped because there are too many other diffs. |
--- base/src/main/webapp/WEB-INF/jsp/egovframework/mng/sym/ccm/ccc/EgovCcmCmmnClCodeModify.jsp
+++ base/src/main/webapp/WEB-INF/jsp/egovframework/mng/sym/ccm/ccc/EgovCcmCmmnClCodeModify.jsp
| This diff is skipped because there are too many other diffs. |
--- base/src/main/webapp/WEB-INF/jsp/egovframework/mng/sym/ccm/ccc/EgovCcmCmmnClCodeRegist.jsp
+++ base/src/main/webapp/WEB-INF/jsp/egovframework/mng/sym/ccm/ccc/EgovCcmCmmnClCodeRegist.jsp
| This diff is skipped because there are too many other diffs. |
--- base/src/main/webapp/WEB-INF/jsp/egovframework/mng/sym/ccm/ccc/EgovCcmCmmnCodeDetail.jsp
+++ base/src/main/webapp/WEB-INF/jsp/egovframework/mng/sym/ccm/ccc/EgovCcmCmmnCodeDetail.jsp
| This diff is skipped because there are too many other diffs. |
--- base/src/main/webapp/WEB-INF/jsp/egovframework/mng/sym/ccm/cde/EgovCcmCmmnDetailCodeList.jsp
+++ base/src/main/webapp/WEB-INF/jsp/egovframework/mng/sym/ccm/cde/CcmCmmnDetailCodeList.jsp
| This diff is skipped because there are too many other diffs. |
--- base/src/main/webapp/WEB-INF/jsp/egovframework/mng/sym/ccm/cde/EgovCcmCmmnDetailCodeModify.jsp
+++ base/src/main/webapp/WEB-INF/jsp/egovframework/mng/sym/ccm/cde/CcmCmmnDetailCodeModify.jsp
| This diff is skipped because there are too many other diffs. |
--- base/src/main/webapp/WEB-INF/jsp/egovframework/mng/sym/ccm/cde/EgovCcmCmmnDetailCodeRegist.jsp
+++ base/src/main/webapp/WEB-INF/jsp/egovframework/mng/sym/ccm/cde/CcmCmmnDetailCodeRegist.jsp
| This diff is skipped because there are too many other diffs. |
--- base/src/main/webapp/WEB-INF/jsp/egovframework/mng/sym/ext/EgovOrgCodeList.jsp
+++ base/src/main/webapp/WEB-INF/jsp/egovframework/mng/sym/ext/EgovOrgCodeList.jsp
| This diff is skipped because there are too many other diffs. |
--- base/src/main/webapp/WEB-INF/jsp/egovframework/mng/sym/mpm/EgovMpmHistoryList.jsp
+++ base/src/main/webapp/WEB-INF/jsp/egovframework/mng/sym/mpm/MpmHistoryList.jsp
| This diff is skipped because there are too many other diffs. |
--- base/src/main/webapp/WEB-INF/jsp/egovframework/mng/sym/mpm/EgovMpmHistoryView.jsp
+++ base/src/main/webapp/WEB-INF/jsp/egovframework/mng/sym/mpm/MpmHistoryView.jsp
| This diff is skipped because there are too many other diffs. |
--- base/src/main/webapp/WEB-INF/jsp/egovframework/mng/sym/mpm/EgovMpmList.jsp
+++ base/src/main/webapp/WEB-INF/jsp/egovframework/mng/sym/mpm/MpmList.jsp
| This diff is skipped because there are too many other diffs. |
--- base/src/main/webapp/WEB-INF/jsp/egovframework/mng/sym/mpm/EgovMpmPreview.jsp
+++ base/src/main/webapp/WEB-INF/jsp/egovframework/mng/sym/mpm/MpmPreview.jsp
| This diff is skipped because there are too many other diffs. |
--- base/src/main/webapp/WEB-INF/jsp/egovframework/mng/sym/mpm/EgovMpmRegist.jsp
+++ base/src/main/webapp/WEB-INF/jsp/egovframework/mng/sym/mpm/MpmRegist.jsp
| This diff is skipped because there are too many other diffs. |
--- base/src/main/webapp/WEB-INF/jsp/egovframework/mng/sym/sit/EgovSiteInfoRegist.jsp
+++ base/src/main/webapp/WEB-INF/jsp/egovframework/mng/sym/sit/SiteInfoRegist.jsp
| This diff is skipped because there are too many other diffs. |
--- base/src/main/webapp/WEB-INF/jsp/egovframework/mng/sym/sit/EgovSiteListCommon.jsp
+++ base/src/main/webapp/WEB-INF/jsp/egovframework/mng/sym/sit/SiteListCommon.jsp
| This diff is skipped because there are too many other diffs. |
--- base/src/main/webapp/WEB-INF/jsp/egovframework/mng/sym/sit/EgovSiteListInqire.jsp
+++ base/src/main/webapp/WEB-INF/jsp/egovframework/mng/sym/sit/SiteListInqire.jsp
| This diff is skipped because there are too many other diffs. |
--- base/src/main/webapp/WEB-INF/jsp/egovframework/mng/template/popTop.jsp
+++ base/src/main/webapp/WEB-INF/jsp/egovframework/mng/template/popTop.jsp
| This diff is skipped because there are too many other diffs. |
--- base/src/main/webapp/WEB-INF/jsp/egovframework/mng/template/top.jsp
+++ base/src/main/webapp/WEB-INF/jsp/egovframework/mng/template/top.jsp
| This diff is skipped because there are too many other diffs. |
--- base/src/main/webapp/WEB-INF/jsp/egovframework/mng/usr/EgovMberExcelUpload.jsp
+++ base/src/main/webapp/WEB-INF/jsp/egovframework/mng/usr/EgovMberExcelUpload.jsp
| This diff is skipped because there are too many other diffs. |
--- base/src/main/webapp/WEB-INF/jsp/egovframework/mng/usr/EgovMemberIndt.jsp
+++ base/src/main/webapp/WEB-INF/jsp/egovframework/mng/usr/EgovMemberIndt.jsp
| This diff is skipped because there are too many other diffs. |
--- base/src/main/webapp/WEB-INF/jsp/egovframework/mng/usr/EgovMemberList.jsp
+++ base/src/main/webapp/WEB-INF/jsp/egovframework/mng/usr/EgovMemberList.jsp
| This diff is skipped because there are too many other diffs. |
--- base/src/main/webapp/WEB-INF/jsp/egovframework/mng/usr/EgovMemberListExcel.jsp
+++ base/src/main/webapp/WEB-INF/jsp/egovframework/mng/usr/EgovMemberListExcel.jsp
| This diff is skipped because there are too many other diffs. |
--- base/src/main/webapp/WEB-INF/jsp/egovframework/mng/usr/EgovMemberUpdt.jsp
+++ base/src/main/webapp/WEB-INF/jsp/egovframework/mng/usr/EgovMemberUpdt.jsp
| This diff is skipped because there are too many other diffs. |
--- base/src/main/webapp/WEB-INF/jsp/egovframework/mng/usr/EgovMemberView.jsp
+++ base/src/main/webapp/WEB-INF/jsp/egovframework/mng/usr/EgovMemberView.jsp
| This diff is skipped because there are too many other diffs. |
--- base/src/main/webapp/WEB-INF/jsp/egovframework/mng/usr/EgovStaffIndt.jsp
+++ base/src/main/webapp/WEB-INF/jsp/egovframework/mng/usr/EgovStaffIndt.jsp
| This diff is skipped because there are too many other diffs. |
--- base/src/main/webapp/WEB-INF/jsp/egovframework/mng/usr/EgovStaffList.jsp
+++ base/src/main/webapp/WEB-INF/jsp/egovframework/mng/usr/EgovStaffList.jsp
| This diff is skipped because there are too many other diffs. |
--- base/src/main/webapp/WEB-INF/jsp/egovframework/mng/usr/EgovStuMemberList.jsp
+++ base/src/main/webapp/WEB-INF/jsp/egovframework/mng/usr/EgovStuMemberList.jsp
| This diff is skipped because there are too many other diffs. |
--- base/src/main/webapp/WEB-INF/jsp/egovframework/mng/usr/EgovStudentIndt.jsp
+++ base/src/main/webapp/WEB-INF/jsp/egovframework/mng/usr/EgovStudentIndt.jsp
| This diff is skipped because there are too many other diffs. |
--- base/src/main/webapp/WEB-INF/jsp/egovframework/mng/usr/EgovStudentList.jsp
+++ base/src/main/webapp/WEB-INF/jsp/egovframework/mng/usr/EgovStudentList.jsp
| This diff is skipped because there are too many other diffs. |
--- base/src/main/webapp/WEB-INF/jsp/egovframework/mng/usr/EgovStudentView.jsp
+++ base/src/main/webapp/WEB-INF/jsp/egovframework/mng/usr/EgovStudentView.jsp
| This diff is skipped because there are too many other diffs. |
--- base/src/main/webapp/WEB-INF/jsp/egovframework/mng/uss/ion/bnr/EgovBannerList.jsp
+++ base/src/main/webapp/WEB-INF/jsp/egovframework/mng/uss/ion/bnr/EgovBannerList.jsp
| This diff is skipped because there are too many other diffs. |
--- base/src/main/webapp/WEB-INF/jsp/egovframework/mng/uss/ion/bnr/EgovBannerRegist.jsp
+++ base/src/main/webapp/WEB-INF/jsp/egovframework/mng/uss/ion/bnr/EgovBannerRegist.jsp
| This diff is skipped because there are too many other diffs. |
--- base/src/main/webapp/WEB-INF/jsp/egovframework/mng/uss/ion/mlg/EgovMlgUserlogList.jsp
+++ base/src/main/webapp/WEB-INF/jsp/egovframework/mng/uss/ion/mlg/EgovMlgUserlogList.jsp
| This diff is skipped because there are too many other diffs. |
--- base/src/main/webapp/WEB-INF/jsp/egovframework/mng/uss/ion/mlg/EgovMlgUserlogRegister.jsp
+++ base/src/main/webapp/WEB-INF/jsp/egovframework/mng/uss/ion/mlg/EgovMlgUserlogRegister.jsp
| This diff is skipped because there are too many other diffs. |
--- base/src/main/webapp/WEB-INF/jsp/egovframework/mng/uss/ion/mlg/EgovMlginfoList.jsp
+++ base/src/main/webapp/WEB-INF/jsp/egovframework/mng/uss/ion/mlg/EgovMlginfoList.jsp
| This diff is skipped because there are too many other diffs. |
--- base/src/main/webapp/WEB-INF/jsp/egovframework/mng/uss/ion/mlg/EgovMlginfoRegist.jsp
+++ base/src/main/webapp/WEB-INF/jsp/egovframework/mng/uss/ion/mlg/EgovMlginfoRegist.jsp
| This diff is skipped because there are too many other diffs. |
--- base/src/main/webapp/WEB-INF/jsp/egovframework/mng/uss/ion/mlg/EgovMlginfoUpdt.jsp
+++ base/src/main/webapp/WEB-INF/jsp/egovframework/mng/uss/ion/mlg/EgovMlginfoUpdt.jsp
| This diff is skipped because there are too many other diffs. |
--- base/src/main/webapp/WEB-INF/jsp/egovframework/mng/uss/ion/pwm/EgovPopupList.jsp
+++ base/src/main/webapp/WEB-INF/jsp/egovframework/mng/uss/ion/pwm/EgovPopupList.jsp
| This diff is skipped because there are too many other diffs. |
--- base/src/main/webapp/WEB-INF/jsp/egovframework/mng/uss/ion/pwm/EgovPopupRegist.jsp
+++ base/src/main/webapp/WEB-INF/jsp/egovframework/mng/uss/ion/pwm/EgovPopupRegist.jsp
| This diff is skipped because there are too many other diffs. |
--- base/src/main/webapp/WEB-INF/jsp/egovframework/mng/uss/ion/sit/EgovSiteInfoRegist.jsp
+++ base/src/main/webapp/WEB-INF/jsp/egovframework/mng/uss/ion/sit/EgovSiteInfoRegist.jsp
| This diff is skipped because there are too many other diffs. |
--- base/src/main/webapp/WEB-INF/jsp/egovframework/mng/uss/ion/sit/EgovSiteListInqire.jsp
+++ base/src/main/webapp/WEB-INF/jsp/egovframework/mng/uss/ion/sit/EgovSiteListInqire.jsp
| This diff is skipped because there are too many other diffs. |
--- base/src/main/webapp/WEB-INF/jsp/egovframework/sch/scheduleCalendar.jsp
+++ base/src/main/webapp/WEB-INF/jsp/egovframework/sch/scheduleCalendar.jsp
| This diff is skipped because there are too many other diffs. |
--- base/src/main/webapp/lib/ace/src-min/ace.js
+++ base/src/main/webapp/resources/lib/ace/src-min/ace.js
| This diff is skipped because there are too many other diffs. |
--- base/src/main/webapp/lib/ace/src-min/ext-chromevox.js
+++ base/src/main/webapp/resources/lib/ace/src-min/ext-chromevox.js
| This diff is skipped because there are too many other diffs. |
--- base/src/main/webapp/lib/ace/src-min/ext-elastic_tabstops_lite.js
+++ base/src/main/webapp/resources/lib/ace/src-min/ext-elastic_tabstops_lite.js
| This diff is skipped because there are too many other diffs. |
--- base/src/main/webapp/lib/ace/src-min/ext-emmet.js
+++ base/src/main/webapp/resources/lib/ace/src-min/ext-emmet.js
| This diff is skipped because there are too many other diffs. |
--- base/src/main/webapp/lib/ace/src-min/ext-error_marker.js
+++ base/src/main/webapp/resources/lib/ace/src-min/ext-error_marker.js
| This diff is skipped because there are too many other diffs. |
--- base/src/main/webapp/lib/ace/src-min/ext-language_tools.js
+++ base/src/main/webapp/resources/lib/ace/src-min/ext-language_tools.js
| This diff is skipped because there are too many other diffs. |
--- base/src/main/webapp/lib/ace/src-min/ext-modelist.js
+++ base/src/main/webapp/resources/lib/ace/src-min/ext-modelist.js
| This diff is skipped because there are too many other diffs. |
--- base/src/main/webapp/lib/ace/src-min/ext-old_ie.js
+++ base/src/main/webapp/resources/lib/ace/src-min/ext-old_ie.js
| This diff is skipped because there are too many other diffs. |
--- base/src/main/webapp/lib/ace/src-min/ext-options.js
+++ base/src/main/webapp/resources/lib/ace/src-min/ext-options.js
| This diff is skipped because there are too many other diffs. |
--- base/src/main/webapp/lib/ace/src-min/ext-searchbox.js
+++ base/src/main/webapp/resources/lib/ace/src-min/ext-searchbox.js
| This diff is skipped because there are too many other diffs. |
--- base/src/main/webapp/lib/ace/src-min/ext-spellcheck.js
+++ base/src/main/webapp/resources/lib/ace/src-min/ext-spellcheck.js
| This diff is skipped because there are too many other diffs. |
--- base/src/main/webapp/lib/ace/src-min/ext-split.js
+++ base/src/main/webapp/resources/lib/ace/src-min/ext-split.js
| This diff is skipped because there are too many other diffs. |
--- base/src/main/webapp/lib/ace/src-min/ext-static_highlight.js
+++ base/src/main/webapp/resources/lib/ace/src-min/ext-static_highlight.js
| This diff is skipped because there are too many other diffs. |
--- base/src/main/webapp/lib/ace/src-min/ext-statusbar.js
+++ base/src/main/webapp/resources/lib/ace/src-min/ext-statusbar.js
| This diff is skipped because there are too many other diffs. |
--- base/src/main/webapp/lib/ace/src-min/ext-textarea.js
+++ base/src/main/webapp/resources/lib/ace/src-min/ext-textarea.js
| This diff is skipped because there are too many other diffs. |
--- base/src/main/webapp/lib/ace/src-min/ext-themelist.js
+++ base/src/main/webapp/resources/lib/ace/src-min/ext-themelist.js
| This diff is skipped because there are too many other diffs. |
--- base/src/main/webapp/lib/ace/src-min/ext-whitespace.js
+++ base/src/main/webapp/resources/lib/ace/src-min/ext-whitespace.js
| This diff is skipped because there are too many other diffs. |
--- base/src/main/webapp/lib/ace/src-min/keybinding-emacs.js
+++ base/src/main/webapp/resources/lib/ace/src-min/keybinding-emacs.js
| This diff is skipped because there are too many other diffs. |
--- base/src/main/webapp/lib/ace/src-min/keybinding-vim.js
+++ base/src/main/webapp/resources/lib/ace/src-min/keybinding-vim.js
| This diff is skipped because there are too many other diffs. |
--- base/src/main/webapp/lib/ace/src-min/mode-abap.js
+++ base/src/main/webapp/resources/lib/ace/src-min/mode-abap.js
| This diff is skipped because there are too many other diffs. |
--- base/src/main/webapp/lib/ace/src-min/mode-actionscript.js
+++ base/src/main/webapp/resources/lib/ace/src-min/mode-actionscript.js
| This diff is skipped because there are too many other diffs. |
--- base/src/main/webapp/lib/ace/src-min/mode-ada.js
+++ base/src/main/webapp/resources/lib/ace/src-min/mode-ada.js
| This diff is skipped because there are too many other diffs. |
--- base/src/main/webapp/lib/ace/src-min/mode-apache_conf.js
+++ base/src/main/webapp/resources/lib/ace/src-min/mode-apache_conf.js
| This diff is skipped because there are too many other diffs. |
--- base/src/main/webapp/lib/ace/src-min/mode-asciidoc.js
+++ base/src/main/webapp/resources/lib/ace/src-min/mode-asciidoc.js
| This diff is skipped because there are too many other diffs. |
--- base/src/main/webapp/lib/ace/src-min/mode-assembly_x86.js
+++ base/src/main/webapp/resources/lib/ace/src-min/mode-assembly_x86.js
| This diff is skipped because there are too many other diffs. |
--- base/src/main/webapp/lib/ace/src-min/mode-autohotkey.js
+++ base/src/main/webapp/resources/lib/ace/src-min/mode-autohotkey.js
| This diff is skipped because there are too many other diffs. |
--- base/src/main/webapp/lib/ace/src-min/mode-batchfile.js
+++ base/src/main/webapp/resources/lib/ace/src-min/mode-batchfile.js
| This diff is skipped because there are too many other diffs. |
--- base/src/main/webapp/lib/ace/src-min/mode-c9search.js
+++ base/src/main/webapp/resources/lib/ace/src-min/mode-c9search.js
| This diff is skipped because there are too many other diffs. |
--- base/src/main/webapp/lib/ace/src-min/mode-c_cpp.js
+++ base/src/main/webapp/resources/lib/ace/src-min/mode-c_cpp.js
| This diff is skipped because there are too many other diffs. |
--- base/src/main/webapp/lib/ace/src-min/mode-clojure.js
+++ base/src/main/webapp/resources/lib/ace/src-min/mode-clojure.js
| This diff is skipped because there are too many other diffs. |
--- base/src/main/webapp/lib/ace/src-min/mode-cobol.js
+++ base/src/main/webapp/resources/lib/ace/src-min/mode-cobol.js
| This diff is skipped because there are too many other diffs. |
--- base/src/main/webapp/lib/ace/src-min/mode-coffee.js
+++ base/src/main/webapp/resources/lib/ace/src-min/mode-coffee.js
| This diff is skipped because there are too many other diffs. |
--- base/src/main/webapp/lib/ace/src-min/mode-coldfusion.js
+++ base/src/main/webapp/resources/lib/ace/src-min/mode-coldfusion.js
| This diff is skipped because there are too many other diffs. |
--- base/src/main/webapp/lib/ace/src-min/mode-csharp.js
+++ base/src/main/webapp/resources/lib/ace/src-min/mode-csharp.js
| This diff is skipped because there are too many other diffs. |
--- base/src/main/webapp/lib/ace/src-min/mode-css.js
+++ base/src/main/webapp/resources/lib/ace/src-min/mode-css.js
| This diff is skipped because there are too many other diffs. |
--- base/src/main/webapp/lib/ace/src-min/mode-curly.js
+++ base/src/main/webapp/resources/lib/ace/src-min/mode-curly.js
| This diff is skipped because there are too many other diffs. |
--- base/src/main/webapp/lib/ace/src-min/mode-d.js
+++ base/src/main/webapp/resources/lib/ace/src-min/mode-d.js
| This diff is skipped because there are too many other diffs. |
--- base/src/main/webapp/lib/ace/src-min/mode-dart.js
+++ base/src/main/webapp/resources/lib/ace/src-min/mode-dart.js
| This diff is skipped because there are too many other diffs. |
--- base/src/main/webapp/lib/ace/src-min/mode-diff.js
+++ base/src/main/webapp/resources/lib/ace/src-min/mode-diff.js
| This diff is skipped because there are too many other diffs. |
--- base/src/main/webapp/lib/ace/src-min/mode-django.js
+++ base/src/main/webapp/resources/lib/ace/src-min/mode-django.js
| This diff is skipped because there are too many other diffs. |
--- base/src/main/webapp/lib/ace/src-min/mode-dot.js
+++ base/src/main/webapp/resources/lib/ace/src-min/mode-dot.js
| This diff is skipped because there are too many other diffs. |
--- base/src/main/webapp/lib/ace/src-min/mode-ejs.js
+++ base/src/main/webapp/resources/lib/ace/src-min/mode-ejs.js
| This diff is skipped because there are too many other diffs. |
--- base/src/main/webapp/lib/ace/src-min/mode-erlang.js
+++ base/src/main/webapp/resources/lib/ace/src-min/mode-erlang.js
| This diff is skipped because there are too many other diffs. |
--- base/src/main/webapp/lib/ace/src-min/mode-forth.js
+++ base/src/main/webapp/resources/lib/ace/src-min/mode-forth.js
| This diff is skipped because there are too many other diffs. |
--- base/src/main/webapp/lib/ace/src-min/mode-ftl.js
+++ base/src/main/webapp/resources/lib/ace/src-min/mode-ftl.js
| This diff is skipped because there are too many other diffs. |
--- base/src/main/webapp/lib/ace/src-min/mode-glsl.js
+++ base/src/main/webapp/resources/lib/ace/src-min/mode-glsl.js
| This diff is skipped because there are too many other diffs. |
--- base/src/main/webapp/lib/ace/src-min/mode-golang.js
+++ base/src/main/webapp/resources/lib/ace/src-min/mode-golang.js
| This diff is skipped because there are too many other diffs. |
--- base/src/main/webapp/lib/ace/src-min/mode-groovy.js
+++ base/src/main/webapp/resources/lib/ace/src-min/mode-groovy.js
| This diff is skipped because there are too many other diffs. |
--- base/src/main/webapp/lib/ace/src-min/mode-haml.js
+++ base/src/main/webapp/resources/lib/ace/src-min/mode-haml.js
| This diff is skipped because there are too many other diffs. |
--- base/src/main/webapp/lib/ace/src-min/mode-handlebars.js
+++ base/src/main/webapp/resources/lib/ace/src-min/mode-handlebars.js
| This diff is skipped because there are too many other diffs. |
--- base/src/main/webapp/lib/ace/src-min/mode-haskell.js
+++ base/src/main/webapp/resources/lib/ace/src-min/mode-haskell.js
| This diff is skipped because there are too many other diffs. |
--- base/src/main/webapp/lib/ace/src-min/mode-haxe.js
+++ base/src/main/webapp/resources/lib/ace/src-min/mode-haxe.js
| This diff is skipped because there are too many other diffs. |
--- base/src/main/webapp/lib/ace/src-min/mode-html.js
+++ base/src/main/webapp/resources/lib/ace/src-min/mode-html.js
| This diff is skipped because there are too many other diffs. |
--- base/src/main/webapp/lib/ace/src-min/mode-html_completions.js
+++ base/src/main/webapp/resources/lib/ace/src-min/mode-html_completions.js
| This diff is skipped because there are too many other diffs. |
--- base/src/main/webapp/lib/ace/src-min/mode-html_ruby.js
+++ base/src/main/webapp/resources/lib/ace/src-min/mode-html_ruby.js
| This diff is skipped because there are too many other diffs. |
--- base/src/main/webapp/lib/ace/src-min/mode-ini.js
+++ base/src/main/webapp/resources/lib/ace/src-min/mode-ini.js
| This diff is skipped because there are too many other diffs. |
--- base/src/main/webapp/lib/ace/src-min/mode-jack.js
+++ base/src/main/webapp/resources/lib/ace/src-min/mode-jack.js
| This diff is skipped because there are too many other diffs. |
--- base/src/main/webapp/lib/ace/src-min/mode-jade.js
+++ base/src/main/webapp/resources/lib/ace/src-min/mode-jade.js
| This diff is skipped because there are too many other diffs. |
--- base/src/main/webapp/lib/ace/src-min/mode-java.js
+++ base/src/main/webapp/resources/lib/ace/src-min/mode-java.js
| This diff is skipped because there are too many other diffs. |
--- base/src/main/webapp/lib/ace/src-min/mode-javascript.js
+++ base/src/main/webapp/resources/lib/ace/src-min/mode-javascript.js
| This diff is skipped because there are too many other diffs. |
--- base/src/main/webapp/lib/ace/src-min/mode-json.js
+++ base/src/main/webapp/resources/lib/ace/src-min/mode-json.js
| This diff is skipped because there are too many other diffs. |
--- base/src/main/webapp/lib/ace/src-min/mode-jsoniq.js
+++ base/src/main/webapp/resources/lib/ace/src-min/mode-jsoniq.js
| This diff is skipped because there are too many other diffs. |
--- base/src/main/webapp/lib/ace/src-min/mode-jsp.js
+++ base/src/main/webapp/resources/lib/ace/src-min/mode-jsp.js
| This diff is skipped because there are too many other diffs. |
--- base/src/main/webapp/lib/ace/src-min/mode-jsx.js
+++ base/src/main/webapp/resources/lib/ace/src-min/mode-jsx.js
| This diff is skipped because there are too many other diffs. |
--- base/src/main/webapp/lib/ace/src-min/mode-julia.js
+++ base/src/main/webapp/resources/lib/ace/src-min/mode-julia.js
| This diff is skipped because there are too many other diffs. |
--- base/src/main/webapp/lib/ace/src-min/mode-latex.js
+++ base/src/main/webapp/resources/lib/ace/src-min/mode-latex.js
| This diff is skipped because there are too many other diffs. |
--- base/src/main/webapp/lib/ace/src-min/mode-less.js
+++ base/src/main/webapp/resources/lib/ace/src-min/mode-less.js
| This diff is skipped because there are too many other diffs. |
--- base/src/main/webapp/lib/ace/src-min/mode-liquid.js
+++ base/src/main/webapp/resources/lib/ace/src-min/mode-liquid.js
| This diff is skipped because there are too many other diffs. |
--- base/src/main/webapp/lib/ace/src-min/mode-lisp.js
+++ base/src/main/webapp/resources/lib/ace/src-min/mode-lisp.js
| This diff is skipped because there are too many other diffs. |
--- base/src/main/webapp/lib/ace/src-min/mode-livescript.js
+++ base/src/main/webapp/resources/lib/ace/src-min/mode-livescript.js
| This diff is skipped because there are too many other diffs. |
--- base/src/main/webapp/lib/ace/src-min/mode-logiql.js
+++ base/src/main/webapp/resources/lib/ace/src-min/mode-logiql.js
| This diff is skipped because there are too many other diffs. |
--- base/src/main/webapp/lib/ace/src-min/mode-lsl.js
+++ base/src/main/webapp/resources/lib/ace/src-min/mode-lsl.js
| This diff is skipped because there are too many other diffs. |
--- base/src/main/webapp/lib/ace/src-min/mode-lua.js
+++ base/src/main/webapp/resources/lib/ace/src-min/mode-lua.js
| This diff is skipped because there are too many other diffs. |
--- base/src/main/webapp/lib/ace/src-min/mode-luapage.js
+++ base/src/main/webapp/resources/lib/ace/src-min/mode-luapage.js
| This diff is skipped because there are too many other diffs. |
--- base/src/main/webapp/lib/ace/src-min/mode-lucene.js
+++ base/src/main/webapp/resources/lib/ace/src-min/mode-lucene.js
| This diff is skipped because there are too many other diffs. |
--- base/src/main/webapp/lib/ace/src-min/mode-makefile.js
+++ base/src/main/webapp/resources/lib/ace/src-min/mode-makefile.js
| This diff is skipped because there are too many other diffs. |
--- base/src/main/webapp/lib/ace/src-min/mode-markdown.js
+++ base/src/main/webapp/resources/lib/ace/src-min/mode-markdown.js
| This diff is skipped because there are too many other diffs. |
--- base/src/main/webapp/lib/ace/src-min/mode-matlab.js
+++ base/src/main/webapp/resources/lib/ace/src-min/mode-matlab.js
| This diff is skipped because there are too many other diffs. |
--- base/src/main/webapp/lib/ace/src-min/mode-mel.js
+++ base/src/main/webapp/resources/lib/ace/src-min/mode-mel.js
| This diff is skipped because there are too many other diffs. |
--- base/src/main/webapp/lib/ace/src-min/mode-mushcode.js
+++ base/src/main/webapp/resources/lib/ace/src-min/mode-mushcode.js
| This diff is skipped because there are too many other diffs. |
--- base/src/main/webapp/lib/ace/src-min/mode-mushcode_high_rules.js
+++ base/src/main/webapp/resources/lib/ace/src-min/mode-mushcode_high_rules.js
| This diff is skipped because there are too many other diffs. |
--- base/src/main/webapp/lib/ace/src-min/mode-mysql.js
+++ base/src/main/webapp/resources/lib/ace/src-min/mode-mysql.js
| This diff is skipped because there are too many other diffs. |
--- base/src/main/webapp/lib/ace/src-min/mode-nix.js
+++ base/src/main/webapp/resources/lib/ace/src-min/mode-nix.js
| This diff is skipped because there are too many other diffs. |
--- base/src/main/webapp/lib/ace/src-min/mode-objectivec.js
+++ base/src/main/webapp/resources/lib/ace/src-min/mode-objectivec.js
| This diff is skipped because there are too many other diffs. |
--- base/src/main/webapp/lib/ace/src-min/mode-ocaml.js
+++ base/src/main/webapp/resources/lib/ace/src-min/mode-ocaml.js
| This diff is skipped because there are too many other diffs. |
--- base/src/main/webapp/lib/ace/src-min/mode-pascal.js
+++ base/src/main/webapp/resources/lib/ace/src-min/mode-pascal.js
| This diff is skipped because there are too many other diffs. |
--- base/src/main/webapp/lib/ace/src-min/mode-perl.js
+++ base/src/main/webapp/resources/lib/ace/src-min/mode-perl.js
| This diff is skipped because there are too many other diffs. |
--- base/src/main/webapp/lib/ace/src-min/mode-pgsql.js
+++ base/src/main/webapp/resources/lib/ace/src-min/mode-pgsql.js
| This diff is skipped because there are too many other diffs. |
--- base/src/main/webapp/lib/ace/src-min/mode-php.js
+++ base/src/main/webapp/resources/lib/ace/src-min/mode-php.js
| This diff is skipped because there are too many other diffs. |
--- base/src/main/webapp/lib/ace/src-min/mode-plain_text.js
+++ base/src/main/webapp/resources/lib/ace/src-min/mode-plain_text.js
| This diff is skipped because there are too many other diffs. |
--- base/src/main/webapp/lib/ace/src-min/mode-powershell.js
+++ base/src/main/webapp/resources/lib/ace/src-min/mode-powershell.js
| This diff is skipped because there are too many other diffs. |
--- base/src/main/webapp/lib/ace/src-min/mode-prolog.js
+++ base/src/main/webapp/resources/lib/ace/src-min/mode-prolog.js
| This diff is skipped because there are too many other diffs. |
--- base/src/main/webapp/lib/ace/src-min/mode-properties.js
+++ base/src/main/webapp/resources/lib/ace/src-min/mode-properties.js
| This diff is skipped because there are too many other diffs. |
--- base/src/main/webapp/lib/ace/src-min/mode-protobuf.js
+++ base/src/main/webapp/resources/lib/ace/src-min/mode-protobuf.js
| This diff is skipped because there are too many other diffs. |
--- base/src/main/webapp/lib/ace/src-min/mode-python.js
+++ base/src/main/webapp/resources/lib/ace/src-min/mode-python.js
| This diff is skipped because there are too many other diffs. |
--- base/src/main/webapp/lib/ace/src-min/mode-r.js
+++ base/src/main/webapp/resources/lib/ace/src-min/mode-r.js
| This diff is skipped because there are too many other diffs. |
--- base/src/main/webapp/lib/ace/src-min/mode-rdoc.js
+++ base/src/main/webapp/resources/lib/ace/src-min/mode-rdoc.js
| This diff is skipped because there are too many other diffs. |
--- base/src/main/webapp/lib/ace/src-min/mode-rhtml.js
+++ base/src/main/webapp/resources/lib/ace/src-min/mode-rhtml.js
| This diff is skipped because there are too many other diffs. |
--- base/src/main/webapp/lib/ace/src-min/mode-ruby.js
+++ base/src/main/webapp/resources/lib/ace/src-min/mode-ruby.js
| This diff is skipped because there are too many other diffs. |
--- base/src/main/webapp/lib/ace/src-min/mode-rust.js
+++ base/src/main/webapp/resources/lib/ace/src-min/mode-rust.js
| This diff is skipped because there are too many other diffs. |
--- base/src/main/webapp/lib/ace/src-min/mode-sass.js
+++ base/src/main/webapp/resources/lib/ace/src-min/mode-sass.js
| This diff is skipped because there are too many other diffs. |
--- base/src/main/webapp/lib/ace/src-min/mode-scad.js
+++ base/src/main/webapp/resources/lib/ace/src-min/mode-scad.js
| This diff is skipped because there are too many other diffs. |
--- base/src/main/webapp/lib/ace/src-min/mode-scala.js
+++ base/src/main/webapp/resources/lib/ace/src-min/mode-scala.js
| This diff is skipped because there are too many other diffs. |
--- base/src/main/webapp/lib/ace/src-min/mode-scheme.js
+++ base/src/main/webapp/resources/lib/ace/src-min/mode-scheme.js
| This diff is skipped because there are too many other diffs. |
--- base/src/main/webapp/lib/ace/src-min/mode-scss.js
+++ base/src/main/webapp/resources/lib/ace/src-min/mode-scss.js
| This diff is skipped because there are too many other diffs. |
--- base/src/main/webapp/lib/ace/src-min/mode-sh.js
+++ base/src/main/webapp/resources/lib/ace/src-min/mode-sh.js
| This diff is skipped because there are too many other diffs. |
--- base/src/main/webapp/lib/ace/src-min/mode-sjs.js
+++ base/src/main/webapp/resources/lib/ace/src-min/mode-sjs.js
| This diff is skipped because there are too many other diffs. |
--- base/src/main/webapp/lib/ace/src-min/mode-snippets.js
+++ base/src/main/webapp/resources/lib/ace/src-min/mode-snippets.js
| This diff is skipped because there are too many other diffs. |
--- base/src/main/webapp/lib/ace/src-min/mode-soy_template.js
+++ base/src/main/webapp/resources/lib/ace/src-min/mode-soy_template.js
| This diff is skipped because there are too many other diffs. |
--- base/src/main/webapp/lib/ace/src-min/mode-space.js
+++ base/src/main/webapp/resources/lib/ace/src-min/mode-space.js
| This diff is skipped because there are too many other diffs. |
--- base/src/main/webapp/lib/ace/src-min/mode-sql.js
+++ base/src/main/webapp/resources/lib/ace/src-min/mode-sql.js
| This diff is skipped because there are too many other diffs. |
--- base/src/main/webapp/lib/ace/src-min/mode-stylus.js
+++ base/src/main/webapp/resources/lib/ace/src-min/mode-stylus.js
| This diff is skipped because there are too many other diffs. |
--- base/src/main/webapp/lib/ace/src-min/mode-svg.js
+++ base/src/main/webapp/resources/lib/ace/src-min/mode-svg.js
| This diff is skipped because there are too many other diffs. |
--- base/src/main/webapp/lib/ace/src-min/mode-tcl.js
+++ base/src/main/webapp/resources/lib/ace/src-min/mode-tcl.js
| This diff is skipped because there are too many other diffs. |
--- base/src/main/webapp/lib/ace/src-min/mode-tex.js
+++ base/src/main/webapp/resources/lib/ace/src-min/mode-tex.js
| This diff is skipped because there are too many other diffs. |
--- base/src/main/webapp/lib/ace/src-min/mode-text.js
+++ base/src/main/webapp/resources/lib/ace/src-min/mode-text.js
| This diff is skipped because there are too many other diffs. |
--- base/src/main/webapp/lib/ace/src-min/mode-textile.js
+++ base/src/main/webapp/resources/lib/ace/src-min/mode-textile.js
| This diff is skipped because there are too many other diffs. |
--- base/src/main/webapp/lib/ace/src-min/mode-tmsnippet.js
+++ base/src/main/webapp/resources/lib/ace/src-min/mode-tmsnippet.js
| This diff is skipped because there are too many other diffs. |
--- base/src/main/webapp/lib/ace/src-min/mode-toml.js
+++ base/src/main/webapp/resources/lib/ace/src-min/mode-toml.js
| This diff is skipped because there are too many other diffs. |
--- base/src/main/webapp/lib/ace/src-min/mode-twig.js
+++ base/src/main/webapp/resources/lib/ace/src-min/mode-twig.js
| This diff is skipped because there are too many other diffs. |
--- base/src/main/webapp/lib/ace/src-min/mode-typescript.js
+++ base/src/main/webapp/resources/lib/ace/src-min/mode-typescript.js
| This diff is skipped because there are too many other diffs. |
--- base/src/main/webapp/lib/ace/src-min/mode-vbscript.js
+++ base/src/main/webapp/resources/lib/ace/src-min/mode-vbscript.js
| This diff is skipped because there are too many other diffs. |
--- base/src/main/webapp/lib/ace/src-min/mode-velocity.js
+++ base/src/main/webapp/resources/lib/ace/src-min/mode-velocity.js
| This diff is skipped because there are too many other diffs. |
--- base/src/main/webapp/lib/ace/src-min/mode-verilog.js
+++ base/src/main/webapp/resources/lib/ace/src-min/mode-verilog.js
| This diff is skipped because there are too many other diffs. |
--- base/src/main/webapp/lib/ace/src-min/mode-vhdl.js
+++ base/src/main/webapp/resources/lib/ace/src-min/mode-vhdl.js
| This diff is skipped because there are too many other diffs. |
--- base/src/main/webapp/lib/ace/src-min/mode-xml.js
+++ base/src/main/webapp/resources/lib/ace/src-min/mode-xml.js
| This diff is skipped because there are too many other diffs. |
--- base/src/main/webapp/lib/ace/src-min/mode-xquery.js
+++ base/src/main/webapp/resources/lib/ace/src-min/mode-xquery.js
| This diff is skipped because there are too many other diffs. |
--- base/src/main/webapp/lib/ace/src-min/mode-yaml.js
+++ base/src/main/webapp/resources/lib/ace/src-min/mode-yaml.js
| This diff is skipped because there are too many other diffs. |
--- base/src/main/webapp/lib/ace/src-min/theme-ambiance.js
+++ base/src/main/webapp/resources/lib/ace/src-min/theme-ambiance.js
| This diff is skipped because there are too many other diffs. |
--- base/src/main/webapp/lib/ace/src-min/theme-chaos.js
+++ base/src/main/webapp/resources/lib/ace/src-min/theme-chaos.js
| This diff is skipped because there are too many other diffs. |
--- base/src/main/webapp/lib/ace/src-min/theme-chrome.js
+++ base/src/main/webapp/resources/lib/ace/src-min/theme-chrome.js
| This diff is skipped because there are too many other diffs. |
--- base/src/main/webapp/lib/ace/src-min/theme-clouds.js
+++ base/src/main/webapp/resources/lib/ace/src-min/theme-clouds.js
| This diff is skipped because there are too many other diffs. |
--- base/src/main/webapp/lib/ace/src-min/theme-clouds_midnight.js
+++ base/src/main/webapp/resources/lib/ace/src-min/theme-clouds_midnight.js
| This diff is skipped because there are too many other diffs. |
--- base/src/main/webapp/lib/ace/src-min/theme-cobalt.js
+++ base/src/main/webapp/resources/lib/ace/src-min/theme-cobalt.js
| This diff is skipped because there are too many other diffs. |
--- base/src/main/webapp/lib/ace/src-min/theme-crimson_editor.js
+++ base/src/main/webapp/resources/lib/ace/src-min/theme-crimson_editor.js
| This diff is skipped because there are too many other diffs. |
--- base/src/main/webapp/lib/ace/src-min/theme-dawn.js
+++ base/src/main/webapp/resources/lib/ace/src-min/theme-dawn.js
| This diff is skipped because there are too many other diffs. |
--- base/src/main/webapp/lib/ace/src-min/theme-dreamweaver.js
+++ base/src/main/webapp/resources/lib/ace/src-min/theme-dreamweaver.js
| This diff is skipped because there are too many other diffs. |
--- base/src/main/webapp/lib/ace/src-min/theme-eclipse.js
+++ base/src/main/webapp/resources/lib/ace/src-min/theme-eclipse.js
| This diff is skipped because there are too many other diffs. |
--- base/src/main/webapp/lib/ace/src-min/theme-github.js
+++ base/src/main/webapp/resources/lib/ace/src-min/theme-github.js
| This diff is skipped because there are too many other diffs. |
--- base/src/main/webapp/lib/ace/src-min/theme-idle_fingers.js
+++ base/src/main/webapp/resources/lib/ace/src-min/theme-idle_fingers.js
| This diff is skipped because there are too many other diffs. |
--- base/src/main/webapp/lib/ace/src-min/theme-katzenmilch.js
+++ base/src/main/webapp/resources/lib/ace/src-min/theme-katzenmilch.js
| This diff is skipped because there are too many other diffs. |
--- base/src/main/webapp/lib/ace/src-min/theme-kr.js
+++ base/src/main/webapp/resources/lib/ace/src-min/theme-kr.js
| This diff is skipped because there are too many other diffs. |
--- base/src/main/webapp/lib/ace/src-min/theme-kuroir.js
+++ base/src/main/webapp/resources/lib/ace/src-min/theme-kuroir.js
| This diff is skipped because there are too many other diffs. |
--- base/src/main/webapp/lib/ace/src-min/theme-merbivore.js
+++ base/src/main/webapp/resources/lib/ace/src-min/theme-merbivore.js
| This diff is skipped because there are too many other diffs. |
--- base/src/main/webapp/lib/ace/src-min/theme-merbivore_soft.js
+++ base/src/main/webapp/resources/lib/ace/src-min/theme-merbivore_soft.js
| This diff is skipped because there are too many other diffs. |
--- base/src/main/webapp/lib/ace/src-min/theme-mono_industrial.js
+++ base/src/main/webapp/resources/lib/ace/src-min/theme-mono_industrial.js
| This diff is skipped because there are too many other diffs. |
--- base/src/main/webapp/lib/ace/src-min/theme-monokai.js
+++ base/src/main/webapp/resources/lib/ace/src-min/theme-monokai.js
| This diff is skipped because there are too many other diffs. |
--- base/src/main/webapp/lib/ace/src-min/theme-pastel_on_dark.js
+++ base/src/main/webapp/resources/lib/ace/src-min/theme-pastel_on_dark.js
| This diff is skipped because there are too many other diffs. |
--- base/src/main/webapp/lib/ace/src-min/theme-solarized_dark.js
+++ base/src/main/webapp/resources/lib/ace/src-min/theme-solarized_dark.js
| This diff is skipped because there are too many other diffs. |
--- base/src/main/webapp/lib/ace/src-min/theme-solarized_light.js
+++ base/src/main/webapp/resources/lib/ace/src-min/theme-solarized_light.js
| This diff is skipped because there are too many other diffs. |
--- base/src/main/webapp/lib/ace/src-min/theme-terminal.js
+++ base/src/main/webapp/resources/lib/ace/src-min/theme-terminal.js
| This diff is skipped because there are too many other diffs. |
--- base/src/main/webapp/lib/ace/src-min/theme-textmate.js
+++ base/src/main/webapp/resources/lib/ace/src-min/theme-textmate.js
| This diff is skipped because there are too many other diffs. |
--- base/src/main/webapp/lib/ace/src-min/theme-tomorrow.js
+++ base/src/main/webapp/resources/lib/ace/src-min/theme-tomorrow.js
| This diff is skipped because there are too many other diffs. |
--- base/src/main/webapp/lib/ace/src-min/theme-tomorrow_night.js
+++ base/src/main/webapp/resources/lib/ace/src-min/theme-tomorrow_night.js
| This diff is skipped because there are too many other diffs. |
--- base/src/main/webapp/lib/ace/src-min/theme-tomorrow_night_blue.js
+++ base/src/main/webapp/resources/lib/ace/src-min/theme-tomorrow_night_blue.js
| This diff is skipped because there are too many other diffs. |
--- base/src/main/webapp/lib/ace/src-min/theme-tomorrow_night_bright.js
+++ base/src/main/webapp/resources/lib/ace/src-min/theme-tomorrow_night_bright.js
| This diff is skipped because there are too many other diffs. |
--- base/src/main/webapp/lib/ace/src-min/theme-tomorrow_night_eighties.js
+++ base/src/main/webapp/resources/lib/ace/src-min/theme-tomorrow_night_eighties.js
| This diff is skipped because there are too many other diffs. |
--- base/src/main/webapp/lib/ace/src-min/theme-twilight.js
+++ base/src/main/webapp/resources/lib/ace/src-min/theme-twilight.js
| This diff is skipped because there are too many other diffs. |
--- base/src/main/webapp/lib/ace/src-min/theme-vibrant_ink.js
+++ base/src/main/webapp/resources/lib/ace/src-min/theme-vibrant_ink.js
| This diff is skipped because there are too many other diffs. |
--- base/src/main/webapp/lib/ace/src-min/theme-xcode.js
+++ base/src/main/webapp/resources/lib/ace/src-min/theme-xcode.js
| This diff is skipped because there are too many other diffs. |
--- base/src/main/webapp/lib/ace/src-min/worker-coffee.js
+++ base/src/main/webapp/resources/lib/ace/src-min/worker-coffee.js
| This diff is skipped because there are too many other diffs. |
--- base/src/main/webapp/lib/ace/src-min/worker-css.js
+++ base/src/main/webapp/resources/lib/ace/src-min/worker-css.js
| This diff is skipped because there are too many other diffs. |
--- base/src/main/webapp/lib/ace/src-min/worker-javascript.js
+++ base/src/main/webapp/resources/lib/ace/src-min/worker-javascript.js
| This diff is skipped because there are too many other diffs. |
--- base/src/main/webapp/lib/ace/src-min/worker-json.js
+++ base/src/main/webapp/resources/lib/ace/src-min/worker-json.js
| This diff is skipped because there are too many other diffs. |
--- base/src/main/webapp/lib/ace/src-min/worker-lua.js
+++ base/src/main/webapp/resources/lib/ace/src-min/worker-lua.js
| This diff is skipped because there are too many other diffs. |
--- base/src/main/webapp/lib/ace/src-min/worker-php.js
+++ base/src/main/webapp/resources/lib/ace/src-min/worker-php.js
| This diff is skipped because there are too many other diffs. |
--- base/src/main/webapp/lib/ace/src-min/worker-xquery.js
+++ base/src/main/webapp/resources/lib/ace/src-min/worker-xquery.js
| This diff is skipped because there are too many other diffs. |
--- base/src/main/webapp/lib/export/FileSaver.min.js
+++ base/src/main/webapp/resources/lib/export/FileSaver.min.js
| This diff is skipped because there are too many other diffs. |
--- base/src/main/webapp/lib/export/tableExport.min.js
+++ base/src/main/webapp/resources/lib/export/tableExport.min.js
| This diff is skipped because there are too many other diffs. |
--- base/src/main/webapp/lib/export/xlsx.core.min.js
+++ base/src/main/webapp/resources/lib/export/xlsx.core.min.js
| This diff is skipped because there are too many other diffs. |
--- base/src/main/webapp/lib/ext/blueimp-gallery.min.css
+++ base/src/main/webapp/resources/lib/ext/blueimp-gallery.min.css
| This diff is skipped because there are too many other diffs. |
--- base/src/main/webapp/lib/ext/jquery.blueimp-gallery.min.js
+++ base/src/main/webapp/resources/lib/ext/jquery.blueimp-gallery.min.js
| This diff is skipped because there are too many other diffs. |
--- base/src/main/webapp/lib/ext/tmpl.min.js
+++ base/src/main/webapp/resources/lib/ext/tmpl.min.js
| This diff is skipped because there are too many other diffs. |
--- base/src/main/webapp/lib/flipClock/DailyCounter.js
+++ base/src/main/webapp/resources/lib/flipClock/DailyCounter.js
| This diff is skipped because there are too many other diffs. |
--- base/src/main/webapp/lib/flipClock/flipclock.css
+++ base/src/main/webapp/resources/lib/flipClock/flipclock.css
| This diff is skipped because there are too many other diffs. |
--- base/src/main/webapp/lib/flipClock/flipclock.min.js
+++ base/src/main/webapp/resources/lib/flipClock/flipclock.min.js
| This diff is skipped because there are too many other diffs. |
--- base/src/main/webapp/lib/font/malgun.ttf
+++ base/src/main/webapp/resources/lib/font/malgun.ttf
| Binary file is not shown |
--- base/src/main/webapp/lib/jBox/audio/LICENCE.txt
+++ base/src/main/webapp/resources/lib/jBox/audio/LICENCE.txt
| This diff is skipped because there are too many other diffs. |
--- base/src/main/webapp/lib/jBox/audio/beep1.mp3
+++ base/src/main/webapp/resources/lib/jBox/audio/beep1.mp3
| Binary file is not shown |
--- base/src/main/webapp/lib/jBox/audio/beep1.ogg
+++ base/src/main/webapp/resources/lib/jBox/audio/beep1.ogg
| Binary file is not shown |
--- base/src/main/webapp/lib/jBox/audio/beep2.mp3
+++ base/src/main/webapp/resources/lib/jBox/audio/beep2.mp3
| Binary file is not shown |
--- base/src/main/webapp/lib/jBox/audio/beep2.ogg
+++ base/src/main/webapp/resources/lib/jBox/audio/beep2.ogg
| Binary file is not shown |
--- base/src/main/webapp/lib/jBox/audio/beep3.mp3
+++ base/src/main/webapp/resources/lib/jBox/audio/beep3.mp3
| Binary file is not shown |
--- base/src/main/webapp/lib/jBox/audio/beep3.ogg
+++ base/src/main/webapp/resources/lib/jBox/audio/beep3.ogg
| Binary file is not shown |
--- base/src/main/webapp/lib/jBox/audio/bling1.mp3
+++ base/src/main/webapp/resources/lib/jBox/audio/bling1.mp3
| Binary file is not shown |
--- base/src/main/webapp/lib/jBox/audio/bling1.ogg
+++ base/src/main/webapp/resources/lib/jBox/audio/bling1.ogg
| Binary file is not shown |
--- base/src/main/webapp/lib/jBox/audio/bling2.mp3
+++ base/src/main/webapp/resources/lib/jBox/audio/bling2.mp3
| Binary file is not shown |
--- base/src/main/webapp/lib/jBox/audio/bling2.ogg
+++ base/src/main/webapp/resources/lib/jBox/audio/bling2.ogg
| Binary file is not shown |
--- base/src/main/webapp/lib/jBox/audio/bling3.mp3
+++ base/src/main/webapp/resources/lib/jBox/audio/bling3.mp3
| Binary file is not shown |
--- base/src/main/webapp/lib/jBox/audio/bling3.ogg
+++ base/src/main/webapp/resources/lib/jBox/audio/bling3.ogg
| Binary file is not shown |
--- base/src/main/webapp/lib/jBox/audio/bling4.mp3
+++ base/src/main/webapp/resources/lib/jBox/audio/bling4.mp3
| Binary file is not shown |
--- base/src/main/webapp/lib/jBox/audio/bling4.ogg
+++ base/src/main/webapp/resources/lib/jBox/audio/bling4.ogg
| Binary file is not shown |
--- base/src/main/webapp/lib/jBox/audio/bling5.mp3
+++ base/src/main/webapp/resources/lib/jBox/audio/bling5.mp3
| Binary file is not shown |
--- base/src/main/webapp/lib/jBox/audio/bling5.ogg
+++ base/src/main/webapp/resources/lib/jBox/audio/bling5.ogg
| Binary file is not shown |
--- base/src/main/webapp/lib/jBox/audio/blop.mp3
+++ base/src/main/webapp/resources/lib/jBox/audio/blop.mp3
| Binary file is not shown |
--- base/src/main/webapp/lib/jBox/audio/blop.ogg
+++ base/src/main/webapp/resources/lib/jBox/audio/blop.ogg
| Binary file is not shown |
--- base/src/main/webapp/lib/jBox/audio/boop1.mp3
+++ base/src/main/webapp/resources/lib/jBox/audio/boop1.mp3
| Binary file is not shown |
--- base/src/main/webapp/lib/jBox/audio/boop1.ogg
+++ base/src/main/webapp/resources/lib/jBox/audio/boop1.ogg
| Binary file is not shown |
--- base/src/main/webapp/lib/jBox/audio/boop2.mp3
+++ base/src/main/webapp/resources/lib/jBox/audio/boop2.mp3
| Binary file is not shown |
--- base/src/main/webapp/lib/jBox/audio/boop2.ogg
+++ base/src/main/webapp/resources/lib/jBox/audio/boop2.ogg
| Binary file is not shown |
--- base/src/main/webapp/lib/jBox/audio/boop3.mp3
+++ base/src/main/webapp/resources/lib/jBox/audio/boop3.mp3
| Binary file is not shown |
--- base/src/main/webapp/lib/jBox/audio/boop3.ogg
+++ base/src/main/webapp/resources/lib/jBox/audio/boop3.ogg
| Binary file is not shown |
--- base/src/main/webapp/lib/jBox/jBox.Confirm.css
+++ base/src/main/webapp/resources/lib/jBox/jBox.Confirm.css
| This diff is skipped because there are too many other diffs. |
--- base/src/main/webapp/lib/jBox/jBox.Confirm.js
+++ base/src/main/webapp/resources/lib/jBox/jBox.Confirm.js
| This diff is skipped because there are too many other diffs. |
--- base/src/main/webapp/lib/jBox/jBox.css
+++ base/src/main/webapp/resources/lib/jBox/jBox.css
| This diff is skipped because there are too many other diffs. |
--- base/src/main/webapp/lib/jBox/jBox.js
+++ base/src/main/webapp/resources/lib/jBox/jBox.js
| This diff is skipped because there are too many other diffs. |
--- base/src/main/webapp/lib/jBox/jBox.min.js
+++ base/src/main/webapp/resources/lib/jBox/jBox.min.js
| This diff is skipped because there are too many other diffs. |
--- base/src/main/webapp/lib/jBox/plugins/Confirm/jBox.Confirm.css
+++ base/src/main/webapp/resources/lib/jBox/plugins/Confirm/jBox.Confirm.css
| This diff is skipped because there are too many other diffs. |
--- base/src/main/webapp/lib/jBox/plugins/Confirm/jBox.Confirm.js
+++ base/src/main/webapp/resources/lib/jBox/plugins/Confirm/jBox.Confirm.js
| This diff is skipped because there are too many other diffs. |
--- base/src/main/webapp/lib/jBox/plugins/Confirm/jBox.Confirm.min.js
+++ base/src/main/webapp/resources/lib/jBox/plugins/Confirm/jBox.Confirm.min.js
| This diff is skipped because there are too many other diffs. |
--- base/src/main/webapp/lib/jBox/plugins/Image/jBox.Image.css
+++ base/src/main/webapp/resources/lib/jBox/plugins/Image/jBox.Image.css
| This diff is skipped because there are too many other diffs. |
--- base/src/main/webapp/lib/jBox/plugins/Image/jBox.Image.js
+++ base/src/main/webapp/resources/lib/jBox/plugins/Image/jBox.Image.js
| This diff is skipped because there are too many other diffs. |
--- base/src/main/webapp/lib/jBox/plugins/Image/jBox.Image.min.js
+++ base/src/main/webapp/resources/lib/jBox/plugins/Image/jBox.Image.min.js
| This diff is skipped because there are too many other diffs. |
--- base/src/main/webapp/lib/jBox/plugins/Notice/jBox.Notice.css
+++ base/src/main/webapp/resources/lib/jBox/plugins/Notice/jBox.Notice.css
| This diff is skipped because there are too many other diffs. |
--- base/src/main/webapp/lib/jBox/plugins/Notice/jBox.Notice.js
+++ base/src/main/webapp/resources/lib/jBox/plugins/Notice/jBox.Notice.js
| This diff is skipped because there are too many other diffs. |
--- base/src/main/webapp/lib/jBox/plugins/Notice/jBox.Notice.min.js
+++ base/src/main/webapp/resources/lib/jBox/plugins/Notice/jBox.Notice.min.js
| This diff is skipped because there are too many other diffs. |
--- base/src/main/webapp/lib/jBox/themes/NoticeFancy.css
+++ base/src/main/webapp/resources/lib/jBox/themes/NoticeFancy.css
| This diff is skipped because there are too many other diffs. |
--- base/src/main/webapp/lib/jBox/themes/TooltipBorder.css
+++ base/src/main/webapp/resources/lib/jBox/themes/TooltipBorder.css
| This diff is skipped because there are too many other diffs. |
--- base/src/main/webapp/lib/jBox/themes/TooltipBorderThick.css
+++ base/src/main/webapp/resources/lib/jBox/themes/TooltipBorderThick.css
| This diff is skipped because there are too many other diffs. |
--- base/src/main/webapp/lib/jBox/themes/TooltipDark.css
+++ base/src/main/webapp/resources/lib/jBox/themes/TooltipDark.css
| This diff is skipped because there are too many other diffs. |
--- base/src/main/webapp/lib/jBox/themes/TooltipError.css
+++ base/src/main/webapp/resources/lib/jBox/themes/TooltipError.css
| This diff is skipped because there are too many other diffs. |
--- base/src/main/webapp/lib/jBox/themes/TooltipSmall.css
+++ base/src/main/webapp/resources/lib/jBox/themes/TooltipSmall.css
| This diff is skipped because there are too many other diffs. |
--- base/src/main/webapp/lib/jBox/themes/TooltipSmallGray.css
+++ base/src/main/webapp/resources/lib/jBox/themes/TooltipSmallGray.css
| This diff is skipped because there are too many other diffs. |
--- base/src/main/webapp/lib/jBox/vex-theme-os.css
+++ base/src/main/webapp/resources/lib/jBox/vex-theme-os.css
| This diff is skipped because there are too many other diffs. |
--- base/src/main/webapp/lib/jquery-ui-1.12.1.custom/AUTHORS.txt
+++ base/src/main/webapp/resources/lib/jquery-ui-1.12.1.custom/AUTHORS.txt
| This diff is skipped because there are too many other diffs. |
--- base/src/main/webapp/lib/jquery-ui-1.12.1.custom/LICENSE.txt
+++ base/src/main/webapp/resources/lib/jquery-ui-1.12.1.custom/LICENSE.txt
| This diff is skipped because there are too many other diffs. |
--- base/src/main/webapp/lib/jquery-ui-1.12.1.custom/external/jquery/jquery.js
+++ base/src/main/webapp/resources/lib/jquery-ui-1.12.1.custom/external/jquery/jquery.js
| This diff is skipped because there are too many other diffs. |
--- base/src/main/webapp/lib/jquery-ui-1.12.1.custom/images/ui-icons_444444_256x240.png
+++ base/src/main/webapp/resources/lib/jquery-ui-1.12.1.custom/images/ui-icons_444444_256x240.png
| Binary file is not shown |
--- base/src/main/webapp/lib/jquery-ui-1.12.1.custom/images/ui-icons_555555_256x240.png
+++ base/src/main/webapp/resources/lib/jquery-ui-1.12.1.custom/images/ui-icons_555555_256x240.png
| Binary file is not shown |
--- base/src/main/webapp/lib/jquery-ui-1.12.1.custom/images/ui-icons_777620_256x240.png
+++ base/src/main/webapp/resources/lib/jquery-ui-1.12.1.custom/images/ui-icons_777620_256x240.png
| Binary file is not shown |
--- base/src/main/webapp/lib/jquery-ui-1.12.1.custom/images/ui-icons_777777_256x240.png
+++ base/src/main/webapp/resources/lib/jquery-ui-1.12.1.custom/images/ui-icons_777777_256x240.png
| Binary file is not shown |
--- base/src/main/webapp/lib/jquery-ui-1.12.1.custom/images/ui-icons_cc0000_256x240.png
+++ base/src/main/webapp/resources/lib/jquery-ui-1.12.1.custom/images/ui-icons_cc0000_256x240.png
| Binary file is not shown |
--- base/src/main/webapp/lib/jquery-ui-1.12.1.custom/images/ui-icons_ffffff_256x240.png
+++ base/src/main/webapp/resources/lib/jquery-ui-1.12.1.custom/images/ui-icons_ffffff_256x240.png
| Binary file is not shown |
--- base/src/main/webapp/lib/jquery-ui-1.12.1.custom/index.html
+++ base/src/main/webapp/resources/lib/jquery-ui-1.12.1.custom/index.html
| This diff is skipped because there are too many other diffs. |
--- base/src/main/webapp/lib/jquery-ui-1.12.1.custom/jquery-ui.css
+++ base/src/main/webapp/resources/lib/jquery-ui-1.12.1.custom/jquery-ui.css
| This diff is skipped because there are too many other diffs. |
--- base/src/main/webapp/lib/jquery-ui-1.12.1.custom/jquery-ui.js
+++ base/src/main/webapp/resources/lib/jquery-ui-1.12.1.custom/jquery-ui.js
| This diff is skipped because there are too many other diffs. |
--- base/src/main/webapp/lib/jquery-ui-1.12.1.custom/jquery-ui.min.css
+++ base/src/main/webapp/resources/lib/jquery-ui-1.12.1.custom/jquery-ui.min.css
| This diff is skipped because there are too many other diffs. |
--- base/src/main/webapp/lib/jquery-ui-1.12.1.custom/jquery-ui.min.js
+++ base/src/main/webapp/resources/lib/jquery-ui-1.12.1.custom/jquery-ui.min.js
| This diff is skipped because there are too many other diffs. |
--- base/src/main/webapp/lib/jquery-ui-1.12.1.custom/jquery-ui.structure.css
+++ base/src/main/webapp/resources/lib/jquery-ui-1.12.1.custom/jquery-ui.structure.css
| This diff is skipped because there are too many other diffs. |
--- base/src/main/webapp/lib/jquery-ui-1.12.1.custom/jquery-ui.structure.min.css
+++ base/src/main/webapp/resources/lib/jquery-ui-1.12.1.custom/jquery-ui.structure.min.css
| This diff is skipped because there are too many other diffs. |
--- base/src/main/webapp/lib/jquery-ui-1.12.1.custom/jquery-ui.theme.css
+++ base/src/main/webapp/resources/lib/jquery-ui-1.12.1.custom/jquery-ui.theme.css
| This diff is skipped because there are too many other diffs. |
--- base/src/main/webapp/lib/jquery-ui-1.12.1.custom/jquery-ui.theme.min.css
+++ base/src/main/webapp/resources/lib/jquery-ui-1.12.1.custom/jquery-ui.theme.min.css
| This diff is skipped because there are too many other diffs. |
--- base/src/main/webapp/lib/jquery-ui-1.12.1.custom/package.json
+++ base/src/main/webapp/resources/lib/jquery-ui-1.12.1.custom/package.json
| This diff is skipped because there are too many other diffs. |
--- base/src/main/webapp/lib/jquery/jquery-ui.css
+++ base/src/main/webapp/resources/lib/jquery/jquery-ui.css
| This diff is skipped because there are too many other diffs. |
--- base/src/main/webapp/lib/jquery/jquery.ui.widget.js
+++ base/src/main/webapp/resources/lib/jquery/jquery.ui.widget.js
| This diff is skipped because there are too many other diffs. |
--- base/src/main/webapp/lib/jquery/jquery1.9.1.min.js
+++ base/src/main/webapp/resources/lib/jquery/jquery1.9.1.min.js
| This diff is skipped because there are too many other diffs. |
--- base/src/main/webapp/lib/mma/MovieClient.xap
+++ base/src/main/webapp/resources/lib/mma/MovieClient.xap
| Binary file is not shown |
--- base/src/main/webapp/lib/mma/MultiFileUpload.xap
+++ base/src/main/webapp/resources/lib/mma/MultiFileUpload.xap
| Binary file is not shown |
--- base/src/main/webapp/lib/mma/Youtube.min.js
+++ base/src/main/webapp/resources/lib/mma/Youtube.min.js
| This diff is skipped because there are too many other diffs. |
--- base/src/main/webapp/lib/mma/aframe-animation-component3.0.1.min.js
+++ base/src/main/webapp/resources/lib/mma/aframe-animation-component3.0.1.min.js
| This diff is skipped because there are too many other diffs. |
--- base/src/main/webapp/lib/mma/aframe-event-set-component3.0.1.min.js
+++ base/src/main/webapp/resources/lib/mma/aframe-event-set-component3.0.1.min.js
| This diff is skipped because there are too many other diffs. |
--- base/src/main/webapp/lib/mma/aframe-layout-component3.0.1.min.js
+++ base/src/main/webapp/resources/lib/mma/aframe-layout-component3.0.1.min.js
| This diff is skipped because there are too many other diffs. |
--- base/src/main/webapp/lib/mma/aframe-template-component3.0.1.min.js
+++ base/src/main/webapp/resources/lib/mma/aframe-template-component3.0.1.min.js
| This diff is skipped because there are too many other diffs. |
--- base/src/main/webapp/lib/mma/aframe-update-raycaster3.0.1.js
+++ base/src/main/webapp/resources/lib/mma/aframe-update-raycaster3.0.1.js
| This diff is skipped because there are too many other diffs. |
--- base/src/main/webapp/lib/mma/aframe-v7.0.1.min.js
+++ base/src/main/webapp/resources/lib/mma/aframe-v7.0.1.min.js
| This diff is skipped because there are too many other diffs. |
--- base/src/main/webapp/lib/mma/base.css
+++ base/src/main/webapp/resources/lib/mma/base.css
| This diff is skipped because there are too many other diffs. |
--- base/src/main/webapp/lib/mma/click.ogg
+++ base/src/main/webapp/resources/lib/mma/click.ogg
| Binary file is not shown |
--- base/src/main/webapp/lib/mma/es6-promise.auto.min.js
+++ base/src/main/webapp/resources/lib/mma/es6-promise.auto.min.js
| This diff is skipped because there are too many other diffs. |
--- base/src/main/webapp/lib/mma/es6-promise.min.js
+++ base/src/main/webapp/resources/lib/mma/es6-promise.min.js
| This diff is skipped because there are too many other diffs. |
--- base/src/main/webapp/lib/mma/spin.js
+++ base/src/main/webapp/resources/lib/mma/spin.js
| This diff is skipped because there are too many other diffs. |
--- base/src/main/webapp/lib/mma/three.js
+++ base/src/main/webapp/resources/lib/mma/three.js
| This diff is skipped because there are too many other diffs. |
--- base/src/main/webapp/lib/mma/videojs-contrib-hls.min.js
+++ base/src/main/webapp/resources/lib/mma/videojs-contrib-hls.min.js
| This diff is skipped because there are too many other diffs. |
--- base/src/main/webapp/lib/mma/videojs-panorama.min.css
+++ base/src/main/webapp/resources/lib/mma/videojs-panorama.min.css
| This diff is skipped because there are too many other diffs. |
--- base/src/main/webapp/lib/mma/videojs-playlist.js
+++ base/src/main/webapp/resources/lib/mma/videojs-playlist.js
| This diff is skipped because there are too many other diffs. |
--- base/src/main/webapp/lib/mma/vjs-663.css
+++ base/src/main/webapp/resources/lib/mma/vjs-663.css
| This diff is skipped because there are too many other diffs. |
--- base/src/main/webapp/lib/mma/vjs-663.js
+++ base/src/main/webapp/resources/lib/mma/vjs-663.js
| This diff is skipped because there are too many other diffs. |
--- base/src/main/webapp/lib/mma/vpv5.js
+++ base/src/main/webapp/resources/lib/mma/vpv5.js
| This diff is skipped because there are too many other diffs. |
--- base/src/main/webapp/lib/tinymce/LICENSE.TXT
+++ base/src/main/webapp/resources/lib/tinymce/LICENSE.TXT
| This diff is skipped because there are too many other diffs. |
--- base/src/main/webapp/lib/tinymce/changelog.txt
+++ base/src/main/webapp/resources/lib/tinymce/changelog.txt
| This diff is skipped because there are too many other diffs. |
--- base/src/main/webapp/lib/tinymce/js/tinymce/jquery.tinymce.min.js
+++ base/src/main/webapp/resources/lib/tinymce/js/tinymce/jquery.tinymce.min.js
| This diff is skipped because there are too many other diffs. |
--- base/src/main/webapp/lib/tinymce/js/tinymce/langs/ko_KR.js
+++ base/src/main/webapp/resources/lib/tinymce/js/tinymce/langs/ko_KR.js
| This diff is skipped because there are too many other diffs. |
--- base/src/main/webapp/lib/tinymce/js/tinymce/langs/readme.md
+++ base/src/main/webapp/resources/lib/tinymce/js/tinymce/langs/readme.md
| This diff is skipped because there are too many other diffs. |
--- base/src/main/webapp/lib/tinymce/js/tinymce/license.txt
+++ base/src/main/webapp/resources/lib/tinymce/js/tinymce/license.txt
| This diff is skipped because there are too many other diffs. |
--- base/src/main/webapp/lib/tinymce/js/tinymce/plugins/advlist/plugin.min.js
+++ base/src/main/webapp/resources/lib/tinymce/js/tinymce/plugins/advlist/plugin.min.js
| This diff is skipped because there are too many other diffs. |
--- base/src/main/webapp/lib/tinymce/js/tinymce/plugins/anchor/plugin.min.js
+++ base/src/main/webapp/resources/lib/tinymce/js/tinymce/plugins/anchor/plugin.min.js
| This diff is skipped because there are too many other diffs. |
--- base/src/main/webapp/lib/tinymce/js/tinymce/plugins/autolink/plugin.min.js
+++ base/src/main/webapp/resources/lib/tinymce/js/tinymce/plugins/autolink/plugin.min.js
| This diff is skipped because there are too many other diffs. |
--- base/src/main/webapp/lib/tinymce/js/tinymce/plugins/autoresize/plugin.min.js
+++ base/src/main/webapp/resources/lib/tinymce/js/tinymce/plugins/autoresize/plugin.min.js
| This diff is skipped because there are too many other diffs. |
--- base/src/main/webapp/lib/tinymce/js/tinymce/plugins/autosave/plugin.min.js
+++ base/src/main/webapp/resources/lib/tinymce/js/tinymce/plugins/autosave/plugin.min.js
| This diff is skipped because there are too many other diffs. |
--- base/src/main/webapp/lib/tinymce/js/tinymce/plugins/bbcode/plugin.min.js
+++ base/src/main/webapp/resources/lib/tinymce/js/tinymce/plugins/bbcode/plugin.min.js
| This diff is skipped because there are too many other diffs. |
--- base/src/main/webapp/lib/tinymce/js/tinymce/plugins/charmap/plugin.min.js
+++ base/src/main/webapp/resources/lib/tinymce/js/tinymce/plugins/charmap/plugin.min.js
| This diff is skipped because there are too many other diffs. |
--- base/src/main/webapp/lib/tinymce/js/tinymce/plugins/code/plugin.min.js
+++ base/src/main/webapp/resources/lib/tinymce/js/tinymce/plugins/code/plugin.min.js
| This diff is skipped because there are too many other diffs. |
--- base/src/main/webapp/lib/tinymce/js/tinymce/plugins/codesample/css/prism.css
+++ base/src/main/webapp/resources/lib/tinymce/js/tinymce/plugins/codesample/css/prism.css
| This diff is skipped because there are too many other diffs. |
--- base/src/main/webapp/lib/tinymce/js/tinymce/plugins/codesample/plugin.min.js
+++ base/src/main/webapp/resources/lib/tinymce/js/tinymce/plugins/codesample/plugin.min.js
| This diff is skipped because there are too many other diffs. |
--- base/src/main/webapp/lib/tinymce/js/tinymce/plugins/colorpicker/plugin.min.js
+++ base/src/main/webapp/resources/lib/tinymce/js/tinymce/plugins/colorpicker/plugin.min.js
| This diff is skipped because there are too many other diffs. |
--- base/src/main/webapp/lib/tinymce/js/tinymce/plugins/directionality/plugin.min.js
+++ base/src/main/webapp/resources/lib/tinymce/js/tinymce/plugins/directionality/plugin.min.js
| This diff is skipped because there are too many other diffs. |
--- base/src/main/webapp/lib/tinymce/js/tinymce/plugins/emoticons/img/smiley-cool.gif
+++ base/src/main/webapp/resources/lib/tinymce/js/tinymce/plugins/emoticons/img/smiley-cool.gif
| Binary file is not shown |
--- base/src/main/webapp/lib/tinymce/js/tinymce/plugins/emoticons/img/smiley-cry.gif
+++ base/src/main/webapp/resources/lib/tinymce/js/tinymce/plugins/emoticons/img/smiley-cry.gif
| Binary file is not shown |
--- base/src/main/webapp/lib/tinymce/js/tinymce/plugins/emoticons/img/smiley-embarassed.gif
+++ base/src/main/webapp/resources/lib/tinymce/js/tinymce/plugins/emoticons/img/smiley-embarassed.gif
| Binary file is not shown |
--- base/src/main/webapp/lib/tinymce/js/tinymce/plugins/emoticons/img/smiley-foot-in-mouth.gif
+++ base/src/main/webapp/resources/lib/tinymce/js/tinymce/plugins/emoticons/img/smiley-foot-in-mouth.gif
| Binary file is not shown |
--- base/src/main/webapp/lib/tinymce/js/tinymce/plugins/emoticons/img/smiley-frown.gif
+++ base/src/main/webapp/resources/lib/tinymce/js/tinymce/plugins/emoticons/img/smiley-frown.gif
| Binary file is not shown |
--- base/src/main/webapp/lib/tinymce/js/tinymce/plugins/emoticons/img/smiley-innocent.gif
+++ base/src/main/webapp/resources/lib/tinymce/js/tinymce/plugins/emoticons/img/smiley-innocent.gif
| Binary file is not shown |
--- base/src/main/webapp/lib/tinymce/js/tinymce/plugins/emoticons/img/smiley-kiss.gif
+++ base/src/main/webapp/resources/lib/tinymce/js/tinymce/plugins/emoticons/img/smiley-kiss.gif
| Binary file is not shown |
--- base/src/main/webapp/lib/tinymce/js/tinymce/plugins/emoticons/img/smiley-laughing.gif
+++ base/src/main/webapp/resources/lib/tinymce/js/tinymce/plugins/emoticons/img/smiley-laughing.gif
| Binary file is not shown |
--- base/src/main/webapp/lib/tinymce/js/tinymce/plugins/emoticons/img/smiley-money-mouth.gif
+++ base/src/main/webapp/resources/lib/tinymce/js/tinymce/plugins/emoticons/img/smiley-money-mouth.gif
| Binary file is not shown |
--- base/src/main/webapp/lib/tinymce/js/tinymce/plugins/emoticons/img/smiley-sealed.gif
+++ base/src/main/webapp/resources/lib/tinymce/js/tinymce/plugins/emoticons/img/smiley-sealed.gif
| Binary file is not shown |
--- base/src/main/webapp/lib/tinymce/js/tinymce/plugins/emoticons/img/smiley-smile.gif
+++ base/src/main/webapp/resources/lib/tinymce/js/tinymce/plugins/emoticons/img/smiley-smile.gif
| Binary file is not shown |
--- base/src/main/webapp/lib/tinymce/js/tinymce/plugins/emoticons/img/smiley-surprised.gif
+++ base/src/main/webapp/resources/lib/tinymce/js/tinymce/plugins/emoticons/img/smiley-surprised.gif
| Binary file is not shown |
--- base/src/main/webapp/lib/tinymce/js/tinymce/plugins/emoticons/img/smiley-tongue-out.gif
+++ base/src/main/webapp/resources/lib/tinymce/js/tinymce/plugins/emoticons/img/smiley-tongue-out.gif
| Binary file is not shown |
--- base/src/main/webapp/lib/tinymce/js/tinymce/plugins/emoticons/img/smiley-undecided.gif
+++ base/src/main/webapp/resources/lib/tinymce/js/tinymce/plugins/emoticons/img/smiley-undecided.gif
| Binary file is not shown |
--- base/src/main/webapp/lib/tinymce/js/tinymce/plugins/emoticons/img/smiley-wink.gif
+++ base/src/main/webapp/resources/lib/tinymce/js/tinymce/plugins/emoticons/img/smiley-wink.gif
| Binary file is not shown |
--- base/src/main/webapp/lib/tinymce/js/tinymce/plugins/emoticons/img/smiley-yell.gif
+++ base/src/main/webapp/resources/lib/tinymce/js/tinymce/plugins/emoticons/img/smiley-yell.gif
| Binary file is not shown |
--- base/src/main/webapp/lib/tinymce/js/tinymce/plugins/emoticons/plugin.min.js
+++ base/src/main/webapp/resources/lib/tinymce/js/tinymce/plugins/emoticons/plugin.min.js
| This diff is skipped because there are too many other diffs. |
--- base/src/main/webapp/lib/tinymce/js/tinymce/plugins/fullpage/plugin.min.js
+++ base/src/main/webapp/resources/lib/tinymce/js/tinymce/plugins/fullpage/plugin.min.js
| This diff is skipped because there are too many other diffs. |
--- base/src/main/webapp/lib/tinymce/js/tinymce/plugins/fullscreen/plugin.min.js
+++ base/src/main/webapp/resources/lib/tinymce/js/tinymce/plugins/fullscreen/plugin.min.js
| This diff is skipped because there are too many other diffs. |
--- base/src/main/webapp/lib/tinymce/js/tinymce/plugins/help/img/logo.png
+++ base/src/main/webapp/resources/lib/tinymce/js/tinymce/plugins/help/img/logo.png
| Binary file is not shown |
--- base/src/main/webapp/lib/tinymce/js/tinymce/plugins/help/plugin.min.js
+++ base/src/main/webapp/resources/lib/tinymce/js/tinymce/plugins/help/plugin.min.js
| This diff is skipped because there are too many other diffs. |
--- base/src/main/webapp/lib/tinymce/js/tinymce/plugins/hr/plugin.min.js
+++ base/src/main/webapp/resources/lib/tinymce/js/tinymce/plugins/hr/plugin.min.js
| This diff is skipped because there are too many other diffs. |
--- base/src/main/webapp/lib/tinymce/js/tinymce/plugins/image/plugin.min.js
+++ base/src/main/webapp/resources/lib/tinymce/js/tinymce/plugins/image/plugin.min.js
| This diff is skipped because there are too many other diffs. |
--- base/src/main/webapp/lib/tinymce/js/tinymce/plugins/imagetools/plugin.min.js
+++ base/src/main/webapp/resources/lib/tinymce/js/tinymce/plugins/imagetools/plugin.min.js
| This diff is skipped because there are too many other diffs. |
--- base/src/main/webapp/lib/tinymce/js/tinymce/plugins/importcss/plugin.min.js
+++ base/src/main/webapp/resources/lib/tinymce/js/tinymce/plugins/importcss/plugin.min.js
| This diff is skipped because there are too many other diffs. |
--- base/src/main/webapp/lib/tinymce/js/tinymce/plugins/insertdatetime/plugin.min.js
+++ base/src/main/webapp/resources/lib/tinymce/js/tinymce/plugins/insertdatetime/plugin.min.js
| This diff is skipped because there are too many other diffs. |
--- base/src/main/webapp/lib/tinymce/js/tinymce/plugins/legacyoutput/plugin.min.js
+++ base/src/main/webapp/resources/lib/tinymce/js/tinymce/plugins/legacyoutput/plugin.min.js
| This diff is skipped because there are too many other diffs. |
--- base/src/main/webapp/lib/tinymce/js/tinymce/plugins/link/plugin.min.js
+++ base/src/main/webapp/resources/lib/tinymce/js/tinymce/plugins/link/plugin.min.js
| This diff is skipped because there are too many other diffs. |
--- base/src/main/webapp/lib/tinymce/js/tinymce/plugins/lists/plugin.min.js
+++ base/src/main/webapp/resources/lib/tinymce/js/tinymce/plugins/lists/plugin.min.js
| This diff is skipped because there are too many other diffs. |
--- base/src/main/webapp/lib/tinymce/js/tinymce/plugins/media/plugin.min.js
+++ base/src/main/webapp/resources/lib/tinymce/js/tinymce/plugins/media/plugin.min.js
| This diff is skipped because there are too many other diffs. |
--- base/src/main/webapp/lib/tinymce/js/tinymce/plugins/nonbreaking/plugin.min.js
+++ base/src/main/webapp/resources/lib/tinymce/js/tinymce/plugins/nonbreaking/plugin.min.js
| This diff is skipped because there are too many other diffs. |
--- base/src/main/webapp/lib/tinymce/js/tinymce/plugins/noneditable/plugin.min.js
+++ base/src/main/webapp/resources/lib/tinymce/js/tinymce/plugins/noneditable/plugin.min.js
| This diff is skipped because there are too many other diffs. |
--- base/src/main/webapp/lib/tinymce/js/tinymce/plugins/pagebreak/plugin.min.js
+++ base/src/main/webapp/resources/lib/tinymce/js/tinymce/plugins/pagebreak/plugin.min.js
| This diff is skipped because there are too many other diffs. |
--- base/src/main/webapp/lib/tinymce/js/tinymce/plugins/paste/plugin.min.js
+++ base/src/main/webapp/resources/lib/tinymce/js/tinymce/plugins/paste/plugin.min.js
| This diff is skipped because there are too many other diffs. |
--- base/src/main/webapp/lib/tinymce/js/tinymce/plugins/preview/plugin.min.js
+++ base/src/main/webapp/resources/lib/tinymce/js/tinymce/plugins/preview/plugin.min.js
| This diff is skipped because there are too many other diffs. |
--- base/src/main/webapp/lib/tinymce/js/tinymce/plugins/print/plugin.min.js
+++ base/src/main/webapp/resources/lib/tinymce/js/tinymce/plugins/print/plugin.min.js
| This diff is skipped because there are too many other diffs. |
--- base/src/main/webapp/lib/tinymce/js/tinymce/plugins/save/plugin.min.js
+++ base/src/main/webapp/resources/lib/tinymce/js/tinymce/plugins/save/plugin.min.js
| This diff is skipped because there are too many other diffs. |
--- base/src/main/webapp/lib/tinymce/js/tinymce/plugins/searchreplace/plugin.min.js
+++ base/src/main/webapp/resources/lib/tinymce/js/tinymce/plugins/searchreplace/plugin.min.js
| This diff is skipped because there are too many other diffs. |
--- base/src/main/webapp/lib/tinymce/js/tinymce/plugins/spellchecker/plugin.min.js
+++ base/src/main/webapp/resources/lib/tinymce/js/tinymce/plugins/spellchecker/plugin.min.js
| This diff is skipped because there are too many other diffs. |
--- base/src/main/webapp/lib/tinymce/js/tinymce/plugins/tabfocus/plugin.min.js
+++ base/src/main/webapp/resources/lib/tinymce/js/tinymce/plugins/tabfocus/plugin.min.js
| This diff is skipped because there are too many other diffs. |
--- base/src/main/webapp/lib/tinymce/js/tinymce/plugins/table/plugin.min.js
+++ base/src/main/webapp/resources/lib/tinymce/js/tinymce/plugins/table/plugin.min.js
| This diff is skipped because there are too many other diffs. |
--- base/src/main/webapp/lib/tinymce/js/tinymce/plugins/template/plugin.min.js
+++ base/src/main/webapp/resources/lib/tinymce/js/tinymce/plugins/template/plugin.min.js
| This diff is skipped because there are too many other diffs. |
--- base/src/main/webapp/lib/tinymce/js/tinymce/plugins/textcolor/plugin.min.js
+++ base/src/main/webapp/resources/lib/tinymce/js/tinymce/plugins/textcolor/plugin.min.js
| This diff is skipped because there are too many other diffs. |
--- base/src/main/webapp/lib/tinymce/js/tinymce/plugins/textpattern/plugin.min.js
+++ base/src/main/webapp/resources/lib/tinymce/js/tinymce/plugins/textpattern/plugin.min.js
| This diff is skipped because there are too many other diffs. |
--- base/src/main/webapp/lib/tinymce/js/tinymce/plugins/toc/plugin.min.js
+++ base/src/main/webapp/resources/lib/tinymce/js/tinymce/plugins/toc/plugin.min.js
| This diff is skipped because there are too many other diffs. |
--- base/src/main/webapp/lib/tinymce/js/tinymce/plugins/visualblocks/css/visualblocks.css
+++ base/src/main/webapp/resources/lib/tinymce/js/tinymce/plugins/visualblocks/css/visualblocks.css
| This diff is skipped because there are too many other diffs. |
--- base/src/main/webapp/lib/tinymce/js/tinymce/plugins/visualblocks/plugin.min.js
+++ base/src/main/webapp/resources/lib/tinymce/js/tinymce/plugins/visualblocks/plugin.min.js
| This diff is skipped because there are too many other diffs. |
--- base/src/main/webapp/lib/tinymce/js/tinymce/plugins/visualchars/plugin.min.js
+++ base/src/main/webapp/resources/lib/tinymce/js/tinymce/plugins/visualchars/plugin.min.js
| This diff is skipped because there are too many other diffs. |
--- base/src/main/webapp/lib/tinymce/js/tinymce/plugins/wordcount/plugin.min.js
+++ base/src/main/webapp/resources/lib/tinymce/js/tinymce/plugins/wordcount/plugin.min.js
| This diff is skipped because there are too many other diffs. |
--- base/src/main/webapp/lib/tinymce/js/tinymce/skins/lightgray/content.inline.min.css
+++ base/src/main/webapp/resources/lib/tinymce/js/tinymce/skins/lightgray/content.inline.min.css
| This diff is skipped because there are too many other diffs. |
--- base/src/main/webapp/lib/tinymce/js/tinymce/skins/lightgray/content.min.css
+++ base/src/main/webapp/resources/lib/tinymce/js/tinymce/skins/lightgray/content.min.css
| This diff is skipped because there are too many other diffs. |
--- base/src/main/webapp/lib/tinymce/js/tinymce/skins/lightgray/content.mobile.min.css
+++ base/src/main/webapp/resources/lib/tinymce/js/tinymce/skins/lightgray/content.mobile.min.css
| This diff is skipped because there are too many other diffs. |
--- base/src/main/webapp/lib/tinymce/js/tinymce/skins/lightgray/fonts/tinymce-mobile.woff
+++ base/src/main/webapp/resources/lib/tinymce/js/tinymce/skins/lightgray/fonts/tinymce-mobile.woff
| Binary file is not shown |
--- base/src/main/webapp/lib/tinymce/js/tinymce/skins/lightgray/fonts/tinymce-small.eot
+++ base/src/main/webapp/resources/lib/tinymce/js/tinymce/skins/lightgray/fonts/tinymce-small.eot
| Binary file is not shown |
--- base/src/main/webapp/lib/tinymce/js/tinymce/skins/lightgray/fonts/tinymce-small.svg
+++ base/src/main/webapp/resources/lib/tinymce/js/tinymce/skins/lightgray/fonts/tinymce-small.svg
| This diff is skipped because there are too many other diffs. |
--- base/src/main/webapp/lib/tinymce/js/tinymce/skins/lightgray/fonts/tinymce-small.ttf
+++ base/src/main/webapp/resources/lib/tinymce/js/tinymce/skins/lightgray/fonts/tinymce-small.ttf
| Binary file is not shown |
--- base/src/main/webapp/lib/tinymce/js/tinymce/skins/lightgray/fonts/tinymce-small.woff
+++ base/src/main/webapp/resources/lib/tinymce/js/tinymce/skins/lightgray/fonts/tinymce-small.woff
| Binary file is not shown |
--- base/src/main/webapp/lib/tinymce/js/tinymce/skins/lightgray/fonts/tinymce.eot
+++ base/src/main/webapp/resources/lib/tinymce/js/tinymce/skins/lightgray/fonts/tinymce.eot
| Binary file is not shown |
--- base/src/main/webapp/lib/tinymce/js/tinymce/skins/lightgray/fonts/tinymce.svg
+++ base/src/main/webapp/resources/lib/tinymce/js/tinymce/skins/lightgray/fonts/tinymce.svg
| This diff is skipped because there are too many other diffs. |
--- base/src/main/webapp/lib/tinymce/js/tinymce/skins/lightgray/fonts/tinymce.ttf
+++ base/src/main/webapp/resources/lib/tinymce/js/tinymce/skins/lightgray/fonts/tinymce.ttf
| Binary file is not shown |
--- base/src/main/webapp/lib/tinymce/js/tinymce/skins/lightgray/fonts/tinymce.woff
+++ base/src/main/webapp/resources/lib/tinymce/js/tinymce/skins/lightgray/fonts/tinymce.woff
| Binary file is not shown |
--- base/src/main/webapp/lib/tinymce/js/tinymce/skins/lightgray/img/anchor.gif
+++ base/src/main/webapp/resources/lib/tinymce/js/tinymce/skins/lightgray/img/anchor.gif
| Binary file is not shown |
--- base/src/main/webapp/lib/tinymce/js/tinymce/skins/lightgray/img/loader.gif
+++ base/src/main/webapp/resources/lib/tinymce/js/tinymce/skins/lightgray/img/loader.gif
| Binary file is not shown |
--- base/src/main/webapp/lib/tinymce/js/tinymce/skins/lightgray/img/object.gif
+++ base/src/main/webapp/resources/lib/tinymce/js/tinymce/skins/lightgray/img/object.gif
| Binary file is not shown |
--- base/src/main/webapp/lib/tinymce/js/tinymce/skins/lightgray/img/trans.gif
+++ base/src/main/webapp/resources/lib/tinymce/js/tinymce/skins/lightgray/img/trans.gif
| Binary file is not shown |
--- base/src/main/webapp/lib/tinymce/js/tinymce/skins/lightgray/skin.min.css
+++ base/src/main/webapp/resources/lib/tinymce/js/tinymce/skins/lightgray/skin.min.css
| This diff is skipped because there are too many other diffs. |
--- base/src/main/webapp/lib/tinymce/js/tinymce/skins/lightgray/skin.mobile.min.css
+++ base/src/main/webapp/resources/lib/tinymce/js/tinymce/skins/lightgray/skin.mobile.min.css
| This diff is skipped because there are too many other diffs. |
--- base/src/main/webapp/lib/tinymce/js/tinymce/themes/inlite/theme.min.js
+++ base/src/main/webapp/resources/lib/tinymce/js/tinymce/themes/inlite/theme.min.js
| This diff is skipped because there are too many other diffs. |
--- base/src/main/webapp/lib/tinymce/js/tinymce/themes/mobile/theme.min.js
+++ base/src/main/webapp/resources/lib/tinymce/js/tinymce/themes/mobile/theme.min.js
| This diff is skipped because there are too many other diffs. |
--- base/src/main/webapp/lib/tinymce/js/tinymce/themes/modern/theme.min.js
+++ base/src/main/webapp/resources/lib/tinymce/js/tinymce/themes/modern/theme.min.js
| This diff is skipped because there are too many other diffs. |
--- base/src/main/webapp/lib/tinymce/js/tinymce/tinymce.min.js
+++ base/src/main/webapp/resources/lib/tinymce/js/tinymce/tinymce.min.js
| This diff is skipped because there are too many other diffs. |
--- base/src/main/webapp/lib/upload/canvas-to-blob.min.js
+++ base/src/main/webapp/resources/lib/upload/canvas-to-blob.min.js
| This diff is skipped because there are too many other diffs. |
--- base/src/main/webapp/lib/upload/jquery.fileupload-angular.js
+++ base/src/main/webapp/resources/lib/upload/jquery.fileupload-angular.js
| This diff is skipped because there are too many other diffs. |
--- base/src/main/webapp/lib/upload/jquery.fileupload-audio.js
+++ base/src/main/webapp/resources/lib/upload/jquery.fileupload-audio.js
| This diff is skipped because there are too many other diffs. |
--- base/src/main/webapp/lib/upload/jquery.fileupload-image.js
+++ base/src/main/webapp/resources/lib/upload/jquery.fileupload-image.js
| This diff is skipped because there are too many other diffs. |
--- base/src/main/webapp/lib/upload/jquery.fileupload-jquery-ui.js
+++ base/src/main/webapp/resources/lib/upload/jquery.fileupload-jquery-ui.js
| This diff is skipped because there are too many other diffs. |
--- base/src/main/webapp/lib/upload/jquery.fileupload-process.js
+++ base/src/main/webapp/resources/lib/upload/jquery.fileupload-process.js
| This diff is skipped because there are too many other diffs. |
--- base/src/main/webapp/lib/upload/jquery.fileupload-ui.js
+++ base/src/main/webapp/resources/lib/upload/jquery.fileupload-ui.js
| This diff is skipped because there are too many other diffs. |
--- base/src/main/webapp/lib/upload/jquery.fileupload-validate.js
+++ base/src/main/webapp/resources/lib/upload/jquery.fileupload-validate.js
| This diff is skipped because there are too many other diffs. |
--- base/src/main/webapp/lib/upload/jquery.fileupload-video.js
+++ base/src/main/webapp/resources/lib/upload/jquery.fileupload-video.js
| This diff is skipped because there are too many other diffs. |
--- base/src/main/webapp/lib/upload/jquery.fileupload.js
+++ base/src/main/webapp/resources/lib/upload/jquery.fileupload.js
| This diff is skipped because there are too many other diffs. |
--- base/src/main/webapp/lib/upload/jquery.iframe-transport.js
+++ base/src/main/webapp/resources/lib/upload/jquery.iframe-transport.js
| This diff is skipped because there are too many other diffs. |
--- base/src/main/webapp/lib/upload/load-image.all.min.js
+++ base/src/main/webapp/resources/lib/upload/load-image.all.min.js
| This diff is skipped because there are too many other diffs. |
--- base/src/main/webapp/lib/upload/mltmdUpload.js
+++ base/src/main/webapp/resources/lib/upload/mltmdUpload.js
| This diff is skipped because there are too many other diffs. |
--- base/src/main/webapp/lib/upload/rotate-image.css
+++ base/src/main/webapp/resources/lib/upload/rotate-image.css
| This diff is skipped because there are too many other diffs. |
--- base/src/main/webapp/lib/upload/upload.cmy.js
+++ base/src/main/webapp/resources/lib/upload/upload.cmy.js
| This diff is skipped because there are too many other diffs. |
--- base/src/main/webapp/lib/upload/upload.js
+++ base/src/main/webapp/resources/lib/upload/upload.js
| This diff is skipped because there are too many other diffs. |
--- base/src/main/webapp/lib/upload/upload2.js
+++ base/src/main/webapp/resources/lib/upload/upload2.js
| This diff is skipped because there are too many other diffs. |
--- base/src/main/webapp/str/cre/bbs/tmplat/BBSTMP_0000000000001/images/arrow01.gif
+++ base/src/main/webapp/resources/str/cre/bbs/tmplat/BBSTMP_0000000000001/images/arrow01.gif
| Binary file is not shown |
--- base/src/main/webapp/str/cre/bbs/tmplat/BBSTMP_0000000000001/images/arrow02.gif
+++ base/src/main/webapp/resources/str/cre/bbs/tmplat/BBSTMP_0000000000001/images/arrow02.gif
| Binary file is not shown |
--- base/src/main/webapp/str/cre/bbs/tmplat/BBSTMP_0000000000001/images/arrow03.gif
+++ base/src/main/webapp/resources/str/cre/bbs/tmplat/BBSTMP_0000000000001/images/arrow03.gif
| Binary file is not shown |
--- base/src/main/webapp/str/cre/bbs/tmplat/BBSTMP_0000000000001/images/bg_bar.gif
+++ base/src/main/webapp/resources/str/cre/bbs/tmplat/BBSTMP_0000000000001/images/bg_bar.gif
| Binary file is not shown |
--- base/src/main/webapp/str/cre/bbs/tmplat/BBSTMP_0000000000001/images/bg_tit.gif
+++ base/src/main/webapp/resources/str/cre/bbs/tmplat/BBSTMP_0000000000001/images/bg_tit.gif
| Binary file is not shown |
--- base/src/main/webapp/str/cre/bbs/tmplat/BBSTMP_0000000000001/images/box_spcbbl.png
+++ base/src/main/webapp/resources/str/cre/bbs/tmplat/BBSTMP_0000000000001/images/box_spcbbl.png
| Binary file is not shown |
--- base/src/main/webapp/str/cre/bbs/tmplat/BBSTMP_0000000000001/images/btn_add_file.gif
+++ base/src/main/webapp/resources/str/cre/bbs/tmplat/BBSTMP_0000000000001/images/btn_add_file.gif
| Binary file is not shown |
--- base/src/main/webapp/str/cre/bbs/tmplat/BBSTMP_0000000000001/images/btn_all.gif
+++ base/src/main/webapp/resources/str/cre/bbs/tmplat/BBSTMP_0000000000001/images/btn_all.gif
| Binary file is not shown |
--- base/src/main/webapp/str/cre/bbs/tmplat/BBSTMP_0000000000001/images/btn_cancel.gif
+++ base/src/main/webapp/resources/str/cre/bbs/tmplat/BBSTMP_0000000000001/images/btn_cancel.gif
| Binary file is not shown |
--- base/src/main/webapp/str/cre/bbs/tmplat/BBSTMP_0000000000001/images/btn_close.gif
+++ base/src/main/webapp/resources/str/cre/bbs/tmplat/BBSTMP_0000000000001/images/btn_close.gif
| Binary file is not shown |
--- base/src/main/webapp/str/cre/bbs/tmplat/BBSTMP_0000000000001/images/btn_copy.gif
+++ base/src/main/webapp/resources/str/cre/bbs/tmplat/BBSTMP_0000000000001/images/btn_copy.gif
| Binary file is not shown |
--- base/src/main/webapp/str/cre/bbs/tmplat/BBSTMP_0000000000001/images/btn_del.gif
+++ base/src/main/webapp/resources/str/cre/bbs/tmplat/BBSTMP_0000000000001/images/btn_del.gif
| Binary file is not shown |
--- base/src/main/webapp/str/cre/bbs/tmplat/BBSTMP_0000000000001/images/btn_del_all.gif
+++ base/src/main/webapp/resources/str/cre/bbs/tmplat/BBSTMP_0000000000001/images/btn_del_all.gif
| Binary file is not shown |
--- base/src/main/webapp/str/cre/bbs/tmplat/BBSTMP_0000000000001/images/btn_delete.gif
+++ base/src/main/webapp/resources/str/cre/bbs/tmplat/BBSTMP_0000000000001/images/btn_delete.gif
| Binary file is not shown |
--- base/src/main/webapp/str/cre/bbs/tmplat/BBSTMP_0000000000001/images/btn_first.gif
+++ base/src/main/webapp/resources/str/cre/bbs/tmplat/BBSTMP_0000000000001/images/btn_first.gif
| Binary file is not shown |
--- base/src/main/webapp/str/cre/bbs/tmplat/BBSTMP_0000000000001/images/btn_first_scn.gif
+++ base/src/main/webapp/resources/str/cre/bbs/tmplat/BBSTMP_0000000000001/images/btn_first_scn.gif
| Binary file is not shown |
--- base/src/main/webapp/str/cre/bbs/tmplat/BBSTMP_0000000000001/images/btn_home.gif
+++ base/src/main/webapp/resources/str/cre/bbs/tmplat/BBSTMP_0000000000001/images/btn_home.gif
| Binary file is not shown |
--- base/src/main/webapp/str/cre/bbs/tmplat/BBSTMP_0000000000001/images/btn_last.gif
+++ base/src/main/webapp/resources/str/cre/bbs/tmplat/BBSTMP_0000000000001/images/btn_last.gif
| Binary file is not shown |
--- base/src/main/webapp/str/cre/bbs/tmplat/BBSTMP_0000000000001/images/btn_last_scn.gif
+++ base/src/main/webapp/resources/str/cre/bbs/tmplat/BBSTMP_0000000000001/images/btn_last_scn.gif
| Binary file is not shown |
--- base/src/main/webapp/str/cre/bbs/tmplat/BBSTMP_0000000000001/images/btn_list.gif
+++ base/src/main/webapp/resources/str/cre/bbs/tmplat/BBSTMP_0000000000001/images/btn_list.gif
| Binary file is not shown |
--- base/src/main/webapp/str/cre/bbs/tmplat/BBSTMP_0000000000001/images/btn_modify.gif
+++ base/src/main/webapp/resources/str/cre/bbs/tmplat/BBSTMP_0000000000001/images/btn_modify.gif
| Binary file is not shown |
--- base/src/main/webapp/str/cre/bbs/tmplat/BBSTMP_0000000000001/images/btn_move.gif
+++ base/src/main/webapp/resources/str/cre/bbs/tmplat/BBSTMP_0000000000001/images/btn_move.gif
| Binary file is not shown |
--- base/src/main/webapp/str/cre/bbs/tmplat/BBSTMP_0000000000001/images/btn_next.gif
+++ base/src/main/webapp/resources/str/cre/bbs/tmplat/BBSTMP_0000000000001/images/btn_next.gif
| Binary file is not shown |
--- base/src/main/webapp/str/cre/bbs/tmplat/BBSTMP_0000000000001/images/btn_next2.gif
+++ base/src/main/webapp/resources/str/cre/bbs/tmplat/BBSTMP_0000000000001/images/btn_next2.gif
| Binary file is not shown |
--- base/src/main/webapp/str/cre/bbs/tmplat/BBSTMP_0000000000001/images/btn_next_scn.gif
+++ base/src/main/webapp/resources/str/cre/bbs/tmplat/BBSTMP_0000000000001/images/btn_next_scn.gif
| Binary file is not shown |
--- base/src/main/webapp/str/cre/bbs/tmplat/BBSTMP_0000000000001/images/btn_ok.gif
+++ base/src/main/webapp/resources/str/cre/bbs/tmplat/BBSTMP_0000000000001/images/btn_ok.gif
| Binary file is not shown |
--- base/src/main/webapp/str/cre/bbs/tmplat/BBSTMP_0000000000001/images/btn_prev.gif
+++ base/src/main/webapp/resources/str/cre/bbs/tmplat/BBSTMP_0000000000001/images/btn_prev.gif
| Binary file is not shown |
--- base/src/main/webapp/str/cre/bbs/tmplat/BBSTMP_0000000000001/images/btn_prev2.gif
+++ base/src/main/webapp/resources/str/cre/bbs/tmplat/BBSTMP_0000000000001/images/btn_prev2.gif
| Binary file is not shown |
--- base/src/main/webapp/str/cre/bbs/tmplat/BBSTMP_0000000000001/images/btn_prev_scn.gif
+++ base/src/main/webapp/resources/str/cre/bbs/tmplat/BBSTMP_0000000000001/images/btn_prev_scn.gif
| Binary file is not shown |
--- base/src/main/webapp/str/cre/bbs/tmplat/BBSTMP_0000000000001/images/btn_print.gif
+++ base/src/main/webapp/resources/str/cre/bbs/tmplat/BBSTMP_0000000000001/images/btn_print.gif
| Binary file is not shown |
--- base/src/main/webapp/str/cre/bbs/tmplat/BBSTMP_0000000000001/images/btn_repair.gif
+++ base/src/main/webapp/resources/str/cre/bbs/tmplat/BBSTMP_0000000000001/images/btn_repair.gif
| Binary file is not shown |
--- base/src/main/webapp/str/cre/bbs/tmplat/BBSTMP_0000000000001/images/btn_reply_ok.gif
+++ base/src/main/webapp/resources/str/cre/bbs/tmplat/BBSTMP_0000000000001/images/btn_reply_ok.gif
| Binary file is not shown |
--- base/src/main/webapp/str/cre/bbs/tmplat/BBSTMP_0000000000001/images/btn_reply_re.gif
+++ base/src/main/webapp/resources/str/cre/bbs/tmplat/BBSTMP_0000000000001/images/btn_reply_re.gif
| Binary file is not shown |
--- base/src/main/webapp/str/cre/bbs/tmplat/BBSTMP_0000000000001/images/btn_reply_review.gif
+++ base/src/main/webapp/resources/str/cre/bbs/tmplat/BBSTMP_0000000000001/images/btn_reply_review.gif
| Binary file is not shown |
--- base/src/main/webapp/str/cre/bbs/tmplat/BBSTMP_0000000000001/images/btn_replywrite.gif
+++ base/src/main/webapp/resources/str/cre/bbs/tmplat/BBSTMP_0000000000001/images/btn_replywrite.gif
| Binary file is not shown |
--- base/src/main/webapp/str/cre/bbs/tmplat/BBSTMP_0000000000001/images/btn_scn_join.gif
+++ base/src/main/webapp/resources/str/cre/bbs/tmplat/BBSTMP_0000000000001/images/btn_scn_join.gif
| Binary file is not shown |
--- base/src/main/webapp/str/cre/bbs/tmplat/BBSTMP_0000000000001/images/btn_scn_poll_send.gif
+++ base/src/main/webapp/resources/str/cre/bbs/tmplat/BBSTMP_0000000000001/images/btn_scn_poll_send.gif
| Binary file is not shown |
--- base/src/main/webapp/str/cre/bbs/tmplat/BBSTMP_0000000000001/images/btn_scn_result_view.gif
+++ base/src/main/webapp/resources/str/cre/bbs/tmplat/BBSTMP_0000000000001/images/btn_scn_result_view.gif
| Binary file is not shown |
--- base/src/main/webapp/str/cre/bbs/tmplat/BBSTMP_0000000000001/images/btn_sdelete.gif
+++ base/src/main/webapp/resources/str/cre/bbs/tmplat/BBSTMP_0000000000001/images/btn_sdelete.gif
| Binary file is not shown |
--- base/src/main/webapp/str/cre/bbs/tmplat/BBSTMP_0000000000001/images/btn_search.gif
+++ base/src/main/webapp/resources/str/cre/bbs/tmplat/BBSTMP_0000000000001/images/btn_search.gif
| Binary file is not shown |
--- base/src/main/webapp/str/cre/bbs/tmplat/BBSTMP_0000000000001/images/btn_submit.gif
+++ base/src/main/webapp/resources/str/cre/bbs/tmplat/BBSTMP_0000000000001/images/btn_submit.gif
| Binary file is not shown |
--- base/src/main/webapp/str/cre/bbs/tmplat/BBSTMP_0000000000001/images/btn_top.gif
+++ base/src/main/webapp/resources/str/cre/bbs/tmplat/BBSTMP_0000000000001/images/btn_top.gif
| Binary file is not shown |
--- base/src/main/webapp/str/cre/bbs/tmplat/BBSTMP_0000000000001/images/btn_write.gif
+++ base/src/main/webapp/resources/str/cre/bbs/tmplat/BBSTMP_0000000000001/images/btn_write.gif
| Binary file is not shown |
--- base/src/main/webapp/str/cre/bbs/tmplat/BBSTMP_0000000000001/images/calendar_end.gif
+++ base/src/main/webapp/resources/str/cre/bbs/tmplat/BBSTMP_0000000000001/images/calendar_end.gif
| Binary file is not shown |
--- base/src/main/webapp/str/cre/bbs/tmplat/BBSTMP_0000000000001/images/calendar_ing.gif
+++ base/src/main/webapp/resources/str/cre/bbs/tmplat/BBSTMP_0000000000001/images/calendar_ing.gif
| Binary file is not shown |
--- base/src/main/webapp/str/cre/bbs/tmplat/BBSTMP_0000000000001/images/calendar_list_view.gif
+++ base/src/main/webapp/resources/str/cre/bbs/tmplat/BBSTMP_0000000000001/images/calendar_list_view.gif
| Binary file is not shown |
--- base/src/main/webapp/str/cre/bbs/tmplat/BBSTMP_0000000000001/images/calendar_list_view_on.gif
+++ base/src/main/webapp/resources/str/cre/bbs/tmplat/BBSTMP_0000000000001/images/calendar_list_view_on.gif
| Binary file is not shown |
--- base/src/main/webapp/str/cre/bbs/tmplat/BBSTMP_0000000000001/images/calendar_month_view.gif
+++ base/src/main/webapp/resources/str/cre/bbs/tmplat/BBSTMP_0000000000001/images/calendar_month_view.gif
| Binary file is not shown |
--- base/src/main/webapp/str/cre/bbs/tmplat/BBSTMP_0000000000001/images/calendar_month_view_on.gif
+++ base/src/main/webapp/resources/str/cre/bbs/tmplat/BBSTMP_0000000000001/images/calendar_month_view_on.gif
| Binary file is not shown |
--- base/src/main/webapp/str/cre/bbs/tmplat/BBSTMP_0000000000001/images/ico_board_lock.gif
+++ base/src/main/webapp/resources/str/cre/bbs/tmplat/BBSTMP_0000000000001/images/ico_board_lock.gif
| Binary file is not shown |
--- base/src/main/webapp/str/cre/bbs/tmplat/BBSTMP_0000000000001/images/ico_file.gif
+++ base/src/main/webapp/resources/str/cre/bbs/tmplat/BBSTMP_0000000000001/images/ico_file.gif
| Binary file is not shown |
--- base/src/main/webapp/str/cre/bbs/tmplat/BBSTMP_0000000000001/images/ico_file_gif.gif
+++ base/src/main/webapp/resources/str/cre/bbs/tmplat/BBSTMP_0000000000001/images/ico_file_gif.gif
| Binary file is not shown |
--- base/src/main/webapp/str/cre/bbs/tmplat/BBSTMP_0000000000001/images/ico_file_hwp.gif
+++ base/src/main/webapp/resources/str/cre/bbs/tmplat/BBSTMP_0000000000001/images/ico_file_hwp.gif
| Binary file is not shown |
--- base/src/main/webapp/str/cre/bbs/tmplat/BBSTMP_0000000000001/images/ico_file_jpg.gif
+++ base/src/main/webapp/resources/str/cre/bbs/tmplat/BBSTMP_0000000000001/images/ico_file_jpg.gif
| Binary file is not shown |
--- base/src/main/webapp/str/cre/bbs/tmplat/BBSTMP_0000000000001/images/ico_file_pdf.gif
+++ base/src/main/webapp/resources/str/cre/bbs/tmplat/BBSTMP_0000000000001/images/ico_file_pdf.gif
| Binary file is not shown |
--- base/src/main/webapp/str/cre/bbs/tmplat/BBSTMP_0000000000001/images/ico_file_ppt.gif
+++ base/src/main/webapp/resources/str/cre/bbs/tmplat/BBSTMP_0000000000001/images/ico_file_ppt.gif
| Binary file is not shown |
--- base/src/main/webapp/str/cre/bbs/tmplat/BBSTMP_0000000000001/images/ico_reply.gif
+++ base/src/main/webapp/resources/str/cre/bbs/tmplat/BBSTMP_0000000000001/images/ico_reply.gif
| Binary file is not shown |
--- base/src/main/webapp/str/cre/bbs/tmplat/BBSTMP_0000000000001/images/icon_balloon.gif
+++ base/src/main/webapp/resources/str/cre/bbs/tmplat/BBSTMP_0000000000001/images/icon_balloon.gif
| Binary file is not shown |
--- base/src/main/webapp/str/cre/bbs/tmplat/BBSTMP_0000000000001/images/icon_new.gif
+++ base/src/main/webapp/resources/str/cre/bbs/tmplat/BBSTMP_0000000000001/images/icon_new.gif
| Binary file is not shown |
--- base/src/main/webapp/str/cre/bbs/tmplat/BBSTMP_0000000000001/images/icon_notice.gif
+++ base/src/main/webapp/resources/str/cre/bbs/tmplat/BBSTMP_0000000000001/images/icon_notice.gif
| Binary file is not shown |
--- base/src/main/webapp/str/cre/bbs/tmplat/BBSTMP_0000000000001/images/noimg.gif
+++ base/src/main/webapp/resources/str/cre/bbs/tmplat/BBSTMP_0000000000001/images/noimg.gif
| Binary file is not shown |
--- base/src/main/webapp/str/cre/bbs/tmplat/BBSTMP_0000000000001/images/poll_close.gif
+++ base/src/main/webapp/resources/str/cre/bbs/tmplat/BBSTMP_0000000000001/images/poll_close.gif
| Binary file is not shown |
--- base/src/main/webapp/str/cre/bbs/tmplat/BBSTMP_0000000000001/images/poll_view.gif
+++ base/src/main/webapp/resources/str/cre/bbs/tmplat/BBSTMP_0000000000001/images/poll_view.gif
| Binary file is not shown |
--- base/src/main/webapp/str/cre/bbs/tmplat/BBSTMP_0000000000001/images/tab_bg_back.gif
+++ base/src/main/webapp/resources/str/cre/bbs/tmplat/BBSTMP_0000000000001/images/tab_bg_back.gif
| Binary file is not shown |
--- base/src/main/webapp/str/cre/bbs/tmplat/BBSTMP_0000000000001/images/tab_bg_back_scn.gif
+++ base/src/main/webapp/resources/str/cre/bbs/tmplat/BBSTMP_0000000000001/images/tab_bg_back_scn.gif
| Binary file is not shown |
--- base/src/main/webapp/str/cre/bbs/tmplat/BBSTMP_0000000000001/images/tab_bg_front.gif
+++ base/src/main/webapp/resources/str/cre/bbs/tmplat/BBSTMP_0000000000001/images/tab_bg_front.gif
| Binary file is not shown |
--- base/src/main/webapp/str/cre/bbs/tmplat/BBSTMP_0000000000001/images/tab_bg_front_scn.gif
+++ base/src/main/webapp/resources/str/cre/bbs/tmplat/BBSTMP_0000000000001/images/tab_bg_front_scn.gif
| Binary file is not shown |
--- base/src/main/webapp/str/cre/bbs/tmplat/BBSTMP_0000000000001/images/tab_bg_line.gif
+++ base/src/main/webapp/resources/str/cre/bbs/tmplat/BBSTMP_0000000000001/images/tab_bg_line.gif
| Binary file is not shown |
--- base/src/main/webapp/str/cre/bbs/tmplat/BBSTMP_0000000000001/images/tab_bg_middle.gif
+++ base/src/main/webapp/resources/str/cre/bbs/tmplat/BBSTMP_0000000000001/images/tab_bg_middle.gif
| Binary file is not shown |
--- base/src/main/webapp/str/cre/bbs/tmplat/BBSTMP_0000000000001/images/tab_bg_middle_scn.gif
+++ base/src/main/webapp/resources/str/cre/bbs/tmplat/BBSTMP_0000000000001/images/tab_bg_middle_scn.gif
| Binary file is not shown |
--- base/src/main/webapp/str/cre/bbs/tmplat/BBSTMP_0000000000001/script.js
+++ base/src/main/webapp/resources/str/cre/bbs/tmplat/BBSTMP_0000000000001/script.js
| This diff is skipped because there are too many other diffs. |
--- base/src/main/webapp/str/cre/bbs/tmplat/BBSTMP_0000000000001/style.css
+++ base/src/main/webapp/resources/str/cre/bbs/tmplat/BBSTMP_0000000000001/style.css
| This diff is skipped because there are too many other diffs. |
--- base/src/main/webapp/str/cre/lyt/tmplat/cmy/LTYTMP_0000000000001/script.js
+++ base/src/main/webapp/resources/str/cre/lyt/tmplat/cmy/LTYTMP_0000000000001/script.js
| This diff is skipped because there are too many other diffs. |
--- base/src/main/webapp/str/cre/lyt/tmplat/cmy/LTYTMP_0000000000001/style.css
+++ base/src/main/webapp/resources/str/cre/lyt/tmplat/cmy/LTYTMP_0000000000001/style.css
| This diff is skipped because there are too many other diffs. |
--- base/src/main/webapp/str/cre/lyt/tmplat/sit/LYTTMP_0000000000001/script.js
+++ base/src/main/webapp/resources/str/cre/lyt/tmplat/sit/LYTTMP_0000000000001/script.js
| This diff is skipped because there are too many other diffs. |
--- base/src/main/webapp/str/cre/lyt/tmplat/sit/LYTTMP_0000000000001/style.css
+++ base/src/main/webapp/resources/str/cre/lyt/tmplat/sit/LYTTMP_0000000000001/style.css
| This diff is skipped because there are too many other diffs. |
--- base/src/main/webapp/str/mnu/SITE_000000000000001/script.js
+++ base/src/main/webapp/resources/str/mnu/SITE_000000000000001/script.js
| This diff is skipped because there are too many other diffs. |
--- base/src/main/webapp/str/mnu/SITE_000000000000001/style.css
+++ base/src/main/webapp/resources/str/mnu/SITE_000000000000001/style.css
| This diff is skipped because there are too many other diffs. |
--- base/src/main/webapp/str/mnu/ZZZZZZZZZZZZZZZZZZZZ/MNU_0000000000000001/script.js
+++ base/src/main/webapp/resources/str/mnu/ZZZZZZZZZZZZZZZZZZZZ/MNU_0000000000000001/script.js
| This diff is skipped because there are too many other diffs. |
--- base/src/main/webapp/str/mnu/ZZZZZZZZZZZZZZZZZZZZ/MNU_0000000000000001/script_MBL.js
+++ base/src/main/webapp/resources/str/mnu/ZZZZZZZZZZZZZZZZZZZZ/MNU_0000000000000001/script_MBL.js
| This diff is skipped because there are too many other diffs. |
--- base/src/main/webapp/str/mnu/ZZZZZZZZZZZZZZZZZZZZ/MNU_0000000000000001/style.css
+++ base/src/main/webapp/resources/str/mnu/ZZZZZZZZZZZZZZZZZZZZ/MNU_0000000000000001/style.css
| This diff is skipped because there are too many other diffs. |
--- base/src/main/webapp/str/mnu/ZZZZZZZZZZZZZZZZZZZZ/MNU_0000000000000001/style_MBL.css
+++ base/src/main/webapp/resources/str/mnu/ZZZZZZZZZZZZZZZZZZZZ/MNU_0000000000000001/style_MBL.css
| This diff is skipped because there are too many other diffs. |
--- base/src/main/webapp/template/.project
+++ base/src/main/webapp/resources/template/.project
| This diff is skipped because there are too many other diffs. |
--- base/src/main/webapp/template/common/css/default.css
+++ base/src/main/webapp/resources/template/common/css/default.css
| This diff is skipped because there are too many other diffs. |
--- base/src/main/webapp/template/common/images/error404.gif
+++ base/src/main/webapp/resources/template/common/images/error404.gif
| Binary file is not shown |
--- base/src/main/webapp/template/common/images/error500.gif
+++ base/src/main/webapp/resources/template/common/images/error500.gif
| Binary file is not shown |
--- base/src/main/webapp/template/common/js/board.js
+++ base/src/main/webapp/resources/template/common/js/board.js
| This diff is skipped because there are too many other diffs. |
--- base/src/main/webapp/template/common/js/board2.js
+++ base/src/main/webapp/resources/template/common/js/board2.js
| This diff is skipped because there are too many other diffs. |
--- base/src/main/webapp/template/common/js/common.js
+++ base/src/main/webapp/resources/template/common/js/common.js
| This diff is skipped because there are too many other diffs. |
--- base/src/main/webapp/template/common/js/contactCommon.js
+++ base/src/main/webapp/resources/template/common/js/contactCommon.js
| This diff is skipped because there are too many other diffs. |
--- base/src/main/webapp/template/common/js/globalCommon.js
+++ base/src/main/webapp/resources/template/common/js/globalCommon.js
| This diff is skipped because there are too many other diffs. |
--- base/src/main/webapp/template/common/js/jcarousellite_add-control.js
+++ base/src/main/webapp/resources/template/common/js/jcarousellite_add-control.js
| This diff is skipped because there are too many other diffs. |
--- base/src/main/webapp/template/common/js/jquery-1.12.4.min.js
+++ base/src/main/webapp/resources/template/common/js/jquery-1.12.4.min.js
| This diff is skipped because there are too many other diffs. |
--- base/src/main/webapp/template/common/js/jquery.event.drag-2.2.js
+++ base/src/main/webapp/resources/template/common/js/jquery.event.drag-2.2.js
| This diff is skipped because there are too many other diffs. |
--- base/src/main/webapp/template/common/js/jquery.event.drag.live-2.2.js
+++ base/src/main/webapp/resources/template/common/js/jquery.event.drag.live-2.2.js
| This diff is skipped because there are too many other diffs. |
--- base/src/main/webapp/template/common/js/jquery.event.drop-2.2.js
+++ base/src/main/webapp/resources/template/common/js/jquery.event.drop-2.2.js
| This diff is skipped because there are too many other diffs. |
--- base/src/main/webapp/template/common/js/jquery.event.drop.live-2.2.js
+++ base/src/main/webapp/resources/template/common/js/jquery.event.drop.live-2.2.js
| This diff is skipped because there are too many other diffs. |
--- base/src/main/webapp/template/common/js/jquery.printElement.js
+++ base/src/main/webapp/resources/template/common/js/jquery.printElement.js
| This diff is skipped because there are too many other diffs. |
--- base/src/main/webapp/template/common/js/jquery/calendar/calendar.css
+++ base/src/main/webapp/resources/template/common/js/jquery/calendar/calendar.css
| This diff is skipped because there are too many other diffs. |
--- base/src/main/webapp/template/common/js/jquery/calendar/calendar.js
+++ base/src/main/webapp/resources/template/common/js/jquery/calendar/calendar.js
| This diff is skipped because there are too many other diffs. |
--- base/src/main/webapp/template/common/js/jquery/calendar/calendar.print.css
+++ base/src/main/webapp/resources/template/common/js/jquery/calendar/calendar.print.css
| This diff is skipped because there are too many other diffs. |
--- base/src/main/webapp/template/common/js/jquery/calendar/demos.css
+++ base/src/main/webapp/resources/template/common/js/jquery/calendar/demos.css
| This diff is skipped because there are too many other diffs. |
--- base/src/main/webapp/template/common/js/jquery/calendar/images/ui-bg_diagonals-thick_90_eeeeee_40x40.png
+++ base/src/main/webapp/resources/template/common/js/jquery/calendar/images/ui-bg_diagonals-thick_90_eeeeee_40x40.png
| Binary file is not shown |
--- base/src/main/webapp/template/common/js/jquery/calendar/images/ui-bg_flat_0_aaaaaa_40x100.png
+++ base/src/main/webapp/resources/template/common/js/jquery/calendar/images/ui-bg_flat_0_aaaaaa_40x100.png
| Binary file is not shown |
--- base/src/main/webapp/template/common/js/jquery/calendar/images/ui-bg_flat_15_cd0a0a_40x100.png
+++ base/src/main/webapp/resources/template/common/js/jquery/calendar/images/ui-bg_flat_15_cd0a0a_40x100.png
| Binary file is not shown |
--- base/src/main/webapp/template/common/js/jquery/calendar/images/ui-bg_flat_75_ffffff_40x100.png
+++ base/src/main/webapp/resources/template/common/js/jquery/calendar/images/ui-bg_flat_75_ffffff_40x100.png
| Binary file is not shown |
--- base/src/main/webapp/template/common/js/jquery/calendar/images/ui-bg_glass_100_e4f1fb_1x400.png
+++ base/src/main/webapp/resources/template/common/js/jquery/calendar/images/ui-bg_glass_100_e4f1fb_1x400.png
| Binary file is not shown |
--- base/src/main/webapp/template/common/js/jquery/calendar/images/ui-bg_glass_50_3baae3_1x400.png
+++ base/src/main/webapp/resources/template/common/js/jquery/calendar/images/ui-bg_glass_50_3baae3_1x400.png
| Binary file is not shown |
--- base/src/main/webapp/template/common/js/jquery/calendar/images/ui-bg_glass_55_fbf9ee_1x400.png
+++ base/src/main/webapp/resources/template/common/js/jquery/calendar/images/ui-bg_glass_55_fbf9ee_1x400.png
| Binary file is not shown |
--- base/src/main/webapp/template/common/js/jquery/calendar/images/ui-bg_glass_65_ffffff_1x400.png
+++ base/src/main/webapp/resources/template/common/js/jquery/calendar/images/ui-bg_glass_65_ffffff_1x400.png
| Binary file is not shown |
--- base/src/main/webapp/template/common/js/jquery/calendar/images/ui-bg_glass_75_dadada_1x400.png
+++ base/src/main/webapp/resources/template/common/js/jquery/calendar/images/ui-bg_glass_75_dadada_1x400.png
| Binary file is not shown |
--- base/src/main/webapp/template/common/js/jquery/calendar/images/ui-bg_glass_75_e6e6e6_1x400.png
+++ base/src/main/webapp/resources/template/common/js/jquery/calendar/images/ui-bg_glass_75_e6e6e6_1x400.png
| Binary file is not shown |
--- base/src/main/webapp/template/common/js/jquery/calendar/images/ui-bg_glass_80_d7ebf9_1x400.png
+++ base/src/main/webapp/resources/template/common/js/jquery/calendar/images/ui-bg_glass_80_d7ebf9_1x400.png
| Binary file is not shown |
--- base/src/main/webapp/template/common/js/jquery/calendar/images/ui-bg_glass_95_fef1ec_1x400.png
+++ base/src/main/webapp/resources/template/common/js/jquery/calendar/images/ui-bg_glass_95_fef1ec_1x400.png
| Binary file is not shown |
--- base/src/main/webapp/template/common/js/jquery/calendar/images/ui-bg_highlight-hard_100_f2f5f7_1x100.png
+++ base/src/main/webapp/resources/template/common/js/jquery/calendar/images/ui-bg_highlight-hard_100_f2f5f7_1x100.png
| Binary file is not shown |
--- base/src/main/webapp/template/common/js/jquery/calendar/images/ui-bg_highlight-hard_70_000000_1x100.png
+++ base/src/main/webapp/resources/template/common/js/jquery/calendar/images/ui-bg_highlight-hard_70_000000_1x100.png
| Binary file is not shown |
--- base/src/main/webapp/template/common/js/jquery/calendar/images/ui-bg_highlight-soft_100_deedf7_1x100.png
+++ base/src/main/webapp/resources/template/common/js/jquery/calendar/images/ui-bg_highlight-soft_100_deedf7_1x100.png
| Binary file is not shown |
--- base/src/main/webapp/template/common/js/jquery/calendar/images/ui-bg_highlight-soft_25_ffef8f_1x100.png
+++ base/src/main/webapp/resources/template/common/js/jquery/calendar/images/ui-bg_highlight-soft_25_ffef8f_1x100.png
| Binary file is not shown |
--- base/src/main/webapp/template/common/js/jquery/calendar/images/ui-bg_highlight-soft_75_cccccc_1x100.png
+++ base/src/main/webapp/resources/template/common/js/jquery/calendar/images/ui-bg_highlight-soft_75_cccccc_1x100.png
| Binary file is not shown |
--- base/src/main/webapp/template/common/js/jquery/calendar/images/ui-icons_222222_256x240.png
+++ base/src/main/webapp/resources/template/common/js/jquery/calendar/images/ui-icons_222222_256x240.png
| Binary file is not shown |
--- base/src/main/webapp/template/common/js/jquery/calendar/images/ui-icons_2694e8_256x240.png
+++ base/src/main/webapp/resources/template/common/js/jquery/calendar/images/ui-icons_2694e8_256x240.png
| Binary file is not shown |
--- base/src/main/webapp/template/common/js/jquery/calendar/images/ui-icons_2e83ff_256x240.png
+++ base/src/main/webapp/resources/template/common/js/jquery/calendar/images/ui-icons_2e83ff_256x240.png
| Binary file is not shown |
--- base/src/main/webapp/template/common/js/jquery/calendar/images/ui-icons_3d80b3_256x240.png
+++ base/src/main/webapp/resources/template/common/js/jquery/calendar/images/ui-icons_3d80b3_256x240.png
| Binary file is not shown |
--- base/src/main/webapp/template/common/js/jquery/calendar/images/ui-icons_454545_256x240.png
+++ base/src/main/webapp/resources/template/common/js/jquery/calendar/images/ui-icons_454545_256x240.png
| Binary file is not shown |
--- base/src/main/webapp/template/common/js/jquery/calendar/images/ui-icons_72a7cf_256x240.png
+++ base/src/main/webapp/resources/template/common/js/jquery/calendar/images/ui-icons_72a7cf_256x240.png
| Binary file is not shown |
--- base/src/main/webapp/template/common/js/jquery/calendar/images/ui-icons_888888_256x240.png
+++ base/src/main/webapp/resources/template/common/js/jquery/calendar/images/ui-icons_888888_256x240.png
| Binary file is not shown |
--- base/src/main/webapp/template/common/js/jquery/calendar/images/ui-icons_cd0a0a_256x240.png
+++ base/src/main/webapp/resources/template/common/js/jquery/calendar/images/ui-icons_cd0a0a_256x240.png
| Binary file is not shown |
--- base/src/main/webapp/template/common/js/jquery/calendar/images/ui-icons_ffffff_256x240.png
+++ base/src/main/webapp/resources/template/common/js/jquery/calendar/images/ui-icons_ffffff_256x240.png
| Binary file is not shown |
--- base/src/main/webapp/template/common/js/jquery/calendar/jquery-ui-1.8.11.js
+++ base/src/main/webapp/resources/template/common/js/jquery/calendar/jquery-ui-1.8.11.js
| This diff is skipped because there are too many other diffs. |
--- base/src/main/webapp/template/common/js/jquery/calendar/theme.css
+++ base/src/main/webapp/resources/template/common/js/jquery/calendar/theme.css
| This diff is skipped because there are too many other diffs. |
--- base/src/main/webapp/template/common/js/jquery/calendar/ui.accordion.css
+++ base/src/main/webapp/resources/template/common/js/jquery/calendar/ui.accordion.css
| This diff is skipped because there are too many other diffs. |
--- base/src/main/webapp/template/common/js/jquery/calendar/ui.all.css
+++ base/src/main/webapp/resources/template/common/js/jquery/calendar/ui.all.css
| This diff is skipped because there are too many other diffs. |
--- base/src/main/webapp/template/common/js/jquery/calendar/ui.base.css
+++ base/src/main/webapp/resources/template/common/js/jquery/calendar/ui.base.css
| This diff is skipped because there are too many other diffs. |
--- base/src/main/webapp/template/common/js/jquery/calendar/ui.core.css
+++ base/src/main/webapp/resources/template/common/js/jquery/calendar/ui.core.css
| This diff is skipped because there are too many other diffs. |
--- base/src/main/webapp/template/common/js/jquery/calendar/ui.datepicker.css
+++ base/src/main/webapp/resources/template/common/js/jquery/calendar/ui.datepicker.css
| This diff is skipped because there are too many other diffs. |
--- base/src/main/webapp/template/common/js/jquery/calendar/ui.datepicker.js
+++ base/src/main/webapp/resources/template/common/js/jquery/calendar/ui.datepicker.js
| This diff is skipped because there are too many other diffs. |
--- base/src/main/webapp/template/common/js/jquery/calendar/ui.dialog.css
+++ base/src/main/webapp/resources/template/common/js/jquery/calendar/ui.dialog.css
| This diff is skipped because there are too many other diffs. |
--- base/src/main/webapp/template/common/js/jquery/calendar/ui.progressbar.css
+++ base/src/main/webapp/resources/template/common/js/jquery/calendar/ui.progressbar.css
| This diff is skipped because there are too many other diffs. |
--- base/src/main/webapp/template/common/js/jquery/calendar/ui.resizable.css
+++ base/src/main/webapp/resources/template/common/js/jquery/calendar/ui.resizable.css
| This diff is skipped because there are too many other diffs. |
--- base/src/main/webapp/template/common/js/jquery/calendar/ui.slider.css
+++ base/src/main/webapp/resources/template/common/js/jquery/calendar/ui.slider.css
| This diff is skipped because there are too many other diffs. |
--- base/src/main/webapp/template/common/js/jquery/calendar/ui.tabs.css
+++ base/src/main/webapp/resources/template/common/js/jquery/calendar/ui.tabs.css
| This diff is skipped because there are too many other diffs. |
--- base/src/main/webapp/template/common/js/jquery/calendar/ui.theme.css
+++ base/src/main/webapp/resources/template/common/js/jquery/calendar/ui.theme.css
| This diff is skipped because there are too many other diffs. |
--- base/src/main/webapp/template/common/js/jquery/css/jquery.timepicker.css
+++ base/src/main/webapp/resources/template/common/js/jquery/css/jquery.timepicker.css
| This diff is skipped because there are too many other diffs. |
--- base/src/main/webapp/template/common/js/jquery/css/ui-lightness/images/ui-bg_diagonals-thick_18_b81900_40x40.png
+++ base/src/main/webapp/resources/template/common/js/jquery/css/ui-lightness/images/ui-bg_diagonals-thick_18_b81900_40x40.png
| Binary file is not shown |
--- base/src/main/webapp/template/common/js/jquery/css/ui-lightness/images/ui-bg_diagonals-thick_20_666666_40x40.png
+++ base/src/main/webapp/resources/template/common/js/jquery/css/ui-lightness/images/ui-bg_diagonals-thick_20_666666_40x40.png
| Binary file is not shown |
--- base/src/main/webapp/template/common/js/jquery/css/ui-lightness/images/ui-bg_flat_10_000000_40x100.png
+++ base/src/main/webapp/resources/template/common/js/jquery/css/ui-lightness/images/ui-bg_flat_10_000000_40x100.png
| Binary file is not shown |
--- base/src/main/webapp/template/common/js/jquery/css/ui-lightness/images/ui-bg_glass_100_f6f6f6_1x400.png
+++ base/src/main/webapp/resources/template/common/js/jquery/css/ui-lightness/images/ui-bg_glass_100_f6f6f6_1x400.png
| Binary file is not shown |
--- base/src/main/webapp/template/common/js/jquery/css/ui-lightness/images/ui-bg_glass_100_fdf5ce_1x400.png
+++ base/src/main/webapp/resources/template/common/js/jquery/css/ui-lightness/images/ui-bg_glass_100_fdf5ce_1x400.png
| Binary file is not shown |
--- base/src/main/webapp/template/common/js/jquery/css/ui-lightness/images/ui-bg_glass_65_ffffff_1x400.png
+++ base/src/main/webapp/resources/template/common/js/jquery/css/ui-lightness/images/ui-bg_glass_65_ffffff_1x400.png
| Binary file is not shown |
--- base/src/main/webapp/template/common/js/jquery/css/ui-lightness/images/ui-bg_gloss-wave_35_f6a828_500x100.png
+++ base/src/main/webapp/resources/template/common/js/jquery/css/ui-lightness/images/ui-bg_gloss-wave_35_f6a828_500x100.png
| Binary file is not shown |
--- base/src/main/webapp/template/common/js/jquery/css/ui-lightness/images/ui-bg_highlight-soft_100_eeeeee_1x100.png
+++ base/src/main/webapp/resources/template/common/js/jquery/css/ui-lightness/images/ui-bg_highlight-soft_100_eeeeee_1x100.png
| Binary file is not shown |
--- base/src/main/webapp/template/common/js/jquery/css/ui-lightness/images/ui-bg_highlight-soft_75_ffe45c_1x100.png
+++ base/src/main/webapp/resources/template/common/js/jquery/css/ui-lightness/images/ui-bg_highlight-soft_75_ffe45c_1x100.png
| Binary file is not shown |
--- base/src/main/webapp/template/common/js/jquery/css/ui-lightness/images/ui-icons_222222_256x240.png
+++ base/src/main/webapp/resources/template/common/js/jquery/css/ui-lightness/images/ui-icons_222222_256x240.png
| Binary file is not shown |
--- base/src/main/webapp/template/common/js/jquery/css/ui-lightness/images/ui-icons_228ef1_256x240.png
+++ base/src/main/webapp/resources/template/common/js/jquery/css/ui-lightness/images/ui-icons_228ef1_256x240.png
| Binary file is not shown |
--- base/src/main/webapp/template/common/js/jquery/css/ui-lightness/images/ui-icons_ef8c08_256x240.png
+++ base/src/main/webapp/resources/template/common/js/jquery/css/ui-lightness/images/ui-icons_ef8c08_256x240.png
| Binary file is not shown |
--- base/src/main/webapp/template/common/js/jquery/css/ui-lightness/images/ui-icons_ffd27a_256x240.png
+++ base/src/main/webapp/resources/template/common/js/jquery/css/ui-lightness/images/ui-icons_ffd27a_256x240.png
| Binary file is not shown |
--- base/src/main/webapp/template/common/js/jquery/css/ui-lightness/images/ui-icons_ffffff_256x240.png
+++ base/src/main/webapp/resources/template/common/js/jquery/css/ui-lightness/images/ui-icons_ffffff_256x240.png
| Binary file is not shown |
--- base/src/main/webapp/template/common/js/jquery/css/ui-lightness/jquery-ui-1.8.15.custom.css
+++ base/src/main/webapp/resources/template/common/js/jquery/css/ui-lightness/jquery-ui-1.8.15.custom.css
| This diff is skipped because there are too many other diffs. |
--- base/src/main/webapp/template/common/js/jquery/jquery-1.9.1.min.js
+++ base/src/main/webapp/resources/template/common/js/jquery/jquery-1.9.1.min.js
| This diff is skipped because there are too many other diffs. |
--- base/src/main/webapp/template/common/js/jquery/jquery-ui.min.js
+++ base/src/main/webapp/resources/template/common/js/jquery/jquery-ui.min.js
| This diff is skipped because there are too many other diffs. |
--- base/src/main/webapp/template/common/js/jquery/jquery.cfSlider.js
+++ base/src/main/webapp/resources/template/common/js/jquery/jquery.cfSlider.js
| This diff is skipped because there are too many other diffs. |
--- base/src/main/webapp/template/common/js/jquery/jquery.form.js
+++ base/src/main/webapp/resources/template/common/js/jquery/jquery.form.js
| This diff is skipped because there are too many other diffs. |
--- base/src/main/webapp/template/common/js/jquery/jquery.min.js
+++ base/src/main/webapp/resources/template/common/js/jquery/jquery.min.js
| This diff is skipped because there are too many other diffs. |
--- base/src/main/webapp/template/common/js/jquery/jquery.timepicker.min.js
+++ base/src/main/webapp/resources/template/common/js/jquery/jquery.timepicker.min.js
| This diff is skipped because there are too many other diffs. |
--- base/src/main/webapp/template/common/js/jquery/ui/i18n/jquery.ui.datepicker-ko.js
+++ base/src/main/webapp/resources/template/common/js/jquery/ui/i18n/jquery.ui.datepicker-ko.js
| This diff is skipped because there are too many other diffs. |
--- base/src/main/webapp/template/common/js/jquery/ui/jquery-ui-1.8.15.custom.js
+++ base/src/main/webapp/resources/template/common/js/jquery/ui/jquery-ui-1.8.15.custom.js
| This diff is skipped because there are too many other diffs. |
--- base/src/main/webapp/template/common/js/mma.js
+++ base/src/main/webapp/resources/template/common/js/mma.js
| This diff is skipped because there are too many other diffs. |
--- base/src/main/webapp/template/common/js/over_tap.js
+++ base/src/main/webapp/resources/template/common/js/over_tap.js
| This diff is skipped because there are too many other diffs. |
--- base/src/main/webapp/template/manage/chart/FusionCharts.js
+++ base/src/main/webapp/resources/template/manage/chart/FusionCharts.js
| This diff is skipped because there are too many other diffs. |
--- base/src/main/webapp/template/manage/css/admin_layout.css
+++ base/src/main/webapp/resources/template/manage/css/admin_layout.css
| This diff is skipped because there are too many other diffs. |
--- base/src/main/webapp/template/manage/css/admin_page.css
+++ base/src/main/webapp/resources/template/manage/css/admin_page.css
| This diff is skipped because there are too many other diffs. |
--- base/src/main/webapp/template/manage/css/com.css
+++ base/src/main/webapp/resources/template/manage/css/com.css
| This diff is skipped because there are too many other diffs. |
--- base/src/main/webapp/template/manage/css/default.css
+++ base/src/main/webapp/resources/template/manage/css/default.css
| This diff is skipped because there are too many other diffs. |
--- base/src/main/webapp/template/manage/css/login.css
+++ base/src/main/webapp/resources/template/manage/css/login.css
| This diff is skipped because there are too many other diffs. |
--- base/src/main/webapp/template/manage/css/page.css
+++ base/src/main/webapp/resources/template/manage/css/page.css
| This diff is skipped because there are too many other diffs. |
--- base/src/main/webapp/template/manage/docTemplate/mpm/images/m1_01.gif
+++ base/src/main/webapp/resources/template/manage/docTemplate/mpm/images/m1_01.gif
| Binary file is not shown |
--- base/src/main/webapp/template/manage/docTemplate/mpm/images/m1_01.jpg
+++ base/src/main/webapp/resources/template/manage/docTemplate/mpm/images/m1_01.jpg
| Binary file is not shown |
--- base/src/main/webapp/template/manage/docTemplate/mpm/images/m1_01_bg.jpg
+++ base/src/main/webapp/resources/template/manage/docTemplate/mpm/images/m1_01_bg.jpg
| Binary file is not shown |
--- base/src/main/webapp/template/manage/docTemplate/mpm/images/m1_01_pen.gif
+++ base/src/main/webapp/resources/template/manage/docTemplate/mpm/images/m1_01_pen.gif
| Binary file is not shown |
--- base/src/main/webapp/template/manage/docTemplate/mpm/images/m1_01_text.gif
+++ base/src/main/webapp/resources/template/manage/docTemplate/mpm/images/m1_01_text.gif
| Binary file is not shown |
--- base/src/main/webapp/template/manage/docTemplate/mpm/template_list.js
+++ base/src/main/webapp/resources/template/manage/docTemplate/mpm/template_list.js
| This diff is skipped because there are too many other diffs. |
--- base/src/main/webapp/template/manage/images/Admin_title_icon.gif
+++ base/src/main/webapp/resources/template/manage/images/Admin_title_icon.gif
| Binary file is not shown |
--- base/src/main/webapp/template/manage/images/board/bbs_bg.gif
+++ base/src/main/webapp/resources/template/manage/images/board/bbs_bg.gif
| Binary file is not shown |
--- base/src/main/webapp/template/manage/images/board/bbs_search_btn.gif
+++ base/src/main/webapp/resources/template/manage/images/board/bbs_search_btn.gif
| Binary file is not shown |
--- base/src/main/webapp/template/manage/images/board/bg_board_bar.gif
+++ base/src/main/webapp/resources/template/manage/images/board/bg_board_bar.gif
| Binary file is not shown |
--- base/src/main/webapp/template/manage/images/board/bg_board_tit.gif
+++ base/src/main/webapp/resources/template/manage/images/board/bg_board_tit.gif
| Binary file is not shown |
--- base/src/main/webapp/template/manage/images/board/btn_appr.gif
+++ base/src/main/webapp/resources/template/manage/images/board/btn_appr.gif
| Binary file is not shown |
--- base/src/main/webapp/template/manage/images/board/btn_appr_can.gif
+++ base/src/main/webapp/resources/template/manage/images/board/btn_appr_can.gif
| Binary file is not shown |
--- base/src/main/webapp/template/manage/images/board/btn_cancel.gif
+++ base/src/main/webapp/resources/template/manage/images/board/btn_cancel.gif
| Binary file is not shown |
--- base/src/main/webapp/template/manage/images/board/btn_confirm.gif
+++ base/src/main/webapp/resources/template/manage/images/board/btn_confirm.gif
| Binary file is not shown |
--- base/src/main/webapp/template/manage/images/board/btn_creat.gif
+++ base/src/main/webapp/resources/template/manage/images/board/btn_creat.gif
| Binary file is not shown |
--- base/src/main/webapp/template/manage/images/board/btn_del.gif
+++ base/src/main/webapp/resources/template/manage/images/board/btn_del.gif
| Binary file is not shown |
--- base/src/main/webapp/template/manage/images/board/btn_del2.gif
+++ base/src/main/webapp/resources/template/manage/images/board/btn_del2.gif
| Binary file is not shown |
--- base/src/main/webapp/template/manage/images/board/btn_first.gif
+++ base/src/main/webapp/resources/template/manage/images/board/btn_first.gif
| Binary file is not shown |
--- base/src/main/webapp/template/manage/images/board/btn_group.gif
+++ base/src/main/webapp/resources/template/manage/images/board/btn_group.gif
| Binary file is not shown |
--- base/src/main/webapp/template/manage/images/board/btn_group_send.gif
+++ base/src/main/webapp/resources/template/manage/images/board/btn_group_send.gif
| Binary file is not shown |
--- base/src/main/webapp/template/manage/images/board/btn_last.gif
+++ base/src/main/webapp/resources/template/manage/images/board/btn_last.gif
| Binary file is not shown |
--- base/src/main/webapp/template/manage/images/board/btn_list.gif
+++ base/src/main/webapp/resources/template/manage/images/board/btn_list.gif
| Binary file is not shown |
--- base/src/main/webapp/template/manage/images/board/btn_make.gif
+++ base/src/main/webapp/resources/template/manage/images/board/btn_make.gif
| Binary file is not shown |
--- base/src/main/webapp/template/manage/images/board/btn_modify.gif
+++ base/src/main/webapp/resources/template/manage/images/board/btn_modify.gif
| Binary file is not shown |
--- base/src/main/webapp/template/manage/images/board/btn_msg_save.gif
+++ base/src/main/webapp/resources/template/manage/images/board/btn_msg_save.gif
| Binary file is not shown |
--- base/src/main/webapp/template/manage/images/board/btn_msg_send.gif
+++ base/src/main/webapp/resources/template/manage/images/board/btn_msg_send.gif
| Binary file is not shown |
--- base/src/main/webapp/template/manage/images/board/btn_next.gif
+++ base/src/main/webapp/resources/template/manage/images/board/btn_next.gif
| Binary file is not shown |
--- base/src/main/webapp/template/manage/images/board/btn_prew.gif
+++ base/src/main/webapp/resources/template/manage/images/board/btn_prew.gif
| Binary file is not shown |
--- base/src/main/webapp/template/manage/images/board/btn_registration.gif
+++ base/src/main/webapp/resources/template/manage/images/board/btn_registration.gif
| Binary file is not shown |
--- base/src/main/webapp/template/manage/images/board/btn_reservation_send.gif
+++ base/src/main/webapp/resources/template/manage/images/board/btn_reservation_send.gif
| Binary file is not shown |
--- base/src/main/webapp/template/manage/images/board/btn_search.gif
+++ base/src/main/webapp/resources/template/manage/images/board/btn_search.gif
| Binary file is not shown |
--- base/src/main/webapp/template/manage/images/board/btn_search2.gif
+++ base/src/main/webapp/resources/template/manage/images/board/btn_search2.gif
| Binary file is not shown |
--- base/src/main/webapp/template/manage/images/board/btn_viewer.gif
+++ base/src/main/webapp/resources/template/manage/images/board/btn_viewer.gif
| Binary file is not shown |
--- base/src/main/webapp/template/manage/images/board/btn_word.gif
+++ base/src/main/webapp/resources/template/manage/images/board/btn_word.gif
| Binary file is not shown |
--- base/src/main/webapp/template/manage/images/board/btn_write.gif
+++ base/src/main/webapp/resources/template/manage/images/board/btn_write.gif
| Binary file is not shown |
--- base/src/main/webapp/template/manage/images/board/btn_x.gif
+++ base/src/main/webapp/resources/template/manage/images/board/btn_x.gif
| Binary file is not shown |
--- base/src/main/webapp/template/manage/images/board/excel.gif
+++ base/src/main/webapp/resources/template/manage/images/board/excel.gif
| Binary file is not shown |
--- base/src/main/webapp/template/manage/images/board/icon_balloon.gif
+++ base/src/main/webapp/resources/template/manage/images/board/icon_balloon.gif
| Binary file is not shown |
--- base/src/main/webapp/template/manage/images/board/icon_lock.gif
+++ base/src/main/webapp/resources/template/manage/images/board/icon_lock.gif
| Binary file is not shown |
--- base/src/main/webapp/template/manage/images/board/icon_re.gif
+++ base/src/main/webapp/resources/template/manage/images/board/icon_re.gif
| Binary file is not shown |
--- base/src/main/webapp/template/manage/images/board/icon_reply.gif
+++ base/src/main/webapp/resources/template/manage/images/board/icon_reply.gif
| Binary file is not shown |
--- base/src/main/webapp/template/manage/images/board/no_img.gif
+++ base/src/main/webapp/resources/template/manage/images/board/no_img.gif
| Binary file is not shown |
--- base/src/main/webapp/template/manage/images/board/use_no.gif
+++ base/src/main/webapp/resources/template/manage/images/board/use_no.gif
| Binary file is not shown |
--- base/src/main/webapp/template/manage/images/board/use_yes.gif
+++ base/src/main/webapp/resources/template/manage/images/board/use_yes.gif
| Binary file is not shown |
--- base/src/main/webapp/template/manage/images/btn/1dep_btn.gif
+++ base/src/main/webapp/resources/template/manage/images/btn/1dep_btn.gif
| Binary file is not shown |
--- base/src/main/webapp/template/manage/images/btn/add_btn_1.gif
+++ base/src/main/webapp/resources/template/manage/images/btn/add_btn_1.gif
| Binary file is not shown |
--- base/src/main/webapp/template/manage/images/btn/add_btn_2.gif
+++ base/src/main/webapp/resources/template/manage/images/btn/add_btn_2.gif
| Binary file is not shown |
--- base/src/main/webapp/template/manage/images/btn/add_btn_3.gif
+++ base/src/main/webapp/resources/template/manage/images/btn/add_btn_3.gif
| Binary file is not shown |
--- base/src/main/webapp/template/manage/images/btn/add_copy.gif
+++ base/src/main/webapp/resources/template/manage/images/btn/add_copy.gif
| Binary file is not shown |
--- base/src/main/webapp/template/manage/images/btn/admin_btn_34.gif
+++ base/src/main/webapp/resources/template/manage/images/btn/admin_btn_34.gif
| Binary file is not shown |
--- base/src/main/webapp/template/manage/images/btn/btn_add.gif
+++ base/src/main/webapp/resources/template/manage/images/btn/btn_add.gif
| Binary file is not shown |
--- base/src/main/webapp/template/manage/images/btn/btn_address.gif
+++ base/src/main/webapp/resources/template/manage/images/btn/btn_address.gif
| Binary file is not shown |
--- base/src/main/webapp/template/manage/images/btn/btn_address_find.gif
+++ base/src/main/webapp/resources/template/manage/images/btn/btn_address_find.gif
| Binary file is not shown |
--- base/src/main/webapp/template/manage/images/btn/btn_basic_sauce.gif
+++ base/src/main/webapp/resources/template/manage/images/btn/btn_basic_sauce.gif
| Binary file is not shown |
--- base/src/main/webapp/template/manage/images/btn/btn_block (2).gif
+++ base/src/main/webapp/resources/template/manage/images/btn/btn_block (2).gif
| Binary file is not shown |
--- base/src/main/webapp/template/manage/images/btn/btn_block-(2).gif
+++ base/src/main/webapp/resources/template/manage/images/btn/btn_block-(2).gif
| Binary file is not shown |
--- base/src/main/webapp/template/manage/images/btn/btn_block.gif
+++ base/src/main/webapp/resources/template/manage/images/btn/btn_block.gif
| Binary file is not shown |
--- base/src/main/webapp/template/manage/images/btn/btn_breakdown.gif
+++ base/src/main/webapp/resources/template/manage/images/btn/btn_breakdown.gif
| Binary file is not shown |
--- base/src/main/webapp/template/manage/images/btn/btn_calculation.gif
+++ base/src/main/webapp/resources/template/manage/images/btn/btn_calculation.gif
| Binary file is not shown |
--- base/src/main/webapp/template/manage/images/btn/btn_cancel.gif
+++ base/src/main/webapp/resources/template/manage/images/btn/btn_cancel.gif
| Binary file is not shown |
--- base/src/main/webapp/template/manage/images/btn/btn_cateadmin.gif
+++ base/src/main/webapp/resources/template/manage/images/btn/btn_cateadmin.gif
| Binary file is not shown |
--- base/src/main/webapp/template/manage/images/btn/btn_change.gif
+++ base/src/main/webapp/resources/template/manage/images/btn/btn_change.gif
| Binary file is not shown |
--- base/src/main/webapp/template/manage/images/btn/btn_change_s.gif
+++ base/src/main/webapp/resources/template/manage/images/btn/btn_change_s.gif
| Binary file is not shown |
--- base/src/main/webapp/template/manage/images/btn/btn_choice_del.gif
+++ base/src/main/webapp/resources/template/manage/images/btn/btn_choice_del.gif
| Binary file is not shown |
--- base/src/main/webapp/template/manage/images/btn/btn_clear.gif
+++ base/src/main/webapp/resources/template/manage/images/btn/btn_clear.gif
| Binary file is not shown |
--- base/src/main/webapp/template/manage/images/btn/btn_close.gif
+++ base/src/main/webapp/resources/template/manage/images/btn/btn_close.gif
| Binary file is not shown |
--- base/src/main/webapp/template/manage/images/btn/btn_comp.gif
+++ base/src/main/webapp/resources/template/manage/images/btn/btn_comp.gif
| Binary file is not shown |
--- base/src/main/webapp/template/manage/images/btn/btn_confirm.gif
+++ base/src/main/webapp/resources/template/manage/images/btn/btn_confirm.gif
| Binary file is not shown |
--- base/src/main/webapp/template/manage/images/btn/btn_control.gif
+++ base/src/main/webapp/resources/template/manage/images/btn/btn_control.gif
| Binary file is not shown |
--- base/src/main/webapp/template/manage/images/btn/btn_creat.gif
+++ base/src/main/webapp/resources/template/manage/images/btn/btn_creat.gif
| Binary file is not shown |
--- base/src/main/webapp/template/manage/images/btn/btn_del.gif
+++ base/src/main/webapp/resources/template/manage/images/btn/btn_del.gif
| Binary file is not shown |
--- base/src/main/webapp/template/manage/images/btn/btn_del2.gif
+++ base/src/main/webapp/resources/template/manage/images/btn/btn_del2.gif
| Binary file is not shown |
--- base/src/main/webapp/template/manage/images/btn/btn_del_s.gif
+++ base/src/main/webapp/resources/template/manage/images/btn/btn_del_s.gif
| Binary file is not shown |
--- base/src/main/webapp/template/manage/images/btn/btn_disp.gif
+++ base/src/main/webapp/resources/template/manage/images/btn/btn_disp.gif
| Binary file is not shown |
--- base/src/main/webapp/template/manage/images/btn/btn_duplicate.gif
+++ base/src/main/webapp/resources/template/manage/images/btn/btn_duplicate.gif
| Binary file is not shown |
--- base/src/main/webapp/template/manage/images/btn/btn_end.gif
+++ base/src/main/webapp/resources/template/manage/images/btn/btn_end.gif
| Binary file is not shown |
--- base/src/main/webapp/template/manage/images/btn/btn_evt1.gif
+++ base/src/main/webapp/resources/template/manage/images/btn/btn_evt1.gif
| Binary file is not shown |
--- base/src/main/webapp/template/manage/images/btn/btn_evt2.gif
+++ base/src/main/webapp/resources/template/manage/images/btn/btn_evt2.gif
| Binary file is not shown |
--- base/src/main/webapp/template/manage/images/btn/btn_godown.gif
+++ base/src/main/webapp/resources/template/manage/images/btn/btn_godown.gif
| Binary file is not shown |
--- base/src/main/webapp/template/manage/images/btn/btn_goup.gif
+++ base/src/main/webapp/resources/template/manage/images/btn/btn_goup.gif
| Binary file is not shown |
--- base/src/main/webapp/template/manage/images/btn/btn_group.gif
+++ base/src/main/webapp/resources/template/manage/images/btn/btn_group.gif
| Binary file is not shown |
--- base/src/main/webapp/template/manage/images/btn/btn_group_send.gif
+++ base/src/main/webapp/resources/template/manage/images/btn/btn_group_send.gif
| Binary file is not shown |
--- base/src/main/webapp/template/manage/images/btn/btn_initi.gif
+++ base/src/main/webapp/resources/template/manage/images/btn/btn_initi.gif
| Binary file is not shown |
--- base/src/main/webapp/template/manage/images/btn/btn_join_docu_down.gif
+++ base/src/main/webapp/resources/template/manage/images/btn/btn_join_docu_down.gif
| Binary file is not shown |
--- base/src/main/webapp/template/manage/images/btn/btn_lastnum.gif
+++ base/src/main/webapp/resources/template/manage/images/btn/btn_lastnum.gif
| Binary file is not shown |
--- base/src/main/webapp/template/manage/images/btn/btn_letter.gif
+++ base/src/main/webapp/resources/template/manage/images/btn/btn_letter.gif
| Binary file is not shown |
--- base/src/main/webapp/template/manage/images/btn/btn_list.gif
+++ base/src/main/webapp/resources/template/manage/images/btn/btn_list.gif
| Binary file is not shown |
--- base/src/main/webapp/template/manage/images/btn/btn_maill_merge.gif
+++ base/src/main/webapp/resources/template/manage/images/btn/btn_maill_merge.gif
| Binary file is not shown |
--- base/src/main/webapp/template/manage/images/btn/btn_make.gif
+++ base/src/main/webapp/resources/template/manage/images/btn/btn_make.gif
| Binary file is not shown |
--- base/src/main/webapp/template/manage/images/btn/btn_minus.gif
+++ base/src/main/webapp/resources/template/manage/images/btn/btn_minus.gif
| Binary file is not shown |
--- base/src/main/webapp/template/manage/images/btn/btn_modify.gif
+++ base/src/main/webapp/resources/template/manage/images/btn/btn_modify.gif
| Binary file is not shown |
--- base/src/main/webapp/template/manage/images/btn/btn_modify_s.gif
+++ base/src/main/webapp/resources/template/manage/images/btn/btn_modify_s.gif
| Binary file is not shown |
--- base/src/main/webapp/template/manage/images/btn/btn_msg_save.gif
+++ base/src/main/webapp/resources/template/manage/images/btn/btn_msg_save.gif
| Binary file is not shown |
--- base/src/main/webapp/template/manage/images/btn/btn_msg_send.gif
+++ base/src/main/webapp/resources/template/manage/images/btn/btn_msg_send.gif
| Binary file is not shown |
--- base/src/main/webapp/template/manage/images/btn/btn_pass_reissue.gif
+++ base/src/main/webapp/resources/template/manage/images/btn/btn_pass_reissue.gif
| Binary file is not shown |
--- base/src/main/webapp/template/manage/images/btn/btn_plus.gif
+++ base/src/main/webapp/resources/template/manage/images/btn/btn_plus.gif
| Binary file is not shown |
--- base/src/main/webapp/template/manage/images/btn/btn_point_reset.gif
+++ base/src/main/webapp/resources/template/manage/images/btn/btn_point_reset.gif
| Binary file is not shown |
--- base/src/main/webapp/template/manage/images/btn/btn_postcode.gif
+++ base/src/main/webapp/resources/template/manage/images/btn/btn_postcode.gif
| Binary file is not shown |
--- base/src/main/webapp/template/manage/images/btn/btn_preview.gif
+++ base/src/main/webapp/resources/template/manage/images/btn/btn_preview.gif
| Binary file is not shown |
--- base/src/main/webapp/template/manage/images/btn/btn_progress.gif
+++ base/src/main/webapp/resources/template/manage/images/btn/btn_progress.gif
| Binary file is not shown |
--- base/src/main/webapp/template/manage/images/btn/btn_receipt.gif
+++ base/src/main/webapp/resources/template/manage/images/btn/btn_receipt.gif
| Binary file is not shown |
--- base/src/main/webapp/template/manage/images/btn/btn_regist.gif
+++ base/src/main/webapp/resources/template/manage/images/btn/btn_regist.gif
| Binary file is not shown |
--- base/src/main/webapp/template/manage/images/btn/btn_regist_new.gif
+++ base/src/main/webapp/resources/template/manage/images/btn/btn_regist_new.gif
| Binary file is not shown |
--- base/src/main/webapp/template/manage/images/btn/btn_registration.gif
+++ base/src/main/webapp/resources/template/manage/images/btn/btn_registration.gif
| Binary file is not shown |
--- base/src/main/webapp/template/manage/images/btn/btn_reply.gif
+++ base/src/main/webapp/resources/template/manage/images/btn/btn_reply.gif
| Binary file is not shown |
--- base/src/main/webapp/template/manage/images/btn/btn_reservation_send.gif
+++ base/src/main/webapp/resources/template/manage/images/btn/btn_reservation_send.gif
| Binary file is not shown |
--- base/src/main/webapp/template/manage/images/btn/btn_reset.gif
+++ base/src/main/webapp/resources/template/manage/images/btn/btn_reset.gif
| Binary file is not shown |
--- base/src/main/webapp/template/manage/images/btn/btn_sauce_copy.gif
+++ base/src/main/webapp/resources/template/manage/images/btn/btn_sauce_copy.gif
| Binary file is not shown |
--- base/src/main/webapp/template/manage/images/btn/btn_save.gif
+++ base/src/main/webapp/resources/template/manage/images/btn/btn_save.gif
| Binary file is not shown |
--- base/src/main/webapp/template/manage/images/btn/btn_scn_result_view.gif
+++ base/src/main/webapp/resources/template/manage/images/btn/btn_scn_result_view.gif
| Binary file is not shown |
--- base/src/main/webapp/template/manage/images/btn/btn_search.gif
+++ base/src/main/webapp/resources/template/manage/images/btn/btn_search.gif
| Binary file is not shown |
--- base/src/main/webapp/template/manage/images/btn/btn_search02.gif
+++ base/src/main/webapp/resources/template/manage/images/btn/btn_search02.gif
| Binary file is not shown |
--- base/src/main/webapp/template/manage/images/btn/btn_select.gif
+++ base/src/main/webapp/resources/template/manage/images/btn/btn_select.gif
| Binary file is not shown |
--- base/src/main/webapp/template/manage/images/btn/btn_temp_copy.gif
+++ base/src/main/webapp/resources/template/manage/images/btn/btn_temp_copy.gif
| Binary file is not shown |
--- base/src/main/webapp/template/manage/images/btn/btn_update.gif
+++ base/src/main/webapp/resources/template/manage/images/btn/btn_update.gif
| Binary file is not shown |
--- base/src/main/webapp/template/manage/images/btn/btn_update02.gif
+++ base/src/main/webapp/resources/template/manage/images/btn/btn_update02.gif
| Binary file is not shown |
--- base/src/main/webapp/template/manage/images/btn/btn_viewer.gif
+++ base/src/main/webapp/resources/template/manage/images/btn/btn_viewer.gif
| Binary file is not shown |
--- base/src/main/webapp/template/manage/images/btn/btn_word.gif
+++ base/src/main/webapp/resources/template/manage/images/btn/btn_word.gif
| Binary file is not shown |
--- base/src/main/webapp/template/manage/images/btn/btn_write.gif
+++ base/src/main/webapp/resources/template/manage/images/btn/btn_write.gif
| Binary file is not shown |
--- base/src/main/webapp/template/manage/images/btn/btn_x.gif
+++ base/src/main/webapp/resources/template/manage/images/btn/btn_x.gif
| Binary file is not shown |
--- base/src/main/webapp/template/manage/images/btn/btn_zipcode.gif
+++ base/src/main/webapp/resources/template/manage/images/btn/btn_zipcode.gif
| Binary file is not shown |
--- base/src/main/webapp/template/manage/images/btn/code.gif
+++ base/src/main/webapp/resources/template/manage/images/btn/code.gif
| Binary file is not shown |
--- base/src/main/webapp/template/manage/images/btn/construct_n.gif
+++ base/src/main/webapp/resources/template/manage/images/btn/construct_n.gif
| Binary file is not shown |
--- base/src/main/webapp/template/manage/images/btn/construct_on.gif
+++ base/src/main/webapp/resources/template/manage/images/btn/construct_on.gif
| Binary file is not shown |
--- base/src/main/webapp/template/manage/images/btn/del.gif
+++ base/src/main/webapp/resources/template/manage/images/btn/del.gif
| Binary file is not shown |
--- base/src/main/webapp/template/manage/images/btn/drawin.gif
+++ base/src/main/webapp/resources/template/manage/images/btn/drawin.gif
| Binary file is not shown |
--- base/src/main/webapp/template/manage/images/btn/drawin_n.gif
+++ base/src/main/webapp/resources/template/manage/images/btn/drawin_n.gif
| Binary file is not shown |
--- base/src/main/webapp/template/manage/images/btn/edit.gif
+++ base/src/main/webapp/resources/template/manage/images/btn/edit.gif
| Binary file is not shown |
--- base/src/main/webapp/template/manage/images/btn/excel.gif
+++ base/src/main/webapp/resources/template/manage/images/btn/excel.gif
| Binary file is not shown |
--- base/src/main/webapp/template/manage/images/btn/folder_1.gif
+++ base/src/main/webapp/resources/template/manage/images/btn/folder_1.gif
| Binary file is not shown |
--- base/src/main/webapp/template/manage/images/btn/folder_2.gif
+++ base/src/main/webapp/resources/template/manage/images/btn/folder_2.gif
| Binary file is not shown |
--- base/src/main/webapp/template/manage/images/btn/folder_3.gif
+++ base/src/main/webapp/resources/template/manage/images/btn/folder_3.gif
| Binary file is not shown |
--- base/src/main/webapp/template/manage/images/btn/folder_4.gif
+++ base/src/main/webapp/resources/template/manage/images/btn/folder_4.gif
| Binary file is not shown |
--- base/src/main/webapp/template/manage/images/btn/icon_balloon.gif
+++ base/src/main/webapp/resources/template/manage/images/btn/icon_balloon.gif
| Binary file is not shown |
--- base/src/main/webapp/template/manage/images/btn/icon_lock.gif
+++ base/src/main/webapp/resources/template/manage/images/btn/icon_lock.gif
| Binary file is not shown |
--- base/src/main/webapp/template/manage/images/btn/icon_reply.gif
+++ base/src/main/webapp/resources/template/manage/images/btn/icon_reply.gif
| Binary file is not shown |
--- base/src/main/webapp/template/manage/images/btn/result_s.gif
+++ base/src/main/webapp/resources/template/manage/images/btn/result_s.gif
| Binary file is not shown |
--- base/src/main/webapp/template/manage/images/btn/results.gif
+++ base/src/main/webapp/resources/template/manage/images/btn/results.gif
| Binary file is not shown |
--- base/src/main/webapp/template/manage/images/btn/results_n.gif
+++ base/src/main/webapp/resources/template/manage/images/btn/results_n.gif
| Binary file is not shown |
--- base/src/main/webapp/template/manage/images/btn/select_btn.gif
+++ base/src/main/webapp/resources/template/manage/images/btn/select_btn.gif
| Binary file is not shown |
--- base/src/main/webapp/template/manage/images/btn/use_no.gif
+++ base/src/main/webapp/resources/template/manage/images/btn/use_no.gif
| Binary file is not shown |
--- base/src/main/webapp/template/manage/images/btn/use_yes.gif
+++ base/src/main/webapp/resources/template/manage/images/btn/use_yes.gif
| Binary file is not shown |
--- base/src/main/webapp/template/manage/images/btn/xls.gif
+++ base/src/main/webapp/resources/template/manage/images/btn/xls.gif
| Binary file is not shown |
--- base/src/main/webapp/template/manage/images/btn_add_file.gif
+++ base/src/main/webapp/resources/template/manage/images/btn_add_file.gif
| Binary file is not shown |
--- base/src/main/webapp/template/manage/images/btn_close.gif
+++ base/src/main/webapp/resources/template/manage/images/btn_close.gif
| Binary file is not shown |
--- base/src/main/webapp/template/manage/images/btn_copy.gif
+++ base/src/main/webapp/resources/template/manage/images/btn_copy.gif
| Binary file is not shown |
--- base/src/main/webapp/template/manage/images/btn_del_all.gif
+++ base/src/main/webapp/resources/template/manage/images/btn_del_all.gif
| Binary file is not shown |
--- base/src/main/webapp/template/manage/images/btn_images/1dep_btn.gif
+++ base/src/main/webapp/resources/template/manage/images/btn_images/1dep_btn.gif
| Binary file is not shown |
--- base/src/main/webapp/template/manage/images/btn_images/add_btn_1.gif
+++ base/src/main/webapp/resources/template/manage/images/btn_images/add_btn_1.gif
| Binary file is not shown |
--- base/src/main/webapp/template/manage/images/btn_images/add_btn_2.gif
+++ base/src/main/webapp/resources/template/manage/images/btn_images/add_btn_2.gif
| Binary file is not shown |
--- base/src/main/webapp/template/manage/images/btn_images/add_btn_3.gif
+++ base/src/main/webapp/resources/template/manage/images/btn_images/add_btn_3.gif
| Binary file is not shown |
--- base/src/main/webapp/template/manage/images/btn_images/bbs_search_btn.gif
+++ base/src/main/webapp/resources/template/manage/images/btn_images/bbs_search_btn.gif
| Binary file is not shown |
--- base/src/main/webapp/template/manage/images/btn_images/btn_cateadmin.gif
+++ base/src/main/webapp/resources/template/manage/images/btn_images/btn_cateadmin.gif
| Binary file is not shown |
--- base/src/main/webapp/template/manage/images/btn_images/btn_common.png
+++ base/src/main/webapp/resources/template/manage/images/btn_images/btn_common.png
| Binary file is not shown |
--- base/src/main/webapp/template/manage/images/btn_images/btn_godown.gif
+++ base/src/main/webapp/resources/template/manage/images/btn_images/btn_godown.gif
| Binary file is not shown |
--- base/src/main/webapp/template/manage/images/btn_images/btn_goup.gif
+++ base/src/main/webapp/resources/template/manage/images/btn_images/btn_goup.gif
| Binary file is not shown |
--- base/src/main/webapp/template/manage/images/btn_images/btn_item.gif
+++ base/src/main/webapp/resources/template/manage/images/btn_images/btn_item.gif
| Binary file is not shown |
--- base/src/main/webapp/template/manage/images/btn_images/del.gif
+++ base/src/main/webapp/resources/template/manage/images/btn_images/del.gif
| Binary file is not shown |
--- base/src/main/webapp/template/manage/images/btn_images/edit.gif
+++ base/src/main/webapp/resources/template/manage/images/btn_images/edit.gif
| Binary file is not shown |
--- base/src/main/webapp/template/manage/images/btn_images/folder_1.gif
+++ base/src/main/webapp/resources/template/manage/images/btn_images/folder_1.gif
| Binary file is not shown |
--- base/src/main/webapp/template/manage/images/btn_images/folder_2.gif
+++ base/src/main/webapp/resources/template/manage/images/btn_images/folder_2.gif
| Binary file is not shown |
--- base/src/main/webapp/template/manage/images/btn_images/folder_3.gif
+++ base/src/main/webapp/resources/template/manage/images/btn_images/folder_3.gif
| Binary file is not shown |
--- base/src/main/webapp/template/manage/images/btn_images/folder_4.gif
+++ base/src/main/webapp/resources/template/manage/images/btn_images/folder_4.gif
| Binary file is not shown |
--- base/src/main/webapp/template/manage/images/btn_images/marker.gif
+++ base/src/main/webapp/resources/template/manage/images/btn_images/marker.gif
| Binary file is not shown |
--- base/src/main/webapp/template/manage/images/btn_images/screen.gif
+++ base/src/main/webapp/resources/template/manage/images/btn_images/screen.gif
| Binary file is not shown |
--- base/src/main/webapp/template/manage/images/btn_images/use_no.gif
+++ base/src/main/webapp/resources/template/manage/images/btn_images/use_no.gif
| Binary file is not shown |
--- base/src/main/webapp/template/manage/images/btn_images/use_yes.gif
+++ base/src/main/webapp/resources/template/manage/images/btn_images/use_yes.gif
| Binary file is not shown |
--- base/src/main/webapp/template/manage/images/btn_lbg.gif
+++ base/src/main/webapp/resources/template/manage/images/btn_lbg.gif
| Binary file is not shown |
--- base/src/main/webapp/template/manage/images/btn_logout.gif
+++ base/src/main/webapp/resources/template/manage/images/btn_logout.gif
| Binary file is not shown |
--- base/src/main/webapp/template/manage/images/btn_move.gif
+++ base/src/main/webapp/resources/template/manage/images/btn_move.gif
| Binary file is not shown |
--- base/src/main/webapp/template/manage/images/btn_regis.gif
+++ base/src/main/webapp/resources/template/manage/images/btn_regis.gif
| Binary file is not shown |
--- base/src/main/webapp/template/manage/images/btn_repair.gif
+++ base/src/main/webapp/resources/template/manage/images/btn_repair.gif
| Binary file is not shown |
--- base/src/main/webapp/template/manage/images/btn_sbg.gif
+++ base/src/main/webapp/resources/template/manage/images/btn_sbg.gif
| Binary file is not shown |
--- base/src/main/webapp/template/manage/images/btn_sdelete.gif
+++ base/src/main/webapp/resources/template/manage/images/btn_sdelete.gif
| Binary file is not shown |
--- base/src/main/webapp/template/manage/images/bul_1.gif
+++ base/src/main/webapp/resources/template/manage/images/bul_1.gif
| Binary file is not shown |
--- base/src/main/webapp/template/manage/images/calendar/btn_cal.png
+++ base/src/main/webapp/resources/template/manage/images/calendar/btn_cal.png
| Binary file is not shown |
--- base/src/main/webapp/template/manage/images/calendar/pop_tit_bg.png
+++ base/src/main/webapp/resources/template/manage/images/calendar/pop_tit_bg.png
| Binary file is not shown |
--- base/src/main/webapp/template/manage/images/calendar/popbox_close.gif
+++ base/src/main/webapp/resources/template/manage/images/calendar/popbox_close.gif
| Binary file is not shown |
--- base/src/main/webapp/template/manage/images/dd_s.gif
+++ base/src/main/webapp/resources/template/manage/images/dd_s.gif
| Binary file is not shown |
--- base/src/main/webapp/template/manage/images/del.gif
+++ base/src/main/webapp/resources/template/manage/images/del.gif
| Binary file is not shown |
--- base/src/main/webapp/template/manage/images/duplicate.gif
+++ base/src/main/webapp/resources/template/manage/images/duplicate.gif
| Binary file is not shown |
--- base/src/main/webapp/template/manage/images/edit.gif
+++ base/src/main/webapp/resources/template/manage/images/edit.gif
| Binary file is not shown |
--- base/src/main/webapp/template/manage/images/evt/calendar_clos.gif
+++ base/src/main/webapp/resources/template/manage/images/evt/calendar_clos.gif
| Binary file is not shown |
--- base/src/main/webapp/template/manage/images/evt/calendar_end.gif
+++ base/src/main/webapp/resources/template/manage/images/evt/calendar_end.gif
| Binary file is not shown |
--- base/src/main/webapp/template/manage/images/evt/calendar_ing.gif
+++ base/src/main/webapp/resources/template/manage/images/evt/calendar_ing.gif
| Binary file is not shown |
--- base/src/main/webapp/template/manage/images/evt/calendar_ready.gif
+++ base/src/main/webapp/resources/template/manage/images/evt/calendar_ready.gif
| Binary file is not shown |
--- base/src/main/webapp/template/manage/images/evt/calendar_resrve.gif
+++ base/src/main/webapp/resources/template/manage/images/evt/calendar_resrve.gif
| Binary file is not shown |
--- base/src/main/webapp/template/manage/images/evt/construct_on.gif
+++ base/src/main/webapp/resources/template/manage/images/evt/construct_on.gif
| Binary file is not shown |
--- base/src/main/webapp/template/manage/images/evt/drawin.gif
+++ base/src/main/webapp/resources/template/manage/images/evt/drawin.gif
| Binary file is not shown |
--- base/src/main/webapp/template/manage/images/evt/event_defini.gif
+++ base/src/main/webapp/resources/template/manage/images/evt/event_defini.gif
| Binary file is not shown |
--- base/src/main/webapp/template/manage/images/evt/event_ok.gif
+++ base/src/main/webapp/resources/template/manage/images/evt/event_ok.gif
| Binary file is not shown |
--- base/src/main/webapp/template/manage/images/evt/results.gif
+++ base/src/main/webapp/resources/template/manage/images/evt/results.gif
| Binary file is not shown |
--- base/src/main/webapp/template/manage/images/evt/results_on.gif
+++ base/src/main/webapp/resources/template/manage/images/evt/results_on.gif
| Binary file is not shown |
--- base/src/main/webapp/template/manage/images/excel.gif
+++ base/src/main/webapp/resources/template/manage/images/excel.gif
| Binary file is not shown |
--- base/src/main/webapp/template/manage/images/gBtn1_bg.gif
+++ base/src/main/webapp/resources/template/manage/images/gBtn1_bg.gif
| Binary file is not shown |
--- base/src/main/webapp/template/manage/images/gBtn2_bg.gif
+++ base/src/main/webapp/resources/template/manage/images/gBtn2_bg.gif
| Binary file is not shown |
--- base/src/main/webapp/template/manage/images/icoNxt.gif
+++ base/src/main/webapp/resources/template/manage/images/icoNxt.gif
| Binary file is not shown |
--- base/src/main/webapp/template/manage/images/icoPrev.gif
+++ base/src/main/webapp/resources/template/manage/images/icoPrev.gif
| Binary file is not shown |
--- base/src/main/webapp/template/manage/images/ico_file.gif
+++ base/src/main/webapp/resources/template/manage/images/ico_file.gif
| Binary file is not shown |
--- base/src/main/webapp/template/manage/images/icon_arrow.gif
+++ base/src/main/webapp/resources/template/manage/images/icon_arrow.gif
| Binary file is not shown |
--- base/src/main/webapp/template/manage/images/lm_bg.gif
+++ base/src/main/webapp/resources/template/manage/images/lm_bg.gif
| Binary file is not shown |
--- base/src/main/webapp/template/manage/images/lm_line.gif
+++ base/src/main/webapp/resources/template/manage/images/lm_line.gif
| Binary file is not shown |
--- base/src/main/webapp/template/manage/images/login/btn_login.gif
+++ base/src/main/webapp/resources/template/manage/images/login/btn_login.gif
| Binary file is not shown |
--- base/src/main/webapp/template/manage/images/login/copyright.gif
+++ base/src/main/webapp/resources/template/manage/images/login/copyright.gif
| Binary file is not shown |
--- base/src/main/webapp/template/manage/images/login/login_bg.gif
+++ base/src/main/webapp/resources/template/manage/images/login/login_bg.gif
| Binary file is not shown |
--- base/src/main/webapp/template/manage/images/login/top_bg.gif
+++ base/src/main/webapp/resources/template/manage/images/login/top_bg.gif
| Binary file is not shown |
--- base/src/main/webapp/template/manage/images/login/txt_id.gif
+++ base/src/main/webapp/resources/template/manage/images/login/txt_id.gif
| Binary file is not shown |
--- base/src/main/webapp/template/manage/images/login/txt_login.gif
+++ base/src/main/webapp/resources/template/manage/images/login/txt_login.gif
| Binary file is not shown |
--- base/src/main/webapp/template/manage/images/login/txt_pw.gif
+++ base/src/main/webapp/resources/template/manage/images/login/txt_pw.gif
| Binary file is not shown |
--- base/src/main/webapp/template/manage/images/login/txt_welcom.gif
+++ base/src/main/webapp/resources/template/manage/images/login/txt_welcom.gif
| Binary file is not shown |
--- base/src/main/webapp/template/manage/images/logo_admin.gif
+++ base/src/main/webapp/resources/template/manage/images/logo_admin.gif
| Binary file is not shown |
--- base/src/main/webapp/template/manage/images/logo_cyber.gif
+++ base/src/main/webapp/resources/template/manage/images/logo_cyber.gif
| Binary file is not shown |
--- base/src/main/webapp/template/manage/images/multi_btn.gif
+++ base/src/main/webapp/resources/template/manage/images/multi_btn.gif
| Binary file is not shown |
--- base/src/main/webapp/template/manage/images/search_bg.gif
+++ base/src/main/webapp/resources/template/manage/images/search_bg.gif
| Binary file is not shown |
--- base/src/main/webapp/template/manage/images/search_btn.gif
+++ base/src/main/webapp/resources/template/manage/images/search_btn.gif
| Binary file is not shown |
--- base/src/main/webapp/template/manage/images/sms/btn_choice.gif
+++ base/src/main/webapp/resources/template/manage/images/sms/btn_choice.gif
| Binary file is not shown |
--- base/src/main/webapp/template/manage/images/sms/btn_creation.gif
+++ base/src/main/webapp/resources/template/manage/images/sms/btn_creation.gif
| Binary file is not shown |
--- base/src/main/webapp/template/manage/images/sms/btn_del.gif
+++ base/src/main/webapp/resources/template/manage/images/sms/btn_del.gif
| Binary file is not shown |
--- base/src/main/webapp/template/manage/images/sms/btn_del_all.gif
+++ base/src/main/webapp/resources/template/manage/images/sms/btn_del_all.gif
| Binary file is not shown |
--- base/src/main/webapp/template/manage/images/sms/btn_del_sel.gif
+++ base/src/main/webapp/resources/template/manage/images/sms/btn_del_sel.gif
| Binary file is not shown |
--- base/src/main/webapp/template/manage/images/sms/btn_group_send.gif
+++ base/src/main/webapp/resources/template/manage/images/sms/btn_group_send.gif
| Binary file is not shown |
--- base/src/main/webapp/template/manage/images/sms/btn_mailmg.gif
+++ base/src/main/webapp/resources/template/manage/images/sms/btn_mailmg.gif
| Binary file is not shown |
--- base/src/main/webapp/template/manage/images/sms/btn_preview.gif
+++ base/src/main/webapp/resources/template/manage/images/sms/btn_preview.gif
| Binary file is not shown |
--- base/src/main/webapp/template/manage/images/sms/btn_reply_no.gif
+++ base/src/main/webapp/resources/template/manage/images/sms/btn_reply_no.gif
| Binary file is not shown |
--- base/src/main/webapp/template/manage/images/sms/btn_res.gif
+++ base/src/main/webapp/resources/template/manage/images/sms/btn_res.gif
| Binary file is not shown |
--- base/src/main/webapp/template/manage/images/sms/btn_send.gif
+++ base/src/main/webapp/resources/template/manage/images/sms/btn_send.gif
| Binary file is not shown |
--- base/src/main/webapp/template/manage/images/sms/btn_sms_adr.gif
+++ base/src/main/webapp/resources/template/manage/images/sms/btn_sms_adr.gif
| Binary file is not shown |
--- base/src/main/webapp/template/manage/images/sms/phone_bg.jpg
+++ base/src/main/webapp/resources/template/manage/images/sms/phone_bg.jpg
| Binary file is not shown |
--- base/src/main/webapp/template/manage/images/sms/sms_btn_02.gif
+++ base/src/main/webapp/resources/template/manage/images/sms/sms_btn_02.gif
| Binary file is not shown |
--- base/src/main/webapp/template/manage/images/sms/sms_btn_03.gif
+++ base/src/main/webapp/resources/template/manage/images/sms/sms_btn_03.gif
| Binary file is not shown |
--- base/src/main/webapp/template/manage/images/sms/sms_del.gif
+++ base/src/main/webapp/resources/template/manage/images/sms/sms_del.gif
| Binary file is not shown |
--- base/src/main/webapp/template/manage/images/sms/sms_number_01.gif
+++ base/src/main/webapp/resources/template/manage/images/sms/sms_number_01.gif
| Binary file is not shown |
--- base/src/main/webapp/template/manage/images/sms/sms_number_02.gif
+++ base/src/main/webapp/resources/template/manage/images/sms/sms_number_02.gif
| Binary file is not shown |
--- base/src/main/webapp/template/manage/images/sms/sms_send.gif
+++ base/src/main/webapp/resources/template/manage/images/sms/sms_send.gif
| Binary file is not shown |
--- base/src/main/webapp/template/manage/images/sms/sms_send01.gif
+++ base/src/main/webapp/resources/template/manage/images/sms/sms_send01.gif
| Binary file is not shown |
--- base/src/main/webapp/template/manage/images/sms/sms_send02.gif
+++ base/src/main/webapp/resources/template/manage/images/sms/sms_send02.gif
| Binary file is not shown |
--- base/src/main/webapp/template/manage/images/subjec_btn.gif
+++ base/src/main/webapp/resources/template/manage/images/subjec_btn.gif
| Binary file is not shown |
--- base/src/main/webapp/template/manage/images/tab_over.gif
+++ base/src/main/webapp/resources/template/manage/images/tab_over.gif
| Binary file is not shown |
--- base/src/main/webapp/template/manage/images/ti_bg.gif
+++ base/src/main/webapp/resources/template/manage/images/ti_bg.gif
| Binary file is not shown |
--- base/src/main/webapp/template/manage/images/tm_now.gif
+++ base/src/main/webapp/resources/template/manage/images/tm_now.gif
| Binary file is not shown |
--- base/src/main/webapp/template/manage/images/tm_ov.gif
+++ base/src/main/webapp/resources/template/manage/images/tm_ov.gif
| Binary file is not shown |
--- base/src/main/webapp/template/manage/js/select_design.js
+++ base/src/main/webapp/resources/template/manage/js/select_design.js
| This diff is skipped because there are too many other diffs. |
--- base/src/main/webapp/template/member/css/login.css
+++ base/src/main/webapp/resources/template/member/css/login.css
| This diff is skipped because there are too many other diffs. |
--- base/src/main/webapp/template/member/images/login/address_bg.png
+++ base/src/main/webapp/resources/template/member/images/login/address_bg.png
| Binary file is not shown |
--- base/src/main/webapp/template/member/images/login/address_tit_bg.png
+++ base/src/main/webapp/resources/template/member/images/login/address_tit_bg.png
| Binary file is not shown |
--- base/src/main/webapp/template/member/images/login/bg_agree.gif
+++ base/src/main/webapp/resources/template/member/images/login/bg_agree.gif
| Binary file is not shown |
--- base/src/main/webapp/template/member/images/login/bg_btn.gif
+++ base/src/main/webapp/resources/template/member/images/login/bg_btn.gif
| Binary file is not shown |
--- base/src/main/webapp/template/member/images/login/bg_find_x.gif
+++ base/src/main/webapp/resources/template/member/images/login/bg_find_x.gif
| Binary file is not shown |
--- base/src/main/webapp/template/member/images/login/bg_html.gif
+++ base/src/main/webapp/resources/template/member/images/login/bg_html.gif
| Binary file is not shown |
--- base/src/main/webapp/template/member/images/login/bg_id3_x.gif
+++ base/src/main/webapp/resources/template/member/images/login/bg_id3_x.gif
| Binary file is not shown |
--- base/src/main/webapp/template/member/images/login/bg_id_x.gif
+++ base/src/main/webapp/resources/template/member/images/login/bg_id_x.gif
| Binary file is not shown |
--- base/src/main/webapp/template/member/images/login/bg_join.gif
+++ base/src/main/webapp/resources/template/member/images/login/bg_join.gif
| Binary file is not shown |
--- base/src/main/webapp/template/member/images/login/bg_login_body.jpg
+++ base/src/main/webapp/resources/template/member/images/login/bg_login_body.jpg
| Binary file is not shown |
--- base/src/main/webapp/template/member/images/login/bg_login_x.gif
+++ base/src/main/webapp/resources/template/member/images/login/bg_login_x.gif
| Binary file is not shown |
--- base/src/main/webapp/template/member/images/login/bg_pw_re_x.gif
+++ base/src/main/webapp/resources/template/member/images/login/bg_pw_re_x.gif
| Binary file is not shown |
--- base/src/main/webapp/template/member/images/login/bg_y.gif
+++ base/src/main/webapp/resources/template/member/images/login/bg_y.gif
| Binary file is not shown |
--- base/src/main/webapp/template/member/images/login/btn_address_close.png
+++ base/src/main/webapp/resources/template/member/images/login/btn_address_close.png
| Binary file is not shown |
--- base/src/main/webapp/template/member/images/login/btn_confirm.gif
+++ base/src/main/webapp/resources/template/member/images/login/btn_confirm.gif
| Binary file is not shown |
--- base/src/main/webapp/template/member/images/login/btn_find.gif
+++ base/src/main/webapp/resources/template/member/images/login/btn_find.gif
| Binary file is not shown |
--- base/src/main/webapp/template/member/images/login/btn_join.gif
+++ base/src/main/webapp/resources/template/member/images/login/btn_join.gif
| Binary file is not shown |
--- base/src/main/webapp/template/member/images/login/btn_login.gif
+++ base/src/main/webapp/resources/template/member/images/login/btn_login.gif
| Binary file is not shown |
--- base/src/main/webapp/template/member/images/login/btn_use.gif
+++ base/src/main/webapp/resources/template/member/images/login/btn_use.gif
| Binary file is not shown |
--- base/src/main/webapp/template/member/images/login/change_tit.gif
+++ base/src/main/webapp/resources/template/member/images/login/change_tit.gif
| Binary file is not shown |
--- base/src/main/webapp/template/member/images/login/dot.gif
+++ base/src/main/webapp/resources/template/member/images/login/dot.gif
| Binary file is not shown |
--- base/src/main/webapp/template/member/images/login/id_che2_bg.gif
+++ base/src/main/webapp/resources/template/member/images/login/id_che2_bg.gif
| Binary file is not shown |
--- base/src/main/webapp/template/member/images/login/join_bg.gif
+++ base/src/main/webapp/resources/template/member/images/login/join_bg.gif
| Binary file is not shown |
--- base/src/main/webapp/template/member/images/login/join_btn01.png
+++ base/src/main/webapp/resources/template/member/images/login/join_btn01.png
| Binary file is not shown |
--- base/src/main/webapp/template/member/images/login/join_btn02.png
+++ base/src/main/webapp/resources/template/member/images/login/join_btn02.png
| Binary file is not shown |
--- base/src/main/webapp/template/member/images/login/join_btn03.png
+++ base/src/main/webapp/resources/template/member/images/login/join_btn03.png
| Binary file is not shown |
--- base/src/main/webapp/template/member/images/login/join_btn04.png
+++ base/src/main/webapp/resources/template/member/images/login/join_btn04.png
| Binary file is not shown |
--- base/src/main/webapp/template/member/images/login/join_end.gif
+++ base/src/main/webapp/resources/template/member/images/login/join_end.gif
| Binary file is not shown |
--- base/src/main/webapp/template/member/images/login/join_step01.gif
+++ base/src/main/webapp/resources/template/member/images/login/join_step01.gif
| Binary file is not shown |
--- base/src/main/webapp/template/member/images/login/join_step02.gif
+++ base/src/main/webapp/resources/template/member/images/login/join_step02.gif
| Binary file is not shown |
--- base/src/main/webapp/template/member/images/login/join_step03.gif
+++ base/src/main/webapp/resources/template/member/images/login/join_step03.gif
| Binary file is not shown |
--- base/src/main/webapp/template/member/images/login/join_step04.gif
+++ base/src/main/webapp/resources/template/member/images/login/join_step04.gif
| Binary file is not shown |
--- base/src/main/webapp/template/member/images/login/login_txt.gif
+++ base/src/main/webapp/resources/template/member/images/login/login_txt.gif
| Binary file is not shown |
--- base/src/main/webapp/template/member/images/login/logo.png
+++ base/src/main/webapp/resources/template/member/images/login/logo.png
| Binary file is not shown |
--- base/src/main/webapp/template/member/images/login/mb_tit.gif
+++ base/src/main/webapp/resources/template/member/images/login/mb_tit.gif
| Binary file is not shown |
--- base/src/main/webapp/template/member/images/login/secede_tit.gif
+++ base/src/main/webapp/resources/template/member/images/login/secede_tit.gif
| Binary file is not shown |
--- base/src/main/webapp/template/member/images/login/tit_admin.gif
+++ base/src/main/webapp/resources/template/member/images/login/tit_admin.gif
| Binary file is not shown |
--- base/src/main/webapp/template/member/images/login/tit_find_id.gif
+++ base/src/main/webapp/resources/template/member/images/login/tit_find_id.gif
| Binary file is not shown |
--- base/src/main/webapp/template/member/images/login/tit_find_id02.gif
+++ base/src/main/webapp/resources/template/member/images/login/tit_find_id02.gif
| Binary file is not shown |
--- base/src/main/webapp/template/member/images/login/tit_id.gif
+++ base/src/main/webapp/resources/template/member/images/login/tit_id.gif
| Binary file is not shown |
--- base/src/main/webapp/template/member/images/login/tit_pw_re.gif
+++ base/src/main/webapp/resources/template/member/images/login/tit_pw_re.gif
| Binary file is not shown |
--- base/src/main/webapp/template/member/images/login/txt_id.gif
+++ base/src/main/webapp/resources/template/member/images/login/txt_id.gif
| Binary file is not shown |
--- base/src/main/webapp/template/member/images/login/txt_pwd.gif
+++ base/src/main/webapp/resources/template/member/images/login/txt_pwd.gif
| Binary file is not shown |
--- base/src/main/webapp/template/member/images/login/txt_smart.gif
+++ base/src/main/webapp/resources/template/member/images/login/txt_smart.gif
| Binary file is not shown |
--- base/src/main/webapp/template/web/smart_001/css/board.css
+++ base/src/main/webapp/resources/template/web/smart_001/css/board.css
| This diff is skipped because there are too many other diffs. |
--- base/src/main/webapp/template/web/smart_001/css/common.css
+++ base/src/main/webapp/resources/template/web/smart_001/css/common.css
| This diff is skipped because there are too many other diffs. |
--- base/src/main/webapp/template/web/smart_001/css/contents.css
+++ base/src/main/webapp/resources/template/web/smart_001/css/contents.css
| This diff is skipped because there are too many other diffs. |
--- base/src/main/webapp/template/web/smart_001/css/contents2.css
+++ base/src/main/webapp/resources/template/web/smart_001/css/contents2.css
| This diff is skipped because there are too many other diffs. |
--- base/src/main/webapp/template/web/smart_001/css/default.css
+++ base/src/main/webapp/resources/template/web/smart_001/css/default.css
| This diff is skipped because there are too many other diffs. |
--- base/src/main/webapp/template/web/smart_001/css/layout.css
+++ base/src/main/webapp/resources/template/web/smart_001/css/layout.css
| This diff is skipped because there are too many other diffs. |
--- base/src/main/webapp/template/web/smart_001/css/styles.css
+++ base/src/main/webapp/resources/template/web/smart_001/css/styles.css
| This diff is skipped because there are too many other diffs. |
--- base/src/main/webapp/template/web/smart_001/image/common/plist_bottom.gif
+++ base/src/main/webapp/resources/template/web/smart_001/image/common/plist_bottom.gif
| Binary file is not shown |
--- base/src/main/webapp/template/web/smart_001/image/common/plist_bul.gif
+++ base/src/main/webapp/resources/template/web/smart_001/image/common/plist_bul.gif
| Binary file is not shown |
--- base/src/main/webapp/template/web/smart_001/image/common/plist_center_bg.gif
+++ base/src/main/webapp/resources/template/web/smart_001/image/common/plist_center_bg.gif
| Binary file is not shown |
--- base/src/main/webapp/template/web/smart_001/image/common/plist_top.gif
+++ base/src/main/webapp/resources/template/web/smart_001/image/common/plist_top.gif
| Binary file is not shown |
--- base/src/main/webapp/template/web/smart_001/image/common/popbox_close.gif
+++ base/src/main/webapp/resources/template/web/smart_001/image/common/popbox_close.gif
| Binary file is not shown |
--- base/src/main/webapp/template/web/smart_001/image/common/popbox_mainbg.gif
+++ base/src/main/webapp/resources/template/web/smart_001/image/common/popbox_mainbg.gif
| Binary file is not shown |
--- base/src/main/webapp/template/web/smart_001/image/common/popbox_maintitle.gif
+++ base/src/main/webapp/resources/template/web/smart_001/image/common/popbox_maintitle.gif
| Binary file is not shown |
--- base/src/main/webapp/template/web/smart_001/image/common/popbox_topbg.gif
+++ base/src/main/webapp/resources/template/web/smart_001/image/common/popbox_topbg.gif
| Binary file is not shown |
--- base/src/main/webapp/template/web/smart_001/image/common/popup2_bg.gif
+++ base/src/main/webapp/resources/template/web/smart_001/image/common/popup2_bg.gif
| Binary file is not shown |
--- base/src/main/webapp/template/web/smart_001/image/common/popup2_url_bg_bottom.png
+++ base/src/main/webapp/resources/template/web/smart_001/image/common/popup2_url_bg_bottom.png
| Binary file is not shown |
--- base/src/main/webapp/template/web/smart_001/image/common/popup2_url_bg_top.png
+++ base/src/main/webapp/resources/template/web/smart_001/image/common/popup2_url_bg_top.png
| Binary file is not shown |
--- base/src/main/webapp/template/web/smart_001/image/common/popup_bg.gif
+++ base/src/main/webapp/resources/template/web/smart_001/image/common/popup_bg.gif
| Binary file is not shown |
--- base/src/main/webapp/template/web/smart_001/image/common/popup_top.gif
+++ base/src/main/webapp/resources/template/web/smart_001/image/common/popup_top.gif
| Binary file is not shown |
--- base/src/main/webapp/template/web/smart_001/image/common/popup_top.png
+++ base/src/main/webapp/resources/template/web/smart_001/image/common/popup_top.png
| Binary file is not shown |
--- base/src/main/webapp/template/web/smart_001/image/common/popuptem_400_bg.jpg
+++ base/src/main/webapp/resources/template/web/smart_001/image/common/popuptem_400_bg.jpg
| Binary file is not shown |
--- base/src/main/webapp/template/web/smart_001/image/common/popuptem_400_img.jpg
+++ base/src/main/webapp/resources/template/web/smart_001/image/common/popuptem_400_img.jpg
| Binary file is not shown |
--- base/src/main/webapp/template/web/smart_001/image/common/popuptem_445_bg.jpg
+++ base/src/main/webapp/resources/template/web/smart_001/image/common/popuptem_445_bg.jpg
| Binary file is not shown |
--- base/src/main/webapp/template/web/smart_001/image/common/popuptem_445_img.jpg
+++ base/src/main/webapp/resources/template/web/smart_001/image/common/popuptem_445_img.jpg
| Binary file is not shown |
--- base/src/main/webapp/template/web/smart_001/image/common/popuptem_450_bg.jpg
+++ base/src/main/webapp/resources/template/web/smart_001/image/common/popuptem_450_bg.jpg
| Binary file is not shown |
--- base/src/main/webapp/template/web/smart_001/image/common/popuptem_450_bg1.jpg
+++ base/src/main/webapp/resources/template/web/smart_001/image/common/popuptem_450_bg1.jpg
| Binary file is not shown |
--- base/src/main/webapp/template/web/smart_001/image/common/popuptem_450_pencil.png
+++ base/src/main/webapp/resources/template/web/smart_001/image/common/popuptem_450_pencil.png
| Binary file is not shown |
--- base/src/main/webapp/template/web/smart_001/image/common/popuptem_530_bg.jpg
+++ base/src/main/webapp/resources/template/web/smart_001/image/common/popuptem_530_bg.jpg
| Binary file is not shown |
--- base/src/main/webapp/template/web/smart_001/image/common/popuptem_530_img.jpg
+++ base/src/main/webapp/resources/template/web/smart_001/image/common/popuptem_530_img.jpg
| Binary file is not shown |
--- base/src/main/webapp/template/web/smart_001/image/m1/down_btn.gif
+++ base/src/main/webapp/resources/template/web/smart_001/image/m1/down_btn.gif
| Binary file is not shown |
--- base/src/main/webapp/template/web/smart_001/image/m1/gre.jpg
+++ base/src/main/webapp/resources/template/web/smart_001/image/m1/gre.jpg
| Binary file is not shown |
--- base/src/main/webapp/template/web/smart_001/image/m1/guidelines_for_applicants.hwp
+++ base/src/main/webapp/resources/template/web/smart_001/image/m1/guidelines_for_applicants.hwp
| Binary file is not shown |
--- base/src/main/webapp/template/web/smart_001/image/m1/his.jpg
+++ base/src/main/webapp/resources/template/web/smart_001/image/m1/his.jpg
| Binary file is not shown |
--- base/src/main/webapp/template/web/smart_001/image/m1/in.jpg
+++ base/src/main/webapp/resources/template/web/smart_001/image/m1/in.jpg
| Binary file is not shown |
--- base/src/main/webapp/template/web/smart_001/image/m1/m1_03_01.gif
+++ base/src/main/webapp/resources/template/web/smart_001/image/m1/m1_03_01.gif
| Binary file is not shown |
--- base/src/main/webapp/template/web/smart_001/image/m1/m1_03_02.gif
+++ base/src/main/webapp/resources/template/web/smart_001/image/m1/m1_03_02.gif
| Binary file is not shown |
--- base/src/main/webapp/template/web/smart_001/image/m1/m1_03_03.gif
+++ base/src/main/webapp/resources/template/web/smart_001/image/m1/m1_03_03.gif
| Binary file is not shown |
--- base/src/main/webapp/template/web/smart_001/image/m1/m1_03_04.gif
+++ base/src/main/webapp/resources/template/web/smart_001/image/m1/m1_03_04.gif
| Binary file is not shown |
--- base/src/main/webapp/template/web/smart_001/image/m1/m1_05_01.gif
+++ base/src/main/webapp/resources/template/web/smart_001/image/m1/m1_05_01.gif
| Binary file is not shown |
--- base/src/main/webapp/template/web/smart_001/image/m1/m1_05_02.gif
+++ base/src/main/webapp/resources/template/web/smart_001/image/m1/m1_05_02.gif
| Binary file is not shown |
--- base/src/main/webapp/template/web/smart_001/image/m1/m1_05_03.gif
+++ base/src/main/webapp/resources/template/web/smart_001/image/m1/m1_05_03.gif
| Binary file is not shown |
--- base/src/main/webapp/template/web/smart_001/image/m1/map.jpg
+++ base/src/main/webapp/resources/template/web/smart_001/image/m1/map.jpg
| Binary file is not shown |
--- base/src/main/webapp/template/web/smart_001/image/m1/s_01.jpg
+++ base/src/main/webapp/resources/template/web/smart_001/image/m1/s_01.jpg
| Binary file is not shown |
--- base/src/main/webapp/template/web/smart_001/image/m1/s_02.jpg
+++ base/src/main/webapp/resources/template/web/smart_001/image/m1/s_02.jpg
| Binary file is not shown |
--- base/src/main/webapp/template/web/smart_001/image/m1/sys.jpg
+++ base/src/main/webapp/resources/template/web/smart_001/image/m1/sys.jpg
| Binary file is not shown |
--- base/src/main/webapp/template/web/smart_001/image/m4/m4_01_01.gif
+++ base/src/main/webapp/resources/template/web/smart_001/image/m4/m4_01_01.gif
| Binary file is not shown |
--- base/src/main/webapp/template/web/smart_001/image/m4/m4_01_03.gif
+++ base/src/main/webapp/resources/template/web/smart_001/image/m4/m4_01_03.gif
| Binary file is not shown |
--- base/src/main/webapp/template/web/smart_001/image/m4/m4_02_03.gif
+++ base/src/main/webapp/resources/template/web/smart_001/image/m4/m4_02_03.gif
| Binary file is not shown |
--- base/src/main/webapp/template/web/smart_001/image/m4/m4_03_01.gif
+++ base/src/main/webapp/resources/template/web/smart_001/image/m4/m4_03_01.gif
| Binary file is not shown |
--- base/src/main/webapp/template/web/smart_001/image/m4/m4_03_02.gif
+++ base/src/main/webapp/resources/template/web/smart_001/image/m4/m4_03_02.gif
| Binary file is not shown |
--- base/src/main/webapp/template/web/smart_001/image/m4/m4_05_01.gif
+++ base/src/main/webapp/resources/template/web/smart_001/image/m4/m4_05_01.gif
| Binary file is not shown |
--- base/src/main/webapp/template/web/smart_001/image/m4/m4_05_02.gif
+++ base/src/main/webapp/resources/template/web/smart_001/image/m4/m4_05_02.gif
| Binary file is not shown |
--- base/src/main/webapp/template/web/smart_001/image/main/all_bg.jpg
+++ base/src/main/webapp/resources/template/web/smart_001/image/main/all_bg.jpg
| Binary file is not shown |
--- base/src/main/webapp/template/web/smart_001/image/main/bottom_bar.gif
+++ base/src/main/webapp/resources/template/web/smart_001/image/main/bottom_bar.gif
| Binary file is not shown |
--- base/src/main/webapp/template/web/smart_001/image/main/bottom_bar.jpg
+++ base/src/main/webapp/resources/template/web/smart_001/image/main/bottom_bar.jpg
| Binary file is not shown |
--- base/src/main/webapp/template/web/smart_001/image/main/box_bottom.png
+++ base/src/main/webapp/resources/template/web/smart_001/image/main/box_bottom.png
| Binary file is not shown |
--- base/src/main/webapp/template/web/smart_001/image/main/box_bottom1.png
+++ base/src/main/webapp/resources/template/web/smart_001/image/main/box_bottom1.png
| Binary file is not shown |
--- base/src/main/webapp/template/web/smart_001/image/main/box_bottom2.png
+++ base/src/main/webapp/resources/template/web/smart_001/image/main/box_bottom2.png
| Binary file is not shown |
--- base/src/main/webapp/template/web/smart_001/image/main/box_bottom3.png
+++ base/src/main/webapp/resources/template/web/smart_001/image/main/box_bottom3.png
| Binary file is not shown |
--- base/src/main/webapp/template/web/smart_001/image/main/box_bottom4.png
+++ base/src/main/webapp/resources/template/web/smart_001/image/main/box_bottom4.png
| Binary file is not shown |
--- base/src/main/webapp/template/web/smart_001/image/main/box_top.jpg
+++ base/src/main/webapp/resources/template/web/smart_001/image/main/box_top.jpg
| Binary file is not shown |
--- base/src/main/webapp/template/web/smart_001/image/main/box_top.png
+++ base/src/main/webapp/resources/template/web/smart_001/image/main/box_top.png
| Binary file is not shown |
--- base/src/main/webapp/template/web/smart_001/image/main/box_top1.png
+++ base/src/main/webapp/resources/template/web/smart_001/image/main/box_top1.png
| Binary file is not shown |
--- base/src/main/webapp/template/web/smart_001/image/main/box_top2.png
+++ base/src/main/webapp/resources/template/web/smart_001/image/main/box_top2.png
| Binary file is not shown |
--- base/src/main/webapp/template/web/smart_001/image/main/box_top3.png
+++ base/src/main/webapp/resources/template/web/smart_001/image/main/box_top3.png
| Binary file is not shown |
--- base/src/main/webapp/template/web/smart_001/image/main/box_top4.png
+++ base/src/main/webapp/resources/template/web/smart_001/image/main/box_top4.png
| Binary file is not shown |
--- base/src/main/webapp/template/web/smart_001/image/main/btn_logout.gif
+++ base/src/main/webapp/resources/template/web/smart_001/image/main/btn_logout.gif
| Binary file is not shown |
--- base/src/main/webapp/template/web/smart_001/image/main/customer_bg.png
+++ base/src/main/webapp/resources/template/web/smart_001/image/main/customer_bg.png
| Binary file is not shown |
--- base/src/main/webapp/template/web/smart_001/image/main/customer_title.gif
+++ base/src/main/webapp/resources/template/web/smart_001/image/main/customer_title.gif
| Binary file is not shown |
--- base/src/main/webapp/template/web/smart_001/image/main/h3_ti.jpg
+++ base/src/main/webapp/resources/template/web/smart_001/image/main/h3_ti.jpg
| Binary file is not shown |
--- base/src/main/webapp/template/web/smart_001/image/main/h3_ti.png
+++ base/src/main/webapp/resources/template/web/smart_001/image/main/h3_ti.png
| Binary file is not shown |
--- base/src/main/webapp/template/web/smart_001/image/main/h3_ti01.jpg
+++ base/src/main/webapp/resources/template/web/smart_001/image/main/h3_ti01.jpg
| Binary file is not shown |
--- base/src/main/webapp/template/web/smart_001/image/main/h3_ti01.png
+++ base/src/main/webapp/resources/template/web/smart_001/image/main/h3_ti01.png
| Binary file is not shown |
--- base/src/main/webapp/template/web/smart_001/image/main/h3_ti02.jpg
+++ base/src/main/webapp/resources/template/web/smart_001/image/main/h3_ti02.jpg
| Binary file is not shown |
--- base/src/main/webapp/template/web/smart_001/image/main/h3_ti02.png
+++ base/src/main/webapp/resources/template/web/smart_001/image/main/h3_ti02.png
| Binary file is not shown |
--- base/src/main/webapp/template/web/smart_001/image/main/icon_01.png
+++ base/src/main/webapp/resources/template/web/smart_001/image/main/icon_01.png
| Binary file is not shown |
--- base/src/main/webapp/template/web/smart_001/image/main/icon_02.png
+++ base/src/main/webapp/resources/template/web/smart_001/image/main/icon_02.png
| Binary file is not shown |
--- base/src/main/webapp/template/web/smart_001/image/main/icon_03.png
+++ base/src/main/webapp/resources/template/web/smart_001/image/main/icon_03.png
| Binary file is not shown |
--- base/src/main/webapp/template/web/smart_001/image/main/icon_04.png
+++ base/src/main/webapp/resources/template/web/smart_001/image/main/icon_04.png
| Binary file is not shown |
--- base/src/main/webapp/template/web/smart_001/image/main/icon_05.png
+++ base/src/main/webapp/resources/template/web/smart_001/image/main/icon_05.png
| Binary file is not shown |
--- base/src/main/webapp/template/web/smart_001/image/main/icon_06.png
+++ base/src/main/webapp/resources/template/web/smart_001/image/main/icon_06.png
| Binary file is not shown |
--- base/src/main/webapp/template/web/smart_001/image/main/icon_07.png
+++ base/src/main/webapp/resources/template/web/smart_001/image/main/icon_07.png
| Binary file is not shown |
--- base/src/main/webapp/template/web/smart_001/image/main/icon_08.png
+++ base/src/main/webapp/resources/template/web/smart_001/image/main/icon_08.png
| Binary file is not shown |
--- base/src/main/webapp/template/web/smart_001/image/main/icon_09.png
+++ base/src/main/webapp/resources/template/web/smart_001/image/main/icon_09.png
| Binary file is not shown |
--- base/src/main/webapp/template/web/smart_001/image/main/icon_10.png
+++ base/src/main/webapp/resources/template/web/smart_001/image/main/icon_10.png
| Binary file is not shown |
--- base/src/main/webapp/template/web/smart_001/image/main/icon_11.png
+++ base/src/main/webapp/resources/template/web/smart_001/image/main/icon_11.png
| Binary file is not shown |
--- base/src/main/webapp/template/web/smart_001/image/main/icon_12.png
+++ base/src/main/webapp/resources/template/web/smart_001/image/main/icon_12.png
| Binary file is not shown |
--- base/src/main/webapp/template/web/smart_001/image/main/icon_13.png
+++ base/src/main/webapp/resources/template/web/smart_001/image/main/icon_13.png
| Binary file is not shown |
--- base/src/main/webapp/template/web/smart_001/image/main/icon_14.png
+++ base/src/main/webapp/resources/template/web/smart_001/image/main/icon_14.png
| Binary file is not shown |
--- base/src/main/webapp/template/web/smart_001/image/main/icon_15.png
+++ base/src/main/webapp/resources/template/web/smart_001/image/main/icon_15.png
| Binary file is not shown |
--- base/src/main/webapp/template/web/smart_001/image/main/icon_16.png
+++ base/src/main/webapp/resources/template/web/smart_001/image/main/icon_16.png
| Binary file is not shown |
--- base/src/main/webapp/template/web/smart_001/image/main/icon_17.png
+++ base/src/main/webapp/resources/template/web/smart_001/image/main/icon_17.png
| Binary file is not shown |
--- base/src/main/webapp/template/web/smart_001/image/main/icon_18.png
+++ base/src/main/webapp/resources/template/web/smart_001/image/main/icon_18.png
| Binary file is not shown |
--- base/src/main/webapp/template/web/smart_001/image/main/icon_18_1.png
+++ base/src/main/webapp/resources/template/web/smart_001/image/main/icon_18_1.png
| Binary file is not shown |
--- base/src/main/webapp/template/web/smart_001/image/main/icon_19.png
+++ base/src/main/webapp/resources/template/web/smart_001/image/main/icon_19.png
| Binary file is not shown |
--- base/src/main/webapp/template/web/smart_001/image/main/icon_20.png
+++ base/src/main/webapp/resources/template/web/smart_001/image/main/icon_20.png
| Binary file is not shown |
--- base/src/main/webapp/template/web/smart_001/image/main/icon_21.png
+++ base/src/main/webapp/resources/template/web/smart_001/image/main/icon_21.png
| Binary file is not shown |
--- base/src/main/webapp/template/web/smart_001/image/main/icon_22.png
+++ base/src/main/webapp/resources/template/web/smart_001/image/main/icon_22.png
| Binary file is not shown |
--- base/src/main/webapp/template/web/smart_001/image/main/iocn.jpg
+++ base/src/main/webapp/resources/template/web/smart_001/image/main/iocn.jpg
| Binary file is not shown |
--- base/src/main/webapp/template/web/smart_001/image/main/left_arrow.png
+++ base/src/main/webapp/resources/template/web/smart_001/image/main/left_arrow.png
| Binary file is not shown |
--- base/src/main/webapp/template/web/smart_001/image/main/logo.png
+++ base/src/main/webapp/resources/template/web/smart_001/image/main/logo.png
| Binary file is not shown |
--- base/src/main/webapp/template/web/smart_001/image/main/more1.jpg
+++ base/src/main/webapp/resources/template/web/smart_001/image/main/more1.jpg
| Binary file is not shown |
--- base/src/main/webapp/template/web/smart_001/image/main/notice_box.png
+++ base/src/main/webapp/resources/template/web/smart_001/image/main/notice_box.png
| Binary file is not shown |
--- base/src/main/webapp/template/web/smart_001/image/main/notice_box1.png
+++ base/src/main/webapp/resources/template/web/smart_001/image/main/notice_box1.png
| Binary file is not shown |
--- base/src/main/webapp/template/web/smart_001/image/main/right_arrow.png
+++ base/src/main/webapp/resources/template/web/smart_001/image/main/right_arrow.png
| Binary file is not shown |
--- base/src/main/webapp/template/web/smart_001/image/main/sample_photo.jpg
+++ base/src/main/webapp/resources/template/web/smart_001/image/main/sample_photo.jpg
| Binary file is not shown |
--- base/src/main/webapp/template/web/smart_001/image/main/search_bg.jpg
+++ base/src/main/webapp/resources/template/web/smart_001/image/main/search_bg.jpg
| Binary file is not shown |
--- base/src/main/webapp/template/web/smart_001/image/main/search_bg.png
+++ base/src/main/webapp/resources/template/web/smart_001/image/main/search_bg.png
| Binary file is not shown |
--- base/src/main/webapp/template/web/smart_001/image/main/search_icon.png
+++ base/src/main/webapp/resources/template/web/smart_001/image/main/search_icon.png
| Binary file is not shown |
--- base/src/main/webapp/template/web/smart_001/image/main/ti_left.png
+++ base/src/main/webapp/resources/template/web/smart_001/image/main/ti_left.png
| Binary file is not shown |
--- base/src/main/webapp/template/web/smart_001/image/main/ti_right.png
+++ base/src/main/webapp/resources/template/web/smart_001/image/main/ti_right.png
| Binary file is not shown |
--- base/src/main/webapp/template/web/smart_001/image/main/top_bg.jpg
+++ base/src/main/webapp/resources/template/web/smart_001/image/main/top_bg.jpg
| Binary file is not shown |
--- base/src/main/webapp/template/web/smart_001/image/sub/all_box_bg.png
+++ base/src/main/webapp/resources/template/web/smart_001/image/sub/all_box_bg.png
| Binary file is not shown |
--- base/src/main/webapp/template/web/smart_001/image/sub/all_box_bottom.png
+++ base/src/main/webapp/resources/template/web/smart_001/image/sub/all_box_bottom.png
| Binary file is not shown |
--- base/src/main/webapp/template/web/smart_001/image/sub/all_box_top.png
+++ base/src/main/webapp/resources/template/web/smart_001/image/sub/all_box_top.png
| Binary file is not shown |
--- base/src/main/webapp/template/web/smart_001/image/sub/all_box_top1.png
+++ base/src/main/webapp/resources/template/web/smart_001/image/sub/all_box_top1.png
| Binary file is not shown |
--- base/src/main/webapp/template/web/smart_001/image/sub/all_box_top2.png
+++ base/src/main/webapp/resources/template/web/smart_001/image/sub/all_box_top2.png
| Binary file is not shown |
--- base/src/main/webapp/template/web/smart_001/image/sub/arrow_left.png
+++ base/src/main/webapp/resources/template/web/smart_001/image/sub/arrow_left.png
| Binary file is not shown |
--- base/src/main/webapp/template/web/smart_001/image/sub/arrow_right.png
+++ base/src/main/webapp/resources/template/web/smart_001/image/sub/arrow_right.png
| Binary file is not shown |
--- base/src/main/webapp/template/web/smart_001/image/sub/bg.jpg
+++ base/src/main/webapp/resources/template/web/smart_001/image/sub/bg.jpg
| Binary file is not shown |
--- base/src/main/webapp/template/web/smart_001/image/sub/board/bigtab_arrow.png
+++ base/src/main/webapp/resources/template/web/smart_001/image/sub/board/bigtab_arrow.png
| Binary file is not shown |
--- base/src/main/webapp/template/web/smart_001/image/sub/board/bigtab_off.png
+++ base/src/main/webapp/resources/template/web/smart_001/image/sub/board/bigtab_off.png
| Binary file is not shown |
--- base/src/main/webapp/template/web/smart_001/image/sub/board/bigtab_on.png
+++ base/src/main/webapp/resources/template/web/smart_001/image/sub/board/bigtab_on.png
| Binary file is not shown |
--- base/src/main/webapp/template/web/smart_001/image/sub/board/board_reply_bottom.gif
+++ base/src/main/webapp/resources/template/web/smart_001/image/sub/board/board_reply_bottom.gif
| Binary file is not shown |
--- base/src/main/webapp/template/web/smart_001/image/sub/board/board_search_t01.gif
+++ base/src/main/webapp/resources/template/web/smart_001/image/sub/board/board_search_t01.gif
| Binary file is not shown |
--- base/src/main/webapp/template/web/smart_001/image/sub/board/board_th_bg.gif
+++ base/src/main/webapp/resources/template/web/smart_001/image/sub/board/board_th_bg.gif
| Binary file is not shown |
--- base/src/main/webapp/template/web/smart_001/image/sub/board/board_th_gap.gif
+++ base/src/main/webapp/resources/template/web/smart_001/image/sub/board/board_th_gap.gif
| Binary file is not shown |
--- base/src/main/webapp/template/web/smart_001/image/sub/board/board_th_l.gif
+++ base/src/main/webapp/resources/template/web/smart_001/image/sub/board/board_th_l.gif
| Binary file is not shown |
--- base/src/main/webapp/template/web/smart_001/image/sub/board/board_th_r.gif
+++ base/src/main/webapp/resources/template/web/smart_001/image/sub/board/board_th_r.gif
| Binary file is not shown |
--- base/src/main/webapp/template/web/smart_001/image/sub/board/board_th_view_l.gif
+++ base/src/main/webapp/resources/template/web/smart_001/image/sub/board/board_th_view_l.gif
| Binary file is not shown |
--- base/src/main/webapp/template/web/smart_001/image/sub/board/board_th_view_l2.gif
+++ base/src/main/webapp/resources/template/web/smart_001/image/sub/board/board_th_view_l2.gif
| Binary file is not shown |
--- base/src/main/webapp/template/web/smart_001/image/sub/board/board_th_view_l3.gif
+++ base/src/main/webapp/resources/template/web/smart_001/image/sub/board/board_th_view_l3.gif
| Binary file is not shown |
--- base/src/main/webapp/template/web/smart_001/image/sub/board/board_th_view_l4.gif
+++ base/src/main/webapp/resources/template/web/smart_001/image/sub/board/board_th_view_l4.gif
| Binary file is not shown |
--- base/src/main/webapp/template/web/smart_001/image/sub/board/boardscn_search_t01.gif
+++ base/src/main/webapp/resources/template/web/smart_001/image/sub/board/boardscn_search_t01.gif
| Binary file is not shown |
--- base/src/main/webapp/template/web/smart_001/image/sub/board/boardscn_th_bg.gif
+++ base/src/main/webapp/resources/template/web/smart_001/image/sub/board/boardscn_th_bg.gif
| Binary file is not shown |
--- base/src/main/webapp/template/web/smart_001/image/sub/board/boardscn_th_l.gif
+++ base/src/main/webapp/resources/template/web/smart_001/image/sub/board/boardscn_th_l.gif
| Binary file is not shown |
--- base/src/main/webapp/template/web/smart_001/image/sub/board/boardscn_th_r.gif
+++ base/src/main/webapp/resources/template/web/smart_001/image/sub/board/boardscn_th_r.gif
| Binary file is not shown |
--- base/src/main/webapp/template/web/smart_001/image/sub/board/boardscn_th_view_l.gif
+++ base/src/main/webapp/resources/template/web/smart_001/image/sub/board/boardscn_th_view_l.gif
| Binary file is not shown |
--- base/src/main/webapp/template/web/smart_001/image/sub/board/boardscn_th_view_l2.gif
+++ base/src/main/webapp/resources/template/web/smart_001/image/sub/board/boardscn_th_view_l2.gif
| Binary file is not shown |
--- base/src/main/webapp/template/web/smart_001/image/sub/board/btn_5_more.gif
+++ base/src/main/webapp/resources/template/web/smart_001/image/sub/board/btn_5_more.gif
| Binary file is not shown |
--- base/src/main/webapp/template/web/smart_001/image/sub/board/btn_admin_down.gif
+++ base/src/main/webapp/resources/template/web/smart_001/image/sub/board/btn_admin_down.gif
| Binary file is not shown |
--- base/src/main/webapp/template/web/smart_001/image/sub/board/btn_admin_ftop.gif
+++ base/src/main/webapp/resources/template/web/smart_001/image/sub/board/btn_admin_ftop.gif
| Binary file is not shown |
--- base/src/main/webapp/template/web/smart_001/image/sub/board/btn_admin_ldown.gif
+++ base/src/main/webapp/resources/template/web/smart_001/image/sub/board/btn_admin_ldown.gif
| Binary file is not shown |
--- base/src/main/webapp/template/web/smart_001/image/sub/board/btn_admin_madd.gif
+++ base/src/main/webapp/resources/template/web/smart_001/image/sub/board/btn_admin_madd.gif
| Binary file is not shown |
--- base/src/main/webapp/template/web/smart_001/image/sub/board/btn_admin_mdel.gif
+++ base/src/main/webapp/resources/template/web/smart_001/image/sub/board/btn_admin_mdel.gif
| Binary file is not shown |
--- base/src/main/webapp/template/web/smart_001/image/sub/board/btn_admin_medit.gif
+++ base/src/main/webapp/resources/template/web/smart_001/image/sub/board/btn_admin_medit.gif
| Binary file is not shown |
--- base/src/main/webapp/template/web/smart_001/image/sub/board/btn_admin_top.gif
+++ base/src/main/webapp/resources/template/web/smart_001/image/sub/board/btn_admin_top.gif
| Binary file is not shown |
--- base/src/main/webapp/template/web/smart_001/image/sub/board/btn_all_result.gif
+++ base/src/main/webapp/resources/template/web/smart_001/image/sub/board/btn_all_result.gif
| Binary file is not shown |
--- base/src/main/webapp/template/web/smart_001/image/sub/board/btn_all_view.gif
+++ base/src/main/webapp/resources/template/web/smart_001/image/sub/board/btn_all_view.gif
| Binary file is not shown |
--- base/src/main/webapp/template/web/smart_001/image/sub/board/btn_appok.gif
+++ base/src/main/webapp/resources/template/web/smart_001/image/sub/board/btn_appok.gif
| Binary file is not shown |
--- base/src/main/webapp/template/web/smart_001/image/sub/board/btn_cancel.gif
+++ base/src/main/webapp/resources/template/web/smart_001/image/sub/board/btn_cancel.gif
| Binary file is not shown |
--- base/src/main/webapp/template/web/smart_001/image/sub/board/btn_cancel02.gif
+++ base/src/main/webapp/resources/template/web/smart_001/image/sub/board/btn_cancel02.gif
| Binary file is not shown |
--- base/src/main/webapp/template/web/smart_001/image/sub/board/btn_commclose.gif
+++ base/src/main/webapp/resources/template/web/smart_001/image/sub/board/btn_commclose.gif
| Binary file is not shown |
--- base/src/main/webapp/template/web/smart_001/image/sub/board/btn_commdelete.gif
+++ base/src/main/webapp/resources/template/web/smart_001/image/sub/board/btn_commdelete.gif
| Binary file is not shown |
--- base/src/main/webapp/template/web/smart_001/image/sub/board/btn_community_go.gif
+++ base/src/main/webapp/resources/template/web/smart_001/image/sub/board/btn_community_go.gif
| Binary file is not shown |
--- base/src/main/webapp/template/web/smart_001/image/sub/board/btn_community_info.gif
+++ base/src/main/webapp/resources/template/web/smart_001/image/sub/board/btn_community_info.gif
| Binary file is not shown |
--- base/src/main/webapp/template/web/smart_001/image/sub/board/btn_comp.gif
+++ base/src/main/webapp/resources/template/web/smart_001/image/sub/board/btn_comp.gif
| Binary file is not shown |
--- base/src/main/webapp/template/web/smart_001/image/sub/board/btn_create_com.gif
+++ base/src/main/webapp/resources/template/web/smart_001/image/sub/board/btn_create_com.gif
| Binary file is not shown |
--- base/src/main/webapp/template/web/smart_001/image/sub/board/btn_del.gif
+++ base/src/main/webapp/resources/template/web/smart_001/image/sub/board/btn_del.gif
| Binary file is not shown |
--- base/src/main/webapp/template/web/smart_001/image/sub/board/btn_del2.gif
+++ base/src/main/webapp/resources/template/web/smart_001/image/sub/board/btn_del2.gif
| Binary file is not shown |
--- base/src/main/webapp/template/web/smart_001/image/sub/board/btn_delall.gif
+++ base/src/main/webapp/resources/template/web/smart_001/image/sub/board/btn_delall.gif
| Binary file is not shown |
--- base/src/main/webapp/template/web/smart_001/image/sub/board/btn_dir_go.gif
+++ base/src/main/webapp/resources/template/web/smart_001/image/sub/board/btn_dir_go.gif
| Binary file is not shown |
--- base/src/main/webapp/template/web/smart_001/image/sub/board/btn_disp.gif
+++ base/src/main/webapp/resources/template/web/smart_001/image/sub/board/btn_disp.gif
| Binary file is not shown |
--- base/src/main/webapp/template/web/smart_001/image/sub/board/btn_down.gif
+++ base/src/main/webapp/resources/template/web/smart_001/image/sub/board/btn_down.gif
| Binary file is not shown |
--- base/src/main/webapp/template/web/smart_001/image/sub/board/btn_download.gif
+++ base/src/main/webapp/resources/template/web/smart_001/image/sub/board/btn_download.gif
| Binary file is not shown |
--- base/src/main/webapp/template/web/smart_001/image/sub/board/btn_duplicate.gif
+++ base/src/main/webapp/resources/template/web/smart_001/image/sub/board/btn_duplicate.gif
| Binary file is not shown |
--- base/src/main/webapp/template/web/smart_001/image/sub/board/btn_first.gif
+++ base/src/main/webapp/resources/template/web/smart_001/image/sub/board/btn_first.gif
| Binary file is not shown |
--- base/src/main/webapp/template/web/smart_001/image/sub/board/btn_first_scn.gif
+++ base/src/main/webapp/resources/template/web/smart_001/image/sub/board/btn_first_scn.gif
| Binary file is not shown |
--- base/src/main/webapp/template/web/smart_001/image/sub/board/btn_info_edit.gif
+++ base/src/main/webapp/resources/template/web/smart_001/image/sub/board/btn_info_edit.gif
| Binary file is not shown |
--- base/src/main/webapp/template/web/smart_001/image/sub/board/btn_l_search.gif
+++ base/src/main/webapp/resources/template/web/smart_001/image/sub/board/btn_l_search.gif
| Binary file is not shown |
--- base/src/main/webapp/template/web/smart_001/image/sub/board/btn_last.gif
+++ base/src/main/webapp/resources/template/web/smart_001/image/sub/board/btn_last.gif
| Binary file is not shown |
--- base/src/main/webapp/template/web/smart_001/image/sub/board/btn_list_go.gif
+++ base/src/main/webapp/resources/template/web/smart_001/image/sub/board/btn_list_go.gif
| Binary file is not shown |
--- base/src/main/webapp/template/web/smart_001/image/sub/board/btn_login.gif
+++ base/src/main/webapp/resources/template/web/smart_001/image/sub/board/btn_login.gif
| Binary file is not shown |
--- base/src/main/webapp/template/web/smart_001/image/sub/board/btn_logout.gif
+++ base/src/main/webapp/resources/template/web/smart_001/image/sub/board/btn_logout.gif
| Binary file is not shown |
--- base/src/main/webapp/template/web/smart_001/image/sub/board/btn_m_joinok.gif
+++ base/src/main/webapp/resources/template/web/smart_001/image/sub/board/btn_m_joinok.gif
| Binary file is not shown |
--- base/src/main/webapp/template/web/smart_001/image/sub/board/btn_m_level_ch.gif
+++ base/src/main/webapp/resources/template/web/smart_001/image/sub/board/btn_m_level_ch.gif
| Binary file is not shown |
--- base/src/main/webapp/template/web/smart_001/image/sub/board/btn_m_niew.gif
+++ base/src/main/webapp/resources/template/web/smart_001/image/sub/board/btn_m_niew.gif
| Binary file is not shown |
--- base/src/main/webapp/template/web/smart_001/image/sub/board/btn_m_out.gif
+++ base/src/main/webapp/resources/template/web/smart_001/image/sub/board/btn_m_out.gif
| Binary file is not shown |
--- base/src/main/webapp/template/web/smart_001/image/sub/board/btn_m_refresh.gif
+++ base/src/main/webapp/resources/template/web/smart_001/image/sub/board/btn_m_refresh.gif
| Binary file is not shown |
--- base/src/main/webapp/template/web/smart_001/image/sub/board/btn_m_rejoin.gif
+++ base/src/main/webapp/resources/template/web/smart_001/image/sub/board/btn_m_rejoin.gif
| Binary file is not shown |
--- base/src/main/webapp/template/web/smart_001/image/sub/board/btn_main_go.gif
+++ base/src/main/webapp/resources/template/web/smart_001/image/sub/board/btn_main_go.gif
| Binary file is not shown |
--- base/src/main/webapp/template/web/smart_001/image/sub/board/btn_memo_all.gif
+++ base/src/main/webapp/resources/template/web/smart_001/image/sub/board/btn_memo_all.gif
| Binary file is not shown |
--- base/src/main/webapp/template/web/smart_001/image/sub/board/btn_modify.gif
+++ base/src/main/webapp/resources/template/web/smart_001/image/sub/board/btn_modify.gif
| Binary file is not shown |
--- base/src/main/webapp/template/web/smart_001/image/sub/board/btn_next.gif
+++ base/src/main/webapp/resources/template/web/smart_001/image/sub/board/btn_next.gif
| Binary file is not shown |
--- base/src/main/webapp/template/web/smart_001/image/sub/board/btn_ok.gif
+++ base/src/main/webapp/resources/template/web/smart_001/image/sub/board/btn_ok.gif
| Binary file is not shown |
--- base/src/main/webapp/template/web/smart_001/image/sub/board/btn_ok2.gif
+++ base/src/main/webapp/resources/template/web/smart_001/image/sub/board/btn_ok2.gif
| Binary file is not shown |
--- base/src/main/webapp/template/web/smart_001/image/sub/board/btn_ok3.gif
+++ base/src/main/webapp/resources/template/web/smart_001/image/sub/board/btn_ok3.gif
| Binary file is not shown |
--- base/src/main/webapp/template/web/smart_001/image/sub/board/btn_prew.gif
+++ base/src/main/webapp/resources/template/web/smart_001/image/sub/board/btn_prew.gif
| Binary file is not shown |
--- base/src/main/webapp/template/web/smart_001/image/sub/board/btn_receipt.gif
+++ base/src/main/webapp/resources/template/web/smart_001/image/sub/board/btn_receipt.gif
| Binary file is not shown |
--- base/src/main/webapp/template/web/smart_001/image/sub/board/btn_regi.gif
+++ base/src/main/webapp/resources/template/web/smart_001/image/sub/board/btn_regi.gif
| Binary file is not shown |
--- base/src/main/webapp/template/web/smart_001/image/sub/board/btn_regi2.gif
+++ base/src/main/webapp/resources/template/web/smart_001/image/sub/board/btn_regi2.gif
| Binary file is not shown |
--- base/src/main/webapp/template/web/smart_001/image/sub/board/btn_reply_delete.gif
+++ base/src/main/webapp/resources/template/web/smart_001/image/sub/board/btn_reply_delete.gif
| Binary file is not shown |
--- base/src/main/webapp/template/web/smart_001/image/sub/board/btn_reply_edit.gif
+++ base/src/main/webapp/resources/template/web/smart_001/image/sub/board/btn_reply_edit.gif
| Binary file is not shown |
--- base/src/main/webapp/template/web/smart_001/image/sub/board/btn_reply_ok.gif
+++ base/src/main/webapp/resources/template/web/smart_001/image/sub/board/btn_reply_ok.gif
| Binary file is not shown |
--- base/src/main/webapp/template/web/smart_001/image/sub/board/btn_reply_re.gif
+++ base/src/main/webapp/resources/template/web/smart_001/image/sub/board/btn_reply_re.gif
| Binary file is not shown |
--- base/src/main/webapp/template/web/smart_001/image/sub/board/btn_reply_review.gif
+++ base/src/main/webapp/resources/template/web/smart_001/image/sub/board/btn_reply_review.gif
| Binary file is not shown |
--- base/src/main/webapp/template/web/smart_001/image/sub/board/btn_reply_sedit.gif
+++ base/src/main/webapp/resources/template/web/smart_001/image/sub/board/btn_reply_sedit.gif
| Binary file is not shown |
--- base/src/main/webapp/template/web/smart_001/image/sub/board/btn_reply_write.gif
+++ base/src/main/webapp/resources/template/web/smart_001/image/sub/board/btn_reply_write.gif
| Binary file is not shown |
--- base/src/main/webapp/template/web/smart_001/image/sub/board/btn_replywrite.gif
+++ base/src/main/webapp/resources/template/web/smart_001/image/sub/board/btn_replywrite.gif
| Binary file is not shown |
--- base/src/main/webapp/template/web/smart_001/image/sub/board/btn_request.gif
+++ base/src/main/webapp/resources/template/web/smart_001/image/sub/board/btn_request.gif
| Binary file is not shown |
--- base/src/main/webapp/template/web/smart_001/image/sub/board/btn_scn_first.gif
+++ base/src/main/webapp/resources/template/web/smart_001/image/sub/board/btn_scn_first.gif
| Binary file is not shown |
--- base/src/main/webapp/template/web/smart_001/image/sub/board/btn_scn_join.gif
+++ base/src/main/webapp/resources/template/web/smart_001/image/sub/board/btn_scn_join.gif
| Binary file is not shown |
--- base/src/main/webapp/template/web/smart_001/image/sub/board/btn_scn_last.gif
+++ base/src/main/webapp/resources/template/web/smart_001/image/sub/board/btn_scn_last.gif
| Binary file is not shown |
--- base/src/main/webapp/template/web/smart_001/image/sub/board/btn_scn_next.gif
+++ base/src/main/webapp/resources/template/web/smart_001/image/sub/board/btn_scn_next.gif
| Binary file is not shown |
--- base/src/main/webapp/template/web/smart_001/image/sub/board/btn_scn_poll_send.gif
+++ base/src/main/webapp/resources/template/web/smart_001/image/sub/board/btn_scn_poll_send.gif
| Binary file is not shown |
--- base/src/main/webapp/template/web/smart_001/image/sub/board/btn_scn_prew.gif
+++ base/src/main/webapp/resources/template/web/smart_001/image/sub/board/btn_scn_prew.gif
| Binary file is not shown |
--- base/src/main/webapp/template/web/smart_001/image/sub/board/btn_scn_result_view.gif
+++ base/src/main/webapp/resources/template/web/smart_001/image/sub/board/btn_scn_result_view.gif
| Binary file is not shown |
--- base/src/main/webapp/template/web/smart_001/image/sub/board/btn_sdelete.gif
+++ base/src/main/webapp/resources/template/web/smart_001/image/sub/board/btn_sdelete.gif
| Binary file is not shown |
--- base/src/main/webapp/template/web/smart_001/image/sub/board/btn_sdelete2.gif
+++ base/src/main/webapp/resources/template/web/smart_001/image/sub/board/btn_sdelete2.gif
| Binary file is not shown |
--- base/src/main/webapp/template/web/smart_001/image/sub/board/btn_selected.gif
+++ base/src/main/webapp/resources/template/web/smart_001/image/sub/board/btn_selected.gif
| Binary file is not shown |
--- base/src/main/webapp/template/web/smart_001/image/sub/board/btn_submit.gif
+++ base/src/main/webapp/resources/template/web/smart_001/image/sub/board/btn_submit.gif
| Binary file is not shown |
--- base/src/main/webapp/template/web/smart_001/image/sub/board/btn_toputil_login.gif
+++ base/src/main/webapp/resources/template/web/smart_001/image/sub/board/btn_toputil_login.gif
| Binary file is not shown |
--- base/src/main/webapp/template/web/smart_001/image/sub/board/btn_write.gif
+++ base/src/main/webapp/resources/template/web/smart_001/image/sub/board/btn_write.gif
| Binary file is not shown |
--- base/src/main/webapp/template/web/smart_001/image/sub/board/btn_write2.gif
+++ base/src/main/webapp/resources/template/web/smart_001/image/sub/board/btn_write2.gif
| Binary file is not shown |
--- base/src/main/webapp/template/web/smart_001/image/sub/board/btnscn_list_go.gif
+++ base/src/main/webapp/resources/template/web/smart_001/image/sub/board/btnscn_list_go.gif
| Binary file is not shown |
--- base/src/main/webapp/template/web/smart_001/image/sub/board/bull01.gif
+++ base/src/main/webapp/resources/template/web/smart_001/image/sub/board/bull01.gif
| Binary file is not shown |
--- base/src/main/webapp/template/web/smart_001/image/sub/board/bull02.gif
+++ base/src/main/webapp/resources/template/web/smart_001/image/sub/board/bull02.gif
| Binary file is not shown |
--- base/src/main/webapp/template/web/smart_001/image/sub/board/bull_com_list.gif
+++ base/src/main/webapp/resources/template/web/smart_001/image/sub/board/bull_com_list.gif
| Binary file is not shown |
--- base/src/main/webapp/template/web/smart_001/image/sub/board/ico_app.gif
+++ base/src/main/webapp/resources/template/web/smart_001/image/sub/board/ico_app.gif
| Binary file is not shown |
--- base/src/main/webapp/template/web/smart_001/image/sub/board/ico_appno.gif
+++ base/src/main/webapp/resources/template/web/smart_001/image/sub/board/ico_appno.gif
| Binary file is not shown |
--- base/src/main/webapp/template/web/smart_001/image/sub/board/ico_board_lock.gif
+++ base/src/main/webapp/resources/template/web/smart_001/image/sub/board/ico_board_lock.gif
| Binary file is not shown |
--- base/src/main/webapp/template/web/smart_001/image/sub/board/ico_board_new.gif
+++ base/src/main/webapp/resources/template/web/smart_001/image/sub/board/ico_board_new.gif
| Binary file is not shown |
--- base/src/main/webapp/template/web/smart_001/image/sub/board/ico_file16.gif
+++ base/src/main/webapp/resources/template/web/smart_001/image/sub/board/ico_file16.gif
| Binary file is not shown |
--- base/src/main/webapp/template/web/smart_001/image/sub/board/ico_file_gif.gif
+++ base/src/main/webapp/resources/template/web/smart_001/image/sub/board/ico_file_gif.gif
| Binary file is not shown |
--- base/src/main/webapp/template/web/smart_001/image/sub/board/ico_file_hwp.gif
+++ base/src/main/webapp/resources/template/web/smart_001/image/sub/board/ico_file_hwp.gif
| Binary file is not shown |
--- base/src/main/webapp/template/web/smart_001/image/sub/board/ico_file_jpg.gif
+++ base/src/main/webapp/resources/template/web/smart_001/image/sub/board/ico_file_jpg.gif
| Binary file is not shown |
--- base/src/main/webapp/template/web/smart_001/image/sub/board/ico_file_pdf.gif
+++ base/src/main/webapp/resources/template/web/smart_001/image/sub/board/ico_file_pdf.gif
| Binary file is not shown |
--- base/src/main/webapp/template/web/smart_001/image/sub/board/ico_file_ppt.gif
+++ base/src/main/webapp/resources/template/web/smart_001/image/sub/board/ico_file_ppt.gif
| Binary file is not shown |
--- base/src/main/webapp/template/web/smart_001/image/sub/board/ico_reply_arr.gif
+++ base/src/main/webapp/resources/template/web/smart_001/image/sub/board/ico_reply_arr.gif
| Binary file is not shown |
--- base/src/main/webapp/template/web/smart_001/image/sub/board/new_f.gif
+++ base/src/main/webapp/resources/template/web/smart_001/image/sub/board/new_f.gif
| Binary file is not shown |
--- base/src/main/webapp/template/web/smart_001/image/sub/board/photo_img_blank.gif
+++ base/src/main/webapp/resources/template/web/smart_001/image/sub/board/photo_img_blank.gif
| Binary file is not shown |
--- base/src/main/webapp/template/web/smart_001/image/sub/board/reply_arr.gif
+++ base/src/main/webapp/resources/template/web/smart_001/image/sub/board/reply_arr.gif
| Binary file is not shown |
--- base/src/main/webapp/template/web/smart_001/image/sub/board/search_btn.gif
+++ base/src/main/webapp/resources/template/web/smart_001/image/sub/board/search_btn.gif
| Binary file is not shown |
--- base/src/main/webapp/template/web/smart_001/image/sub/board/search_t.gif
+++ base/src/main/webapp/resources/template/web/smart_001/image/sub/board/search_t.gif
| Binary file is not shown |
--- base/src/main/webapp/template/web/smart_001/image/sub/board/use_no.gif
+++ base/src/main/webapp/resources/template/web/smart_001/image/sub/board/use_no.gif
| Binary file is not shown |
--- base/src/main/webapp/template/web/smart_001/image/sub/board/use_yes.gif
+++ base/src/main/webapp/resources/template/web/smart_001/image/sub/board/use_yes.gif
| Binary file is not shown |
--- base/src/main/webapp/template/web/smart_001/image/sub/board/xls.gif
+++ base/src/main/webapp/resources/template/web/smart_001/image/sub/board/xls.gif
| Binary file is not shown |
--- base/src/main/webapp/template/web/smart_001/image/sub/bottom_bar.png
+++ base/src/main/webapp/resources/template/web/smart_001/image/sub/bottom_bar.png
| Binary file is not shown |
--- base/src/main/webapp/template/web/smart_001/image/sub/btn_frameclose.png
+++ base/src/main/webapp/resources/template/web/smart_001/image/sub/btn_frameclose.png
| Binary file is not shown |
--- base/src/main/webapp/template/web/smart_001/image/sub/btn_frameview.png
+++ base/src/main/webapp/resources/template/web/smart_001/image/sub/btn_frameview.png
| Binary file is not shown |
--- base/src/main/webapp/template/web/smart_001/image/sub/btn_top.jpg
+++ base/src/main/webapp/resources/template/web/smart_001/image/sub/btn_top.jpg
| Binary file is not shown |
--- base/src/main/webapp/template/web/smart_001/image/sub/btn_topsearch.png
+++ base/src/main/webapp/resources/template/web/smart_001/image/sub/btn_topsearch.png
| Binary file is not shown |
--- base/src/main/webapp/template/web/smart_001/image/sub/common/bar01.gif
+++ base/src/main/webapp/resources/template/web/smart_001/image/sub/common/bar01.gif
| Binary file is not shown |
--- base/src/main/webapp/template/web/smart_001/image/sub/common/bar02.gif
+++ base/src/main/webapp/resources/template/web/smart_001/image/sub/common/bar02.gif
| Binary file is not shown |
--- base/src/main/webapp/template/web/smart_001/image/sub/common/bar03.gif
+++ base/src/main/webapp/resources/template/web/smart_001/image/sub/common/bar03.gif
| Binary file is not shown |
--- base/src/main/webapp/template/web/smart_001/image/sub/common/bar04.gif
+++ base/src/main/webapp/resources/template/web/smart_001/image/sub/common/bar04.gif
| Binary file is not shown |
--- base/src/main/webapp/template/web/smart_001/image/sub/common/btn_com_del.gif
+++ base/src/main/webapp/resources/template/web/smart_001/image/sub/common/btn_com_del.gif
| Binary file is not shown |
--- base/src/main/webapp/template/web/smart_001/image/sub/common/btn_com_install.gif
+++ base/src/main/webapp/resources/template/web/smart_001/image/sub/common/btn_com_install.gif
| Binary file is not shown |
--- base/src/main/webapp/template/web/smart_001/image/sub/common/btn_com_uninstall.gif
+++ base/src/main/webapp/resources/template/web/smart_001/image/sub/common/btn_com_uninstall.gif
| Binary file is not shown |
--- base/src/main/webapp/template/web/smart_001/image/sub/common/btn_url.gif
+++ base/src/main/webapp/resources/template/web/smart_001/image/sub/common/btn_url.gif
| Binary file is not shown |
--- base/src/main/webapp/template/web/smart_001/image/sub/common/btn_use.gif
+++ base/src/main/webapp/resources/template/web/smart_001/image/sub/common/btn_use.gif
| Binary file is not shown |
--- base/src/main/webapp/template/web/smart_001/image/sub/common/btn_use2.gif
+++ base/src/main/webapp/resources/template/web/smart_001/image/sub/common/btn_use2.gif
| Binary file is not shown |
--- base/src/main/webapp/template/web/smart_001/image/sub/common/dot01.gif
+++ base/src/main/webapp/resources/template/web/smart_001/image/sub/common/dot01.gif
| Binary file is not shown |
--- base/src/main/webapp/template/web/smart_001/image/sub/common/icon_open1.gif
+++ base/src/main/webapp/resources/template/web/smart_001/image/sub/common/icon_open1.gif
| Binary file is not shown |
--- base/src/main/webapp/template/web/smart_001/image/sub/common/icon_open2.gif
+++ base/src/main/webapp/resources/template/web/smart_001/image/sub/common/icon_open2.gif
| Binary file is not shown |
--- base/src/main/webapp/template/web/smart_001/image/sub/common/icon_use1.gif
+++ base/src/main/webapp/resources/template/web/smart_001/image/sub/common/icon_use1.gif
| Binary file is not shown |
--- base/src/main/webapp/template/web/smart_001/image/sub/common/icon_use2.gif
+++ base/src/main/webapp/resources/template/web/smart_001/image/sub/common/icon_use2.gif
| Binary file is not shown |
--- base/src/main/webapp/template/web/smart_001/image/sub/common/img_ing.gif
+++ base/src/main/webapp/resources/template/web/smart_001/image/sub/common/img_ing.gif
| Binary file is not shown |
--- base/src/main/webapp/template/web/smart_001/image/sub/common/imgsel01.gif
+++ base/src/main/webapp/resources/template/web/smart_001/image/sub/common/imgsel01.gif
| Binary file is not shown |
--- base/src/main/webapp/template/web/smart_001/image/sub/common/imgsel01.png
+++ base/src/main/webapp/resources/template/web/smart_001/image/sub/common/imgsel01.png
| Binary file is not shown |
--- base/src/main/webapp/template/web/smart_001/image/sub/common/imgsel02.png
+++ base/src/main/webapp/resources/template/web/smart_001/image/sub/common/imgsel02.png
| Binary file is not shown |
--- base/src/main/webapp/template/web/smart_001/image/sub/common/imgsel03.png
+++ base/src/main/webapp/resources/template/web/smart_001/image/sub/common/imgsel03.png
| Binary file is not shown |
--- base/src/main/webapp/template/web/smart_001/image/sub/common/imgsel04.png
+++ base/src/main/webapp/resources/template/web/smart_001/image/sub/common/imgsel04.png
| Binary file is not shown |
--- base/src/main/webapp/template/web/smart_001/image/sub/common/popbox_btncopy.gif
+++ base/src/main/webapp/resources/template/web/smart_001/image/sub/common/popbox_btncopy.gif
| Binary file is not shown |
--- base/src/main/webapp/template/web/smart_001/image/sub/common/popbox_close.gif
+++ base/src/main/webapp/resources/template/web/smart_001/image/sub/common/popbox_close.gif
| Binary file is not shown |
--- base/src/main/webapp/template/web/smart_001/image/sub/common/popbox_mainbg.gif
+++ base/src/main/webapp/resources/template/web/smart_001/image/sub/common/popbox_mainbg.gif
| Binary file is not shown |
--- base/src/main/webapp/template/web/smart_001/image/sub/common/popbox_maintitle.gif
+++ base/src/main/webapp/resources/template/web/smart_001/image/sub/common/popbox_maintitle.gif
| Binary file is not shown |
--- base/src/main/webapp/template/web/smart_001/image/sub/common/popbox_topbg.gif
+++ base/src/main/webapp/resources/template/web/smart_001/image/sub/common/popbox_topbg.gif
| Binary file is not shown |
--- base/src/main/webapp/template/web/smart_001/image/sub/common/popup2_bg.gif
+++ base/src/main/webapp/resources/template/web/smart_001/image/sub/common/popup2_bg.gif
| Binary file is not shown |
--- base/src/main/webapp/template/web/smart_001/image/sub/common/popup2_url_bg_bottom.png
+++ base/src/main/webapp/resources/template/web/smart_001/image/sub/common/popup2_url_bg_bottom.png
| Binary file is not shown |
--- base/src/main/webapp/template/web/smart_001/image/sub/common/popup2_url_bg_top.png
+++ base/src/main/webapp/resources/template/web/smart_001/image/sub/common/popup2_url_bg_top.png
| Binary file is not shown |
--- base/src/main/webapp/template/web/smart_001/image/sub/common/popup3_bg.gif
+++ base/src/main/webapp/resources/template/web/smart_001/image/sub/common/popup3_bg.gif
| Binary file is not shown |
--- base/src/main/webapp/template/web/smart_001/image/sub/common/popup3_close.gif
+++ base/src/main/webapp/resources/template/web/smart_001/image/sub/common/popup3_close.gif
| Binary file is not shown |
--- base/src/main/webapp/template/web/smart_001/image/sub/common/popup_bg.gif
+++ base/src/main/webapp/resources/template/web/smart_001/image/sub/common/popup_bg.gif
| Binary file is not shown |
--- base/src/main/webapp/template/web/smart_001/image/sub/common/popup_close.gif
+++ base/src/main/webapp/resources/template/web/smart_001/image/sub/common/popup_close.gif
| Binary file is not shown |
--- base/src/main/webapp/template/web/smart_001/image/sub/common/popup_top.gif
+++ base/src/main/webapp/resources/template/web/smart_001/image/sub/common/popup_top.gif
| Binary file is not shown |
--- base/src/main/webapp/template/web/smart_001/image/sub/common/popup_top.png
+++ base/src/main/webapp/resources/template/web/smart_001/image/sub/common/popup_top.png
| Binary file is not shown |
--- base/src/main/webapp/template/web/smart_001/image/sub/common/rsearch_glass.gif
+++ base/src/main/webapp/resources/template/web/smart_001/image/sub/common/rsearch_glass.gif
| Binary file is not shown |
--- base/src/main/webapp/template/web/smart_001/image/sub/community/btn_adduse.gif
+++ base/src/main/webapp/resources/template/web/smart_001/image/sub/community/btn_adduse.gif
| Binary file is not shown |
--- base/src/main/webapp/template/web/smart_001/image/sub/community/btn_nameuse.gif
+++ base/src/main/webapp/resources/template/web/smart_001/image/sub/community/btn_nameuse.gif
| Binary file is not shown |
--- base/src/main/webapp/template/web/smart_001/image/sub/community/com_join_tum_blank.gif
+++ base/src/main/webapp/resources/template/web/smart_001/image/sub/community/com_join_tum_blank.gif
| Binary file is not shown |
--- base/src/main/webapp/template/web/smart_001/image/sub/community/com_my_tab01.gif
+++ base/src/main/webapp/resources/template/web/smart_001/image/sub/community/com_my_tab01.gif
| Binary file is not shown |
--- base/src/main/webapp/template/web/smart_001/image/sub/community/com_my_tab01.png
+++ base/src/main/webapp/resources/template/web/smart_001/image/sub/community/com_my_tab01.png
| Binary file is not shown |
--- base/src/main/webapp/template/web/smart_001/image/sub/community/com_my_tab01_on.gif
+++ base/src/main/webapp/resources/template/web/smart_001/image/sub/community/com_my_tab01_on.gif
| Binary file is not shown |
--- base/src/main/webapp/template/web/smart_001/image/sub/community/com_my_tab01_on.png
+++ base/src/main/webapp/resources/template/web/smart_001/image/sub/community/com_my_tab01_on.png
| Binary file is not shown |
--- base/src/main/webapp/template/web/smart_001/image/sub/community/com_my_tab02.gif
+++ base/src/main/webapp/resources/template/web/smart_001/image/sub/community/com_my_tab02.gif
| Binary file is not shown |
--- base/src/main/webapp/template/web/smart_001/image/sub/community/com_my_tab02.png
+++ base/src/main/webapp/resources/template/web/smart_001/image/sub/community/com_my_tab02.png
| Binary file is not shown |
--- base/src/main/webapp/template/web/smart_001/image/sub/community/com_my_tab02_on.gif
+++ base/src/main/webapp/resources/template/web/smart_001/image/sub/community/com_my_tab02_on.gif
| Binary file is not shown |
--- base/src/main/webapp/template/web/smart_001/image/sub/community/com_my_tab02_on.png
+++ base/src/main/webapp/resources/template/web/smart_001/image/sub/community/com_my_tab02_on.png
| Binary file is not shown |
--- base/src/main/webapp/template/web/smart_001/image/sub/community/com_my_tab03.gif
+++ base/src/main/webapp/resources/template/web/smart_001/image/sub/community/com_my_tab03.gif
| Binary file is not shown |
--- base/src/main/webapp/template/web/smart_001/image/sub/community/com_my_tab03.png
+++ base/src/main/webapp/resources/template/web/smart_001/image/sub/community/com_my_tab03.png
| Binary file is not shown |
--- base/src/main/webapp/template/web/smart_001/image/sub/community/com_my_tab03_on.gif
+++ base/src/main/webapp/resources/template/web/smart_001/image/sub/community/com_my_tab03_on.gif
| Binary file is not shown |
--- base/src/main/webapp/template/web/smart_001/image/sub/community/com_my_tab03_on.png
+++ base/src/main/webapp/resources/template/web/smart_001/image/sub/community/com_my_tab03_on.png
| Binary file is not shown |
--- base/src/main/webapp/template/web/smart_001/image/sub/community/com_tum_01.gif
+++ base/src/main/webapp/resources/template/web/smart_001/image/sub/community/com_tum_01.gif
| Binary file is not shown |
--- base/src/main/webapp/template/web/smart_001/image/sub/community/com_tum_blank.gif
+++ base/src/main/webapp/resources/template/web/smart_001/image/sub/community/com_tum_blank.gif
| Binary file is not shown |
--- base/src/main/webapp/template/web/smart_001/image/sub/community/community_head_img.gif
+++ base/src/main/webapp/resources/template/web/smart_001/image/sub/community/community_head_img.gif
| Binary file is not shown |
--- base/src/main/webapp/template/web/smart_001/image/sub/community/community_head_img.jpg
+++ base/src/main/webapp/resources/template/web/smart_001/image/sub/community/community_head_img.jpg
| Binary file is not shown |
--- base/src/main/webapp/template/web/smart_001/image/sub/community/community_t_img01.gif
+++ base/src/main/webapp/resources/template/web/smart_001/image/sub/community/community_t_img01.gif
| Binary file is not shown |
--- base/src/main/webapp/template/web/smart_001/image/sub/community/community_t_img02.gif
+++ base/src/main/webapp/resources/template/web/smart_001/image/sub/community/community_t_img02.gif
| Binary file is not shown |
--- base/src/main/webapp/template/web/smart_001/image/sub/community/community_t_img03.gif
+++ base/src/main/webapp/resources/template/web/smart_001/image/sub/community/community_t_img03.gif
| Binary file is not shown |
--- base/src/main/webapp/template/web/smart_001/image/sub/community/community_t_img04.gif
+++ base/src/main/webapp/resources/template/web/smart_001/image/sub/community/community_t_img04.gif
| Binary file is not shown |
--- base/src/main/webapp/template/web/smart_001/image/sub/community/community_t_img_terms.gif
+++ base/src/main/webapp/resources/template/web/smart_001/image/sub/community/community_t_img_terms.gif
| Binary file is not shown |
--- base/src/main/webapp/template/web/smart_001/image/sub/community/delete_bg.jpg
+++ base/src/main/webapp/resources/template/web/smart_001/image/sub/community/delete_bg.jpg
| Binary file is not shown |
--- base/src/main/webapp/template/web/smart_001/image/sub/community/member_leave.gif
+++ base/src/main/webapp/resources/template/web/smart_001/image/sub/community/member_leave.gif
| Binary file is not shown |
--- base/src/main/webapp/template/web/smart_001/image/sub/community/memo_btn_bg.gif
+++ base/src/main/webapp/resources/template/web/smart_001/image/sub/community/memo_btn_bg.gif
| Binary file is not shown |
--- base/src/main/webapp/template/web/smart_001/image/sub/community/sub_my_board_bg.gif
+++ base/src/main/webapp/resources/template/web/smart_001/image/sub/community/sub_my_board_bg.gif
| Binary file is not shown |
--- base/src/main/webapp/template/web/smart_001/image/sub/community/sub_scroll_bg.gif
+++ base/src/main/webapp/resources/template/web/smart_001/image/sub/community/sub_scroll_bg.gif
| Binary file is not shown |
--- base/src/main/webapp/template/web/smart_001/image/sub/community/sub_scroll_bg_bot.gif
+++ base/src/main/webapp/resources/template/web/smart_001/image/sub/community/sub_scroll_bg_bot.gif
| Binary file is not shown |
--- base/src/main/webapp/template/web/smart_001/image/sub/community/welcome_bg.jpg
+++ base/src/main/webapp/resources/template/web/smart_001/image/sub/community/welcome_bg.jpg
| Binary file is not shown |
--- base/src/main/webapp/template/web/smart_001/image/sub/facebook_icon.png
+++ base/src/main/webapp/resources/template/web/smart_001/image/sub/facebook_icon.png
| Binary file is not shown |
--- base/src/main/webapp/template/web/smart_001/image/sub/gyosoo/arrow2_left.png
+++ base/src/main/webapp/resources/template/web/smart_001/image/sub/gyosoo/arrow2_left.png
| Binary file is not shown |
--- base/src/main/webapp/template/web/smart_001/image/sub/gyosoo/arrow2_right.png
+++ base/src/main/webapp/resources/template/web/smart_001/image/sub/gyosoo/arrow2_right.png
| Binary file is not shown |
--- base/src/main/webapp/template/web/smart_001/image/sub/gyosoo/basic_botbg01.png
+++ base/src/main/webapp/resources/template/web/smart_001/image/sub/gyosoo/basic_botbg01.png
| Binary file is not shown |
--- base/src/main/webapp/template/web/smart_001/image/sub/gyosoo/basic_botbg02.png
+++ base/src/main/webapp/resources/template/web/smart_001/image/sub/gyosoo/basic_botbg02.png
| Binary file is not shown |
--- base/src/main/webapp/template/web/smart_001/image/sub/gyosoo/basic_bull01.gif
+++ base/src/main/webapp/resources/template/web/smart_001/image/sub/gyosoo/basic_bull01.gif
| Binary file is not shown |
--- base/src/main/webapp/template/web/smart_001/image/sub/gyosoo/basic_bull02.gif
+++ base/src/main/webapp/resources/template/web/smart_001/image/sub/gyosoo/basic_bull02.gif
| Binary file is not shown |
--- base/src/main/webapp/template/web/smart_001/image/sub/gyosoo/basic_tab01.png
+++ base/src/main/webapp/resources/template/web/smart_001/image/sub/gyosoo/basic_tab01.png
| Binary file is not shown |
--- base/src/main/webapp/template/web/smart_001/image/sub/gyosoo/basic_tab01_on.png
+++ base/src/main/webapp/resources/template/web/smart_001/image/sub/gyosoo/basic_tab01_on.png
| Binary file is not shown |
--- base/src/main/webapp/template/web/smart_001/image/sub/gyosoo/basic_tab02.png
+++ base/src/main/webapp/resources/template/web/smart_001/image/sub/gyosoo/basic_tab02.png
| Binary file is not shown |
--- base/src/main/webapp/template/web/smart_001/image/sub/gyosoo/basic_tab02_on.png
+++ base/src/main/webapp/resources/template/web/smart_001/image/sub/gyosoo/basic_tab02_on.png
| Binary file is not shown |
--- base/src/main/webapp/template/web/smart_001/image/sub/gyosoo/basic_tab_goo01.png
+++ base/src/main/webapp/resources/template/web/smart_001/image/sub/gyosoo/basic_tab_goo01.png
| Binary file is not shown |
--- base/src/main/webapp/template/web/smart_001/image/sub/gyosoo/basic_tab_goo01_on.png
+++ base/src/main/webapp/resources/template/web/smart_001/image/sub/gyosoo/basic_tab_goo01_on.png
| Binary file is not shown |
--- base/src/main/webapp/template/web/smart_001/image/sub/gyosoo/basic_tab_goo02.png
+++ base/src/main/webapp/resources/template/web/smart_001/image/sub/gyosoo/basic_tab_goo02.png
| Binary file is not shown |
--- base/src/main/webapp/template/web/smart_001/image/sub/gyosoo/basic_tab_goo02_on.png
+++ base/src/main/webapp/resources/template/web/smart_001/image/sub/gyosoo/basic_tab_goo02_on.png
| Binary file is not shown |
--- base/src/main/webapp/template/web/smart_001/image/sub/gyosoo/basic_topbg01.gif
+++ base/src/main/webapp/resources/template/web/smart_001/image/sub/gyosoo/basic_topbg01.gif
| Binary file is not shown |
--- base/src/main/webapp/template/web/smart_001/image/sub/gyosoo/basic_topbg01.png
+++ base/src/main/webapp/resources/template/web/smart_001/image/sub/gyosoo/basic_topbg01.png
| Binary file is not shown |
--- base/src/main/webapp/template/web/smart_001/image/sub/gyosoo/basic_topbg02.png
+++ base/src/main/webapp/resources/template/web/smart_001/image/sub/gyosoo/basic_topbg02.png
| Binary file is not shown |
--- base/src/main/webapp/template/web/smart_001/image/sub/gyosoo/bg_dot.gif
+++ base/src/main/webapp/resources/template/web/smart_001/image/sub/gyosoo/bg_dot.gif
| Binary file is not shown |
--- base/src/main/webapp/template/web/smart_001/image/sub/gyosoo/bg_ranking_tit.gif
+++ base/src/main/webapp/resources/template/web/smart_001/image/sub/gyosoo/bg_ranking_tit.gif
| Binary file is not shown |
--- base/src/main/webapp/template/web/smart_001/image/sub/gyosoo/board_head_img01.gif
+++ base/src/main/webapp/resources/template/web/smart_001/image/sub/gyosoo/board_head_img01.gif
| Binary file is not shown |
--- base/src/main/webapp/template/web/smart_001/image/sub/gyosoo/board_head_img012.gif
+++ base/src/main/webapp/resources/template/web/smart_001/image/sub/gyosoo/board_head_img012.gif
| Binary file is not shown |
--- base/src/main/webapp/template/web/smart_001/image/sub/gyosoo/board_head_img02.gif
+++ base/src/main/webapp/resources/template/web/smart_001/image/sub/gyosoo/board_head_img02.gif
| Binary file is not shown |
--- base/src/main/webapp/template/web/smart_001/image/sub/gyosoo/board_head_img03.gif
+++ base/src/main/webapp/resources/template/web/smart_001/image/sub/gyosoo/board_head_img03.gif
| Binary file is not shown |
--- base/src/main/webapp/template/web/smart_001/image/sub/gyosoo/board_head_img04.gif
+++ base/src/main/webapp/resources/template/web/smart_001/image/sub/gyosoo/board_head_img04.gif
| Binary file is not shown |
--- base/src/main/webapp/template/web/smart_001/image/sub/gyosoo/board_head_img05.gif
+++ base/src/main/webapp/resources/template/web/smart_001/image/sub/gyosoo/board_head_img05.gif
| Binary file is not shown |
--- base/src/main/webapp/template/web/smart_001/image/sub/gyosoo/board_head_img06.gif
+++ base/src/main/webapp/resources/template/web/smart_001/image/sub/gyosoo/board_head_img06.gif
| Binary file is not shown |
--- base/src/main/webapp/template/web/smart_001/image/sub/gyosoo/board_head_img07.gif
+++ base/src/main/webapp/resources/template/web/smart_001/image/sub/gyosoo/board_head_img07.gif
| Binary file is not shown |
--- base/src/main/webapp/template/web/smart_001/image/sub/gyosoo/board_head_img08.gif
+++ base/src/main/webapp/resources/template/web/smart_001/image/sub/gyosoo/board_head_img08.gif
| Binary file is not shown |
--- base/src/main/webapp/template/web/smart_001/image/sub/gyosoo/btn_adduse.gif
+++ base/src/main/webapp/resources/template/web/smart_001/image/sub/gyosoo/btn_adduse.gif
| Binary file is not shown |
--- base/src/main/webapp/template/web/smart_001/image/sub/gyosoo/btn_charge.gif
+++ base/src/main/webapp/resources/template/web/smart_001/image/sub/gyosoo/btn_charge.gif
| Binary file is not shown |
--- base/src/main/webapp/template/web/smart_001/image/sub/gyosoo/btn_down.gif
+++ base/src/main/webapp/resources/template/web/smart_001/image/sub/gyosoo/btn_down.gif
| Binary file is not shown |
--- base/src/main/webapp/template/web/smart_001/image/sub/gyosoo/btn_download.gif
+++ base/src/main/webapp/resources/template/web/smart_001/image/sub/gyosoo/btn_download.gif
| Binary file is not shown |
--- base/src/main/webapp/template/web/smart_001/image/sub/gyosoo/btn_download2.gif
+++ base/src/main/webapp/resources/template/web/smart_001/image/sub/gyosoo/btn_download2.gif
| Binary file is not shown |
--- base/src/main/webapp/template/web/smart_001/image/sub/gyosoo/btn_gyosoo_basket.gif
+++ base/src/main/webapp/resources/template/web/smart_001/image/sub/gyosoo/btn_gyosoo_basket.gif
| Binary file is not shown |
--- base/src/main/webapp/template/web/smart_001/image/sub/gyosoo/btn_gyosoo_basket2.gif
+++ base/src/main/webapp/resources/template/web/smart_001/image/sub/gyosoo/btn_gyosoo_basket2.gif
| Binary file is not shown |
--- base/src/main/webapp/template/web/smart_001/image/sub/gyosoo/btn_gyosoo_list01.gif
+++ base/src/main/webapp/resources/template/web/smart_001/image/sub/gyosoo/btn_gyosoo_list01.gif
| Binary file is not shown |
--- base/src/main/webapp/template/web/smart_001/image/sub/gyosoo/btn_gyosoo_list02.gif
+++ base/src/main/webapp/resources/template/web/smart_001/image/sub/gyosoo/btn_gyosoo_list02.gif
| Binary file is not shown |
--- base/src/main/webapp/template/web/smart_001/image/sub/gyosoo/btn_hot.gif
+++ base/src/main/webapp/resources/template/web/smart_001/image/sub/gyosoo/btn_hot.gif
| Binary file is not shown |
--- base/src/main/webapp/template/web/smart_001/image/sub/gyosoo/btn_list.gif
+++ base/src/main/webapp/resources/template/web/smart_001/image/sub/gyosoo/btn_list.gif
| Binary file is not shown |
--- base/src/main/webapp/template/web/smart_001/image/sub/gyosoo/btn_m_edite.gif
+++ base/src/main/webapp/resources/template/web/smart_001/image/sub/gyosoo/btn_m_edite.gif
| Binary file is not shown |
--- base/src/main/webapp/template/web/smart_001/image/sub/gyosoo/btn_m_write.gif
+++ base/src/main/webapp/resources/template/web/smart_001/image/sub/gyosoo/btn_m_write.gif
| Binary file is not shown |
--- base/src/main/webapp/template/web/smart_001/image/sub/gyosoo/btn_mileage_charge.gif
+++ base/src/main/webapp/resources/template/web/smart_001/image/sub/gyosoo/btn_mileage_charge.gif
| Binary file is not shown |
--- base/src/main/webapp/template/web/smart_001/image/sub/gyosoo/btn_mileage_use.gif
+++ base/src/main/webapp/resources/template/web/smart_001/image/sub/gyosoo/btn_mileage_use.gif
| Binary file is not shown |
--- base/src/main/webapp/template/web/smart_001/image/sub/gyosoo/btn_more.gif
+++ base/src/main/webapp/resources/template/web/smart_001/image/sub/gyosoo/btn_more.gif
| Binary file is not shown |
--- base/src/main/webapp/template/web/smart_001/image/sub/gyosoo/btn_mycart.gif
+++ base/src/main/webapp/resources/template/web/smart_001/image/sub/gyosoo/btn_mycart.gif
| Binary file is not shown |
--- base/src/main/webapp/template/web/smart_001/image/sub/gyosoo/btn_myminishop.gif
+++ base/src/main/webapp/resources/template/web/smart_001/image/sub/gyosoo/btn_myminishop.gif
| Binary file is not shown |
--- base/src/main/webapp/template/web/smart_001/image/sub/gyosoo/btn_myminishopgo.gif
+++ base/src/main/webapp/resources/template/web/smart_001/image/sub/gyosoo/btn_myminishopgo.gif
| Binary file is not shown |
--- base/src/main/webapp/template/web/smart_001/image/sub/gyosoo/btn_nameuse.gif
+++ base/src/main/webapp/resources/template/web/smart_001/image/sub/gyosoo/btn_nameuse.gif
| Binary file is not shown |
--- base/src/main/webapp/template/web/smart_001/image/sub/gyosoo/btn_new.gif
+++ base/src/main/webapp/resources/template/web/smart_001/image/sub/gyosoo/btn_new.gif
| Binary file is not shown |
--- base/src/main/webapp/template/web/smart_001/image/sub/gyosoo/btn_newflash.gif
+++ base/src/main/webapp/resources/template/web/smart_001/image/sub/gyosoo/btn_newflash.gif
| Binary file is not shown |
--- base/src/main/webapp/template/web/smart_001/image/sub/gyosoo/btn_newicon1.gif
+++ base/src/main/webapp/resources/template/web/smart_001/image/sub/gyosoo/btn_newicon1.gif
| Binary file is not shown |
--- base/src/main/webapp/template/web/smart_001/image/sub/gyosoo/btn_newicon2.gif
+++ base/src/main/webapp/resources/template/web/smart_001/image/sub/gyosoo/btn_newicon2.gif
| Binary file is not shown |
--- base/src/main/webapp/template/web/smart_001/image/sub/gyosoo/btn_newicon3.gif
+++ base/src/main/webapp/resources/template/web/smart_001/image/sub/gyosoo/btn_newicon3.gif
| Binary file is not shown |
--- base/src/main/webapp/template/web/smart_001/image/sub/gyosoo/btn_newicon4.gif
+++ base/src/main/webapp/resources/template/web/smart_001/image/sub/gyosoo/btn_newicon4.gif
| Binary file is not shown |
--- base/src/main/webapp/template/web/smart_001/image/sub/gyosoo/btn_newmo.gif
+++ base/src/main/webapp/resources/template/web/smart_001/image/sub/gyosoo/btn_newmo.gif
| Binary file is not shown |
--- base/src/main/webapp/template/web/smart_001/image/sub/gyosoo/btn_newphoto.gif
+++ base/src/main/webapp/resources/template/web/smart_001/image/sub/gyosoo/btn_newphoto.gif
| Binary file is not shown |
--- base/src/main/webapp/template/web/smart_001/image/sub/gyosoo/btn_newpic.gif
+++ base/src/main/webapp/resources/template/web/smart_001/image/sub/gyosoo/btn_newpic.gif
| Binary file is not shown |
--- base/src/main/webapp/template/web/smart_001/image/sub/gyosoo/btn_newsound.gif
+++ base/src/main/webapp/resources/template/web/smart_001/image/sub/gyosoo/btn_newsound.gif
| Binary file is not shown |
--- base/src/main/webapp/template/web/smart_001/image/sub/gyosoo/btn_newvod.gif
+++ base/src/main/webapp/resources/template/web/smart_001/image/sub/gyosoo/btn_newvod.gif
| Binary file is not shown |
--- base/src/main/webapp/template/web/smart_001/image/sub/gyosoo/btn_newword.gif
+++ base/src/main/webapp/resources/template/web/smart_001/image/sub/gyosoo/btn_newword.gif
| Binary file is not shown |
--- base/src/main/webapp/template/web/smart_001/image/sub/gyosoo/btn_pointcharge.gif
+++ base/src/main/webapp/resources/template/web/smart_001/image/sub/gyosoo/btn_pointcharge.gif
| Binary file is not shown |
--- base/src/main/webapp/template/web/smart_001/image/sub/gyosoo/btn_pointcharge.png
+++ base/src/main/webapp/resources/template/web/smart_001/image/sub/gyosoo/btn_pointcharge.png
| Binary file is not shown |
--- base/src/main/webapp/template/web/smart_001/image/sub/gyosoo/btn_recom.gif
+++ base/src/main/webapp/resources/template/web/smart_001/image/sub/gyosoo/btn_recom.gif
| Binary file is not shown |
--- base/src/main/webapp/template/web/smart_001/image/sub/gyosoo/btn_recommend.gif
+++ base/src/main/webapp/resources/template/web/smart_001/image/sub/gyosoo/btn_recommend.gif
| Binary file is not shown |
--- base/src/main/webapp/template/web/smart_001/image/sub/gyosoo/btn_recommend2.gif
+++ base/src/main/webapp/resources/template/web/smart_001/image/sub/gyosoo/btn_recommend2.gif
| Binary file is not shown |
--- base/src/main/webapp/template/web/smart_001/image/sub/gyosoo/btn_regi2.gif
+++ base/src/main/webapp/resources/template/web/smart_001/image/sub/gyosoo/btn_regi2.gif
| Binary file is not shown |
--- base/src/main/webapp/template/web/smart_001/image/sub/gyosoo/btn_scrap.gif
+++ base/src/main/webapp/resources/template/web/smart_001/image/sub/gyosoo/btn_scrap.gif
| Binary file is not shown |
--- base/src/main/webapp/template/web/smart_001/image/sub/gyosoo/btn_scrap2.gif
+++ base/src/main/webapp/resources/template/web/smart_001/image/sub/gyosoo/btn_scrap2.gif
| Binary file is not shown |
--- base/src/main/webapp/template/web/smart_001/image/sub/gyosoo/btn_smartclass.gif
+++ base/src/main/webapp/resources/template/web/smart_001/image/sub/gyosoo/btn_smartclass.gif
| Binary file is not shown |
--- base/src/main/webapp/template/web/smart_001/image/sub/gyosoo/btn_smartclass2.gif
+++ base/src/main/webapp/resources/template/web/smart_001/image/sub/gyosoo/btn_smartclass2.gif
| Binary file is not shown |
--- base/src/main/webapp/template/web/smart_001/image/sub/gyosoo/but_mym.png
+++ base/src/main/webapp/resources/template/web/smart_001/image/sub/gyosoo/but_mym.png
| Binary file is not shown |
--- base/src/main/webapp/template/web/smart_001/image/sub/gyosoo/downtop_li1.gif
+++ base/src/main/webapp/resources/template/web/smart_001/image/sub/gyosoo/downtop_li1.gif
| Binary file is not shown |
--- base/src/main/webapp/template/web/smart_001/image/sub/gyosoo/downtop_li1_on.gif
+++ base/src/main/webapp/resources/template/web/smart_001/image/sub/gyosoo/downtop_li1_on.gif
| Binary file is not shown |
--- base/src/main/webapp/template/web/smart_001/image/sub/gyosoo/downtop_li2.gif
+++ base/src/main/webapp/resources/template/web/smart_001/image/sub/gyosoo/downtop_li2.gif
| Binary file is not shown |
--- base/src/main/webapp/template/web/smart_001/image/sub/gyosoo/downtop_li2_on.gif
+++ base/src/main/webapp/resources/template/web/smart_001/image/sub/gyosoo/downtop_li2_on.gif
| Binary file is not shown |
--- base/src/main/webapp/template/web/smart_001/image/sub/gyosoo/downtop_li3.gif
+++ base/src/main/webapp/resources/template/web/smart_001/image/sub/gyosoo/downtop_li3.gif
| Binary file is not shown |
--- base/src/main/webapp/template/web/smart_001/image/sub/gyosoo/downtop_li3_on.gif
+++ base/src/main/webapp/resources/template/web/smart_001/image/sub/gyosoo/downtop_li3_on.gif
| Binary file is not shown |
--- base/src/main/webapp/template/web/smart_001/image/sub/gyosoo/downtop_li4.gif
+++ base/src/main/webapp/resources/template/web/smart_001/image/sub/gyosoo/downtop_li4.gif
| Binary file is not shown |
--- base/src/main/webapp/template/web/smart_001/image/sub/gyosoo/downtop_li4_on.gif
+++ base/src/main/webapp/resources/template/web/smart_001/image/sub/gyosoo/downtop_li4_on.gif
| Binary file is not shown |
--- base/src/main/webapp/template/web/smart_001/image/sub/gyosoo/downtop_li5.gif
+++ base/src/main/webapp/resources/template/web/smart_001/image/sub/gyosoo/downtop_li5.gif
| Binary file is not shown |
--- base/src/main/webapp/template/web/smart_001/image/sub/gyosoo/downtop_li5_on.gif
+++ base/src/main/webapp/resources/template/web/smart_001/image/sub/gyosoo/downtop_li5_on.gif
| Binary file is not shown |
--- base/src/main/webapp/template/web/smart_001/image/sub/gyosoo/downtop_li6.gif
+++ base/src/main/webapp/resources/template/web/smart_001/image/sub/gyosoo/downtop_li6.gif
| Binary file is not shown |
--- base/src/main/webapp/template/web/smart_001/image/sub/gyosoo/downtop_li6_on.gif
+++ base/src/main/webapp/resources/template/web/smart_001/image/sub/gyosoo/downtop_li6_on.gif
| Binary file is not shown |
--- base/src/main/webapp/template/web/smart_001/image/sub/gyosoo/downtop_li7.gif
+++ base/src/main/webapp/resources/template/web/smart_001/image/sub/gyosoo/downtop_li7.gif
| Binary file is not shown |
--- base/src/main/webapp/template/web/smart_001/image/sub/gyosoo/downtop_li7_on.gif
+++ base/src/main/webapp/resources/template/web/smart_001/image/sub/gyosoo/downtop_li7_on.gif
| Binary file is not shown |
--- base/src/main/webapp/template/web/smart_001/image/sub/gyosoo/edu_free.gif
+++ base/src/main/webapp/resources/template/web/smart_001/image/sub/gyosoo/edu_free.gif
| Binary file is not shown |
--- base/src/main/webapp/template/web/smart_001/image/sub/gyosoo/edus_arrow_left.gif
+++ base/src/main/webapp/resources/template/web/smart_001/image/sub/gyosoo/edus_arrow_left.gif
| Binary file is not shown |
--- base/src/main/webapp/template/web/smart_001/image/sub/gyosoo/edus_arrow_right.gif
+++ base/src/main/webapp/resources/template/web/smart_001/image/sub/gyosoo/edus_arrow_right.gif
| Binary file is not shown |
--- base/src/main/webapp/template/web/smart_001/image/sub/gyosoo/edus_noimg.gif
+++ base/src/main/webapp/resources/template/web/smart_001/image/sub/gyosoo/edus_noimg.gif
| Binary file is not shown |
--- base/src/main/webapp/template/web/smart_001/image/sub/gyosoo/edus_quick1.jpg
+++ base/src/main/webapp/resources/template/web/smart_001/image/sub/gyosoo/edus_quick1.jpg
| Binary file is not shown |
--- base/src/main/webapp/template/web/smart_001/image/sub/gyosoo/edus_quick10.jpg
+++ base/src/main/webapp/resources/template/web/smart_001/image/sub/gyosoo/edus_quick10.jpg
| Binary file is not shown |
--- base/src/main/webapp/template/web/smart_001/image/sub/gyosoo/edus_quick10_on.jpg
+++ base/src/main/webapp/resources/template/web/smart_001/image/sub/gyosoo/edus_quick10_on.jpg
| Binary file is not shown |
--- base/src/main/webapp/template/web/smart_001/image/sub/gyosoo/edus_quick11.jpg
+++ base/src/main/webapp/resources/template/web/smart_001/image/sub/gyosoo/edus_quick11.jpg
| Binary file is not shown |
--- base/src/main/webapp/template/web/smart_001/image/sub/gyosoo/edus_quick11_on.jpg
+++ base/src/main/webapp/resources/template/web/smart_001/image/sub/gyosoo/edus_quick11_on.jpg
| Binary file is not shown |
--- base/src/main/webapp/template/web/smart_001/image/sub/gyosoo/edus_quick12.jpg
+++ base/src/main/webapp/resources/template/web/smart_001/image/sub/gyosoo/edus_quick12.jpg
| Binary file is not shown |
--- base/src/main/webapp/template/web/smart_001/image/sub/gyosoo/edus_quick12_on.jpg
+++ base/src/main/webapp/resources/template/web/smart_001/image/sub/gyosoo/edus_quick12_on.jpg
| Binary file is not shown |
--- base/src/main/webapp/template/web/smart_001/image/sub/gyosoo/edus_quick13_01.jpg
+++ base/src/main/webapp/resources/template/web/smart_001/image/sub/gyosoo/edus_quick13_01.jpg
| Binary file is not shown |
--- base/src/main/webapp/template/web/smart_001/image/sub/gyosoo/edus_quick13_02.jpg
+++ base/src/main/webapp/resources/template/web/smart_001/image/sub/gyosoo/edus_quick13_02.jpg
| Binary file is not shown |
--- base/src/main/webapp/template/web/smart_001/image/sub/gyosoo/edus_quick1_on.jpg
+++ base/src/main/webapp/resources/template/web/smart_001/image/sub/gyosoo/edus_quick1_on.jpg
| Binary file is not shown |
--- base/src/main/webapp/template/web/smart_001/image/sub/gyosoo/edus_quick2.jpg
+++ base/src/main/webapp/resources/template/web/smart_001/image/sub/gyosoo/edus_quick2.jpg
| Binary file is not shown |
--- base/src/main/webapp/template/web/smart_001/image/sub/gyosoo/edus_quick2_on.jpg
+++ base/src/main/webapp/resources/template/web/smart_001/image/sub/gyosoo/edus_quick2_on.jpg
| Binary file is not shown |
--- base/src/main/webapp/template/web/smart_001/image/sub/gyosoo/edus_quick3.jpg
+++ base/src/main/webapp/resources/template/web/smart_001/image/sub/gyosoo/edus_quick3.jpg
| Binary file is not shown |
--- base/src/main/webapp/template/web/smart_001/image/sub/gyosoo/edus_quick3_on.jpg
+++ base/src/main/webapp/resources/template/web/smart_001/image/sub/gyosoo/edus_quick3_on.jpg
| Binary file is not shown |
--- base/src/main/webapp/template/web/smart_001/image/sub/gyosoo/edus_quick4.jpg
+++ base/src/main/webapp/resources/template/web/smart_001/image/sub/gyosoo/edus_quick4.jpg
| Binary file is not shown |
--- base/src/main/webapp/template/web/smart_001/image/sub/gyosoo/edus_quick4_on.jpg
+++ base/src/main/webapp/resources/template/web/smart_001/image/sub/gyosoo/edus_quick4_on.jpg
| Binary file is not shown |
--- base/src/main/webapp/template/web/smart_001/image/sub/gyosoo/edus_quick5.jpg
+++ base/src/main/webapp/resources/template/web/smart_001/image/sub/gyosoo/edus_quick5.jpg
| Binary file is not shown |
--- base/src/main/webapp/template/web/smart_001/image/sub/gyosoo/edus_quick5_on.jpg
+++ base/src/main/webapp/resources/template/web/smart_001/image/sub/gyosoo/edus_quick5_on.jpg
| Binary file is not shown |
--- base/src/main/webapp/template/web/smart_001/image/sub/gyosoo/edus_quick6.jpg
+++ base/src/main/webapp/resources/template/web/smart_001/image/sub/gyosoo/edus_quick6.jpg
| Binary file is not shown |
--- base/src/main/webapp/template/web/smart_001/image/sub/gyosoo/edus_quick6_on.jpg
+++ base/src/main/webapp/resources/template/web/smart_001/image/sub/gyosoo/edus_quick6_on.jpg
| Binary file is not shown |
--- base/src/main/webapp/template/web/smart_001/image/sub/gyosoo/edus_quick7.jpg
+++ base/src/main/webapp/resources/template/web/smart_001/image/sub/gyosoo/edus_quick7.jpg
| Binary file is not shown |
--- base/src/main/webapp/template/web/smart_001/image/sub/gyosoo/edus_quick7_on.jpg
+++ base/src/main/webapp/resources/template/web/smart_001/image/sub/gyosoo/edus_quick7_on.jpg
| Binary file is not shown |
--- base/src/main/webapp/template/web/smart_001/image/sub/gyosoo/edus_quick8.jpg
+++ base/src/main/webapp/resources/template/web/smart_001/image/sub/gyosoo/edus_quick8.jpg
| Binary file is not shown |
--- base/src/main/webapp/template/web/smart_001/image/sub/gyosoo/edus_quick8_on.jpg
+++ base/src/main/webapp/resources/template/web/smart_001/image/sub/gyosoo/edus_quick8_on.jpg
| Binary file is not shown |
--- base/src/main/webapp/template/web/smart_001/image/sub/gyosoo/edus_quick9.jpg
+++ base/src/main/webapp/resources/template/web/smart_001/image/sub/gyosoo/edus_quick9.jpg
| Binary file is not shown |
--- base/src/main/webapp/template/web/smart_001/image/sub/gyosoo/edus_quick9_on.jpg
+++ base/src/main/webapp/resources/template/web/smart_001/image/sub/gyosoo/edus_quick9_on.jpg
| Binary file is not shown |
--- base/src/main/webapp/template/web/smart_001/image/sub/gyosoo/gyo_list_bg.gif
+++ base/src/main/webapp/resources/template/web/smart_001/image/sub/gyosoo/gyo_list_bg.gif
| Binary file is not shown |
--- base/src/main/webapp/template/web/smart_001/image/sub/gyosoo/gyo_list_img01.gif
+++ base/src/main/webapp/resources/template/web/smart_001/image/sub/gyosoo/gyo_list_img01.gif
| Binary file is not shown |
--- base/src/main/webapp/template/web/smart_001/image/sub/gyosoo/gyo_list_img02.gif
+++ base/src/main/webapp/resources/template/web/smart_001/image/sub/gyosoo/gyo_list_img02.gif
| Binary file is not shown |
--- base/src/main/webapp/template/web/smart_001/image/sub/gyosoo/gyo_list_img03.gif
+++ base/src/main/webapp/resources/template/web/smart_001/image/sub/gyosoo/gyo_list_img03.gif
| Binary file is not shown |
--- base/src/main/webapp/template/web/smart_001/image/sub/gyosoo/gyosoo_box_top1.png
+++ base/src/main/webapp/resources/template/web/smart_001/image/sub/gyosoo/gyosoo_box_top1.png
| Binary file is not shown |
--- base/src/main/webapp/template/web/smart_001/image/sub/gyosoo/gyosoo_h1.gif
+++ base/src/main/webapp/resources/template/web/smart_001/image/sub/gyosoo/gyosoo_h1.gif
| Binary file is not shown |
--- base/src/main/webapp/template/web/smart_001/image/sub/gyosoo/gyosoo_h1.png
+++ base/src/main/webapp/resources/template/web/smart_001/image/sub/gyosoo/gyosoo_h1.png
| Binary file is not shown |
--- base/src/main/webapp/template/web/smart_001/image/sub/gyosoo/gyosoo_sub_box_bg.png
+++ base/src/main/webapp/resources/template/web/smart_001/image/sub/gyosoo/gyosoo_sub_box_bg.png
| Binary file is not shown |
--- base/src/main/webapp/template/web/smart_001/image/sub/gyosoo/gyosoo_t_bull.gif
+++ base/src/main/webapp/resources/template/web/smart_001/image/sub/gyosoo/gyosoo_t_bull.gif
| Binary file is not shown |
--- base/src/main/webapp/template/web/smart_001/image/sub/gyosoo/gyosoo_win_close.gif
+++ base/src/main/webapp/resources/template/web/smart_001/image/sub/gyosoo/gyosoo_win_close.gif
| Binary file is not shown |
--- base/src/main/webapp/template/web/smart_001/image/sub/gyosoo/gyosoo_win_float.gif
+++ base/src/main/webapp/resources/template/web/smart_001/image/sub/gyosoo/gyosoo_win_float.gif
| Binary file is not shown |
--- base/src/main/webapp/template/web/smart_001/image/sub/gyosoo/gyosoo_win_on.gif
+++ base/src/main/webapp/resources/template/web/smart_001/image/sub/gyosoo/gyosoo_win_on.gif
| Binary file is not shown |
--- base/src/main/webapp/template/web/smart_001/image/sub/gyosoo/ico_glass.gif
+++ base/src/main/webapp/resources/template/web/smart_001/image/sub/gyosoo/ico_glass.gif
| Binary file is not shown |
--- base/src/main/webapp/template/web/smart_001/image/sub/gyosoo/ico_note.gif
+++ base/src/main/webapp/resources/template/web/smart_001/image/sub/gyosoo/ico_note.gif
| Binary file is not shown |
--- base/src/main/webapp/template/web/smart_001/image/sub/gyosoo/ico_recom.gif
+++ base/src/main/webapp/resources/template/web/smart_001/image/sub/gyosoo/ico_recom.gif
| Binary file is not shown |
--- base/src/main/webapp/template/web/smart_001/image/sub/gyosoo/icon_gyosoo_block.gif
+++ base/src/main/webapp/resources/template/web/smart_001/image/sub/gyosoo/icon_gyosoo_block.gif
| Binary file is not shown |
--- base/src/main/webapp/template/web/smart_001/image/sub/gyosoo/icon_gyosoo_camera.gif
+++ base/src/main/webapp/resources/template/web/smart_001/image/sub/gyosoo/icon_gyosoo_camera.gif
| Binary file is not shown |
--- base/src/main/webapp/template/web/smart_001/image/sub/gyosoo/icon_gyosoo_chart.gif
+++ base/src/main/webapp/resources/template/web/smart_001/image/sub/gyosoo/icon_gyosoo_chart.gif
| Binary file is not shown |
--- base/src/main/webapp/template/web/smart_001/image/sub/gyosoo/icon_gyosoo_file.gif
+++ base/src/main/webapp/resources/template/web/smart_001/image/sub/gyosoo/icon_gyosoo_file.gif
| Binary file is not shown |
--- base/src/main/webapp/template/web/smart_001/image/sub/gyosoo/icon_gyosoo_flash.gif
+++ base/src/main/webapp/resources/template/web/smart_001/image/sub/gyosoo/icon_gyosoo_flash.gif
| Binary file is not shown |
--- base/src/main/webapp/template/web/smart_001/image/sub/gyosoo/icon_gyosoo_ie.gif
+++ base/src/main/webapp/resources/template/web/smart_001/image/sub/gyosoo/icon_gyosoo_ie.gif
| Binary file is not shown |
--- base/src/main/webapp/template/web/smart_001/image/sub/gyosoo/icon_gyosoo_inc.gif
+++ base/src/main/webapp/resources/template/web/smart_001/image/sub/gyosoo/icon_gyosoo_inc.gif
| Binary file is not shown |
--- base/src/main/webapp/template/web/smart_001/image/sub/gyosoo/icon_gyosoo_movie.gif
+++ base/src/main/webapp/resources/template/web/smart_001/image/sub/gyosoo/icon_gyosoo_movie.gif
| Binary file is not shown |
--- base/src/main/webapp/template/web/smart_001/image/sub/gyosoo/icon_gyosoo_music.gif
+++ base/src/main/webapp/resources/template/web/smart_001/image/sub/gyosoo/icon_gyosoo_music.gif
| Binary file is not shown |
--- base/src/main/webapp/template/web/smart_001/image/sub/gyosoo/icon_gyosoo_word.gif
+++ base/src/main/webapp/resources/template/web/smart_001/image/sub/gyosoo/icon_gyosoo_word.gif
| Binary file is not shown |
--- base/src/main/webapp/template/web/smart_001/image/sub/gyosoo/icon_like.gif
+++ base/src/main/webapp/resources/template/web/smart_001/image/sub/gyosoo/icon_like.gif
| Binary file is not shown |
--- base/src/main/webapp/template/web/smart_001/image/sub/gyosoo/icon_notice.gif
+++ base/src/main/webapp/resources/template/web/smart_001/image/sub/gyosoo/icon_notice.gif
| Binary file is not shown |
--- base/src/main/webapp/template/web/smart_001/image/sub/gyosoo/kem_btn.gif
+++ base/src/main/webapp/resources/template/web/smart_001/image/sub/gyosoo/kem_btn.gif
| Binary file is not shown |
--- base/src/main/webapp/template/web/smart_001/image/sub/gyosoo/mileage_charge_t.jpg
+++ base/src/main/webapp/resources/template/web/smart_001/image/sub/gyosoo/mileage_charge_t.jpg
| Binary file is not shown |
--- base/src/main/webapp/template/web/smart_001/image/sub/gyosoo/mini_bul.gif
+++ base/src/main/webapp/resources/template/web/smart_001/image/sub/gyosoo/mini_bul.gif
| Binary file is not shown |
--- base/src/main/webapp/template/web/smart_001/image/sub/gyosoo/minishop_noimage.gif
+++ base/src/main/webapp/resources/template/web/smart_001/image/sub/gyosoo/minishop_noimage.gif
| Binary file is not shown |
--- base/src/main/webapp/template/web/smart_001/image/sub/gyosoo/minishop_title.gif
+++ base/src/main/webapp/resources/template/web/smart_001/image/sub/gyosoo/minishop_title.gif
| Binary file is not shown |
--- base/src/main/webapp/template/web/smart_001/image/sub/gyosoo/mym_end.png
+++ base/src/main/webapp/resources/template/web/smart_001/image/sub/gyosoo/mym_end.png
| Binary file is not shown |
--- base/src/main/webapp/template/web/smart_001/image/sub/gyosoo/mym_title.png
+++ base/src/main/webapp/resources/template/web/smart_001/image/sub/gyosoo/mym_title.png
| Binary file is not shown |
--- base/src/main/webapp/template/web/smart_001/image/sub/gyosoo/popup_star_b.png
+++ base/src/main/webapp/resources/template/web/smart_001/image/sub/gyosoo/popup_star_b.png
| Binary file is not shown |
--- base/src/main/webapp/template/web/smart_001/image/sub/gyosoo/popup_star_l.png
+++ base/src/main/webapp/resources/template/web/smart_001/image/sub/gyosoo/popup_star_l.png
| Binary file is not shown |
--- base/src/main/webapp/template/web/smart_001/image/sub/gyosoo/popup_tab_bg.png
+++ base/src/main/webapp/resources/template/web/smart_001/image/sub/gyosoo/popup_tab_bg.png
| Binary file is not shown |
--- base/src/main/webapp/template/web/smart_001/image/sub/gyosoo/popup_tab_bg01.png
+++ base/src/main/webapp/resources/template/web/smart_001/image/sub/gyosoo/popup_tab_bg01.png
| Binary file is not shown |
--- base/src/main/webapp/template/web/smart_001/image/sub/gyosoo/popup_tab_bg02.png
+++ base/src/main/webapp/resources/template/web/smart_001/image/sub/gyosoo/popup_tab_bg02.png
| Binary file is not shown |
--- base/src/main/webapp/template/web/smart_001/image/sub/gyosoo/popup_tab_bg_on.png
+++ base/src/main/webapp/resources/template/web/smart_001/image/sub/gyosoo/popup_tab_bg_on.png
| Binary file is not shown |
--- base/src/main/webapp/template/web/smart_001/image/sub/gyosoo/popup_tab_img01.jpg
+++ base/src/main/webapp/resources/template/web/smart_001/image/sub/gyosoo/popup_tab_img01.jpg
| Binary file is not shown |
--- base/src/main/webapp/template/web/smart_001/image/sub/gyosoo/popup_tab_scrap_bg.png
+++ base/src/main/webapp/resources/template/web/smart_001/image/sub/gyosoo/popup_tab_scrap_bg.png
| Binary file is not shown |
--- base/src/main/webapp/template/web/smart_001/image/sub/gyosoo/ranking_img1.jpg
+++ base/src/main/webapp/resources/template/web/smart_001/image/sub/gyosoo/ranking_img1.jpg
| Binary file is not shown |
--- base/src/main/webapp/template/web/smart_001/image/sub/gyosoo/ranking_img2.jpg
+++ base/src/main/webapp/resources/template/web/smart_001/image/sub/gyosoo/ranking_img2.jpg
| Binary file is not shown |
--- base/src/main/webapp/template/web/smart_001/image/sub/gyosoo/s_01.gif
+++ base/src/main/webapp/resources/template/web/smart_001/image/sub/gyosoo/s_01.gif
| Binary file is not shown |
--- base/src/main/webapp/template/web/smart_001/image/sub/gyosoo/s_02.gif
+++ base/src/main/webapp/resources/template/web/smart_001/image/sub/gyosoo/s_02.gif
| Binary file is not shown |
--- base/src/main/webapp/template/web/smart_001/image/sub/gyosoo/s_03.gif
+++ base/src/main/webapp/resources/template/web/smart_001/image/sub/gyosoo/s_03.gif
| Binary file is not shown |
--- base/src/main/webapp/template/web/smart_001/image/sub/gyosoo/s_04.gif
+++ base/src/main/webapp/resources/template/web/smart_001/image/sub/gyosoo/s_04.gif
| Binary file is not shown |
--- base/src/main/webapp/template/web/smart_001/image/sub/gyosoo/s_05.gif
+++ base/src/main/webapp/resources/template/web/smart_001/image/sub/gyosoo/s_05.gif
| Binary file is not shown |
--- base/src/main/webapp/template/web/smart_001/image/sub/gyosoo/s_06.gif
+++ base/src/main/webapp/resources/template/web/smart_001/image/sub/gyosoo/s_06.gif
| Binary file is not shown |
--- base/src/main/webapp/template/web/smart_001/image/sub/gyosoo/s_07.gif
+++ base/src/main/webapp/resources/template/web/smart_001/image/sub/gyosoo/s_07.gif
| Binary file is not shown |
--- base/src/main/webapp/template/web/smart_001/image/sub/gyosoo/smb_icon01.png
+++ base/src/main/webapp/resources/template/web/smart_001/image/sub/gyosoo/smb_icon01.png
| Binary file is not shown |
--- base/src/main/webapp/template/web/smart_001/image/sub/gyosoo/smb_icon02.png
+++ base/src/main/webapp/resources/template/web/smart_001/image/sub/gyosoo/smb_icon02.png
| Binary file is not shown |
--- base/src/main/webapp/template/web/smart_001/image/sub/gyosoo/smb_icon03.png
+++ base/src/main/webapp/resources/template/web/smart_001/image/sub/gyosoo/smb_icon03.png
| Binary file is not shown |
--- base/src/main/webapp/template/web/smart_001/image/sub/gyosoo/smb_icon04.png
+++ base/src/main/webapp/resources/template/web/smart_001/image/sub/gyosoo/smb_icon04.png
| Binary file is not shown |
--- base/src/main/webapp/template/web/smart_001/image/sub/gyosoo/smb_icon05.png
+++ base/src/main/webapp/resources/template/web/smart_001/image/sub/gyosoo/smb_icon05.png
| Binary file is not shown |
--- base/src/main/webapp/template/web/smart_001/image/sub/gyosoo/smb_icon06.png
+++ base/src/main/webapp/resources/template/web/smart_001/image/sub/gyosoo/smb_icon06.png
| Binary file is not shown |
--- base/src/main/webapp/template/web/smart_001/image/sub/gyosoo/smb_icon07.png
+++ base/src/main/webapp/resources/template/web/smart_001/image/sub/gyosoo/smb_icon07.png
| Binary file is not shown |
--- base/src/main/webapp/template/web/smart_001/image/sub/gyosoo/smb_icon08.png
+++ base/src/main/webapp/resources/template/web/smart_001/image/sub/gyosoo/smb_icon08.png
| Binary file is not shown |
--- base/src/main/webapp/template/web/smart_001/image/sub/gyosoo/smb_icon09.png
+++ base/src/main/webapp/resources/template/web/smart_001/image/sub/gyosoo/smb_icon09.png
| Binary file is not shown |
--- base/src/main/webapp/template/web/smart_001/image/sub/gyosoo/tabbg.png
+++ base/src/main/webapp/resources/template/web/smart_001/image/sub/gyosoo/tabbg.png
| Binary file is not shown |
--- base/src/main/webapp/template/web/smart_001/image/sub/gyosoo/tabbg_on.png
+++ base/src/main/webapp/resources/template/web/smart_001/image/sub/gyosoo/tabbg_on.png
| Binary file is not shown |
--- base/src/main/webapp/template/web/smart_001/image/sub/gyosoo/tit_download_top.gif
+++ base/src/main/webapp/resources/template/web/smart_001/image/sub/gyosoo/tit_download_top.gif
| Binary file is not shown |
--- base/src/main/webapp/template/web/smart_001/image/sub/gyosoo/tit_minishop.gif
+++ base/src/main/webapp/resources/template/web/smart_001/image/sub/gyosoo/tit_minishop.gif
| Binary file is not shown |
--- base/src/main/webapp/template/web/smart_001/image/sub/gyosoo/tit_ranking.gif
+++ base/src/main/webapp/resources/template/web/smart_001/image/sub/gyosoo/tit_ranking.gif
| Binary file is not shown |
--- base/src/main/webapp/template/web/smart_001/image/sub/gyosoo/top_bg.gif
+++ base/src/main/webapp/resources/template/web/smart_001/image/sub/gyosoo/top_bg.gif
| Binary file is not shown |
--- base/src/main/webapp/template/web/smart_001/image/sub/gyosoo/top_img.png
+++ base/src/main/webapp/resources/template/web/smart_001/image/sub/gyosoo/top_img.png
| Binary file is not shown |
--- base/src/main/webapp/template/web/smart_001/image/sub/img/@img.jpg
+++ base/src/main/webapp/resources/template/web/smart_001/image/sub/img/@img.jpg
| Binary file is not shown |
--- base/src/main/webapp/template/web/smart_001/image/sub/img/@img01.jpg
+++ base/src/main/webapp/resources/template/web/smart_001/image/sub/img/@img01.jpg
| Binary file is not shown |
--- base/src/main/webapp/template/web/smart_001/image/sub/img/@img02.jpg
+++ base/src/main/webapp/resources/template/web/smart_001/image/sub/img/@img02.jpg
| Binary file is not shown |
--- base/src/main/webapp/template/web/smart_001/image/sub/img/@img03.jpg
+++ base/src/main/webapp/resources/template/web/smart_001/image/sub/img/@img03.jpg
| Binary file is not shown |
--- base/src/main/webapp/template/web/smart_001/image/sub/img/bar_bg.gif
+++ base/src/main/webapp/resources/template/web/smart_001/image/sub/img/bar_bg.gif
| Binary file is not shown |
--- base/src/main/webapp/template/web/smart_001/image/sub/img/bg_bar.png
+++ base/src/main/webapp/resources/template/web/smart_001/image/sub/img/bg_bar.png
| Binary file is not shown |
--- base/src/main/webapp/template/web/smart_001/image/sub/img/close.gif
+++ base/src/main/webapp/resources/template/web/smart_001/image/sub/img/close.gif
| Binary file is not shown |
--- base/src/main/webapp/template/web/smart_001/image/sub/img/gra.gif
+++ base/src/main/webapp/resources/template/web/smart_001/image/sub/img/gra.gif
| Binary file is not shown |
--- base/src/main/webapp/template/web/smart_001/image/sub/img/icon01.gif
+++ base/src/main/webapp/resources/template/web/smart_001/image/sub/img/icon01.gif
| Binary file is not shown |
--- base/src/main/webapp/template/web/smart_001/image/sub/img/icon02.gif
+++ base/src/main/webapp/resources/template/web/smart_001/image/sub/img/icon02.gif
| Binary file is not shown |
--- base/src/main/webapp/template/web/smart_001/image/sub/img/icon03.gif
+++ base/src/main/webapp/resources/template/web/smart_001/image/sub/img/icon03.gif
| Binary file is not shown |
--- base/src/main/webapp/template/web/smart_001/image/sub/img/icon_box.png
+++ base/src/main/webapp/resources/template/web/smart_001/image/sub/img/icon_box.png
| Binary file is not shown |
--- base/src/main/webapp/template/web/smart_001/image/sub/img/logo.png
+++ base/src/main/webapp/resources/template/web/smart_001/image/sub/img/logo.png
| Binary file is not shown |
--- base/src/main/webapp/template/web/smart_001/image/sub/img/my_bot01.png
+++ base/src/main/webapp/resources/template/web/smart_001/image/sub/img/my_bot01.png
| Binary file is not shown |
--- base/src/main/webapp/template/web/smart_001/image/sub/img/my_center01.png
+++ base/src/main/webapp/resources/template/web/smart_001/image/sub/img/my_center01.png
| Binary file is not shown |
--- base/src/main/webapp/template/web/smart_001/image/sub/img/my_left.png
+++ base/src/main/webapp/resources/template/web/smart_001/image/sub/img/my_left.png
| Binary file is not shown |
--- base/src/main/webapp/template/web/smart_001/image/sub/img/my_right.png
+++ base/src/main/webapp/resources/template/web/smart_001/image/sub/img/my_right.png
| Binary file is not shown |
--- base/src/main/webapp/template/web/smart_001/image/sub/img/o_bot01.gif
+++ base/src/main/webapp/resources/template/web/smart_001/image/sub/img/o_bot01.gif
| Binary file is not shown |
--- base/src/main/webapp/template/web/smart_001/image/sub/img/o_center01.png
+++ base/src/main/webapp/resources/template/web/smart_001/image/sub/img/o_center01.png
| Binary file is not shown |
--- base/src/main/webapp/template/web/smart_001/image/sub/img/o_left.png
+++ base/src/main/webapp/resources/template/web/smart_001/image/sub/img/o_left.png
| Binary file is not shown |
--- base/src/main/webapp/template/web/smart_001/image/sub/img/o_right.png
+++ base/src/main/webapp/resources/template/web/smart_001/image/sub/img/o_right.png
| Binary file is not shown |
--- base/src/main/webapp/template/web/smart_001/image/sub/img/plus.gif
+++ base/src/main/webapp/resources/template/web/smart_001/image/sub/img/plus.gif
| Binary file is not shown |
--- base/src/main/webapp/template/web/smart_001/image/sub/img/plus2.gif
+++ base/src/main/webapp/resources/template/web/smart_001/image/sub/img/plus2.gif
| Binary file is not shown |
--- base/src/main/webapp/template/web/smart_001/image/sub/img/sc_btn01.gif
+++ base/src/main/webapp/resources/template/web/smart_001/image/sub/img/sc_btn01.gif
| Binary file is not shown |
--- base/src/main/webapp/template/web/smart_001/image/sub/img/sc_btn02.gif
+++ base/src/main/webapp/resources/template/web/smart_001/image/sub/img/sc_btn02.gif
| Binary file is not shown |
--- base/src/main/webapp/template/web/smart_001/image/sub/img/search_btn.gif
+++ base/src/main/webapp/resources/template/web/smart_001/image/sub/img/search_btn.gif
| Binary file is not shown |
--- base/src/main/webapp/template/web/smart_001/image/sub/img/search_icon.gif
+++ base/src/main/webapp/resources/template/web/smart_001/image/sub/img/search_icon.gif
| Binary file is not shown |
--- base/src/main/webapp/template/web/smart_001/image/sub/img/st_btn.gif
+++ base/src/main/webapp/resources/template/web/smart_001/image/sub/img/st_btn.gif
| Binary file is not shown |
--- base/src/main/webapp/template/web/smart_001/image/sub/img/star0.gif
+++ base/src/main/webapp/resources/template/web/smart_001/image/sub/img/star0.gif
| Binary file is not shown |
--- base/src/main/webapp/template/web/smart_001/image/sub/img/star1.gif
+++ base/src/main/webapp/resources/template/web/smart_001/image/sub/img/star1.gif
| Binary file is not shown |
--- base/src/main/webapp/template/web/smart_001/image/sub/img/star2.gif
+++ base/src/main/webapp/resources/template/web/smart_001/image/sub/img/star2.gif
| Binary file is not shown |
--- base/src/main/webapp/template/web/smart_001/image/sub/img/star3.gif
+++ base/src/main/webapp/resources/template/web/smart_001/image/sub/img/star3.gif
| Binary file is not shown |
--- base/src/main/webapp/template/web/smart_001/image/sub/img/star4.gif
+++ base/src/main/webapp/resources/template/web/smart_001/image/sub/img/star4.gif
| Binary file is not shown |
--- base/src/main/webapp/template/web/smart_001/image/sub/img/star5.gif
+++ base/src/main/webapp/resources/template/web/smart_001/image/sub/img/star5.gif
| Binary file is not shown |
--- base/src/main/webapp/template/web/smart_001/image/sub/img/top_bg.gif
+++ base/src/main/webapp/resources/template/web/smart_001/image/sub/img/top_bg.gif
| Binary file is not shown |
--- base/src/main/webapp/template/web/smart_001/image/sub/img/top_icon01.gif
+++ base/src/main/webapp/resources/template/web/smart_001/image/sub/img/top_icon01.gif
| Binary file is not shown |
--- base/src/main/webapp/template/web/smart_001/image/sub/img/top_icon02.gif
+++ base/src/main/webapp/resources/template/web/smart_001/image/sub/img/top_icon02.gif
| Binary file is not shown |
--- base/src/main/webapp/template/web/smart_001/image/sub/img/write.gif
+++ base/src/main/webapp/resources/template/web/smart_001/image/sub/img/write.gif
| Binary file is not shown |
--- base/src/main/webapp/template/web/smart_001/image/sub/img_infoservice.gif
+++ base/src/main/webapp/resources/template/web/smart_001/image/sub/img_infoservice.gif
| Binary file is not shown |
--- base/src/main/webapp/template/web/smart_001/image/sub/img_noemail.gif
+++ base/src/main/webapp/resources/template/web/smart_001/image/sub/img_noemail.gif
| Binary file is not shown |
--- base/src/main/webapp/template/web/smart_001/image/sub/img_re.gif
+++ base/src/main/webapp/resources/template/web/smart_001/image/sub/img_re.gif
| Binary file is not shown |
--- base/src/main/webapp/template/web/smart_001/image/sub/make_mini.gif
+++ base/src/main/webapp/resources/template/web/smart_001/image/sub/make_mini.gif
| Binary file is not shown |
--- base/src/main/webapp/template/web/smart_001/image/sub/metoday_icon.png
+++ base/src/main/webapp/resources/template/web/smart_001/image/sub/metoday_icon.png
| Binary file is not shown |
--- base/src/main/webapp/template/web/smart_001/image/sub/pms/btn_exceldown.gif
+++ base/src/main/webapp/resources/template/web/smart_001/image/sub/pms/btn_exceldown.gif
| Binary file is not shown |
--- base/src/main/webapp/template/web/smart_001/image/sub/pms/btn_excelupload.gif
+++ base/src/main/webapp/resources/template/web/smart_001/image/sub/pms/btn_excelupload.gif
| Binary file is not shown |
--- base/src/main/webapp/template/web/smart_001/image/sub/pms/btn_pms_info.gif
+++ base/src/main/webapp/resources/template/web/smart_001/image/sub/pms/btn_pms_info.gif
| Binary file is not shown |
--- base/src/main/webapp/template/web/smart_001/image/sub/pms/btn_pmslist.gif
+++ base/src/main/webapp/resources/template/web/smart_001/image/sub/pms/btn_pmslist.gif
| Binary file is not shown |
--- base/src/main/webapp/template/web/smart_001/image/sub/pms/btn_pmsok.gif
+++ base/src/main/webapp/resources/template/web/smart_001/image/sub/pms/btn_pmsok.gif
| Binary file is not shown |
--- base/src/main/webapp/template/web/smart_001/image/sub/pms/ico_pmsdone.gif
+++ base/src/main/webapp/resources/template/web/smart_001/image/sub/pms/ico_pmsdone.gif
| Binary file is not shown |
--- base/src/main/webapp/template/web/smart_001/image/sub/pms/ico_pmsing.gif
+++ base/src/main/webapp/resources/template/web/smart_001/image/sub/pms/ico_pmsing.gif
| Binary file is not shown |
--- base/src/main/webapp/template/web/smart_001/image/sub/pms/ico_pmsres.gif
+++ base/src/main/webapp/resources/template/web/smart_001/image/sub/pms/ico_pmsres.gif
| Binary file is not shown |
--- base/src/main/webapp/template/web/smart_001/image/sub/pms/pms_head_img.jpg
+++ base/src/main/webapp/resources/template/web/smart_001/image/sub/pms/pms_head_img.jpg
| Binary file is not shown |
--- base/src/main/webapp/template/web/smart_001/image/sub/rss_icon.png
+++ base/src/main/webapp/resources/template/web/smart_001/image/sub/rss_icon.png
| Binary file is not shown |
--- base/src/main/webapp/template/web/smart_001/image/sub/smart_info.png
+++ base/src/main/webapp/resources/template/web/smart_001/image/sub/smart_info.png
| Binary file is not shown |
--- base/src/main/webapp/template/web/smart_001/image/sub/smartcn/calendar_end.gif
+++ base/src/main/webapp/resources/template/web/smart_001/image/sub/smartcn/calendar_end.gif
| Binary file is not shown |
--- base/src/main/webapp/template/web/smart_001/image/sub/smartcn/calendar_ing.gif
+++ base/src/main/webapp/resources/template/web/smart_001/image/sub/smartcn/calendar_ing.gif
| Binary file is not shown |
--- base/src/main/webapp/template/web/smart_001/image/sub/smartcn/calendar_left.gif
+++ base/src/main/webapp/resources/template/web/smart_001/image/sub/smartcn/calendar_left.gif
| Binary file is not shown |
--- base/src/main/webapp/template/web/smart_001/image/sub/smartcn/calendar_list_view.gif
+++ base/src/main/webapp/resources/template/web/smart_001/image/sub/smartcn/calendar_list_view.gif
| Binary file is not shown |
--- base/src/main/webapp/template/web/smart_001/image/sub/smartcn/calendar_list_view_on.gif
+++ base/src/main/webapp/resources/template/web/smart_001/image/sub/smartcn/calendar_list_view_on.gif
| Binary file is not shown |
--- base/src/main/webapp/template/web/smart_001/image/sub/smartcn/calendar_month_view.gif
+++ base/src/main/webapp/resources/template/web/smart_001/image/sub/smartcn/calendar_month_view.gif
| Binary file is not shown |
--- base/src/main/webapp/template/web/smart_001/image/sub/smartcn/calendar_month_view_on.gif
+++ base/src/main/webapp/resources/template/web/smart_001/image/sub/smartcn/calendar_month_view_on.gif
| Binary file is not shown |
--- base/src/main/webapp/template/web/smart_001/image/sub/smartcn/calendar_ready.gif
+++ base/src/main/webapp/resources/template/web/smart_001/image/sub/smartcn/calendar_ready.gif
| Binary file is not shown |
--- base/src/main/webapp/template/web/smart_001/image/sub/smartcn/calendar_right.gif
+++ base/src/main/webapp/resources/template/web/smart_001/image/sub/smartcn/calendar_right.gif
| Binary file is not shown |
--- base/src/main/webapp/template/web/smart_001/image/sub/smartcn/calendar_th_bg.gif
+++ base/src/main/webapp/resources/template/web/smart_001/image/sub/smartcn/calendar_th_bg.gif
| Binary file is not shown |
--- base/src/main/webapp/template/web/smart_001/image/sub/smartcn/j_icon.gif
+++ base/src/main/webapp/resources/template/web/smart_001/image/sub/smartcn/j_icon.gif
| Binary file is not shown |
--- base/src/main/webapp/template/web/smart_001/image/sub/smartcn/notice_head_img01.gif
+++ base/src/main/webapp/resources/template/web/smart_001/image/sub/smartcn/notice_head_img01.gif
| Binary file is not shown |
--- base/src/main/webapp/template/web/smart_001/image/sub/smartcn/notice_head_img02.gif
+++ base/src/main/webapp/resources/template/web/smart_001/image/sub/smartcn/notice_head_img02.gif
| Binary file is not shown |
--- base/src/main/webapp/template/web/smart_001/image/sub/smartcn/notice_head_img03.gif
+++ base/src/main/webapp/resources/template/web/smart_001/image/sub/smartcn/notice_head_img03.gif
| Binary file is not shown |
--- base/src/main/webapp/template/web/smart_001/image/sub/smartcn/notice_head_img04.gif
+++ base/src/main/webapp/resources/template/web/smart_001/image/sub/smartcn/notice_head_img04.gif
| Binary file is not shown |
--- base/src/main/webapp/template/web/smart_001/image/sub/smartcn/poll_close.gif
+++ base/src/main/webapp/resources/template/web/smart_001/image/sub/smartcn/poll_close.gif
| Binary file is not shown |
--- base/src/main/webapp/template/web/smart_001/image/sub/smartcn/poll_result_bg.gif
+++ base/src/main/webapp/resources/template/web/smart_001/image/sub/smartcn/poll_result_bg.gif
| Binary file is not shown |
--- base/src/main/webapp/template/web/smart_001/image/sub/smartcn/poll_result_close.gif
+++ base/src/main/webapp/resources/template/web/smart_001/image/sub/smartcn/poll_result_close.gif
| Binary file is not shown |
--- base/src/main/webapp/template/web/smart_001/image/sub/smartcn/poll_result_top.gif
+++ base/src/main/webapp/resources/template/web/smart_001/image/sub/smartcn/poll_result_top.gif
| Binary file is not shown |
--- base/src/main/webapp/template/web/smart_001/image/sub/smartcn/poll_view.gif
+++ base/src/main/webapp/resources/template/web/smart_001/image/sub/smartcn/poll_view.gif
| Binary file is not shown |
--- base/src/main/webapp/template/web/smart_001/image/sub/smartnote/btn_download.gif
+++ base/src/main/webapp/resources/template/web/smart_001/image/sub/smartnote/btn_download.gif
| Binary file is not shown |
--- base/src/main/webapp/template/web/smart_001/image/sub/smartnote/btn_install.gif
+++ base/src/main/webapp/resources/template/web/smart_001/image/sub/smartnote/btn_install.gif
| Binary file is not shown |
--- base/src/main/webapp/template/web/smart_001/image/sub/smartnote/btn_install_adobe.gif
+++ base/src/main/webapp/resources/template/web/smart_001/image/sub/smartnote/btn_install_adobe.gif
| Binary file is not shown |
--- base/src/main/webapp/template/web/smart_001/image/sub/smartnote/btn_install_program.gif
+++ base/src/main/webapp/resources/template/web/smart_001/image/sub/smartnote/btn_install_program.gif
| Binary file is not shown |
--- base/src/main/webapp/template/web/smart_001/image/sub/smartnote/install_bg.gif
+++ base/src/main/webapp/resources/template/web/smart_001/image/sub/smartnote/install_bg.gif
| Binary file is not shown |
--- base/src/main/webapp/template/web/smart_001/image/sub/smartnote/smartnote_bg01.gif
+++ base/src/main/webapp/resources/template/web/smart_001/image/sub/smartnote/smartnote_bg01.gif
| Binary file is not shown |
--- base/src/main/webapp/template/web/smart_001/image/sub/smartnote/smartnote_bg01.jpg
+++ base/src/main/webapp/resources/template/web/smart_001/image/sub/smartnote/smartnote_bg01.jpg
| Binary file is not shown |
--- base/src/main/webapp/template/web/smart_001/image/sub/smartnote/smartnote_btn01.gif
+++ base/src/main/webapp/resources/template/web/smart_001/image/sub/smartnote/smartnote_btn01.gif
| Binary file is not shown |
--- base/src/main/webapp/template/web/smart_001/image/sub/smartnote/smartnote_btn02.gif
+++ base/src/main/webapp/resources/template/web/smart_001/image/sub/smartnote/smartnote_btn02.gif
| Binary file is not shown |
--- base/src/main/webapp/template/web/smart_001/image/sub/smartnote/smartnote_btn03.gif
+++ base/src/main/webapp/resources/template/web/smart_001/image/sub/smartnote/smartnote_btn03.gif
| Binary file is not shown |
--- base/src/main/webapp/template/web/smart_001/image/sub/smartnote/smartnote_btn04.gif
+++ base/src/main/webapp/resources/template/web/smart_001/image/sub/smartnote/smartnote_btn04.gif
| Binary file is not shown |
--- base/src/main/webapp/template/web/smart_001/image/sub/smartnote/smartnote_btnbg.gif
+++ base/src/main/webapp/resources/template/web/smart_001/image/sub/smartnote/smartnote_btnbg.gif
| Binary file is not shown |
--- base/src/main/webapp/template/web/smart_001/image/sub/smartnote/smartnote_t01.gif
+++ base/src/main/webapp/resources/template/web/smart_001/image/sub/smartnote/smartnote_t01.gif
| Binary file is not shown |
--- base/src/main/webapp/template/web/smart_001/image/sub/top_img.png
+++ base/src/main/webapp/resources/template/web/smart_001/image/sub/top_img.png
| Binary file is not shown |
--- base/src/main/webapp/template/web/smart_001/image/sub/tweeter_icon.png
+++ base/src/main/webapp/resources/template/web/smart_001/image/sub/tweeter_icon.png
| Binary file is not shown |
Add a comment
Delete comment
Once you delete this comment, you won't be able to recover it. Are you sure you want to delete this comment?