--- base/.classpath
+++ base/.classpath
... | ... | @@ -17,7 +17,7 @@ |
| 17 | 17 |
</attributes> |
| 18 | 18 |
</classpathentry> |
| 19 | 19 |
<classpathentry kind="con" path="org.eclipse.jst.j2ee.internal.web.container"/> |
| 20 |
- <classpathentry kind="con" path="org.eclipse.jst.server.core.container/org.eclipse.jst.server.tomcat.runtimeTarget/Apache Tomcat v8.0"/> |
|
| 20 |
+ <classpathentry kind="con" path="org.eclipse.jst.server.core.container/org.eclipse.jst.server.tomcat.runtimeTarget/Apache Tomcat v9.0"/> |
|
| 21 | 21 |
<classpathentry kind="con" path="org.eclipse.m2e.MAVEN2_CLASSPATH_CONTAINER"> |
| 22 | 22 |
<attributes> |
| 23 | 23 |
<attribute name="maven.pomderived" value="true"/> |
--- base/pom.xml
+++ base/pom.xml
... | ... | @@ -600,6 +600,19 @@ |
| 600 | 600 |
<version>2.6.2</version> |
| 601 | 601 |
</dependency> |
| 602 | 602 |
|
| 603 |
+ <!-- mybatis log4jdbc-log4j2 라이브러리 --> |
|
| 604 |
+ <dependency> |
|
| 605 |
+ <groupId>org.bgee.log4jdbc-log4j2</groupId> |
|
| 606 |
+ <artifactId>log4jdbc-log4j2-jdbc4.1</artifactId> |
|
| 607 |
+ <version>1.16</version> |
|
| 608 |
+ </dependency> |
|
| 609 |
+ |
|
| 610 |
+ <dependency> |
|
| 611 |
+ <groupId>net.sf</groupId> |
|
| 612 |
+ <artifactId>log4jdbc3</artifactId> |
|
| 613 |
+ <version>1.1</version> |
|
| 614 |
+ </dependency> |
|
| 615 |
+ |
|
| 603 | 616 |
</dependencies> |
| 604 | 617 |
|
| 605 | 618 |
|
--- base/src/main/java/egovframework/com/cop/bbs/service/EgovBBSCtgryMasterService.java
+++ base/src/main/java/egovframework/com/cop/bbs/service/EgovBBSCtgryMasterService.java
... | ... | @@ -5,69 +5,28 @@ |
| 5 | 5 |
import egovframework.com.cop.bbs.service.CtgryMasterVO; |
| 6 | 6 |
import egovframework.com.cop.bbs.service.CtgryMaster; |
| 7 | 7 |
|
| 8 |
-/** |
|
| 9 |
- * @Class Name : ComtnbbsctgrymasterService.java |
|
| 10 |
- * @Description : Comtnbbsctgrymaster Business class |
|
| 11 |
- * @Modification Information |
|
| 12 |
- * |
|
| 13 |
- * @author 정정욱 |
|
| 14 |
- * @since 20110907 |
|
| 15 |
- * @version 1.0 |
|
| 16 |
- * @see |
|
| 17 |
- * |
|
| 18 |
- * Copyright (C) All right reserved. |
|
| 19 |
- */ |
|
| 8 |
+//카테고리마스터 Service |
|
| 20 | 9 |
public interface EgovBBSCtgryMasterService {
|
| 21 | 10 |
|
| 22 |
- /** |
|
| 23 |
- * COMTNBBSCTGRYMASTER을 등록한다. |
|
| 24 |
- * @param vo - 등록할 정보가 담긴 ComtnbbsctgrymasterVO |
|
| 25 |
- * @return 등록 결과 |
|
| 26 |
- * @exception Exception |
|
| 27 |
- */ |
|
| 11 |
+ //COMTNBBSCTGRYMASTER을 등록한다. |
|
| 28 | 12 |
String insertComtnbbsctgrymaster(CtgryMaster vo) throws Exception; |
| 29 | 13 |
|
| 30 |
- /** |
|
| 31 |
- * COMTNBBSCTGRYMASTER을 수정한다. |
|
| 32 |
- * @param vo - 수정할 정보가 담긴 ComtnbbsctgrymasterVO |
|
| 33 |
- * @return void형 |
|
| 34 |
- * @exception Exception |
|
| 35 |
- */ |
|
| 14 |
+ //COMTNBBSCTGRYMASTER을 수정한다. |
|
| 36 | 15 |
void updateComtnbbsctgrymaster(CtgryMaster vo) throws Exception; |
| 37 | 16 |
|
| 38 |
- /** |
|
| 39 |
- * COMTNBBSCTGRYMASTER을 삭제한다. |
|
| 40 |
- * @param vo - 삭제할 정보가 담긴 ComtnbbsctgrymasterVO |
|
| 41 |
- * @return void형 |
|
| 42 |
- * @exception Exception |
|
| 43 |
- */ |
|
| 17 |
+ //COMTNBBSCTGRYMASTER을 삭제한다. |
|
| 44 | 18 |
void deleteComtnbbsctgrymaster(CtgryMaster vo) throws Exception; |
| 45 | 19 |
|
| 46 |
- /** |
|
| 47 |
- * COMTNBBSCTGRYMASTER을 조회한다. |
|
| 48 |
- * @param vo - 조회할 정보가 담긴 ComtnbbsctgrymasterVO |
|
| 49 |
- * @return 조회한 COMTNBBSCTGRYMASTER |
|
| 50 |
- * @exception Exception |
|
| 51 |
- */ |
|
| 20 |
+ //COMTNBBSCTGRYMASTER을 조회한다. |
|
| 52 | 21 |
CtgryMaster selectComtnbbsctgrymaster(CtgryMaster vo) throws Exception; |
| 53 | 22 |
|
| 54 | 23 |
//카테고리마스터Id검색 |
| 55 | 24 |
CtgryMaster selectCtgrymasterId(CtgryMaster vo) throws Exception; |
| 56 | 25 |
|
| 57 |
- /** |
|
| 58 |
- * COMTNBBSCTGRYMASTER 목록을 조회한다. |
|
| 59 |
- * @param searchVO - 조회할 정보가 담긴 VO |
|
| 60 |
- * @return COMTNBBSCTGRYMASTER 목록 |
|
| 61 |
- * @exception Exception |
|
| 62 |
- */ |
|
| 26 |
+ //COMTNBBSCTGRYMASTER 목록을 조회한다. |
|
| 63 | 27 |
List<CtgryMaster> selectComtnbbsctgrymasterList(CtgryMasterVO searchVO) throws Exception; |
| 64 | 28 |
|
| 65 |
- /** |
|
| 66 |
- * COMTNBBSCTGRYMASTER 총 갯수를 조회한다. |
|
| 67 |
- * @param searchVO - 조회할 정보가 담긴 VO |
|
| 68 |
- * @return COMTNBBSCTGRYMASTER 총 갯수 |
|
| 69 |
- * @exception |
|
| 70 |
- */ |
|
| 29 |
+ //COMTNBBSCTGRYMASTER 총 갯수를 조회한다. |
|
| 71 | 30 |
int selectComtnbbsctgrymasterListTotCnt(CtgryMasterVO searchVO); |
| 72 | 31 |
|
| 73 | 32 |
List<CtgryMaster> selectCtgrymasterList(CtgryMasterVO searchVO) throws Exception; |
--- base/src/main/java/egovframework/com/cop/com/service/BbsSourc.java
... | ... | @@ -1,185 +0,0 @@ |
| 1 | -package egovframework.com.cop.com.service; | |
| 2 | - | |
| 3 | -import java.io.Serializable; | |
| 4 | - | |
| 5 | -/** | |
| 6 | - * @Class Name : EgovBbsSourc | |
| 7 | - * @Description : EgovBbsSourc 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 BbsSourc implements Serializable {
| |
| 19 | - | |
| 20 | - /** BBS_SOURC_ID */ | |
| 21 | - private java.lang.String bbsSourcId; | |
| 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 | - /** LIST_SOURC */ | |
| 33 | - private java.lang.String listSourc; | |
| 34 | - | |
| 35 | - /** VIEW_SOURC */ | |
| 36 | - private java.lang.String viewSourc; | |
| 37 | - | |
| 38 | - /** FORM_SOURC */ | |
| 39 | - private java.lang.String formSourc; | |
| 40 | - | |
| 41 | - /** CM_SOURC */ | |
| 42 | - private java.lang.String cmSourc; | |
| 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 | - /** BBS_SOURC_HIST_ID */ | |
| 63 | - private java.lang.String bbsSourcHistId; | |
| 64 | - | |
| 65 | - public java.lang.String getBbsSourcId() {
| |
| 66 | - return this.bbsSourcId; | |
| 67 | - } | |
| 68 | - | |
| 69 | - public void setBbsSourcId(java.lang.String bbsSourcId) {
| |
| 70 | - this.bbsSourcId = bbsSourcId; | |
| 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 getListSourc() {
| |
| 98 | - return this.listSourc; | |
| 99 | - } | |
| 100 | - | |
| 101 | - public void setListSourc(java.lang.String listSourc) {
| |
| 102 | - this.listSourc = listSourc; | |
| 103 | - } | |
| 104 | - | |
| 105 | - public java.lang.String getViewSourc() {
| |
| 106 | - return this.viewSourc; | |
| 107 | - } | |
| 108 | - | |
| 109 | - public void setViewSourc(java.lang.String viewSourc) {
| |
| 110 | - this.viewSourc = viewSourc; | |
| 111 | - } | |
| 112 | - | |
| 113 | - public java.lang.String getFormSourc() {
| |
| 114 | - return this.formSourc; | |
| 115 | - } | |
| 116 | - | |
| 117 | - public void setFormSourc(java.lang.String formSourc) {
| |
| 118 | - this.formSourc = formSourc; | |
| 119 | - } | |
| 120 | - | |
| 121 | - public java.lang.String getCmSourc() {
| |
| 122 | - return this.cmSourc; | |
| 123 | - } | |
| 124 | - | |
| 125 | - public void setCmSourc(java.lang.String cmSourc) {
| |
| 126 | - this.cmSourc = cmSourc; | |
| 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 getBbsSourcHistId() {
| |
| 178 | - return bbsSourcHistId; | |
| 179 | - } | |
| 180 | - | |
| 181 | - public void setBbsSourcHistId(java.lang.String bbsSourcHistId) {
| |
| 182 | - this.bbsSourcHistId = bbsSourcHistId; | |
| 183 | - } | |
| 184 | - | |
| 185 | -} |
+++ base/src/main/java/egovframework/com/cop/com/service/BbsSourcHistoryService.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.BbsSourcVO; | |
| 5 | + | |
| 6 | +//게시판소스 이력관리 | |
| 7 | +public interface BbsSourcHistoryService {
| |
| 8 | + | |
| 9 | + //COMTNBBSSOURCHISTORY을 등록한다. | |
| 10 | + String insertBbsSourcHistory(BbsSourcVO vo) throws Exception; | |
| 11 | + | |
| 12 | + //COMTNBBSSOURCHISTORY을 삭제한다. | |
| 13 | + void deleteBbsSourcHistory(BbsSourcVO vo) throws Exception; | |
| 14 | + | |
| 15 | + //COMTNBBSSOURCHISTORY을 조회한다. | |
| 16 | + BbsSourcVO selectBbsSourcHistory(BbsSourcVO vo) throws Exception; | |
| 17 | + | |
| 18 | + //COMTNBBSSOURCHISTORY 목록을 조회한다. | |
| 19 | + List<BbsSourcVO> selectBbsSourcHistoryList(BbsSourcVO searchVO) throws Exception; | |
| 20 | + | |
| 21 | + //COMTNBBSSOURCHISTORY 총 갯수를 조회한다. | |
| 22 | + int selectBbsSourcHistoryListCnt(BbsSourcVO searchVO); | |
| 23 | + | |
| 24 | +} |
+++ base/src/main/java/egovframework/com/cop/com/service/BbsSourcService.java
... | ... | @@ -0,0 +1,27 @@ |
| 1 | +package egovframework.com.cop.com.service; | |
| 2 | + | |
| 3 | +import java.util.List; | |
| 4 | +import egovframework.com.cop.com.service.BbsSourcVO; | |
| 5 | + | |
| 6 | +//게시판 소스 서비스 | |
| 7 | +public interface BbsSourcService {
| |
| 8 | + | |
| 9 | + //COMTNBBSSOURC을 등록한다. | |
| 10 | + String insertBbsSourc(BbsSourcVO vo) throws Exception; | |
| 11 | + | |
| 12 | + //COMTNBBSSOURC을 수정한다. | |
| 13 | + void updateBbsSourc(BbsSourcVO vo) throws Exception; | |
| 14 | + | |
| 15 | + //COMTNBBSSOURC을 삭제한다. | |
| 16 | + void deleteBbsSourc(BbsSourcVO vo) throws Exception; | |
| 17 | + | |
| 18 | + //COMTNBBSSOURC을 조회한다. | |
| 19 | + BbsSourcVO selectBbsSourc(BbsSourcVO vo) throws Exception; | |
| 20 | + | |
| 21 | + //COMTNBBSSOURC 목록을 조회한다. | |
| 22 | + List<BbsSourcVO> selectBbsSourcList(BbsSourcVO searchVO) throws Exception; | |
| 23 | + | |
| 24 | + //COMTNBBSSOURC 총 갯수를 조회한다. | |
| 25 | + int selectBbsSourcListCnt(BbsSourcVO searchVO); | |
| 26 | + | |
| 27 | +} |
--- base/src/main/java/egovframework/com/cop/com/service/BbsSourcVO.java
+++ base/src/main/java/egovframework/com/cop/com/service/BbsSourcVO.java
... | ... | @@ -3,55 +3,45 @@ |
| 3 | 3 |
import java.io.Serializable; |
| 4 | 4 |
import org.apache.commons.lang.builder.ToStringBuilder; |
| 5 | 5 |
|
| 6 |
-/** |
|
| 7 |
- * @Class Name : EgovBbsSourcVO |
|
| 8 |
- * @Description : EgovBbsSourcVO class |
|
| 9 |
- * @Modification Information |
|
| 10 |
- * |
|
| 11 |
- * @author 정정욱 |
|
| 12 |
- * @since 20120905 |
|
| 13 |
- * @version 1.0 |
|
| 14 |
- * @see |
|
| 15 |
- * |
|
| 16 |
- * Copyright (C) All right reserved. |
|
| 17 |
- */ |
|
| 6 |
+import egovframework.com.cmm.ComDefaultVO; |
|
| 7 |
+ |
|
| 8 |
+ |
|
| 18 | 9 |
@SuppressWarnings("serial")
|
| 19 |
-public class BbsSourcVO extends BbsSourc implements Serializable {
|
|
| 10 |
+public class BbsSourcVO extends ComDefaultVO implements Serializable {
|
|
| 20 | 11 |
|
| 21 | 12 |
/** 검색구분코드 */ |
| 22 | 13 |
private String searchSourcSeCode = ""; |
| 23 | 14 |
|
| 24 |
- /** 검색조건 */ |
|
| 25 |
- private String searchCnd = ""; |
|
| 15 |
+ /** BBS_SOURC_ID */ |
|
| 16 |
+ private java.lang.String bbsSourcId; |
|
| 17 |
+ |
|
| 18 |
+ /** SOURC_SE_CODE */ |
|
| 19 |
+ private java.lang.String sourcSeCode; |
|
| 26 | 20 |
|
| 27 |
- /** 선택모드여부 */ |
|
| 28 |
- private String selectMode = "N"; |
|
| 21 |
+ /** SOURC_SE_CODE_NM */ |
|
| 22 |
+ private java.lang.String sourcSeCodeNm; |
|
| 29 | 23 |
|
| 30 |
- /** 검색Keyword */ |
|
| 31 |
- private String searchWrd = ""; |
|
| 24 |
+ /** SOURC_NM */ |
|
| 25 |
+ private java.lang.String sourcNm; |
|
| 32 | 26 |
|
| 33 |
- /** 검색사용여부 */ |
|
| 34 |
- private String searchUseYn = ""; |
|
| 27 |
+ /** LIST_SOURC */ |
|
| 28 |
+ private java.lang.String listSourc; |
|
| 35 | 29 |
|
| 36 |
- /** 현재페이지 */ |
|
| 37 |
- private int pageIndex = 1; |
|
| 30 |
+ /** VIEW_SOURC */ |
|
| 31 |
+ private java.lang.String viewSourc; |
|
| 38 | 32 |
|
| 39 |
- /** 페이지갯수 */ |
|
| 40 |
- private int pageUnit = 10; |
|
| 33 |
+ /** FORM_SOURC */ |
|
| 34 |
+ private java.lang.String formSourc; |
|
| 41 | 35 |
|
| 42 |
- /** 페이지사이즈 */ |
|
| 43 |
- private int pageSize = 10; |
|
| 36 |
+ /** CM_SOURC */ |
|
| 37 |
+ private java.lang.String cmSourc; |
|
| 38 |
+ |
|
| 39 |
+ /** PREVEW_FILE_NM */ |
|
| 40 |
+ private java.lang.String prevewFileNm; |
|
| 41 |
+ |
|
| 42 |
+ /** BBS_SOURC_HIST_ID */ |
|
| 43 |
+ private java.lang.String bbsSourcHistId; |
|
| 44 | 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 | 45 |
public String getSearchSourcSeCode() {
|
| 56 | 46 |
return searchSourcSeCode; |
| 57 | 47 |
} |
... | ... | @@ -60,88 +50,85 @@ |
| 60 | 50 |
this.searchSourcSeCode = searchSourcSeCode; |
| 61 | 51 |
} |
| 62 | 52 |
|
| 63 |
- public int getFirstIndex() {
|
|
| 64 |
- return firstIndex; |
|
| 53 |
+ public java.lang.String getBbsSourcId() {
|
|
| 54 |
+ return bbsSourcId; |
|
| 65 | 55 |
} |
| 66 | 56 |
|
| 67 |
- public void setFirstIndex(int firstIndex) {
|
|
| 68 |
- this.firstIndex = firstIndex; |
|
| 57 |
+ public void setBbsSourcId(java.lang.String bbsSourcId) {
|
|
| 58 |
+ this.bbsSourcId = bbsSourcId; |
|
| 69 | 59 |
} |
| 70 | 60 |
|
| 71 |
- public int getLastIndex() {
|
|
| 72 |
- return lastIndex; |
|
| 61 |
+ public java.lang.String getSourcSeCode() {
|
|
| 62 |
+ return sourcSeCode; |
|
| 73 | 63 |
} |
| 74 | 64 |
|
| 75 |
- public void setLastIndex(int lastIndex) {
|
|
| 76 |
- this.lastIndex = lastIndex; |
|
| 65 |
+ public void setSourcSeCode(java.lang.String sourcSeCode) {
|
|
| 66 |
+ this.sourcSeCode = sourcSeCode; |
|
| 77 | 67 |
} |
| 78 | 68 |
|
| 79 |
- public int getRecordCountPerPage() {
|
|
| 80 |
- return recordCountPerPage; |
|
| 69 |
+ public java.lang.String getSourcSeCodeNm() {
|
|
| 70 |
+ return sourcSeCodeNm; |
|
| 81 | 71 |
} |
| 82 | 72 |
|
| 83 |
- public void setRecordCountPerPage(int recordCountPerPage) {
|
|
| 84 |
- this.recordCountPerPage = recordCountPerPage; |
|
| 73 |
+ public void setSourcSeCodeNm(java.lang.String sourcSeCodeNm) {
|
|
| 74 |
+ this.sourcSeCodeNm = sourcSeCodeNm; |
|
| 85 | 75 |
} |
| 86 | 76 |
|
| 87 |
- public String getSearchCnd() {
|
|
| 88 |
- return searchCnd; |
|
| 77 |
+ public java.lang.String getSourcNm() {
|
|
| 78 |
+ return sourcNm; |
|
| 89 | 79 |
} |
| 90 | 80 |
|
| 91 |
- public void setSearchCnd(String searchCnd) {
|
|
| 92 |
- this.searchCnd = searchCnd; |
|
| 81 |
+ public void setSourcNm(java.lang.String sourcNm) {
|
|
| 82 |
+ this.sourcNm = sourcNm; |
|
| 93 | 83 |
} |
| 94 | 84 |
|
| 95 |
- public String getSearchWrd() {
|
|
| 96 |
- return searchWrd; |
|
| 85 |
+ public java.lang.String getListSourc() {
|
|
| 86 |
+ return listSourc; |
|
| 97 | 87 |
} |
| 98 | 88 |
|
| 99 |
- public void setSearchWrd(String searchWrd) {
|
|
| 100 |
- this.searchWrd = searchWrd; |
|
| 89 |
+ public void setListSourc(java.lang.String listSourc) {
|
|
| 90 |
+ this.listSourc = listSourc; |
|
| 101 | 91 |
} |
| 102 | 92 |
|
| 103 |
- public String getSearchUseYn() {
|
|
| 104 |
- return searchUseYn; |
|
| 105 |
- } |
|
| 106 |
- |
|
| 107 |
- public String getSelectMode() {
|
|
| 108 |
- return selectMode; |
|
| 93 |
+ public java.lang.String getViewSourc() {
|
|
| 94 |
+ return viewSourc; |
|
| 109 | 95 |
} |
| 110 | 96 |
|
| 111 |
- public void setSelectMode(String selectMode) {
|
|
| 112 |
- this.selectMode = selectMode; |
|
| 97 |
+ public void setViewSourc(java.lang.String viewSourc) {
|
|
| 98 |
+ this.viewSourc = viewSourc; |
|
| 113 | 99 |
} |
| 114 | 100 |
|
| 115 |
- public void setSearchUseYn(String searchUseYn) {
|
|
| 116 |
- this.searchUseYn = searchUseYn; |
|
| 117 |
- } |
|
| 101 |
+ public java.lang.String getFormSourc() {
|
|
| 102 |
+ return formSourc; |
|
| 103 |
+ } |
|
| 118 | 104 |
|
| 119 |
- public int getPageIndex() {
|
|
| 120 |
- return pageIndex; |
|
| 121 |
- } |
|
| 105 |
+ public void setFormSourc(java.lang.String formSourc) {
|
|
| 106 |
+ this.formSourc = formSourc; |
|
| 107 |
+ } |
|
| 122 | 108 |
|
| 123 |
- public void setPageIndex(int pageIndex) {
|
|
| 124 |
- this.pageIndex = pageIndex; |
|
| 125 |
- } |
|
| 109 |
+ public java.lang.String getCmSourc() {
|
|
| 110 |
+ return cmSourc; |
|
| 111 |
+ } |
|
| 126 | 112 |
|
| 127 |
- public int getPageUnit() {
|
|
| 128 |
- return pageUnit; |
|
| 129 |
- } |
|
| 113 |
+ public void setCmSourc(java.lang.String cmSourc) {
|
|
| 114 |
+ this.cmSourc = cmSourc; |
|
| 115 |
+ } |
|
| 130 | 116 |
|
| 131 |
- public void setPageUnit(int pageUnit) {
|
|
| 132 |
- this.pageUnit = pageUnit; |
|
| 133 |
- } |
|
| 117 |
+ public java.lang.String getPrevewFileNm() {
|
|
| 118 |
+ return prevewFileNm; |
|
| 119 |
+ } |
|
| 134 | 120 |
|
| 135 |
- public int getPageSize() {
|
|
| 136 |
- return pageSize; |
|
| 137 |
- } |
|
| 121 |
+ public void setPrevewFileNm(java.lang.String prevewFileNm) {
|
|
| 122 |
+ this.prevewFileNm = prevewFileNm; |
|
| 123 |
+ } |
|
| 138 | 124 |
|
| 139 |
- public void setPageSize(int pageSize) {
|
|
| 140 |
- this.pageSize = pageSize; |
|
| 141 |
- } |
|
| 125 |
+ public java.lang.String getBbsSourcHistId() {
|
|
| 126 |
+ return bbsSourcHistId; |
|
| 127 |
+ } |
|
| 142 | 128 |
|
| 143 |
- public String toString() {
|
|
| 144 |
- return ToStringBuilder.reflectionToString(this); |
|
| 145 |
- } |
|
| 146 |
- |
|
| 129 |
+ public void setBbsSourcHistId(java.lang.String bbsSourcHistId) {
|
|
| 130 |
+ this.bbsSourcHistId = bbsSourcHistId; |
|
| 131 |
+ } |
|
| 132 |
+ |
|
| 133 |
+ |
|
| 147 | 134 |
} |
--- base/src/main/java/egovframework/com/cop/com/service/BbsTmplat.java
... | ... | @@ -1,163 +0,0 @@ |
| 1 | -package egovframework.com.cop.com.service; | |
| 2 | - | |
| 3 | -import java.io.Serializable; | |
| 4 | - | |
| 5 | -/** | |
| 6 | - * @Class Name : EgovBbsTmplat | |
| 7 | - * @Description : EgovBbsTmplat 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 BbsTmplat implements Serializable {
| |
| 19 | - | |
| 20 | - /** BBS_TMPLAT_ID */ | |
| 21 | - private java.lang.String bbsTmplatId; | |
| 22 | - | |
| 23 | - /** TMPLAT_SE_CODE */ | |
| 24 | - private java.lang.String tmplatSeCode; | |
| 25 | - | |
| 26 | - /** TMPLAT_SE_CODE_NM */ | |
| 27 | - private java.lang.String tmplatSeCodeNm; | |
| 28 | - | |
| 29 | - /** TMPLAT_NM */ | |
| 30 | - private java.lang.String tmplatNm; | |
| 31 | - | |
| 32 | - /** CSS_SOURC */ | |
| 33 | - private java.lang.String cssSourc; | |
| 34 | - | |
| 35 | - /** SCRIPT_SOURC */ | |
| 36 | - private java.lang.String scriptSourc; | |
| 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 | - /** BBS_TMPLAT_HIST_ID */ | |
| 57 | - private java.lang.String bbsTmplatHistId; | |
| 58 | - | |
| 59 | - public java.lang.String getBbsTmplatId() {
| |
| 60 | - return this.bbsTmplatId; | |
| 61 | - } | |
| 62 | - | |
| 63 | - public void setBbsTmplatId(java.lang.String bbsTmplatId) {
| |
| 64 | - this.bbsTmplatId = bbsTmplatId; | |
| 65 | - } | |
| 66 | - | |
| 67 | - public java.lang.String getTmplatSeCode() {
| |
| 68 | - return tmplatSeCode; | |
| 69 | - } | |
| 70 | - | |
| 71 | - public void setTmplatSeCode(java.lang.String tmplatSeCode) {
| |
| 72 | - this.tmplatSeCode = tmplatSeCode; | |
| 73 | - } | |
| 74 | - | |
| 75 | - public java.lang.String getTmplatSeCodeNm() {
| |
| 76 | - return tmplatSeCodeNm; | |
| 77 | - } | |
| 78 | - | |
| 79 | - public void setTmplatSeCodeNm(java.lang.String tmplatSeCodeNm) {
| |
| 80 | - this.tmplatSeCodeNm = tmplatSeCodeNm; | |
| 81 | - } | |
| 82 | - | |
| 83 | - public java.lang.String getTmplatNm() {
| |
| 84 | - return this.tmplatNm; | |
| 85 | - } | |
| 86 | - | |
| 87 | - public void setTmplatNm(java.lang.String tmplatNm) {
| |
| 88 | - this.tmplatNm = tmplatNm; | |
| 89 | - } | |
| 90 | - | |
| 91 | - public java.lang.String getCssSourc() {
| |
| 92 | - return this.cssSourc; | |
| 93 | - } | |
| 94 | - | |
| 95 | - public void setCssSourc(java.lang.String cssSourc) {
| |
| 96 | - this.cssSourc = cssSourc; | |
| 97 | - } | |
| 98 | - | |
| 99 | - public java.lang.String getScriptSourc() {
| |
| 100 | - return this.scriptSourc; | |
| 101 | - } | |
| 102 | - | |
| 103 | - public void setScriptSourc(java.lang.String scriptSourc) {
| |
| 104 | - this.scriptSourc = scriptSourc; | |
| 105 | - } | |
| 106 | - | |
| 107 | - public java.lang.String getPrevewFileNm() {
| |
| 108 | - return prevewFileNm; | |
| 109 | - } | |
| 110 | - | |
| 111 | - public void setPrevewFileNm(java.lang.String prevewFileNm) {
| |
| 112 | - this.prevewFileNm = prevewFileNm; | |
| 113 | - } | |
| 114 | - | |
| 115 | - public java.lang.String getUseAt() {
| |
| 116 | - return this.useAt; | |
| 117 | - } | |
| 118 | - | |
| 119 | - public void setUseAt(java.lang.String useAt) {
| |
| 120 | - this.useAt = useAt; | |
| 121 | - } | |
| 122 | - | |
| 123 | - public java.lang.String getFrstRegisterId() {
| |
| 124 | - return this.frstRegisterId; | |
| 125 | - } | |
| 126 | - | |
| 127 | - public void setFrstRegisterId(java.lang.String frstRegisterId) {
| |
| 128 | - this.frstRegisterId = frstRegisterId; | |
| 129 | - } | |
| 130 | - | |
| 131 | - public java.util.Date getFrstRegisterPnttm() {
| |
| 132 | - return this.frstRegisterPnttm; | |
| 133 | - } | |
| 134 | - | |
| 135 | - public void setFrstRegisterPnttm(java.util.Date frstRegisterPnttm) {
| |
| 136 | - this.frstRegisterPnttm = frstRegisterPnttm; | |
| 137 | - } | |
| 138 | - | |
| 139 | - public java.lang.String getLastUpdusrId() {
| |
| 140 | - return this.lastUpdusrId; | |
| 141 | - } | |
| 142 | - | |
| 143 | - public void setLastUpdusrId(java.lang.String lastUpdusrId) {
| |
| 144 | - this.lastUpdusrId = lastUpdusrId; | |
| 145 | - } | |
| 146 | - | |
| 147 | - public java.util.Date getLastUpdusrPnttm() {
| |
| 148 | - return this.lastUpdusrPnttm; | |
| 149 | - } | |
| 150 | - | |
| 151 | - public void setLastUpdusrPnttm(java.util.Date lastUpdusrPnttm) {
| |
| 152 | - this.lastUpdusrPnttm = lastUpdusrPnttm; | |
| 153 | - } | |
| 154 | - | |
| 155 | - public java.lang.String getBbsTmplatHistId() {
| |
| 156 | - return bbsTmplatHistId; | |
| 157 | - } | |
| 158 | - | |
| 159 | - public void setBbsTmplatHistId(java.lang.String bbsTmplatHistId) {
| |
| 160 | - this.bbsTmplatHistId = bbsTmplatHistId; | |
| 161 | - } | |
| 162 | - | |
| 163 | -} |
+++ base/src/main/java/egovframework/com/cop/com/service/BbsTmplatHistoryService.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.BbsTmplatVO; | |
| 5 | + | |
| 6 | +public interface BbsTmplatHistoryService {
| |
| 7 | + | |
| 8 | + //COMTNBBSTMPLATHISTORY을 등록한다. | |
| 9 | + String insertBbsTmplatHistory(BbsTmplatVO vo) throws Exception; | |
| 10 | + | |
| 11 | + //COMTNBBSTMPLATHISTORY을 삭제한다. | |
| 12 | + void deleteBbsTmplatHistory(BbsTmplatVO vo) throws Exception; | |
| 13 | + | |
| 14 | + //COMTNBBSTMPLATHISTORY을 조회한다. | |
| 15 | + BbsTmplatVO selectBbsTmplatHistory(BbsTmplatVO vo) throws Exception; | |
| 16 | + | |
| 17 | + //COMTNBBSTMPLATHISTORY 목록을 조회한다. | |
| 18 | + List<BbsTmplatVO> selectBbsTmplatHistoryList(BbsTmplatVO searchVO) throws Exception; | |
| 19 | + | |
| 20 | + //COMTNBBSTMPLATHISTORY 총 갯수를 조회한다. | |
| 21 | + int selectBbsTmplatHistoryListCnt(BbsTmplatVO searchVO); | |
| 22 | + | |
| 23 | +} |
+++ base/src/main/java/egovframework/com/cop/com/service/BbsTmplatService.java
... | ... | @@ -0,0 +1,26 @@ |
| 1 | +package egovframework.com.cop.com.service; | |
| 2 | + | |
| 3 | +import java.util.List; | |
| 4 | +import egovframework.com.cop.com.service.BbsTmplatVO; | |
| 5 | + | |
| 6 | +public interface BbsTmplatService {
| |
| 7 | + | |
| 8 | + //COMTNBBSTMPLAT을 등록한다. | |
| 9 | + String insertBbsTmplat(BbsTmplatVO vo) throws Exception; | |
| 10 | + | |
| 11 | + //COMTNBBSTMPLAT을 수정한다. | |
| 12 | + void updateBbsTmplat(BbsTmplatVO vo) throws Exception; | |
| 13 | + | |
| 14 | + //COMTNBBSTMPLAT을 삭제한다. | |
| 15 | + void deleteBbsTmplat(BbsTmplatVO vo) throws Exception; | |
| 16 | + | |
| 17 | + //COMTNBBSTMPLAT을 조회한다. | |
| 18 | + BbsTmplatVO selectBbsTmplat(BbsTmplatVO vo) throws Exception; | |
| 19 | + | |
| 20 | + //COMTNBBSTMPLAT 목록을 조회한다. | |
| 21 | + List<BbsTmplatVO> selectBbsTmplatList(BbsTmplatVO searchVO) throws Exception; | |
| 22 | + | |
| 23 | + //COMTNBBSTMPLAT 총 갯수를 조회한다. | |
| 24 | + int selectBbsTmplatListCnt(BbsTmplatVO searchVO); | |
| 25 | + | |
| 26 | +} |
--- base/src/main/java/egovframework/com/cop/com/service/BbsTmplatVO.java
+++ base/src/main/java/egovframework/com/cop/com/service/BbsTmplatVO.java
... | ... | @@ -3,54 +3,53 @@ |
| 3 | 3 |
import java.io.Serializable; |
| 4 | 4 |
import org.apache.commons.lang.builder.ToStringBuilder; |
| 5 | 5 |
|
| 6 |
-/** |
|
| 7 |
- * @Class Name : EgovBbsTmplatVO |
|
| 8 |
- * @Description : EgovBbsTmplatVO class |
|
| 9 |
- * @Modification Information |
|
| 10 |
- * |
|
| 11 |
- * @author 정정욱 |
|
| 12 |
- * @since 20120905 |
|
| 13 |
- * @version 1.0 |
|
| 14 |
- * @see |
|
| 15 |
- * |
|
| 16 |
- * Copyright (C) All right reserved. |
|
| 17 |
- */ |
|
| 6 |
+import egovframework.com.cmm.ComDefaultVO; |
|
| 7 |
+ |
|
| 8 |
+ |
|
| 18 | 9 |
@SuppressWarnings("serial")
|
| 19 |
-public class BbsTmplatVO extends BbsTmplat implements Serializable {
|
|
| 10 |
+public class BbsTmplatVO extends ComDefaultVO implements Serializable {
|
|
| 20 | 11 |
|
| 21 | 12 |
/** 대분류검색구분 */ |
| 22 | 13 |
private String searchTmplatSeCode; |
| 23 | 14 |
|
| 24 |
- /** 검색조건 */ |
|
| 25 |
- private String searchCnd = ""; |
|
| 15 |
+ /** BBS_TMPLAT_ID */ |
|
| 16 |
+ private java.lang.String bbsTmplatId; |
|
| 17 |
+ |
|
| 18 |
+ /** TMPLAT_SE_CODE */ |
|
| 19 |
+ private java.lang.String tmplatSeCode; |
|
| 26 | 20 |
|
| 27 |
- /** 선택모드여부 */ |
|
| 28 |
- private String selectMode = "N"; |
|
| 21 |
+ /** TMPLAT_SE_CODE_NM */ |
|
| 22 |
+ private java.lang.String tmplatSeCodeNm; |
|
| 29 | 23 |
|
| 30 |
- /** 검색Keyword */ |
|
| 31 |
- private String searchWrd = ""; |
|
| 24 |
+ /** TMPLAT_NM */ |
|
| 25 |
+ private java.lang.String tmplatNm; |
|
| 32 | 26 |
|
| 33 |
- /** 검색사용여부 */ |
|
| 34 |
- private String searchUseYn = ""; |
|
| 27 |
+ /** CSS_SOURC */ |
|
| 28 |
+ private java.lang.String cssSourc; |
|
| 35 | 29 |
|
| 36 |
- /** 현재페이지 */ |
|
| 37 |
- private int pageIndex = 1; |
|
| 30 |
+ /** SCRIPT_SOURC */ |
|
| 31 |
+ private java.lang.String scriptSourc; |
|
| 32 |
+ |
|
| 33 |
+ /** PREVEW_FILE_NM */ |
|
| 34 |
+ private java.lang.String prevewFileNm; |
|
| 38 | 35 |
|
| 39 |
- /** 페이지갯수 */ |
|
| 40 |
- private int pageUnit = 10; |
|
| 36 |
+ /** USE_AT */ |
|
| 37 |
+ private java.lang.String useAt; |
|
| 41 | 38 |
|
| 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; |
|
| 39 |
+ /** FRST_REGISTER_ID */ |
|
| 40 |
+ private java.lang.String frstRegisterId; |
|
| 53 | 41 |
|
| 42 |
+ /** FRST_REGISTER_PNTTM */ |
|
| 43 |
+ private java.util.Date frstRegisterPnttm; |
|
| 44 |
+ |
|
| 45 |
+ /** LAST_UPDUSR_ID */ |
|
| 46 |
+ private java.lang.String lastUpdusrId; |
|
| 47 |
+ |
|
| 48 |
+ /** LAST_UPDUSR_PNTTM */ |
|
| 49 |
+ private java.util.Date lastUpdusrPnttm; |
|
| 50 |
+ |
|
| 51 |
+ /** BBS_TMPLAT_HIST_ID */ |
|
| 52 |
+ private java.lang.String bbsTmplatHistId; |
|
| 54 | 53 |
|
| 55 | 54 |
public String getSearchTmplatSeCode() {
|
| 56 | 55 |
return searchTmplatSeCode; |
... | ... | @@ -60,87 +59,111 @@ |
| 60 | 59 |
this.searchTmplatSeCode = searchTmplatSeCode; |
| 61 | 60 |
} |
| 62 | 61 |
|
| 63 |
- public int getFirstIndex() {
|
|
| 64 |
- return firstIndex; |
|
| 62 |
+ public java.lang.String getBbsTmplatId() {
|
|
| 63 |
+ return bbsTmplatId; |
|
| 65 | 64 |
} |
| 66 | 65 |
|
| 67 |
- public void setFirstIndex(int firstIndex) {
|
|
| 68 |
- this.firstIndex = firstIndex; |
|
| 66 |
+ public void setBbsTmplatId(java.lang.String bbsTmplatId) {
|
|
| 67 |
+ this.bbsTmplatId = bbsTmplatId; |
|
| 69 | 68 |
} |
| 70 | 69 |
|
| 71 |
- public int getLastIndex() {
|
|
| 72 |
- return lastIndex; |
|
| 70 |
+ public java.lang.String getTmplatSeCode() {
|
|
| 71 |
+ return tmplatSeCode; |
|
| 73 | 72 |
} |
| 74 | 73 |
|
| 75 |
- public void setLastIndex(int lastIndex) {
|
|
| 76 |
- this.lastIndex = lastIndex; |
|
| 74 |
+ public void setTmplatSeCode(java.lang.String tmplatSeCode) {
|
|
| 75 |
+ this.tmplatSeCode = tmplatSeCode; |
|
| 77 | 76 |
} |
| 78 | 77 |
|
| 79 |
- public int getRecordCountPerPage() {
|
|
| 80 |
- return recordCountPerPage; |
|
| 78 |
+ public java.lang.String getTmplatSeCodeNm() {
|
|
| 79 |
+ return tmplatSeCodeNm; |
|
| 81 | 80 |
} |
| 82 | 81 |
|
| 83 |
- public void setRecordCountPerPage(int recordCountPerPage) {
|
|
| 84 |
- this.recordCountPerPage = recordCountPerPage; |
|
| 82 |
+ public void setTmplatSeCodeNm(java.lang.String tmplatSeCodeNm) {
|
|
| 83 |
+ this.tmplatSeCodeNm = tmplatSeCodeNm; |
|
| 85 | 84 |
} |
| 86 | 85 |
|
| 87 |
- public String getSearchCnd() {
|
|
| 88 |
- return searchCnd; |
|
| 86 |
+ public java.lang.String getTmplatNm() {
|
|
| 87 |
+ return tmplatNm; |
|
| 89 | 88 |
} |
| 90 | 89 |
|
| 91 |
- public void setSearchCnd(String searchCnd) {
|
|
| 92 |
- this.searchCnd = searchCnd; |
|
| 90 |
+ public void setTmplatNm(java.lang.String tmplatNm) {
|
|
| 91 |
+ this.tmplatNm = tmplatNm; |
|
| 93 | 92 |
} |
| 94 | 93 |
|
| 95 |
- public String getSearchWrd() {
|
|
| 96 |
- return searchWrd; |
|
| 94 |
+ public java.lang.String getCssSourc() {
|
|
| 95 |
+ return cssSourc; |
|
| 97 | 96 |
} |
| 98 | 97 |
|
| 99 |
- public void setSearchWrd(String searchWrd) {
|
|
| 100 |
- this.searchWrd = searchWrd; |
|
| 98 |
+ public void setCssSourc(java.lang.String cssSourc) {
|
|
| 99 |
+ this.cssSourc = cssSourc; |
|
| 101 | 100 |
} |
| 102 | 101 |
|
| 103 |
- public String getSearchUseYn() {
|
|
| 104 |
- return searchUseYn; |
|
| 105 |
- } |
|
| 106 |
- |
|
| 107 |
- public String getSelectMode() {
|
|
| 108 |
- return selectMode; |
|
| 102 |
+ public java.lang.String getScriptSourc() {
|
|
| 103 |
+ return scriptSourc; |
|
| 109 | 104 |
} |
| 110 | 105 |
|
| 111 |
- public void setSelectMode(String selectMode) {
|
|
| 112 |
- this.selectMode = selectMode; |
|
| 106 |
+ public void setScriptSourc(java.lang.String scriptSourc) {
|
|
| 107 |
+ this.scriptSourc = scriptSourc; |
|
| 113 | 108 |
} |
| 114 | 109 |
|
| 115 |
- public void setSearchUseYn(String searchUseYn) {
|
|
| 116 |
- this.searchUseYn = searchUseYn; |
|
| 117 |
- } |
|
| 110 |
+ public java.lang.String getPrevewFileNm() {
|
|
| 111 |
+ return prevewFileNm; |
|
| 112 |
+ } |
|
| 118 | 113 |
|
| 119 |
- public int getPageIndex() {
|
|
| 120 |
- return pageIndex; |
|
| 121 |
- } |
|
| 114 |
+ public void setPrevewFileNm(java.lang.String prevewFileNm) {
|
|
| 115 |
+ this.prevewFileNm = prevewFileNm; |
|
| 116 |
+ } |
|
| 122 | 117 |
|
| 123 |
- public void setPageIndex(int pageIndex) {
|
|
| 124 |
- this.pageIndex = pageIndex; |
|
| 125 |
- } |
|
| 118 |
+ public java.lang.String getUseAt() {
|
|
| 119 |
+ return useAt; |
|
| 120 |
+ } |
|
| 126 | 121 |
|
| 127 |
- public int getPageUnit() {
|
|
| 128 |
- return pageUnit; |
|
| 129 |
- } |
|
| 122 |
+ public void setUseAt(java.lang.String useAt) {
|
|
| 123 |
+ this.useAt = useAt; |
|
| 124 |
+ } |
|
| 130 | 125 |
|
| 131 |
- public void setPageUnit(int pageUnit) {
|
|
| 132 |
- this.pageUnit = pageUnit; |
|
| 133 |
- } |
|
| 126 |
+ public java.lang.String getFrstRegisterId() {
|
|
| 127 |
+ return frstRegisterId; |
|
| 128 |
+ } |
|
| 134 | 129 |
|
| 135 |
- public int getPageSize() {
|
|
| 136 |
- return pageSize; |
|
| 137 |
- } |
|
| 130 |
+ public void setFrstRegisterId(java.lang.String frstRegisterId) {
|
|
| 131 |
+ this.frstRegisterId = frstRegisterId; |
|
| 132 |
+ } |
|
| 138 | 133 |
|
| 139 |
- public void setPageSize(int pageSize) {
|
|
| 140 |
- this.pageSize = pageSize; |
|
| 141 |
- } |
|
| 134 |
+ public java.util.Date getFrstRegisterPnttm() {
|
|
| 135 |
+ return frstRegisterPnttm; |
|
| 136 |
+ } |
|
| 142 | 137 |
|
| 143 |
- public String toString() {
|
|
| 138 |
+ public void setFrstRegisterPnttm(java.util.Date frstRegisterPnttm) {
|
|
| 139 |
+ this.frstRegisterPnttm = frstRegisterPnttm; |
|
| 140 |
+ } |
|
| 141 |
+ |
|
| 142 |
+ public java.lang.String getLastUpdusrId() {
|
|
| 143 |
+ return lastUpdusrId; |
|
| 144 |
+ } |
|
| 145 |
+ |
|
| 146 |
+ public void setLastUpdusrId(java.lang.String lastUpdusrId) {
|
|
| 147 |
+ this.lastUpdusrId = lastUpdusrId; |
|
| 148 |
+ } |
|
| 149 |
+ |
|
| 150 |
+ public java.util.Date getLastUpdusrPnttm() {
|
|
| 151 |
+ return lastUpdusrPnttm; |
|
| 152 |
+ } |
|
| 153 |
+ |
|
| 154 |
+ public void setLastUpdusrPnttm(java.util.Date lastUpdusrPnttm) {
|
|
| 155 |
+ this.lastUpdusrPnttm = lastUpdusrPnttm; |
|
| 156 |
+ } |
|
| 157 |
+ |
|
| 158 |
+ public java.lang.String getBbsTmplatHistId() {
|
|
| 159 |
+ return bbsTmplatHistId; |
|
| 160 |
+ } |
|
| 161 |
+ |
|
| 162 |
+ public void setBbsTmplatHistId(java.lang.String bbsTmplatHistId) {
|
|
| 163 |
+ this.bbsTmplatHistId = bbsTmplatHistId; |
|
| 164 |
+ } |
|
| 165 |
+ |
|
| 166 |
+ public String toString() {
|
|
| 144 | 167 |
return ToStringBuilder.reflectionToString(this); |
| 145 | 168 |
} |
| 146 | 169 |
|
--- base/src/main/java/egovframework/com/cop/com/service/EgovBbsSourcHistoryService.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.BbsSourcVO; | |
| 5 | -import egovframework.com.cop.com.service.BbsSourc; | |
| 6 | - | |
| 7 | -/** | |
| 8 | - * @Class Name : EgovBbsSourcHistoryService | |
| 9 | - * @Description : EgovBbsSourcHistoryService 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 EgovBbsSourcHistoryService {
| |
| 20 | - | |
| 21 | - /** | |
| 22 | - * COMTNBBSSOURCHISTORY을 등록한다. | |
| 23 | - * @param vo - 등록할 정보가 담긴 ComtnbbssourcVO | |
| 24 | - * @return 등록 결과 | |
| 25 | - * @exception Exception | |
| 26 | - */ | |
| 27 | - String insertBbsSourcHistory(BbsSourc vo) throws Exception; | |
| 28 | - | |
| 29 | - /** | |
| 30 | - * COMTNBBSSOURCHISTORY을 삭제한다. | |
| 31 | - * @param vo - 삭제할 정보가 담긴 ComtnbbssourcVO | |
| 32 | - * @return void형 | |
| 33 | - * @exception Exception | |
| 34 | - */ | |
| 35 | - void deleteBbsSourcHistory(BbsSourc vo) throws Exception; | |
| 36 | - | |
| 37 | - /** | |
| 38 | - * COMTNBBSSOURCHISTORY을 조회한다. | |
| 39 | - * @param vo - 조회할 정보가 담긴 ComtnbbssourcVO | |
| 40 | - * @return 조회한 COMTNBBSSOURCHISTORY | |
| 41 | - * @exception Exception | |
| 42 | - */ | |
| 43 | - BbsSourc selectBbsSourcHistory(BbsSourc vo) throws Exception; | |
| 44 | - | |
| 45 | - /** | |
| 46 | - * COMTNBBSSOURCHISTORY 목록을 조회한다. | |
| 47 | - * @param searchVO - 조회할 정보가 담긴 VO | |
| 48 | - * @return COMTNBBSSOURCHISTORY 목록 | |
| 49 | - * @exception Exception | |
| 50 | - */ | |
| 51 | - List<BbsSourc> selectBbsSourcHistoryList(BbsSourcVO searchVO) throws Exception; | |
| 52 | - | |
| 53 | - /** | |
| 54 | - * COMTNBBSSOURCHISTORY 총 갯수를 조회한다. | |
| 55 | - * @param searchVO - 조회할 정보가 담긴 VO | |
| 56 | - * @return COMTNBBSSOURCHISTORY 총 갯수 | |
| 57 | - * @exception | |
| 58 | - */ | |
| 59 | - int selectBbsSourcHistoryListCnt(BbsSourcVO searchVO); | |
| 60 | - | |
| 61 | -} |
--- base/src/main/java/egovframework/com/cop/com/service/EgovBbsSourcService.java
... | ... | @@ -1,69 +0,0 @@ |
| 1 | -package egovframework.com.cop.com.service; | |
| 2 | - | |
| 3 | -import java.util.List; | |
| 4 | -import egovframework.com.cop.com.service.BbsSourcVO; | |
| 5 | -import egovframework.com.cop.com.service.BbsSourc; | |
| 6 | - | |
| 7 | -/** | |
| 8 | - * @Class Name : EgovBbsSourcService | |
| 9 | - * @Description : EgovBbsSourcService 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 EgovBbsSourcService {
| |
| 20 | - | |
| 21 | - /** | |
| 22 | - * COMTNBBSSOURC을 등록한다. | |
| 23 | - * @param vo - 등록할 정보가 담긴 ComtnbbssourcVO | |
| 24 | - * @return 등록 결과 | |
| 25 | - * @exception Exception | |
| 26 | - */ | |
| 27 | - String insertBbsSourc(BbsSourc vo) throws Exception; | |
| 28 | - | |
| 29 | - /** | |
| 30 | - * COMTNBBSSOURC을 수정한다. | |
| 31 | - * @param vo - 수정할 정보가 담긴 ComtnbbssourcVO | |
| 32 | - * @return void형 | |
| 33 | - * @exception Exception | |
| 34 | - */ | |
| 35 | - void updateBbsSourc(BbsSourc vo) throws Exception; | |
| 36 | - | |
| 37 | - /** | |
| 38 | - * COMTNBBSSOURC을 삭제한다. | |
| 39 | - * @param vo - 삭제할 정보가 담긴 ComtnbbssourcVO | |
| 40 | - * @return void형 | |
| 41 | - * @exception Exception | |
| 42 | - */ | |
| 43 | - void deleteBbsSourc(BbsSourc vo) throws Exception; | |
| 44 | - | |
| 45 | - /** | |
| 46 | - * COMTNBBSSOURC을 조회한다. | |
| 47 | - * @param vo - 조회할 정보가 담긴 ComtnbbssourcVO | |
| 48 | - * @return 조회한 COMTNBBSSOURC | |
| 49 | - * @exception Exception | |
| 50 | - */ | |
| 51 | - BbsSourc selectBbsSourc(BbsSourc vo) throws Exception; | |
| 52 | - | |
| 53 | - /** | |
| 54 | - * COMTNBBSSOURC 목록을 조회한다. | |
| 55 | - * @param searchVO - 조회할 정보가 담긴 VO | |
| 56 | - * @return COMTNBBSSOURC 목록 | |
| 57 | - * @exception Exception | |
| 58 | - */ | |
| 59 | - List<BbsSourc> selectBbsSourcList(BbsSourcVO searchVO) throws Exception; | |
| 60 | - | |
| 61 | - /** | |
| 62 | - * COMTNBBSSOURC 총 갯수를 조회한다. | |
| 63 | - * @param searchVO - 조회할 정보가 담긴 VO | |
| 64 | - * @return COMTNBBSSOURC 총 갯수 | |
| 65 | - * @exception | |
| 66 | - */ | |
| 67 | - int selectBbsSourcListCnt(BbsSourcVO searchVO); | |
| 68 | - | |
| 69 | -} |
--- base/src/main/java/egovframework/com/cop/com/service/EgovBbsTmplatHistoryService.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.BbsTmplatVO; | |
| 5 | -import egovframework.com.cop.com.service.BbsTmplat; | |
| 6 | - | |
| 7 | -/** | |
| 8 | - * @Class Name : EgovBbsTmplatHistoryService | |
| 9 | - * @Description : EgovBbsTmplatHistoryService 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 EgovBbsTmplatHistoryService {
| |
| 20 | - | |
| 21 | - /** | |
| 22 | - * COMTNBBSTMPLATHISTORY을 등록한다. | |
| 23 | - * @param vo - 등록할 정보가 담긴 ComtnbbstmplatVO | |
| 24 | - * @return 등록 결과 | |
| 25 | - * @exception Exception | |
| 26 | - */ | |
| 27 | - String insertBbsTmplatHistory(BbsTmplat vo) throws Exception; | |
| 28 | - | |
| 29 | - /** | |
| 30 | - * COMTNBBSTMPLATHISTORY을 삭제한다. | |
| 31 | - * @param vo - 삭제할 정보가 담긴 ComtnbbstmplatVO | |
| 32 | - * @return void형 | |
| 33 | - * @exception Exception | |
| 34 | - */ | |
| 35 | - void deleteBbsTmplatHistory(BbsTmplat vo) throws Exception; | |
| 36 | - | |
| 37 | - /** | |
| 38 | - * COMTNBBSTMPLATHISTORY을 조회한다. | |
| 39 | - * @param vo - 조회할 정보가 담긴 ComtnbbstmplatVO | |
| 40 | - * @return 조회한 COMTNBBSTMPLATHISTORY | |
| 41 | - * @exception Exception | |
| 42 | - */ | |
| 43 | - BbsTmplat selectBbsTmplatHistory(BbsTmplat vo) throws Exception; | |
| 44 | - | |
| 45 | - /** | |
| 46 | - * COMTNBBSTMPLATHISTORY 목록을 조회한다. | |
| 47 | - * @param searchVO - 조회할 정보가 담긴 VO | |
| 48 | - * @return COMTNBBSTMPLATHISTORY 목록 | |
| 49 | - * @exception Exception | |
| 50 | - */ | |
| 51 | - List<BbsTmplat> selectBbsTmplatHistoryList(BbsTmplatVO searchVO) throws Exception; | |
| 52 | - | |
| 53 | - /** | |
| 54 | - * COMTNBBSTMPLATHISTORY 총 갯수를 조회한다. | |
| 55 | - * @param searchVO - 조회할 정보가 담긴 VO | |
| 56 | - * @return COMTNBBSTMPLATHISTORY 총 갯수 | |
| 57 | - * @exception | |
| 58 | - */ | |
| 59 | - int selectBbsTmplatHistoryListCnt(BbsTmplatVO searchVO); | |
| 60 | - | |
| 61 | -} |
--- base/src/main/java/egovframework/com/cop/com/service/EgovBbsTmplatService.java
... | ... | @@ -1,69 +0,0 @@ |
| 1 | -package egovframework.com.cop.com.service; | |
| 2 | - | |
| 3 | -import java.util.List; | |
| 4 | -import egovframework.com.cop.com.service.BbsTmplatVO; | |
| 5 | -import egovframework.com.cop.com.service.BbsTmplat; | |
| 6 | - | |
| 7 | -/** | |
| 8 | - * @Class Name : EgovBbsTmplatService | |
| 9 | - * @Description : EgovBbsTmplatService 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 EgovBbsTmplatService {
| |
| 20 | - | |
| 21 | - /** | |
| 22 | - * COMTNBBSTMPLAT을 등록한다. | |
| 23 | - * @param vo - 등록할 정보가 담긴 ComtnbbstmplatVO | |
| 24 | - * @return 등록 결과 | |
| 25 | - * @exception Exception | |
| 26 | - */ | |
| 27 | - String insertBbsTmplat(BbsTmplat vo) throws Exception; | |
| 28 | - | |
| 29 | - /** | |
| 30 | - * COMTNBBSTMPLAT을 수정한다. | |
| 31 | - * @param vo - 수정할 정보가 담긴 ComtnbbstmplatVO | |
| 32 | - * @return void형 | |
| 33 | - * @exception Exception | |
| 34 | - */ | |
| 35 | - void updateBbsTmplat(BbsTmplat vo) throws Exception; | |
| 36 | - | |
| 37 | - /** | |
| 38 | - * COMTNBBSTMPLAT을 삭제한다. | |
| 39 | - * @param vo - 삭제할 정보가 담긴 ComtnbbstmplatVO | |
| 40 | - * @return void형 | |
| 41 | - * @exception Exception | |
| 42 | - */ | |
| 43 | - void deleteBbsTmplat(BbsTmplat vo) throws Exception; | |
| 44 | - | |
| 45 | - /** | |
| 46 | - * COMTNBBSTMPLAT을 조회한다. | |
| 47 | - * @param vo - 조회할 정보가 담긴 ComtnbbstmplatVO | |
| 48 | - * @return 조회한 COMTNBBSTMPLAT | |
| 49 | - * @exception Exception | |
| 50 | - */ | |
| 51 | - BbsTmplat selectBbsTmplat(BbsTmplat vo) throws Exception; | |
| 52 | - | |
| 53 | - /** | |
| 54 | - * COMTNBBSTMPLAT 목록을 조회한다. | |
| 55 | - * @param searchVO - 조회할 정보가 담긴 VO | |
| 56 | - * @return COMTNBBSTMPLAT 목록 | |
| 57 | - * @exception Exception | |
| 58 | - */ | |
| 59 | - List<BbsTmplat> selectBbsTmplatList(BbsTmplatVO searchVO) throws Exception; | |
| 60 | - | |
| 61 | - /** | |
| 62 | - * COMTNBBSTMPLAT 총 갯수를 조회한다. | |
| 63 | - * @param searchVO - 조회할 정보가 담긴 VO | |
| 64 | - * @return COMTNBBSTMPLAT 총 갯수 | |
| 65 | - * @exception | |
| 66 | - */ | |
| 67 | - int selectBbsTmplatListCnt(BbsTmplatVO searchVO); | |
| 68 | - | |
| 69 | -} |
+++ base/src/main/java/egovframework/com/cop/com/service/impl/BbsSourcHistoryMapper.java
... | ... | @@ -0,0 +1,25 @@ |
| 1 | +package egovframework.com.cop.com.service.impl; | |
| 2 | + | |
| 3 | +import java.util.List; | |
| 4 | + | |
| 5 | +import egovframework.com.cop.com.service.BbsSourcVO; | |
| 6 | +import egovframework.rte.psl.dataaccess.mapper.Mapper; | |
| 7 | + | |
| 8 | +@Mapper("bbsSourcHistoryMapper") | |
| 9 | +public interface BbsSourcHistoryMapper { | |
| 10 | + | |
| 11 | + //COMTNBBSSOURCHISTORY을 등록한다. | |
| 12 | + public void insertBbsSourcHistory(BbsSourcVO vo) throws Exception; | |
| 13 | + | |
| 14 | + //COMTNBBSSOURCHISTORY을 삭제한다. | |
| 15 | + public void deleteBbsSourcHistory(BbsSourcVO vo) throws Exception; | |
| 16 | + | |
| 17 | + //COMTNBBSSOURCHISTORY을 조회한다. | |
| 18 | + public BbsSourcVO selectBbsSourcHistory(BbsSourcVO vo) throws Exception; | |
| 19 | + | |
| 20 | + //COMTNBBSSOURCHISTORY 목록을 조회한다. | |
| 21 | + public List<BbsSourcVO> selectBbsSourcHistoryList(BbsSourcVO searchVO) throws Exception; | |
| 22 | + | |
| 23 | + //COMTNBBSSOURCHISTORY 총 갯수를 조회한다. | |
| 24 | + public int selectBbsSourcHistoryListCnt(BbsSourcVO searchVO); | |
| 25 | +} |
+++ base/src/main/java/egovframework/com/cop/com/service/impl/BbsSourcHistoryServiceImpl.java
... | ... | @@ -0,0 +1,54 @@ |
| 1 | +package egovframework.com.cop.com.service.impl; | |
| 2 | + | |
| 3 | +import java.util.List; | |
| 4 | + | |
| 5 | +import javax.annotation.Resource; | |
| 6 | + | |
| 7 | +import org.springframework.stereotype.Service; | |
| 8 | + | |
| 9 | +import egovframework.rte.fdl.cmmn.EgovAbstractServiceImpl; | |
| 10 | +import egovframework.rte.fdl.idgnr.EgovIdGnrService; | |
| 11 | +import egovframework.com.cop.com.service.BbsSourcVO; | |
| 12 | +import egovframework.com.cop.com.service.BbsSourcHistoryService; | |
| 13 | + | |
| 14 | + | |
| 15 | +@Service("bbsSourcHistoryService")
| |
| 16 | +public class BbsSourcHistoryServiceImpl extends EgovAbstractServiceImpl implements BbsSourcHistoryService {
| |
| 17 | + | |
| 18 | + @Resource(name="bbsSourcHistoryMapper") | |
| 19 | + private BbsSourcHistoryMapper bbsSourcHistoryMapper; | |
| 20 | + | |
| 21 | + /** ID Generation */ | |
| 22 | + @Resource(name="bbsSourcHistoryIdGnrService") | |
| 23 | + private EgovIdGnrService egovIdGnrService; | |
| 24 | + | |
| 25 | + //COMTNBBSSOURCHISTORY을 등록한다. | |
| 26 | + public String insertBbsSourcHistory(BbsSourcVO vo) throws Exception {
| |
| 27 | + vo.setBbsSourcHistId(egovIdGnrService.getNextStringId()); | |
| 28 | + bbsSourcHistoryMapper.insertBbsSourcHistory(vo); | |
| 29 | + return null; | |
| 30 | + } | |
| 31 | + | |
| 32 | + //COMTNBBSSOURCHISTORY을 삭제한다. | |
| 33 | + public void deleteBbsSourcHistory(BbsSourcVO vo) throws Exception {
| |
| 34 | + bbsSourcHistoryMapper.deleteBbsSourcHistory(vo); | |
| 35 | + } | |
| 36 | + | |
| 37 | + //COMTNBBSSOURCHISTORY을 조회한다. | |
| 38 | + public BbsSourcVO selectBbsSourcHistory(BbsSourcVO vo) throws Exception {
| |
| 39 | + BbsSourcVO resultVO = bbsSourcHistoryMapper.selectBbsSourcHistory(vo); | |
| 40 | + | |
| 41 | + return resultVO; | |
| 42 | + } | |
| 43 | + | |
| 44 | + //COMTNBBSSOURCHISTORY 목록을 조회한다. | |
| 45 | + public List<BbsSourcVO> selectBbsSourcHistoryList(BbsSourcVO searchVO) throws Exception {
| |
| 46 | + return bbsSourcHistoryMapper.selectBbsSourcHistoryList(searchVO); | |
| 47 | + } | |
| 48 | + | |
| 49 | + //COMTNBBSSOURCHISTORY 총 갯수를 조회한다. | |
| 50 | + public int selectBbsSourcHistoryListCnt(BbsSourcVO searchVO) {
| |
| 51 | + return bbsSourcHistoryMapper.selectBbsSourcHistoryListCnt(searchVO); | |
| 52 | + } | |
| 53 | + | |
| 54 | +} |
+++ base/src/main/java/egovframework/com/cop/com/service/impl/BbsSourcMapper.java
... | ... | @@ -0,0 +1,28 @@ |
| 1 | +package egovframework.com.cop.com.service.impl; | |
| 2 | + | |
| 3 | +import java.util.List; | |
| 4 | + | |
| 5 | +import egovframework.com.cop.com.service.BbsSourcVO; | |
| 6 | +import egovframework.rte.psl.dataaccess.mapper.Mapper; | |
| 7 | + | |
| 8 | +@Mapper("bbsSourcMapper") | |
| 9 | +public interface BbsSourcMapper { | |
| 10 | + | |
| 11 | + //COMTNBBSSOURC을 등록한다. | |
| 12 | + public void insertBbsSourc(BbsSourcVO vo) throws Exception; | |
| 13 | + | |
| 14 | + //COMTNBBSSOURC을 수정한다. | |
| 15 | + public void updateBbsSourc(BbsSourcVO vo) throws Exception; | |
| 16 | + | |
| 17 | + //COMTNBBSSOURC을 삭제한다. | |
| 18 | + public void deleteBbsSourc(BbsSourcVO vo) throws Exception; | |
| 19 | + | |
| 20 | + //COMTNBBSSOURC을 조회한다. | |
| 21 | + public BbsSourcVO selectBbsSourc(BbsSourcVO vo) throws Exception; | |
| 22 | + | |
| 23 | + //COMTNBBSSOURC 목록을 조회한다. | |
| 24 | + public List<BbsSourcVO> selectBbsSourcList(BbsSourcVO searchVO) throws Exception; | |
| 25 | + | |
| 26 | + //COMTNBBSSOURC 총 갯수를 조회한다. | |
| 27 | + public int selectBbsSourcListCnt(BbsSourcVO searchVO); | |
| 28 | +} |
+++ base/src/main/java/egovframework/com/cop/com/service/impl/BbsSourcServiceImpl.java
... | ... | @@ -0,0 +1,97 @@ |
| 1 | +package egovframework.com.cop.com.service.impl; | |
| 2 | + | |
| 3 | +import java.util.List; | |
| 4 | + | |
| 5 | +import javax.annotation.Resource; | |
| 6 | + | |
| 7 | +import org.springframework.stereotype.Service; | |
| 8 | + | |
| 9 | +import egovframework.rte.fdl.cmmn.EgovAbstractServiceImpl; | |
| 10 | +import egovframework.rte.fdl.idgnr.EgovIdGnrService; | |
| 11 | +import egovframework.rte.fdl.property.EgovPropertyService; | |
| 12 | +import egovframework.com.cop.com.service.BbsSourcHistoryService; | |
| 13 | +import egovframework.com.cop.com.service.BbsSourcService; | |
| 14 | +import egovframework.com.cop.com.service.BbsSourcVO; | |
| 15 | +import egovframework.com.utl.fcc.service.EgovFormBasedFileUtil; | |
| 16 | + | |
| 17 | +//게시판소스impl | |
| 18 | +@Service("bbsSourcService")
| |
| 19 | +public class BbsSourcServiceImpl extends EgovAbstractServiceImpl implements BbsSourcService {
| |
| 20 | + | |
| 21 | + @Resource(name="bbsSourcMapper") | |
| 22 | + private BbsSourcMapper bbsSourcMapper; | |
| 23 | + | |
| 24 | + /** ID Generation */ | |
| 25 | + @Resource(name="bbsSourcIdGnrService") | |
| 26 | + private EgovIdGnrService egovIdGnrService; | |
| 27 | + | |
| 28 | + @Resource(name="bbsSourcHistoryService") | |
| 29 | + private BbsSourcHistoryService bbsSourcHistoryService; | |
| 30 | + | |
| 31 | + @Resource(name = "propertiesService") | |
| 32 | + protected EgovPropertyService propertyService; | |
| 33 | + | |
| 34 | + //COMTNBBSSOURC을 등록한다. | |
| 35 | + public String insertBbsSourc(BbsSourcVO vo) throws Exception {
| |
| 36 | + vo.setBbsSourcId(egovIdGnrService.getNextStringId()); | |
| 37 | + bbsSourcMapper.insertBbsSourc(vo); | |
| 38 | + | |
| 39 | + bbsSourcHistoryService.insertBbsSourcHistory(vo); | |
| 40 | + | |
| 41 | + this.publishCreate(vo); | |
| 42 | + | |
| 43 | + return null; | |
| 44 | + } | |
| 45 | + | |
| 46 | + //COMTNBBSSOURC을 수정한다. | |
| 47 | + public void updateBbsSourc(BbsSourcVO vo) throws Exception {
| |
| 48 | + bbsSourcMapper.updateBbsSourc(vo); | |
| 49 | + | |
| 50 | + bbsSourcHistoryService.insertBbsSourcHistory(vo); | |
| 51 | + | |
| 52 | + this.publishCreate(vo); | |
| 53 | + } | |
| 54 | + | |
| 55 | + //COMTNBBSSOURC을 삭제한다. | |
| 56 | + public void deleteBbsSourc(BbsSourcVO vo) throws Exception {
| |
| 57 | + bbsSourcMapper.deleteBbsSourc(vo); | |
| 58 | + | |
| 59 | + this.publishDelete(vo); | |
| 60 | + } | |
| 61 | + | |
| 62 | + //COMTNBBSSOURC을 조회한다. | |
| 63 | + public BbsSourcVO selectBbsSourc(BbsSourcVO vo) throws Exception {
| |
| 64 | + BbsSourcVO resultVO = bbsSourcMapper.selectBbsSourc(vo); | |
| 65 | + | |
| 66 | + return resultVO; | |
| 67 | + } | |
| 68 | + | |
| 69 | + //COMTNBBSSOURC 목록을 조회한다. | |
| 70 | + public List<BbsSourcVO> selectBbsSourcList(BbsSourcVO searchVO) throws Exception {
| |
| 71 | + return bbsSourcMapper.selectBbsSourcList(searchVO); | |
| 72 | + } | |
| 73 | + | |
| 74 | + //COMTNBBSSOURC 총 갯수를 조회한다. | |
| 75 | + public int selectBbsSourcListCnt(BbsSourcVO searchVO) {
| |
| 76 | + return bbsSourcMapper.selectBbsSourcListCnt(searchVO); | |
| 77 | + } | |
| 78 | + | |
| 79 | + public void publishCreate(BbsSourcVO vo) throws Exception {
| |
| 80 | + | |
| 81 | + EgovFormBasedFileUtil.saveFile(this.propertyService.getString("publish.sourc.bbs.fileStorePathByJspFile") + "/" + vo.getBbsSourcId() + "/" + "NoticeList.jsp", vo.getListSourc());
| |
| 82 | + EgovFormBasedFileUtil.saveFile(this.propertyService.getString("publish.sourc.bbs.fileStorePathByJspFile") + "/" + vo.getBbsSourcId() + "/" + "NoticeInqire.jsp", vo.getViewSourc());
| |
| 83 | + EgovFormBasedFileUtil.saveFile(this.propertyService.getString("publish.sourc.bbs.fileStorePathByJspFile") + "/" + vo.getBbsSourcId() + "/" + "NoticeRegist.jsp", vo.getFormSourc());
| |
| 84 | + EgovFormBasedFileUtil.saveFile(this.propertyService.getString("publish.sourc.bbs.fileStorePathByJspFile") + "/" + vo.getBbsSourcId() + "/" + "CommentList.jsp", vo.getCmSourc());
| |
| 85 | + | |
| 86 | + } | |
| 87 | + | |
| 88 | + public void publishDelete(BbsSourcVO vo) throws Exception {
| |
| 89 | + | |
| 90 | + EgovFormBasedFileUtil.deleteFile(this.propertyService.getString("publish.sourc.bbs.fileStorePathByJspFile") + "/" + vo.getBbsSourcId() + "/" + "NoticeList.jsp");
| |
| 91 | + EgovFormBasedFileUtil.deleteFile(this.propertyService.getString("publish.sourc.bbs.fileStorePathByJspFile") + "/" + vo.getBbsSourcId() + "/" + "NoticeInqire.jsp");
| |
| 92 | + EgovFormBasedFileUtil.deleteFile(this.propertyService.getString("publish.sourc.bbs.fileStorePathByJspFile") + "/" + vo.getBbsSourcId() + "/" + "NoticeRegist.jsp");
| |
| 93 | + EgovFormBasedFileUtil.deleteFile(this.propertyService.getString("publish.sourc.bbs.fileStorePathByJspFile") + "/" + vo.getBbsSourcId() + "/" + "CommentList.jsp");
| |
| 94 | + | |
| 95 | + } | |
| 96 | + | |
| 97 | +} |
+++ base/src/main/java/egovframework/com/cop/com/service/impl/BbsTmplatHistoryMapper.java
... | ... | @@ -0,0 +1,26 @@ |
| 1 | +package egovframework.com.cop.com.service.impl; | |
| 2 | + | |
| 3 | +import java.util.List; | |
| 4 | + | |
| 5 | +import egovframework.com.cop.com.service.BbsTmplatVO; | |
| 6 | +import egovframework.rte.psl.dataaccess.mapper.Mapper; | |
| 7 | + | |
| 8 | +@Mapper("bbsTmplatHistoryMapper") | |
| 9 | +public interface BbsTmplatHistoryMapper { | |
| 10 | + | |
| 11 | + //COMTNBBSTMPLATHISTORY을 등록한다. | |
| 12 | + public void insertBbsTmplatHistory(BbsTmplatVO vo) throws Exception; | |
| 13 | + | |
| 14 | + //COMTNBBSTMPLATHISTORY을 삭제한다. | |
| 15 | + public void deleteBbsTmplatHistory(BbsTmplatVO vo) throws Exception; | |
| 16 | + | |
| 17 | + //COMTNBBSTMPLATHISTORY을 조회한다. | |
| 18 | + public BbsTmplatVO selectBbsTmplatHistory(BbsTmplatVO vo) throws Exception; | |
| 19 | + | |
| 20 | + //COMTNBBSTMPLATHISTORY 목록을 조회한다. | |
| 21 | + public List<BbsTmplatVO> selectBbsTmplatHistoryList(BbsTmplatVO searchVO) throws Exception; | |
| 22 | + | |
| 23 | + //COMTNBBSTMPLATHISTORY 총 갯수를 조회한다. | |
| 24 | + public int selectBbsTmplatHistoryListCnt(BbsTmplatVO searchVO); | |
| 25 | + | |
| 26 | +} |
+++ base/src/main/java/egovframework/com/cop/com/service/impl/BbsTmplatHistoryServiceImpl.java
... | ... | @@ -0,0 +1,60 @@ |
| 1 | +package egovframework.com.cop.com.service.impl; | |
| 2 | + | |
| 3 | +import java.util.List; | |
| 4 | + | |
| 5 | +import javax.annotation.Resource; | |
| 6 | + | |
| 7 | +import org.springframework.stereotype.Service; | |
| 8 | + | |
| 9 | +import egovframework.rte.fdl.cmmn.EgovAbstractServiceImpl; | |
| 10 | +import egovframework.rte.fdl.idgnr.EgovIdGnrService; | |
| 11 | +import egovframework.com.cop.com.service.BbsTmplatVO; | |
| 12 | +import egovframework.com.cop.com.service.BbsTmplatHistoryService; | |
| 13 | + | |
| 14 | +@Service("bbsTmplatHistoryService")
| |
| 15 | +public class BbsTmplatHistoryServiceImpl extends EgovAbstractServiceImpl implements BbsTmplatHistoryService {
| |
| 16 | + | |
| 17 | + @Resource(name="bbsTmplatHistoryMapper") | |
| 18 | + private BbsTmplatHistoryMapper bbsTmplatHistoryMapper; | |
| 19 | + | |
| 20 | + /** ID Generation */ | |
| 21 | + @Resource(name="bbsTmplatHistoryIdGnrService") | |
| 22 | + private EgovIdGnrService egovIdGnrService; | |
| 23 | + | |
| 24 | + //COMTNBBSTMPLATHISTORY을 등록한다. | |
| 25 | + public String insertBbsTmplatHistory(BbsTmplatVO vo) throws Exception {
| |
| 26 | + vo.setBbsTmplatHistId(egovIdGnrService.getNextStringId()); | |
| 27 | + bbsTmplatHistoryMapper.insertBbsTmplatHistory(vo); | |
| 28 | + return null; | |
| 29 | + } | |
| 30 | + | |
| 31 | + //COMTNBBSTMPLATHISTORY을 삭제한다. | |
| 32 | + public void deleteBbsTmplatHistory(BbsTmplatVO vo) throws Exception {
| |
| 33 | + bbsTmplatHistoryMapper.deleteBbsTmplatHistory(vo); | |
| 34 | + } | |
| 35 | + | |
| 36 | + //COMTNBBSTMPLATHISTORY을 조회한다. | |
| 37 | + public BbsTmplatVO selectBbsTmplatHistory(BbsTmplatVO vo) throws Exception {
| |
| 38 | + BbsTmplatVO resultVO = bbsTmplatHistoryMapper.selectBbsTmplatHistory(vo); | |
| 39 | + | |
| 40 | + return resultVO; | |
| 41 | + } | |
| 42 | + | |
| 43 | + //COMTNBBSTMPLATHISTORY 목록을 조회한다. | |
| 44 | + public List<BbsTmplatVO> selectBbsTmplatHistoryList(BbsTmplatVO searchVO) throws Exception {
| |
| 45 | + return bbsTmplatHistoryMapper.selectBbsTmplatHistoryList(searchVO); | |
| 46 | + } | |
| 47 | + | |
| 48 | + //COMTNBBSTMPLATHISTORY 총 갯수를 조회한다. | |
| 49 | + public int selectBbsTmplatHistoryListCnt(BbsTmplatVO searchVO) {
| |
| 50 | + return bbsTmplatHistoryMapper.selectBbsTmplatHistoryListCnt(searchVO); | |
| 51 | + } | |
| 52 | + | |
| 53 | + | |
| 54 | + | |
| 55 | + | |
| 56 | + | |
| 57 | + | |
| 58 | + | |
| 59 | + | |
| 60 | +} |
+++ base/src/main/java/egovframework/com/cop/com/service/impl/BbsTmplatMapper.java
... | ... | @@ -0,0 +1,29 @@ |
| 1 | +package egovframework.com.cop.com.service.impl; | |
| 2 | + | |
| 3 | +import java.util.List; | |
| 4 | + | |
| 5 | +import egovframework.com.cop.com.service.BbsTmplatVO; | |
| 6 | +import egovframework.rte.psl.dataaccess.mapper.Mapper; | |
| 7 | + | |
| 8 | +@Mapper("bbsTmplatMapper") | |
| 9 | +public interface BbsTmplatMapper { | |
| 10 | + | |
| 11 | + //COMTNBBSTMPLAT을 등록한다. | |
| 12 | + public void insertBbsTmplat(BbsTmplatVO vo) throws Exception; | |
| 13 | + | |
| 14 | + //COMTNBBSTMPLAT을 수정한다. | |
| 15 | + public void updateBbsTmplat(BbsTmplatVO vo) throws Exception; | |
| 16 | + | |
| 17 | + //COMTNBBSTMPLAT을 삭제한다. | |
| 18 | + public void deleteBbsTmplat(BbsTmplatVO vo) throws Exception; | |
| 19 | + | |
| 20 | + //COMTNBBSTMPLAT을 조회한다. | |
| 21 | + public BbsTmplatVO selectBbsTmplat(BbsTmplatVO vo) throws Exception; | |
| 22 | + | |
| 23 | + //COMTNBBSTMPLAT 목록을 조회한다. | |
| 24 | + public List<BbsTmplatVO> selectBbsTmplatList(BbsTmplatVO searchVO) throws Exception; | |
| 25 | + | |
| 26 | + //COMTNBBSTMPLAT 총 갯수를 조회한다. | |
| 27 | + public int selectBbsTmplatListCnt(BbsTmplatVO searchVO); | |
| 28 | + | |
| 29 | +} |
+++ base/src/main/java/egovframework/com/cop/com/service/impl/BbsTmplatServiceImpl.java
... | ... | @@ -0,0 +1,92 @@ |
| 1 | +package egovframework.com.cop.com.service.impl; | |
| 2 | + | |
| 3 | +import java.util.List; | |
| 4 | + | |
| 5 | +import javax.annotation.Resource; | |
| 6 | + | |
| 7 | +import org.springframework.stereotype.Service; | |
| 8 | + | |
| 9 | +import egovframework.rte.fdl.cmmn.EgovAbstractServiceImpl; | |
| 10 | +import egovframework.rte.fdl.idgnr.EgovIdGnrService; | |
| 11 | +import egovframework.rte.fdl.property.EgovPropertyService; | |
| 12 | +import egovframework.com.cop.com.service.BbsTmplatHistoryService; | |
| 13 | +import egovframework.com.cop.com.service.BbsTmplatService; | |
| 14 | +import egovframework.com.cop.com.service.BbsTmplatVO; | |
| 15 | +import egovframework.com.utl.fcc.service.EgovFormBasedFileUtil; | |
| 16 | + | |
| 17 | +@Service("bbsTmplatService")
| |
| 18 | +public class BbsTmplatServiceImpl extends EgovAbstractServiceImpl implements BbsTmplatService {
| |
| 19 | + | |
| 20 | + @Resource(name="bbsTmplatMapper") | |
| 21 | + private BbsTmplatMapper bbsTmplatMapper; | |
| 22 | + | |
| 23 | + /** ID Generation */ | |
| 24 | + @Resource(name="bbsTmplatIdGnrService") | |
| 25 | + private EgovIdGnrService egovIdGnrService; | |
| 26 | + | |
| 27 | + @Resource(name="bbsTmplatHistoryService") | |
| 28 | + private BbsTmplatHistoryService bbsTmplatHistoryService; | |
| 29 | + | |
| 30 | + @Resource(name = "propertiesService") | |
| 31 | + protected EgovPropertyService propertyService; | |
| 32 | + | |
| 33 | + //COMTNBBSTMPLAT을 등록한다. | |
| 34 | + public String insertBbsTmplat(BbsTmplatVO vo) throws Exception {
| |
| 35 | + vo.setBbsTmplatId(egovIdGnrService.getNextStringId()); | |
| 36 | + bbsTmplatMapper.insertBbsTmplat(vo); | |
| 37 | + | |
| 38 | + bbsTmplatHistoryService.insertBbsTmplatHistory(vo); | |
| 39 | + | |
| 40 | + this.publishCreate(vo); | |
| 41 | + | |
| 42 | + return null; | |
| 43 | + } | |
| 44 | + | |
| 45 | + //COMTNBBSTMPLAT을 수정한다. | |
| 46 | + public void updateBbsTmplat(BbsTmplatVO vo) throws Exception {
| |
| 47 | + bbsTmplatMapper.updateBbsTmplat(vo); | |
| 48 | + | |
| 49 | + bbsTmplatHistoryService.insertBbsTmplatHistory(vo); | |
| 50 | + | |
| 51 | + this.publishCreate(vo); | |
| 52 | + } | |
| 53 | + | |
| 54 | + //COMTNBBSTMPLAT을 삭제한다. | |
| 55 | + public void deleteBbsTmplat(BbsTmplatVO vo) throws Exception {
| |
| 56 | + bbsTmplatMapper.deleteBbsTmplat(vo); | |
| 57 | + | |
| 58 | + this.publishDelete(vo); | |
| 59 | + } | |
| 60 | + | |
| 61 | + //COMTNBBSTMPLAT을 조회한다. | |
| 62 | + public BbsTmplatVO selectBbsTmplat(BbsTmplatVO vo) throws Exception {
| |
| 63 | + BbsTmplatVO resultVO = bbsTmplatMapper.selectBbsTmplat(vo); | |
| 64 | + | |
| 65 | + return resultVO; | |
| 66 | + } | |
| 67 | + | |
| 68 | + //COMTNBBSTMPLAT 목록을 조회한다. | |
| 69 | + public List<BbsTmplatVO> selectBbsTmplatList(BbsTmplatVO searchVO) throws Exception {
| |
| 70 | + return bbsTmplatMapper.selectBbsTmplatList(searchVO); | |
| 71 | + } | |
| 72 | + | |
| 73 | + //COMTNBBSTMPLAT 총 갯수를 조회한다. | |
| 74 | + public int selectBbsTmplatListCnt(BbsTmplatVO searchVO) {
| |
| 75 | + return bbsTmplatMapper.selectBbsTmplatListCnt(searchVO); | |
| 76 | + } | |
| 77 | + | |
| 78 | + public void publishCreate(BbsTmplatVO vo) throws Exception {
| |
| 79 | + | |
| 80 | + EgovFormBasedFileUtil.saveFile(this.propertyService.getString("publish.tmplat.bbs.fileStorePathByWebFile") + "/" + vo.getBbsTmplatId() + "/style.css", vo.getCssSourc());
| |
| 81 | + EgovFormBasedFileUtil.saveFile(this.propertyService.getString("publish.tmplat.bbs.fileStorePathByWebFile") + "/" + vo.getBbsTmplatId() + "/script.js", vo.getScriptSourc());
| |
| 82 | + | |
| 83 | + } | |
| 84 | + | |
| 85 | + public void publishDelete(BbsTmplatVO vo) throws Exception {
| |
| 86 | + | |
| 87 | + EgovFormBasedFileUtil.deleteFile(this.propertyService.getString("publish.tmplat.bbs.fileStorePathByWebFile") + "/" + vo.getBbsTmplatId() + "/style.css");
| |
| 88 | + EgovFormBasedFileUtil.deleteFile(this.propertyService.getString("publish.tmplat.bbs.fileStorePathByWebFile") + "/" + vo.getBbsTmplatId() + "/script.js");
| |
| 89 | + | |
| 90 | + } | |
| 91 | + | |
| 92 | +} |
--- base/src/main/java/egovframework/com/cop/com/service/impl/EgovBbsSourcDAO.java
... | ... | @@ -1,88 +0,0 @@ |
| 1 | -package egovframework.com.cop.com.service.impl; | |
| 2 | - | |
| 3 | -import java.util.List; | |
| 4 | - | |
| 5 | -import org.springframework.stereotype.Repository; | |
| 6 | - | |
| 7 | -import egovframework.rte.psl.dataaccess.EgovAbstractDAO; | |
| 8 | -import egovframework.com.cop.com.service.BbsSourc; | |
| 9 | -import egovframework.com.cop.com.service.BbsSourcVO; | |
| 10 | - | |
| 11 | -/** | |
| 12 | - * @Class Name : EgovBbsSourcDAO | |
| 13 | - * @Description : EgovBbsSourcDAO Class | |
| 14 | - * @Modification Information | |
| 15 | - * | |
| 16 | - * @author 정정욱 | |
| 17 | - * @since 20120905 | |
| 18 | - * @version 1.0 | |
| 19 | - * @see | |
| 20 | - * | |
| 21 | - * Copyright (C) All right reserved. | |
| 22 | - */ | |
| 23 | - | |
| 24 | -@Repository("BbsSourcDAO")
| |
| 25 | -public class EgovBbsSourcDAO extends EgovAbstractDAO {
| |
| 26 | - | |
| 27 | - /** | |
| 28 | - * COMTNBBSSOURC을 등록한다. | |
| 29 | - * @param vo - 등록할 정보가 담긴 ComtnbbssourcVO | |
| 30 | - * @return 등록 결과 | |
| 31 | - * @exception Exception | |
| 32 | - */ | |
| 33 | - public String insertBbsSourc(BbsSourc vo) throws Exception {
| |
| 34 | - return (String)insert("BbsSourcDAO.insertBbsSourc", vo);
| |
| 35 | - } | |
| 36 | - | |
| 37 | - /** | |
| 38 | - * COMTNBBSSOURC을 수정한다. | |
| 39 | - * @param vo - 수정할 정보가 담긴 ComtnbbssourcVO | |
| 40 | - * @return void형 | |
| 41 | - * @exception Exception | |
| 42 | - */ | |
| 43 | - public void updateBbsSourc(BbsSourc vo) throws Exception {
| |
| 44 | - update("BbsSourcDAO.updateBbsSourc", vo);
| |
| 45 | - } | |
| 46 | - | |
| 47 | - /** | |
| 48 | - * COMTNBBSSOURC을 삭제한다. | |
| 49 | - * @param vo - 삭제할 정보가 담긴 ComtnbbssourcVO | |
| 50 | - * @return void형 | |
| 51 | - * @exception Exception | |
| 52 | - */ | |
| 53 | - public void deleteBbsSourc(BbsSourc vo) throws Exception {
| |
| 54 | - delete("BbsSourcDAO.deleteBbsSourc", vo);
| |
| 55 | - } | |
| 56 | - | |
| 57 | - /** | |
| 58 | - * COMTNBBSSOURC을 조회한다. | |
| 59 | - * @param vo - 조회할 정보가 담긴 ComtnbbssourcVO | |
| 60 | - * @return 조회한 COMTNBBSSOURC | |
| 61 | - * @exception Exception | |
| 62 | - */ | |
| 63 | - public BbsSourc selectBbsSourc(BbsSourc vo) throws Exception {
| |
| 64 | - return (BbsSourc) select("BbsSourcDAO.selectBbsSourc", vo);
| |
| 65 | - } | |
| 66 | - | |
| 67 | - /** | |
| 68 | - * COMTNBBSSOURC 목록을 조회한다. | |
| 69 | - * @param searchMap - 조회할 정보가 담긴 Map | |
| 70 | - * @return COMTNBBSSOURC 목록 | |
| 71 | - * @exception Exception | |
| 72 | - */ | |
| 73 | - @SuppressWarnings("unchecked")
| |
| 74 | - public List<BbsSourc> selectBbsSourcList(BbsSourcVO searchVO) throws Exception {
| |
| 75 | - return (List<BbsSourc>)list("BbsSourcDAO.selectBbsSourcList", searchVO);
| |
| 76 | - } | |
| 77 | - | |
| 78 | - /** | |
| 79 | - * COMTNBBSSOURC 총 갯수를 조회한다. | |
| 80 | - * @param searchMap - 조회할 정보가 담긴 Map | |
| 81 | - * @return COMTNBBSSOURC 총 갯수 | |
| 82 | - * @exception | |
| 83 | - */ | |
| 84 | - public int selectBbsSourcListCnt(BbsSourcVO searchVO) {
| |
| 85 | - return (Integer)select("BbsSourcDAO.selectBbsSourcListCnt", searchVO);
| |
| 86 | - } | |
| 87 | - | |
| 88 | -} |
--- base/src/main/java/egovframework/com/cop/com/service/impl/EgovBbsSourcHistoryDAO.java
... | ... | @@ -1,78 +0,0 @@ |
| 1 | -package egovframework.com.cop.com.service.impl; | |
| 2 | - | |
| 3 | -import java.util.List; | |
| 4 | - | |
| 5 | -import org.springframework.stereotype.Repository; | |
| 6 | - | |
| 7 | -import egovframework.rte.psl.dataaccess.EgovAbstractDAO; | |
| 8 | -import egovframework.com.cop.com.service.BbsSourc; | |
| 9 | -import egovframework.com.cop.com.service.BbsSourcVO; | |
| 10 | - | |
| 11 | -/** | |
| 12 | - * @Class Name : EgovBbsSourcHistoryDAO | |
| 13 | - * @Description : EgovBbsSourcHistoryDAO Class | |
| 14 | - * @Modification Information | |
| 15 | - * | |
| 16 | - * @author 정정욱 | |
| 17 | - * @since 20120905 | |
| 18 | - * @version 1.0 | |
| 19 | - * @see | |
| 20 | - * | |
| 21 | - * Copyright (C) All right reserved. | |
| 22 | - */ | |
| 23 | - | |
| 24 | -@Repository("BbsSourcHistoryDAO")
| |
| 25 | -public class EgovBbsSourcHistoryDAO extends EgovAbstractDAO {
| |
| 26 | - | |
| 27 | - /** | |
| 28 | - * COMTNBBSSOURCHISTORY을 등록한다. | |
| 29 | - * @param vo - 등록할 정보가 담긴 ComtnbbssourcVO | |
| 30 | - * @return 등록 결과 | |
| 31 | - * @exception Exception | |
| 32 | - */ | |
| 33 | - public String insertBbsSourcHistory(BbsSourc vo) throws Exception {
| |
| 34 | - return (String)insert("BbsSourcHistoryDAO.insertBbsSourcHistory", vo);
| |
| 35 | - } | |
| 36 | - | |
| 37 | - /** | |
| 38 | - * COMTNBBSSOURCHISTORY을 삭제한다. | |
| 39 | - * @param vo - 삭제할 정보가 담긴 ComtnbbssourcVO | |
| 40 | - * @return void형 | |
| 41 | - * @exception Exception | |
| 42 | - */ | |
| 43 | - public void deleteBbsSourcHistory(BbsSourc vo) throws Exception {
| |
| 44 | - delete("BbsSourcHistoryDAO.deleteBbsSourcHistory", vo);
| |
| 45 | - } | |
| 46 | - | |
| 47 | - /** | |
| 48 | - * COMTNBBSSOURCHISTORY을 조회한다. | |
| 49 | - * @param vo - 조회할 정보가 담긴 ComtnbbssourcVO | |
| 50 | - * @return 조회한 COMTNBBSSOURCHISTORY | |
| 51 | - * @exception Exception | |
| 52 | - */ | |
| 53 | - public BbsSourc selectBbsSourcHistory(BbsSourc vo) throws Exception {
| |
| 54 | - return (BbsSourc) select("BbsSourcHistoryDAO.selectBbsSourcHistory", vo);
| |
| 55 | - } | |
| 56 | - | |
| 57 | - /** | |
| 58 | - * COMTNBBSSOURCHISTORY 목록을 조회한다. | |
| 59 | - * @param searchMap - 조회할 정보가 담긴 Map | |
| 60 | - * @return COMTNBBSSOURCHISTORY 목록 | |
| 61 | - * @exception Exception | |
| 62 | - */ | |
| 63 | - @SuppressWarnings("unchecked")
| |
| 64 | - public List<BbsSourc> selectBbsSourcHistoryList(BbsSourcVO searchVO) throws Exception {
| |
| 65 | - return (List<BbsSourc>)list("BbsSourcHistoryDAO.selectBbsSourcHistoryList", searchVO);
| |
| 66 | - } | |
| 67 | - | |
| 68 | - /** | |
| 69 | - * COMTNBBSSOURCHISTORY 총 갯수를 조회한다. | |
| 70 | - * @param searchMap - 조회할 정보가 담긴 Map | |
| 71 | - * @return COMTNBBSSOURCHISTORY 총 갯수 | |
| 72 | - * @exception | |
| 73 | - */ | |
| 74 | - public int selectBbsSourcHistoryListCnt(BbsSourcVO searchVO) {
| |
| 75 | - return (Integer)select("BbsSourcHistoryDAO.selectBbsSourcHistoryListCnt", searchVO);
| |
| 76 | - } | |
| 77 | - | |
| 78 | -} |
--- base/src/main/java/egovframework/com/cop/com/service/impl/EgovBbsSourcHistoryServiceImpl.java
... | ... | @@ -1,94 +0,0 @@ |
| 1 | -package egovframework.com.cop.com.service.impl; | |
| 2 | - | |
| 3 | -import java.util.List; | |
| 4 | - | |
| 5 | -import javax.annotation.Resource; | |
| 6 | - | |
| 7 | -import org.springframework.stereotype.Service; | |
| 8 | - | |
| 9 | -import egovframework.rte.fdl.cmmn.EgovAbstractServiceImpl; | |
| 10 | -import egovframework.rte.fdl.idgnr.EgovIdGnrService; | |
| 11 | -import egovframework.com.cop.com.service.BbsSourcVO; | |
| 12 | -import egovframework.com.cop.com.service.BbsSourc; | |
| 13 | -import egovframework.com.cop.com.service.EgovBbsSourcHistoryService; | |
| 14 | -import egovframework.com.cop.com.service.impl.EgovBbsSourcHistoryDAO; | |
| 15 | - | |
| 16 | -/** | |
| 17 | - * @Class Name : EgovBbsSourcHistoryService | |
| 18 | - * @Description : EgovBbsSourcHistoryService Business Implement class | |
| 19 | - * @Modification Information | |
| 20 | - * | |
| 21 | - * @author 정정욱 | |
| 22 | - * @since 20120905 | |
| 23 | - * @version 1.0 | |
| 24 | - * @see | |
| 25 | - * | |
| 26 | - * Copyright (C) All right reserved. | |
| 27 | - */ | |
| 28 | - | |
| 29 | -@Service("EgovBbsSourcHistoryService")
| |
| 30 | -public class EgovBbsSourcHistoryServiceImpl extends EgovAbstractServiceImpl implements | |
| 31 | -EgovBbsSourcHistoryService {
| |
| 32 | - | |
| 33 | - @Resource(name="BbsSourcHistoryDAO") | |
| 34 | - private EgovBbsSourcHistoryDAO bbsSourcHistoryDAO; | |
| 35 | - | |
| 36 | - /** ID Generation */ | |
| 37 | - @Resource(name="egovBbsSourcHistoryIdGnrService") | |
| 38 | - private EgovIdGnrService egovIdGnrService; | |
| 39 | - | |
| 40 | - /** | |
| 41 | - * COMTNBBSSOURCHISTORY을 등록한다. | |
| 42 | - * @param vo - 등록할 정보가 담긴 ComtnbbssourcVO | |
| 43 | - * @return 등록 결과 | |
| 44 | - * @exception Exception | |
| 45 | - */ | |
| 46 | - public String insertBbsSourcHistory(BbsSourc vo) throws Exception {
| |
| 47 | - vo.setBbsSourcHistId(egovIdGnrService.getNextStringId()); | |
| 48 | - bbsSourcHistoryDAO.insertBbsSourcHistory(vo); | |
| 49 | - return null; | |
| 50 | - } | |
| 51 | - | |
| 52 | - /** | |
| 53 | - * COMTNBBSSOURCHISTORY을 삭제한다. | |
| 54 | - * @param vo - 삭제할 정보가 담긴 ComtnbbssourcVO | |
| 55 | - * @return void형 | |
| 56 | - * @exception Exception | |
| 57 | - */ | |
| 58 | - public void deleteBbsSourcHistory(BbsSourc vo) throws Exception {
| |
| 59 | - bbsSourcHistoryDAO.deleteBbsSourcHistory(vo); | |
| 60 | - } | |
| 61 | - | |
| 62 | - /** | |
| 63 | - * COMTNBBSSOURCHISTORY을 조회한다. | |
| 64 | - * @param vo - 조회할 정보가 담긴 ComtnbbssourcVO | |
| 65 | - * @return 조회한 COMTNBBSSOURCHISTORY | |
| 66 | - * @exception Exception | |
| 67 | - */ | |
| 68 | - public BbsSourc selectBbsSourcHistory(BbsSourc vo) throws Exception {
| |
| 69 | - BbsSourc resultVO = bbsSourcHistoryDAO.selectBbsSourcHistory(vo); | |
| 70 | - | |
| 71 | - return resultVO; | |
| 72 | - } | |
| 73 | - | |
| 74 | - /** | |
| 75 | - * COMTNBBSSOURCHISTORY 목록을 조회한다. | |
| 76 | - * @param searchVO - 조회할 정보가 담긴 VO | |
| 77 | - * @return COMTNBBSSOURCHISTORY 목록 | |
| 78 | - * @exception Exception | |
| 79 | - */ | |
| 80 | - public List<BbsSourc> selectBbsSourcHistoryList(BbsSourcVO searchVO) throws Exception {
| |
| 81 | - return bbsSourcHistoryDAO.selectBbsSourcHistoryList(searchVO); | |
| 82 | - } | |
| 83 | - | |
| 84 | - /** | |
| 85 | - * COMTNBBSSOURCHISTORY 총 갯수를 조회한다. | |
| 86 | - * @param searchVO - 조회할 정보가 담긴 VO | |
| 87 | - * @return COMTNBBSSOURCHISTORY 총 갯수 | |
| 88 | - * @exception | |
| 89 | - */ | |
| 90 | - public int selectBbsSourcHistoryListCnt(BbsSourcVO searchVO) {
| |
| 91 | - return bbsSourcHistoryDAO.selectBbsSourcHistoryListCnt(searchVO); | |
| 92 | - } | |
| 93 | - | |
| 94 | -} |
--- base/src/main/java/egovframework/com/cop/com/service/impl/EgovBbsSourcServiceImpl.java
... | ... | @@ -1,142 +0,0 @@ |
| 1 | -package egovframework.com.cop.com.service.impl; | |
| 2 | - | |
| 3 | -import java.util.List; | |
| 4 | - | |
| 5 | -import javax.annotation.Resource; | |
| 6 | - | |
| 7 | -import org.springframework.stereotype.Service; | |
| 8 | - | |
| 9 | -import egovframework.rte.fdl.cmmn.EgovAbstractServiceImpl; | |
| 10 | -import egovframework.rte.fdl.idgnr.EgovIdGnrService; | |
| 11 | -import egovframework.rte.fdl.property.EgovPropertyService; | |
| 12 | -import egovframework.com.cop.com.service.EgovBbsSourcHistoryService; | |
| 13 | -import egovframework.com.cop.com.service.EgovBbsSourcService; | |
| 14 | -import egovframework.com.cop.com.service.BbsSourcVO; | |
| 15 | -import egovframework.com.cop.com.service.BbsSourc; | |
| 16 | -import egovframework.com.cop.com.service.impl.EgovBbsSourcDAO; | |
| 17 | -import egovframework.com.utl.fcc.service.EgovFormBasedFileUtil; | |
| 18 | - | |
| 19 | -/** | |
| 20 | - * @Class Name : EgovBbsSourcServiceImpl | |
| 21 | - * @Description : EgovBbsSourcServiceImpl Business Implement class | |
| 22 | - * @Modification Information | |
| 23 | - * | |
| 24 | - * @author 정정욱 | |
| 25 | - * @since 20120905 | |
| 26 | - * @version 1.0 | |
| 27 | - * @see | |
| 28 | - * | |
| 29 | - * Copyright (C) All right reserved. | |
| 30 | - */ | |
| 31 | - | |
| 32 | -@Service("EgovBbsSourcService")
| |
| 33 | -public class EgovBbsSourcServiceImpl extends EgovAbstractServiceImpl implements | |
| 34 | - EgovBbsSourcService {
| |
| 35 | - | |
| 36 | - @Resource(name="BbsSourcDAO") | |
| 37 | - private EgovBbsSourcDAO bbsSourcDAO; | |
| 38 | - | |
| 39 | - /** ID Generation */ | |
| 40 | - @Resource(name="egovBbsSourcIdGnrService") | |
| 41 | - private EgovIdGnrService egovIdGnrService; | |
| 42 | - | |
| 43 | - @Resource(name="EgovBbsSourcHistoryService") | |
| 44 | - private EgovBbsSourcHistoryService bbsSourcHistoryService; | |
| 45 | - | |
| 46 | - @Resource(name = "propertiesService") | |
| 47 | - protected EgovPropertyService propertyService; | |
| 48 | - | |
| 49 | - /** | |
| 50 | - * COMTNBBSSOURC을 등록한다. | |
| 51 | - * @param vo - 등록할 정보가 담긴 ComtnbbssourcVO | |
| 52 | - * @return 등록 결과 | |
| 53 | - * @exception Exception | |
| 54 | - */ | |
| 55 | - public String insertBbsSourc(BbsSourc vo) throws Exception {
| |
| 56 | - vo.setBbsSourcId(egovIdGnrService.getNextStringId()); | |
| 57 | - bbsSourcDAO.insertBbsSourc(vo); | |
| 58 | - | |
| 59 | - bbsSourcHistoryService.insertBbsSourcHistory(vo); | |
| 60 | - | |
| 61 | - this.publishCreate(vo); | |
| 62 | - | |
| 63 | - return null; | |
| 64 | - } | |
| 65 | - | |
| 66 | - /** | |
| 67 | - * COMTNBBSSOURC을 수정한다. | |
| 68 | - * @param vo - 수정할 정보가 담긴 ComtnbbssourcVO | |
| 69 | - * @return void형 | |
| 70 | - * @exception Exception | |
| 71 | - */ | |
| 72 | - public void updateBbsSourc(BbsSourc vo) throws Exception {
| |
| 73 | - bbsSourcDAO.updateBbsSourc(vo); | |
| 74 | - | |
| 75 | - bbsSourcHistoryService.insertBbsSourcHistory(vo); | |
| 76 | - | |
| 77 | - this.publishCreate(vo); | |
| 78 | - } | |
| 79 | - | |
| 80 | - /** | |
| 81 | - * COMTNBBSSOURC을 삭제한다. | |
| 82 | - * @param vo - 삭제할 정보가 담긴 ComtnbbssourcVO | |
| 83 | - * @return void형 | |
| 84 | - * @exception Exception | |
| 85 | - */ | |
| 86 | - public void deleteBbsSourc(BbsSourc vo) throws Exception {
| |
| 87 | - bbsSourcDAO.deleteBbsSourc(vo); | |
| 88 | - | |
| 89 | - this.publishDelete(vo); | |
| 90 | - } | |
| 91 | - | |
| 92 | - /** | |
| 93 | - * COMTNBBSSOURC을 조회한다. | |
| 94 | - * @param vo - 조회할 정보가 담긴 ComtnbbssourcVO | |
| 95 | - * @return 조회한 COMTNBBSSOURC | |
| 96 | - * @exception Exception | |
| 97 | - */ | |
| 98 | - public BbsSourc selectBbsSourc(BbsSourc vo) throws Exception {
| |
| 99 | - BbsSourc resultVO = bbsSourcDAO.selectBbsSourc(vo); | |
| 100 | - | |
| 101 | - return resultVO; | |
| 102 | - } | |
| 103 | - | |
| 104 | - /** | |
| 105 | - * COMTNBBSSOURC 목록을 조회한다. | |
| 106 | - * @param searchVO - 조회할 정보가 담긴 VO | |
| 107 | - * @return COMTNBBSSOURC 목록 | |
| 108 | - * @exception Exception | |
| 109 | - */ | |
| 110 | - public List<BbsSourc> selectBbsSourcList(BbsSourcVO searchVO) throws Exception {
| |
| 111 | - return bbsSourcDAO.selectBbsSourcList(searchVO); | |
| 112 | - } | |
| 113 | - | |
| 114 | - /** | |
| 115 | - * COMTNBBSSOURC 총 갯수를 조회한다. | |
| 116 | - * @param searchVO - 조회할 정보가 담긴 VO | |
| 117 | - * @return COMTNBBSSOURC 총 갯수 | |
| 118 | - * @exception | |
| 119 | - */ | |
| 120 | - public int selectBbsSourcListCnt(BbsSourcVO searchVO) {
| |
| 121 | - return bbsSourcDAO.selectBbsSourcListCnt(searchVO); | |
| 122 | - } | |
| 123 | - | |
| 124 | - public void publishCreate(BbsSourc vo) throws Exception {
| |
| 125 | - | |
| 126 | - EgovFormBasedFileUtil.saveFile(this.propertyService.getString("publish.sourc.bbs.fileStorePathByJspFile") + "/" + vo.getBbsSourcId() + "/" + "EgovNoticeList.jsp", vo.getListSourc());
| |
| 127 | - EgovFormBasedFileUtil.saveFile(this.propertyService.getString("publish.sourc.bbs.fileStorePathByJspFile") + "/" + vo.getBbsSourcId() + "/" + "EgovNoticeInqire.jsp", vo.getViewSourc());
| |
| 128 | - EgovFormBasedFileUtil.saveFile(this.propertyService.getString("publish.sourc.bbs.fileStorePathByJspFile") + "/" + vo.getBbsSourcId() + "/" + "EgovNoticeRegist.jsp", vo.getFormSourc());
| |
| 129 | - EgovFormBasedFileUtil.saveFile(this.propertyService.getString("publish.sourc.bbs.fileStorePathByJspFile") + "/" + vo.getBbsSourcId() + "/" + "EgovCommentList.jsp", vo.getCmSourc());
| |
| 130 | - | |
| 131 | - } | |
| 132 | - | |
| 133 | - public void publishDelete(BbsSourc vo) throws Exception {
| |
| 134 | - | |
| 135 | - EgovFormBasedFileUtil.deleteFile(this.propertyService.getString("publish.sourc.bbs.fileStorePathByJspFile") + "/" + vo.getBbsSourcId() + "/" + "EgovNoticeList.jsp");
| |
| 136 | - EgovFormBasedFileUtil.deleteFile(this.propertyService.getString("publish.sourc.bbs.fileStorePathByJspFile") + "/" + vo.getBbsSourcId() + "/" + "EgovNoticeInqire.jsp");
| |
| 137 | - EgovFormBasedFileUtil.deleteFile(this.propertyService.getString("publish.sourc.bbs.fileStorePathByJspFile") + "/" + vo.getBbsSourcId() + "/" + "EgovNoticeRegist.jsp");
| |
| 138 | - EgovFormBasedFileUtil.deleteFile(this.propertyService.getString("publish.sourc.bbs.fileStorePathByJspFile") + "/" + vo.getBbsSourcId() + "/" + "EgovCommentList.jsp");
| |
| 139 | - | |
| 140 | - } | |
| 141 | - | |
| 142 | -} |
--- base/src/main/java/egovframework/com/cop/com/service/impl/EgovBbsTmplatDAO.java
... | ... | @@ -1,88 +0,0 @@ |
| 1 | -package egovframework.com.cop.com.service.impl; | |
| 2 | - | |
| 3 | -import java.util.List; | |
| 4 | - | |
| 5 | -import org.springframework.stereotype.Repository; | |
| 6 | - | |
| 7 | -import egovframework.rte.psl.dataaccess.EgovAbstractDAO; | |
| 8 | -import egovframework.com.cop.com.service.BbsTmplat; | |
| 9 | -import egovframework.com.cop.com.service.BbsTmplatVO; | |
| 10 | - | |
| 11 | -/** | |
| 12 | - * @Class Name : EgovBbsTmplatDAO | |
| 13 | - * @Description : EgovBbsTmplatDAO Class | |
| 14 | - * @Modification Information | |
| 15 | - * | |
| 16 | - * @author 정정욱 | |
| 17 | - * @since 20120905 | |
| 18 | - * @version 1.0 | |
| 19 | - * @see | |
| 20 | - * | |
| 21 | - * Copyright (C) All right reserved. | |
| 22 | - */ | |
| 23 | - | |
| 24 | -@Repository("BbsTmplatDAO")
| |
| 25 | -public class EgovBbsTmplatDAO extends EgovAbstractDAO {
| |
| 26 | - | |
| 27 | - /** | |
| 28 | - * COMTNBBSTMPLAT을 등록한다. | |
| 29 | - * @param vo - 등록할 정보가 담긴 ComtnbbstmplatVO | |
| 30 | - * @return 등록 결과 | |
| 31 | - * @exception Exception | |
| 32 | - */ | |
| 33 | - public String insertBbsTmplat(BbsTmplat vo) throws Exception {
| |
| 34 | - return (String)insert("BbsTmplatDAO.insertBbsTmplat", vo);
| |
| 35 | - } | |
| 36 | - | |
| 37 | - /** | |
| 38 | - * COMTNBBSTMPLAT을 수정한다. | |
| 39 | - * @param vo - 수정할 정보가 담긴 ComtnbbstmplatVO | |
| 40 | - * @return void형 | |
| 41 | - * @exception Exception | |
| 42 | - */ | |
| 43 | - public void updateBbsTmplat(BbsTmplat vo) throws Exception {
| |
| 44 | - update("BbsTmplatDAO.updateBbsTmplat", vo);
| |
| 45 | - } | |
| 46 | - | |
| 47 | - /** | |
| 48 | - * COMTNBBSTMPLAT을 삭제한다. | |
| 49 | - * @param vo - 삭제할 정보가 담긴 ComtnbbstmplatVO | |
| 50 | - * @return void형 | |
| 51 | - * @exception Exception | |
| 52 | - */ | |
| 53 | - public void deleteBbsTmplat(BbsTmplat vo) throws Exception {
| |
| 54 | - delete("BbsTmplatDAO.deleteBbsTmplat", vo);
| |
| 55 | - } | |
| 56 | - | |
| 57 | - /** | |
| 58 | - * COMTNBBSTMPLAT을 조회한다. | |
| 59 | - * @param vo - 조회할 정보가 담긴 ComtnbbstmplatVO | |
| 60 | - * @return 조회한 COMTNBBSTMPLAT | |
| 61 | - * @exception Exception | |
| 62 | - */ | |
| 63 | - public BbsTmplat selectBbsTmplat(BbsTmplat vo) throws Exception {
| |
| 64 | - return (BbsTmplat) select("BbsTmplatDAO.selectBbsTmplat", vo);
| |
| 65 | - } | |
| 66 | - | |
| 67 | - /** | |
| 68 | - * COMTNBBSTMPLAT 목록을 조회한다. | |
| 69 | - * @param searchMap - 조회할 정보가 담긴 Map | |
| 70 | - * @return COMTNBBSTMPLAT 목록 | |
| 71 | - * @exception Exception | |
| 72 | - */ | |
| 73 | - @SuppressWarnings("unchecked")
| |
| 74 | - public List<BbsTmplat> selectBbsTmplatList(BbsTmplatVO searchVO) throws Exception {
| |
| 75 | - return (List<BbsTmplat>)list("BbsTmplatDAO.selectBbsTmplatList", searchVO);
| |
| 76 | - } | |
| 77 | - | |
| 78 | - /** | |
| 79 | - * COMTNBBSTMPLAT 총 갯수를 조회한다. | |
| 80 | - * @param searchMap - 조회할 정보가 담긴 Map | |
| 81 | - * @return COMTNBBSTMPLAT 총 갯수 | |
| 82 | - * @exception | |
| 83 | - */ | |
| 84 | - public int selectBbsTmplatListCnt(BbsTmplatVO searchVO) {
| |
| 85 | - return (Integer)select("BbsTmplatDAO.selectBbsTmplatListCnt", searchVO);
| |
| 86 | - } | |
| 87 | - | |
| 88 | -} |
--- base/src/main/java/egovframework/com/cop/com/service/impl/EgovBbsTmplatHistoryDAO.java
... | ... | @@ -1,78 +0,0 @@ |
| 1 | -package egovframework.com.cop.com.service.impl; | |
| 2 | - | |
| 3 | -import java.util.List; | |
| 4 | - | |
| 5 | -import org.springframework.stereotype.Repository; | |
| 6 | - | |
| 7 | -import egovframework.rte.psl.dataaccess.EgovAbstractDAO; | |
| 8 | -import egovframework.com.cop.com.service.BbsTmplat; | |
| 9 | -import egovframework.com.cop.com.service.BbsTmplatVO; | |
| 10 | - | |
| 11 | -/** | |
| 12 | - * @Class Name : EgovBbsTmplatHistoryDAO | |
| 13 | - * @Description : EgovBbsTmplatHistoryDAO Class | |
| 14 | - * @Modification Information | |
| 15 | - * | |
| 16 | - * @author 정정욱 | |
| 17 | - * @since 20120905 | |
| 18 | - * @version 1.0 | |
| 19 | - * @see | |
| 20 | - * | |
| 21 | - * Copyright (C) All right reserved. | |
| 22 | - */ | |
| 23 | - | |
| 24 | -@Repository("BbsTmplatHistoryDAO")
| |
| 25 | -public class EgovBbsTmplatHistoryDAO extends EgovAbstractDAO {
| |
| 26 | - | |
| 27 | - /** | |
| 28 | - * COMTNBBSTMPLATHISTORY을 등록한다. | |
| 29 | - * @param vo - 등록할 정보가 담긴 ComtnbbstmplatVO | |
| 30 | - * @return 등록 결과 | |
| 31 | - * @exception Exception | |
| 32 | - */ | |
| 33 | - public String insertBbsTmplatHistory(BbsTmplat vo) throws Exception {
| |
| 34 | - return (String)insert("BbsTmplatHistoryDAO.insertBbsTmplatHistory", vo);
| |
| 35 | - } | |
| 36 | - | |
| 37 | - /** | |
| 38 | - * COMTNBBSTMPLATHISTORY을 삭제한다. | |
| 39 | - * @param vo - 삭제할 정보가 담긴 ComtnbbstmplatVO | |
| 40 | - * @return void형 | |
| 41 | - * @exception Exception | |
| 42 | - */ | |
| 43 | - public void deleteBbsTmplatHistory(BbsTmplat vo) throws Exception {
| |
| 44 | - delete("BbsTmplatHistoryDAO.deleteBbsTmplatHistory", vo);
| |
| 45 | - } | |
| 46 | - | |
| 47 | - /** | |
| 48 | - * COMTNBBSTMPLATHISTORY을 조회한다. | |
| 49 | - * @param vo - 조회할 정보가 담긴 ComtnbbstmplatVO | |
| 50 | - * @return 조회한 COMTNBBSTMPLATHISTORY | |
| 51 | - * @exception Exception | |
| 52 | - */ | |
| 53 | - public BbsTmplat selectBbsTmplatHistory(BbsTmplat vo) throws Exception {
| |
| 54 | - return (BbsTmplat) select("BbsTmplatHistoryDAO.selectBbsTmplatHistory", vo);
| |
| 55 | - } | |
| 56 | - | |
| 57 | - /** | |
| 58 | - * COMTNBBSTMPLATHISTORY 목록을 조회한다. | |
| 59 | - * @param searchMap - 조회할 정보가 담긴 Map | |
| 60 | - * @return COMTNBBSTMPLATHISTORY 목록 | |
| 61 | - * @exception Exception | |
| 62 | - */ | |
| 63 | - @SuppressWarnings("unchecked")
| |
| 64 | - public List<BbsTmplat> selectBbsTmplatHistoryList(BbsTmplatVO searchVO) throws Exception {
| |
| 65 | - return (List<BbsTmplat>)list("BbsTmplatHistoryDAO.selectBbsTmplatHistoryList", searchVO);
| |
| 66 | - } | |
| 67 | - | |
| 68 | - /** | |
| 69 | - * COMTNBBSTMPLATHISTORY 총 갯수를 조회한다. | |
| 70 | - * @param searchMap - 조회할 정보가 담긴 Map | |
| 71 | - * @return COMTNBBSTMPLATHISTORY 총 갯수 | |
| 72 | - * @exception | |
| 73 | - */ | |
| 74 | - public int selectBbsTmplatHistoryListCnt(BbsTmplatVO searchVO) {
| |
| 75 | - return (Integer)select("BbsTmplatHistoryDAO.selectBbsTmplatHistoryListCnt", searchVO);
| |
| 76 | - } | |
| 77 | - | |
| 78 | -} |
--- base/src/main/java/egovframework/com/cop/com/service/impl/EgovBbsTmplatHistoryServiceImpl.java
... | ... | @@ -1,94 +0,0 @@ |
| 1 | -package egovframework.com.cop.com.service.impl; | |
| 2 | - | |
| 3 | -import java.util.List; | |
| 4 | - | |
| 5 | -import javax.annotation.Resource; | |
| 6 | - | |
| 7 | -import org.springframework.stereotype.Service; | |
| 8 | - | |
| 9 | -import egovframework.rte.fdl.cmmn.EgovAbstractServiceImpl; | |
| 10 | -import egovframework.rte.fdl.idgnr.EgovIdGnrService; | |
| 11 | -import egovframework.com.cop.com.service.BbsTmplatVO; | |
| 12 | -import egovframework.com.cop.com.service.BbsTmplat; | |
| 13 | -import egovframework.com.cop.com.service.EgovBbsTmplatHistoryService; | |
| 14 | -import egovframework.com.cop.com.service.impl.EgovBbsTmplatHistoryDAO; | |
| 15 | - | |
| 16 | -/** | |
| 17 | - * @Class Name : EgovBbsTmplatHistoryService | |
| 18 | - * @Description : EgovBbsTmplatHistoryService Business Implement class | |
| 19 | - * @Modification Information | |
| 20 | - * | |
| 21 | - * @author 정정욱 | |
| 22 | - * @since 20120905 | |
| 23 | - * @version 1.0 | |
| 24 | - * @see | |
| 25 | - * | |
| 26 | - * Copyright (C) All right reserved. | |
| 27 | - */ | |
| 28 | - | |
| 29 | -@Service("EgovBbsTmplatHistoryService")
| |
| 30 | -public class EgovBbsTmplatHistoryServiceImpl extends EgovAbstractServiceImpl implements | |
| 31 | -EgovBbsTmplatHistoryService {
| |
| 32 | - | |
| 33 | - @Resource(name="BbsTmplatHistoryDAO") | |
| 34 | - private EgovBbsTmplatHistoryDAO bbsTmplatHistoryDAO; | |
| 35 | - | |
| 36 | - /** ID Generation */ | |
| 37 | - @Resource(name="egovBbsTmplatHistoryIdGnrService") | |
| 38 | - private EgovIdGnrService egovIdGnrService; | |
| 39 | - | |
| 40 | - /** | |
| 41 | - * COMTNBBSTMPLATHISTORY을 등록한다. | |
| 42 | - * @param vo - 등록할 정보가 담긴 ComtnbbstmplatVO | |
| 43 | - * @return 등록 결과 | |
| 44 | - * @exception Exception | |
| 45 | - */ | |
| 46 | - public String insertBbsTmplatHistory(BbsTmplat vo) throws Exception {
| |
| 47 | - vo.setBbsTmplatHistId(egovIdGnrService.getNextStringId()); | |
| 48 | - bbsTmplatHistoryDAO.insertBbsTmplatHistory(vo); | |
| 49 | - return null; | |
| 50 | - } | |
| 51 | - | |
| 52 | - /** | |
| 53 | - * COMTNBBSTMPLATHISTORY을 삭제한다. | |
| 54 | - * @param vo - 삭제할 정보가 담긴 ComtnbbstmplatVO | |
| 55 | - * @return void형 | |
| 56 | - * @exception Exception | |
| 57 | - */ | |
| 58 | - public void deleteBbsTmplatHistory(BbsTmplat vo) throws Exception {
| |
| 59 | - bbsTmplatHistoryDAO.deleteBbsTmplatHistory(vo); | |
| 60 | - } | |
| 61 | - | |
| 62 | - /** | |
| 63 | - * COMTNBBSTMPLATHISTORY을 조회한다. | |
| 64 | - * @param vo - 조회할 정보가 담긴 ComtnbbstmplatVO | |
| 65 | - * @return 조회한 COMTNBBSTMPLATHISTORY | |
| 66 | - * @exception Exception | |
| 67 | - */ | |
| 68 | - public BbsTmplat selectBbsTmplatHistory(BbsTmplat vo) throws Exception {
| |
| 69 | - BbsTmplat resultVO = bbsTmplatHistoryDAO.selectBbsTmplatHistory(vo); | |
| 70 | - | |
| 71 | - return resultVO; | |
| 72 | - } | |
| 73 | - | |
| 74 | - /** | |
| 75 | - * COMTNBBSTMPLATHISTORY 목록을 조회한다. | |
| 76 | - * @param searchVO - 조회할 정보가 담긴 VO | |
| 77 | - * @return COMTNBBSTMPLATHISTORY 목록 | |
| 78 | - * @exception Exception | |
| 79 | - */ | |
| 80 | - public List<BbsTmplat> selectBbsTmplatHistoryList(BbsTmplatVO searchVO) throws Exception {
| |
| 81 | - return bbsTmplatHistoryDAO.selectBbsTmplatHistoryList(searchVO); | |
| 82 | - } | |
| 83 | - | |
| 84 | - /** | |
| 85 | - * COMTNBBSTMPLATHISTORY 총 갯수를 조회한다. | |
| 86 | - * @param searchVO - 조회할 정보가 담긴 VO | |
| 87 | - * @return COMTNBBSTMPLATHISTORY 총 갯수 | |
| 88 | - * @exception | |
| 89 | - */ | |
| 90 | - public int selectBbsTmplatHistoryListCnt(BbsTmplatVO searchVO) {
| |
| 91 | - return bbsTmplatHistoryDAO.selectBbsTmplatHistoryListCnt(searchVO); | |
| 92 | - } | |
| 93 | - | |
| 94 | -} |
--- base/src/main/java/egovframework/com/cop/com/service/impl/EgovBbsTmplatServiceImpl.java
... | ... | @@ -1,138 +0,0 @@ |
| 1 | -package egovframework.com.cop.com.service.impl; | |
| 2 | - | |
| 3 | -import java.util.List; | |
| 4 | - | |
| 5 | -import javax.annotation.Resource; | |
| 6 | - | |
| 7 | -import org.springframework.stereotype.Service; | |
| 8 | - | |
| 9 | -import egovframework.rte.fdl.cmmn.EgovAbstractServiceImpl; | |
| 10 | -import egovframework.rte.fdl.idgnr.EgovIdGnrService; | |
| 11 | -import egovframework.rte.fdl.property.EgovPropertyService; | |
| 12 | -import egovframework.com.cop.com.service.EgovBbsTmplatHistoryService; | |
| 13 | -import egovframework.com.cop.com.service.EgovBbsTmplatService; | |
| 14 | -import egovframework.com.cop.com.service.BbsTmplatVO; | |
| 15 | -import egovframework.com.cop.com.service.BbsTmplat; | |
| 16 | -import egovframework.com.cop.com.service.impl.EgovBbsTmplatDAO; | |
| 17 | -import egovframework.com.utl.fcc.service.EgovFormBasedFileUtil; | |
| 18 | - | |
| 19 | -/** | |
| 20 | - * @Class Name : EgovBbsTmplatServiceImpl | |
| 21 | - * @Description : EgovBbsTmplatServiceImpl Business Implement class | |
| 22 | - * @Modification Information | |
| 23 | - * | |
| 24 | - * @author 정정욱 | |
| 25 | - * @since 20120905 | |
| 26 | - * @version 1.0 | |
| 27 | - * @see | |
| 28 | - * | |
| 29 | - * Copyright (C) All right reserved. | |
| 30 | - */ | |
| 31 | - | |
| 32 | -@Service("EgovBbsTmplatService")
| |
| 33 | -public class EgovBbsTmplatServiceImpl extends EgovAbstractServiceImpl implements | |
| 34 | - EgovBbsTmplatService {
| |
| 35 | - | |
| 36 | - @Resource(name="BbsTmplatDAO") | |
| 37 | - private EgovBbsTmplatDAO bbsTmplatDAO; | |
| 38 | - | |
| 39 | - /** ID Generation */ | |
| 40 | - @Resource(name="egovBbsTmplatIdGnrService") | |
| 41 | - private EgovIdGnrService egovIdGnrService; | |
| 42 | - | |
| 43 | - @Resource(name="EgovBbsTmplatHistoryService") | |
| 44 | - private EgovBbsTmplatHistoryService bbsTmplatHistoryService; | |
| 45 | - | |
| 46 | - @Resource(name = "propertiesService") | |
| 47 | - protected EgovPropertyService propertyService; | |
| 48 | - | |
| 49 | - /** | |
| 50 | - * COMTNBBSTMPLAT을 등록한다. | |
| 51 | - * @param vo - 등록할 정보가 담긴 ComtnbbstmplatVO | |
| 52 | - * @return 등록 결과 | |
| 53 | - * @exception Exception | |
| 54 | - */ | |
| 55 | - public String insertBbsTmplat(BbsTmplat vo) throws Exception {
| |
| 56 | - vo.setBbsTmplatId(egovIdGnrService.getNextStringId()); | |
| 57 | - bbsTmplatDAO.insertBbsTmplat(vo); | |
| 58 | - | |
| 59 | - bbsTmplatHistoryService.insertBbsTmplatHistory(vo); | |
| 60 | - | |
| 61 | - this.publishCreate(vo); | |
| 62 | - | |
| 63 | - return null; | |
| 64 | - } | |
| 65 | - | |
| 66 | - /** | |
| 67 | - * COMTNBBSTMPLAT을 수정한다. | |
| 68 | - * @param vo - 수정할 정보가 담긴 ComtnbbstmplatVO | |
| 69 | - * @return void형 | |
| 70 | - * @exception Exception | |
| 71 | - */ | |
| 72 | - public void updateBbsTmplat(BbsTmplat vo) throws Exception {
| |
| 73 | - bbsTmplatDAO.updateBbsTmplat(vo); | |
| 74 | - | |
| 75 | - bbsTmplatHistoryService.insertBbsTmplatHistory(vo); | |
| 76 | - | |
| 77 | - this.publishCreate(vo); | |
| 78 | - } | |
| 79 | - | |
| 80 | - /** | |
| 81 | - * COMTNBBSTMPLAT을 삭제한다. | |
| 82 | - * @param vo - 삭제할 정보가 담긴 ComtnbbstmplatVO | |
| 83 | - * @return void형 | |
| 84 | - * @exception Exception | |
| 85 | - */ | |
| 86 | - public void deleteBbsTmplat(BbsTmplat vo) throws Exception {
| |
| 87 | - bbsTmplatDAO.deleteBbsTmplat(vo); | |
| 88 | - | |
| 89 | - this.publishDelete(vo); | |
| 90 | - } | |
| 91 | - | |
| 92 | - /** | |
| 93 | - * COMTNBBSTMPLAT을 조회한다. | |
| 94 | - * @param vo - 조회할 정보가 담긴 ComtnbbstmplatVO | |
| 95 | - * @return 조회한 COMTNBBSTMPLAT | |
| 96 | - * @exception Exception | |
| 97 | - */ | |
| 98 | - public BbsTmplat selectBbsTmplat(BbsTmplat vo) throws Exception {
| |
| 99 | - BbsTmplat resultVO = bbsTmplatDAO.selectBbsTmplat(vo); | |
| 100 | - | |
| 101 | - return resultVO; | |
| 102 | - } | |
| 103 | - | |
| 104 | - /** | |
| 105 | - * COMTNBBSTMPLAT 목록을 조회한다. | |
| 106 | - * @param searchVO - 조회할 정보가 담긴 VO | |
| 107 | - * @return COMTNBBSTMPLAT 목록 | |
| 108 | - * @exception Exception | |
| 109 | - */ | |
| 110 | - public List<BbsTmplat> selectBbsTmplatList(BbsTmplatVO searchVO) throws Exception {
| |
| 111 | - return bbsTmplatDAO.selectBbsTmplatList(searchVO); | |
| 112 | - } | |
| 113 | - | |
| 114 | - /** | |
| 115 | - * COMTNBBSTMPLAT 총 갯수를 조회한다. | |
| 116 | - * @param searchVO - 조회할 정보가 담긴 VO | |
| 117 | - * @return COMTNBBSTMPLAT 총 갯수 | |
| 118 | - * @exception | |
| 119 | - */ | |
| 120 | - public int selectBbsTmplatListCnt(BbsTmplatVO searchVO) {
| |
| 121 | - return bbsTmplatDAO.selectBbsTmplatListCnt(searchVO); | |
| 122 | - } | |
| 123 | - | |
| 124 | - public void publishCreate(BbsTmplat vo) throws Exception {
| |
| 125 | - | |
| 126 | - EgovFormBasedFileUtil.saveFile(this.propertyService.getString("publish.tmplat.bbs.fileStorePathByWebFile") + "/" + vo.getBbsTmplatId() + "/style.css", vo.getCssSourc());
| |
| 127 | - EgovFormBasedFileUtil.saveFile(this.propertyService.getString("publish.tmplat.bbs.fileStorePathByWebFile") + "/" + vo.getBbsTmplatId() + "/script.js", vo.getScriptSourc());
| |
| 128 | - | |
| 129 | - } | |
| 130 | - | |
| 131 | - public void publishDelete(BbsTmplat vo) throws Exception {
| |
| 132 | - | |
| 133 | - EgovFormBasedFileUtil.deleteFile(this.propertyService.getString("publish.tmplat.bbs.fileStorePathByWebFile") + "/" + vo.getBbsTmplatId() + "/style.css");
| |
| 134 | - EgovFormBasedFileUtil.deleteFile(this.propertyService.getString("publish.tmplat.bbs.fileStorePathByWebFile") + "/" + vo.getBbsTmplatId() + "/script.js");
| |
| 135 | - | |
| 136 | - } | |
| 137 | - | |
| 138 | -} |
--- base/src/main/java/egovframework/com/mng/cop/bbs/web/EgovBBSAttributeManageController.java
+++ base/src/main/java/egovframework/com/mng/cop/bbs/web/EgovBBSAttributeManageController.java
... | ... | @@ -21,10 +21,10 @@ |
| 21 | 21 |
import egovframework.com.cop.bbs.service.CtgryMaster; |
| 22 | 22 |
import egovframework.com.cop.bbs.service.EgovBBSCtgryMasterService; |
| 23 | 23 |
import egovframework.com.cop.bbs.service.EgovBBSAttributeManageService; |
| 24 |
-import egovframework.com.cop.com.service.BbsSourc; |
|
| 25 |
-import egovframework.com.cop.com.service.BbsTmplat; |
|
| 26 |
-import egovframework.com.cop.com.service.EgovBbsSourcService; |
|
| 27 |
-import egovframework.com.cop.com.service.EgovBbsTmplatService; |
|
| 24 |
+import egovframework.com.cop.com.service.BbsSourcService; |
|
| 25 |
+import egovframework.com.cop.com.service.BbsSourcVO; |
|
| 26 |
+import egovframework.com.cop.com.service.BbsTmplatService; |
|
| 27 |
+import egovframework.com.cop.com.service.BbsTmplatVO; |
|
| 28 | 28 |
import egovframework.com.sec.ram.security.userdetails.util.EgovUserDetailsHelper; |
| 29 | 29 |
import egovframework.com.sec.ram.service.EgovAuthorManageService; |
| 30 | 30 |
import egovframework.com.sym.ccm.cde.service.CmmnDetailCodeVO; |
... | ... | @@ -64,11 +64,11 @@ |
| 64 | 64 |
@Resource(name = "EgovBBSCtgryMasterService") |
| 65 | 65 |
private EgovBBSCtgryMasterService egovBBSCtgryMasterService; |
| 66 | 66 |
|
| 67 |
- @Resource(name = "EgovBbsTmplatService") |
|
| 68 |
- private EgovBbsTmplatService bbsTmplatService; |
|
| 67 |
+ @Resource(name = "bbsTmplatService") |
|
| 68 |
+ private BbsTmplatService bbsTmplatService; |
|
| 69 | 69 |
|
| 70 |
- @Resource(name = "EgovBbsSourcService") |
|
| 71 |
- private EgovBbsSourcService bbsSourcService; |
|
| 70 |
+ @Resource(name = "bbsSourcService") |
|
| 71 |
+ private BbsSourcService bbsSourcService; |
|
| 72 | 72 |
|
| 73 | 73 |
@Resource(name = "propertiesService") |
| 74 | 74 |
protected EgovPropertyService propertyService; |
... | ... | @@ -253,14 +253,14 @@ |
| 253 | 253 |
model.addAttribute("boardMaster", master);
|
| 254 | 254 |
|
| 255 | 255 |
if(!EgovStringUtil.isEmpty(master.getTmplatId())) {
|
| 256 |
- BbsTmplat bbsTmplat = new BbsTmplat(); |
|
| 256 |
+ BbsTmplatVO bbsTmplat = new BbsTmplatVO(); |
|
| 257 | 257 |
bbsTmplat.setBbsTmplatId(master.getTmplatId()); |
| 258 | 258 |
|
| 259 | 259 |
model.addAttribute("bbsTmplatVO", bbsTmplatService.selectBbsTmplat(bbsTmplat));
|
| 260 | 260 |
} |
| 261 | 261 |
|
| 262 | 262 |
if(!EgovStringUtil.isEmpty(master.getSourcId())) {
|
| 263 |
- BbsSourc bbsSourc = new BbsSourc(); |
|
| 263 |
+ BbsSourcVO bbsSourc = new BbsSourcVO(); |
|
| 264 | 264 |
bbsSourc.setBbsSourcId(master.getSourcId()); |
| 265 | 265 |
|
| 266 | 266 |
model.addAttribute("bbsSourcVO", bbsSourcService.selectBbsSourc(bbsSourc));
|
... | ... | @@ -314,14 +314,14 @@ |
| 314 | 314 |
model.addAttribute("boardMaster", master);
|
| 315 | 315 |
|
| 316 | 316 |
if(!EgovStringUtil.isEmpty(master.getTmplatId())) {
|
| 317 |
- BbsTmplat bbsTmplat = new BbsTmplat(); |
|
| 318 |
- bbsTmplat.setBbsTmplatId(master.getTmplatId()); |
|
| 317 |
+ BbsTmplatVO bbsTmplat = new BbsTmplatVO(); |
|
| 318 |
+ bbsTmplat.setBbsTmplatId(master.getTmplatId()); |
|
| 319 | 319 |
|
| 320 |
- model.addAttribute("bbsTmplatVO", bbsTmplatService.selectBbsTmplat(bbsTmplat));
|
|
| 321 |
- } |
|
| 320 |
+ model.addAttribute("bbsTmplatVO", bbsTmplatService.selectBbsTmplat(bbsTmplat));
|
|
| 321 |
+ } |
|
| 322 | 322 |
|
| 323 | 323 |
if(!EgovStringUtil.isEmpty(master.getSourcId())) {
|
| 324 |
- BbsSourc bbsSourc = new BbsSourc(); |
|
| 324 |
+ BbsSourcVO bbsSourc = new BbsSourcVO(); |
|
| 325 | 325 |
bbsSourc.setBbsSourcId(master.getSourcId()); |
| 326 | 326 |
|
| 327 | 327 |
model.addAttribute("bbsSourcVO", bbsSourcService.selectBbsSourc(bbsSourc));
|
--- base/src/main/java/egovframework/com/mng/cop/bbs/web/EgovBBSCtgryMasterController.java
+++ base/src/main/java/egovframework/com/mng/cop/bbs/web/EgovBBSCtgryMasterController.java
... | ... | @@ -26,25 +26,7 @@ |
| 26 | 26 |
import egovframework.rte.fdl.string.EgovStringUtil; |
| 27 | 27 |
import egovframework.rte.ptl.mvc.tags.ui.pagination.PaginationInfo; |
| 28 | 28 |
|
| 29 |
-// Servoce 객체에 대한 import 구문 |
|
| 30 |
-// import (service package).egovBBSCtgryMasterService; |
|
| 31 |
-// Vo 객체에 대한 import 구문 |
|
| 32 |
-// import (vo package).CtgryMaster; |
|
| 33 |
-// import (vo package).ComtnbbsctgrymasterVO; |
|
| 34 |
- |
|
| 35 |
-/** |
|
| 36 |
- * @Class Name : ComtnbbsctgrymasterController.java |
|
| 37 |
- * @Description : Comtnbbsctgrymaster Controller class |
|
| 38 |
- * @Modification Information |
|
| 39 |
- * |
|
| 40 |
- * @author 이엠티 |
|
| 41 |
- * @since 2011.12.15 |
|
| 42 |
- * @version 1.0 |
|
| 43 |
- * @see |
|
| 44 |
- * |
|
| 45 |
- * Copyright (C) All right reserved. |
|
| 46 |
- */ |
|
| 47 |
- |
|
| 29 |
+//카테고리관리 |
|
| 48 | 30 |
@Controller |
| 49 | 31 |
public class EgovBBSCtgryMasterController {
|
| 50 | 32 |
|
... | ... | @@ -58,11 +40,7 @@ |
| 58 | 40 |
@Resource(name = "propertiesService") |
| 59 | 41 |
protected EgovPropertyService propertiesService; |
| 60 | 42 |
|
| 61 |
- /** |
|
| 62 |
- * COMTNBBSCTGRYMASTER 목록을 조회한다. (pageing) |
|
| 63 |
- * @param searchVO - 조회할 정보가 담긴 CtgryMaster |
|
| 64 |
- * @exception Exception |
|
| 65 |
- */ |
|
| 43 |
+ //COMTNBBSCTGRYMASTER 목록을 조회한다. (pageing) |
|
| 66 | 44 |
@RequestMapping(value="/mng/cop/bbs/ctg/selectBBSCtgryMasterList.do") |
| 67 | 45 |
public String selectBBSCtgryMasterList(@ModelAttribute("searchVO") CtgryMaster searchVO, ModelMap model, HttpServletRequest request, HttpServletResponse response) throws Exception {
|
| 68 | 46 |
/* |
... | ... | @@ -77,7 +55,7 @@ |
| 77 | 55 |
*/ |
| 78 | 56 |
|
| 79 | 57 |
LoginVO loginVO = EgovUserDetailsHelper.getAuthenticatedUser(request, response); |
| 80 |
- if(!EgovStringUtil.isEmpty(loginVO.getSiteId())) {
|
|
| 58 |
+ if(!EgovStringUtil.isEmpty(loginVO.getSiteId())) {
|
|
| 81 | 59 |
searchVO.setSiteId(loginVO.getSiteId()); |
| 82 | 60 |
} |
| 83 | 61 |
|
... | ... | @@ -94,38 +72,16 @@ |
| 94 | 72 |
searchVO.setLastIndex(paginationInfo.getLastRecordIndex()); |
| 95 | 73 |
searchVO.setRecordCountPerPage(paginationInfo.getRecordCountPerPage()); |
| 96 | 74 |
|
| 97 |
- //과정코드관리 |
|
| 98 |
- if("SYS02".equals(searchVO.getSysTyCode())){
|
|
| 99 |
- searchVO.setRecordCountPerPage(Integer.MAX_VALUE); |
|
| 100 |
- List<CtgryMaster> masterList = egovBBSCtgryMasterService.selectComtnbbsctgrymasterList(searchVO); |
|
| 101 |
- Ctgry ctgry = new Ctgry(); |
|
| 102 |
- HashMap map = new HashMap(); |
|
| 103 |
- int listSize = 0; |
|
| 104 |
- for(int i = 0; i < masterList.size(); i++){
|
|
| 105 |
- ctgry.setCtgrymasterId(masterList.get(i).getCtgrymasterId()); |
|
| 106 |
- List<Ctgry> ctgryList = egovBBSCtgryService.selectComtnbbsctgryList(ctgry); |
|
| 107 |
- map.put(masterList.get(i).getCtgrymasterId(), ctgryList); |
|
| 108 |
- |
|
| 109 |
- if(ctgryList.size() > listSize){
|
|
| 110 |
- listSize = ctgryList.size(); |
|
| 111 |
- } |
|
| 112 |
- } |
|
| 113 |
- |
|
| 114 |
- model.addAttribute("resultList", map);
|
|
| 115 |
- model.addAttribute("listSize", listSize);
|
|
| 116 |
- |
|
| 117 |
- return "/mng/cop/bbs/ctg/EgovBBSCtgryMasterList02"; |
|
| 118 |
- }else{
|
|
| 119 |
- if(!EgovStringUtil.isEmpty(searchVO.getSiteId())) {
|
|
| 120 |
- model.addAttribute("resultList", egovBBSCtgryMasterService.selectComtnbbsctgrymasterList(searchVO));
|
|
| 121 |
- |
|
| 122 |
- int totCnt = egovBBSCtgryMasterService.selectComtnbbsctgrymasterListTotCnt(searchVO); |
|
| 123 |
- paginationInfo.setTotalRecordCount(totCnt); |
|
| 124 |
- } |
|
| 125 |
- model.addAttribute("paginationInfo", paginationInfo);
|
|
| 75 |
+ |
|
| 76 |
+ if(!EgovStringUtil.isEmpty(searchVO.getSiteId())) {
|
|
| 77 |
+ model.addAttribute("resultList", egovBBSCtgryMasterService.selectComtnbbsctgrymasterList(searchVO));
|
|
| 126 | 78 |
|
| 127 |
- return "/mng/cop/bbs/ctg/EgovBBSCtgryMasterList"; |
|
| 79 |
+ int totCnt = egovBBSCtgryMasterService.selectComtnbbsctgrymasterListTotCnt(searchVO); |
|
| 80 |
+ paginationInfo.setTotalRecordCount(totCnt); |
|
| 128 | 81 |
} |
| 82 |
+ model.addAttribute("paginationInfo", paginationInfo);
|
|
| 83 |
+ |
|
| 84 |
+ return "/mng/cop/bbs/ctg/EgovBBSCtgryMasterList"; |
|
| 129 | 85 |
} |
| 130 | 86 |
|
| 131 | 87 |
@RequestMapping("/mng/cop/bbs/ctg/addBBSCtgryMaster.do")
|
--- base/src/main/java/egovframework/com/mng/cop/com/web/EgovBbsSourcManageController.java
+++ base/src/main/java/egovframework/com/mng/cop/com/web/BbsSourcManageController.java
... | ... | @@ -26,37 +26,23 @@ |
| 26 | 26 |
import egovframework.com.cmm.service.CmmUseService; |
| 27 | 27 |
import egovframework.com.cmm.service.EgovFileMngUtil; |
| 28 | 28 |
import egovframework.com.cmm.service.FileVO; |
| 29 |
-import egovframework.com.cop.com.service.EgovBbsSourcHistoryService; |
|
| 30 |
-import egovframework.com.cop.com.service.EgovBbsSourcService; |
|
| 29 |
+import egovframework.com.cop.com.service.BbsSourcHistoryService; |
|
| 30 |
+import egovframework.com.cop.com.service.BbsSourcService; |
|
| 31 | 31 |
import egovframework.com.cop.com.service.BbsSourcVO; |
| 32 |
-import egovframework.com.cop.com.service.BbsSourc; |
|
| 33 | 32 |
import egovframework.com.sec.ram.security.userdetails.util.EgovUserDetailsHelper; |
| 34 | 33 |
import egovframework.com.sym.ccm.cde.service.CmmnDetailCodeVO; |
| 35 | 34 |
import egovframework.com.sym.sit.service.SiteManageService; |
| 36 | 35 |
import egovframework.com.uat.uia.service.LoginVO; |
| 37 | 36 |
import egovframework.com.utl.fcc.service.EgovFormBasedFileUtil; |
| 38 | 37 |
|
| 39 |
-/** |
|
| 40 |
- * @Class Name : EgovBbsSourcManageController |
|
| 41 |
- * @Description : EgovBbsSourcManageController Controller class |
|
| 42 |
- * @Modification Information |
|
| 43 |
- * |
|
| 44 |
- * @author 정정욱 |
|
| 45 |
- * @since 20120905 |
|
| 46 |
- * @version 1.0 |
|
| 47 |
- * @see |
|
| 48 |
- * |
|
| 49 |
- * Copyright (C) All right reserved. |
|
| 50 |
- */ |
|
| 51 |
- |
|
| 52 | 38 |
@Controller |
| 53 |
-public class EgovBbsSourcManageController {
|
|
| 39 |
+public class BbsSourcManageController {
|
|
| 54 | 40 |
|
| 55 |
- @Resource(name = "EgovBbsSourcService") |
|
| 56 |
- private EgovBbsSourcService bbsSourcService; |
|
| 41 |
+ @Resource(name = "bbsSourcService") |
|
| 42 |
+ private BbsSourcService bbsSourcService; |
|
| 57 | 43 |
|
| 58 |
- @Resource(name = "EgovBbsSourcHistoryService") |
|
| 59 |
- private EgovBbsSourcHistoryService bbsSourcHistoryService; |
|
| 44 |
+ @Resource(name = "bbsSourcHistoryService") |
|
| 45 |
+ private BbsSourcHistoryService bbsSourcHistoryService; |
|
| 60 | 46 |
|
| 61 | 47 |
@Resource(name = "cmmUseService") |
| 62 | 48 |
private CmmUseService cmmUseService; |
... | ... | @@ -86,7 +72,7 @@ |
| 86 | 72 |
searchVO.setLastIndex(paginationInfo.getLastRecordIndex()); |
| 87 | 73 |
searchVO.setRecordCountPerPage(paginationInfo.getRecordCountPerPage()); |
| 88 | 74 |
|
| 89 |
- List<BbsSourc> comtnbbssourcList = bbsSourcService.selectBbsSourcList(searchVO); |
|
| 75 |
+ List<BbsSourcVO> comtnbbssourcList = bbsSourcService.selectBbsSourcList(searchVO); |
|
| 90 | 76 |
model.addAttribute("resultList", comtnbbssourcList);
|
| 91 | 77 |
|
| 92 | 78 |
int totCnt = bbsSourcService.selectBbsSourcListCnt(searchVO); |
... | ... | @@ -99,13 +85,13 @@ |
| 99 | 85 |
|
| 100 | 86 |
model.addAttribute("fileStoreWebPathByPreFile", propertiesService.getString("publish.sourc.bbs.fileStoreWebPathByPreFile"));
|
| 101 | 87 |
|
| 102 |
- return "/mng/cop/com/EgovBbsSourcList"; |
|
| 88 |
+ return "/mng/cop/com/BbsSourcList"; |
|
| 103 | 89 |
} |
| 104 | 90 |
|
| 105 | 91 |
@RequestMapping("/mng/cop/com/addBbsSourc.do")
|
| 106 | 92 |
public String addBbsSourc(@ModelAttribute("searchVO") BbsSourcVO searchVO, Model model, HttpServletRequest request) throws Exception {
|
| 107 | 93 |
|
| 108 |
- model.addAttribute("bbsSourcVO", new BbsSourc());
|
|
| 94 |
+ model.addAttribute("bbsSourcVO", new BbsSourcVO());
|
|
| 109 | 95 |
|
| 110 | 96 |
CmmnDetailCodeVO vo = new CmmnDetailCodeVO(); |
| 111 | 97 |
vo.setCodeId("COM918");
|
... | ... | @@ -113,12 +99,12 @@ |
| 113 | 99 |
|
| 114 | 100 |
request.getSession().setAttribute("sessionVO", searchVO);
|
| 115 | 101 |
|
| 116 |
- return "/mng/cop/com/EgovBbsSourcRegister"; |
|
| 102 |
+ return "/mng/cop/com/BbsSourcRegister"; |
|
| 117 | 103 |
} |
| 118 | 104 |
|
| 119 | 105 |
@SuppressWarnings("unchecked")
|
| 120 | 106 |
@RequestMapping("/mng/cop/com/insertBbsSourc.do")
|
| 121 |
- public String insertBbsSourc(final MultipartHttpServletRequest multiRequest, @ModelAttribute("searchVO") BbsSourcVO searchVO, BbsSourc bbsSourc, BindingResult bindingResult, ModelMap model, HttpServletRequest request, HttpServletResponse response) throws Exception {
|
|
| 107 |
+ public String insertBbsSourc(final MultipartHttpServletRequest multiRequest, @ModelAttribute("searchVO") BbsSourcVO searchVO, BbsSourcVO bbsSourc, BindingResult bindingResult, ModelMap model, HttpServletRequest request, HttpServletResponse response) throws Exception {
|
|
| 122 | 108 |
|
| 123 | 109 |
if(request.getSession().getAttribute("sessionVO") == null) {
|
| 124 | 110 |
return "forward:/mng/cop/com/selectBbsSourcList.do"; |
... | ... | @@ -132,7 +118,7 @@ |
| 132 | 118 |
vo.setCodeId("COM918");
|
| 133 | 119 |
model.addAttribute("codeList", cmmUseService.selectCmmCodeDetail(vo));
|
| 134 | 120 |
|
| 135 |
- return "/mng/cop/com/EgovBbsSourcRegister"; |
|
| 121 |
+ return "/mng/cop/com/BbsSourcRegister"; |
|
| 136 | 122 |
} |
| 137 | 123 |
|
| 138 | 124 |
List<FileVO> result = null; |
... | ... | @@ -173,12 +159,12 @@ |
| 173 | 159 |
|
| 174 | 160 |
request.getSession().setAttribute("sessionVO", searchVO);
|
| 175 | 161 |
|
| 176 |
- return "/mng/cop/com/EgovBbsSourcRegister"; |
|
| 162 |
+ return "/mng/cop/com/BbsSourcRegister"; |
|
| 177 | 163 |
} |
| 178 | 164 |
|
| 179 | 165 |
@SuppressWarnings("unchecked")
|
| 180 | 166 |
@RequestMapping("//mng/cop/com/updateBbsSourc.do")
|
| 181 |
- public String updateBbsSourc(final MultipartHttpServletRequest multiRequest, @ModelAttribute("searchVO") BbsSourcVO searchVO, BbsSourc bbsSourc, BindingResult bindingResult, ModelMap model, HttpServletRequest request, HttpServletResponse response) throws Exception {
|
|
| 167 |
+ public String updateBbsSourc(final MultipartHttpServletRequest multiRequest, @ModelAttribute("searchVO") BbsSourcVO searchVO, BbsSourcVO bbsSourc, BindingResult bindingResult, ModelMap model, HttpServletRequest request, HttpServletResponse response) throws Exception {
|
|
| 182 | 168 |
|
| 183 | 169 |
if(request.getSession().getAttribute("sessionVO") == null) {
|
| 184 | 170 |
return "forward:/mng/cop/com/selectBbsSourcList.do"; |
... | ... | @@ -194,7 +180,7 @@ |
| 194 | 180 |
|
| 195 | 181 |
model.addAttribute("fileStoreWebPathByPreFile", propertiesService.getString("publish.sourc.bbs.fileStoreWebPathByPreFile"));
|
| 196 | 182 |
|
| 197 |
- return "/mng/cop/com/EgovBbsSourcRegister"; |
|
| 183 |
+ return "/mng/cop/com/BbsSourcRegister"; |
|
| 198 | 184 |
} |
| 199 | 185 |
|
| 200 | 186 |
List<FileVO> result = null; |
... | ... | @@ -223,7 +209,7 @@ |
| 223 | 209 |
} |
| 224 | 210 |
|
| 225 | 211 |
@RequestMapping("/mng/cop/com/deleteBbsSourc.do")
|
| 226 |
- public String deleteBbsSourc(@ModelAttribute("searchVO") BbsSourcVO searchVO, BbsSourc bbsSourc, HttpServletRequest request, HttpServletResponse response) throws Exception {
|
|
| 212 |
+ public String deleteBbsSourc(@ModelAttribute("searchVO") BbsSourcVO searchVO, BbsSourcVO bbsSourc, HttpServletRequest request, HttpServletResponse response) throws Exception {
|
|
| 227 | 213 |
|
| 228 | 214 |
LoginVO user = EgovUserDetailsHelper.getAuthenticatedUser(request, response); |
| 229 | 215 |
bbsSourc.setLastUpdusrId(user.getId()); |
... | ... | @@ -252,14 +238,14 @@ |
| 252 | 238 |
searchVO.setLastIndex(paginationInfo.getLastRecordIndex()); |
| 253 | 239 |
searchVO.setRecordCountPerPage(paginationInfo.getRecordCountPerPage()); |
| 254 | 240 |
|
| 255 |
- List<BbsSourc> comtnlytsourcList = bbsSourcHistoryService.selectBbsSourcHistoryList(searchVO); |
|
| 241 |
+ List<BbsSourcVO> comtnlytsourcList = bbsSourcHistoryService.selectBbsSourcHistoryList(searchVO); |
|
| 256 | 242 |
model.addAttribute("resultList", comtnlytsourcList);
|
| 257 | 243 |
|
| 258 | 244 |
int totCnt = bbsSourcHistoryService.selectBbsSourcHistoryListCnt(searchVO); |
| 259 | 245 |
paginationInfo.setTotalRecordCount(totCnt); |
| 260 | 246 |
model.addAttribute("paginationInfo", paginationInfo);
|
| 261 | 247 |
|
| 262 |
- return "/mng/cop/com/EgovBbsSourcHistoryList"; |
|
| 248 |
+ return "/mng/cop/com/BbsSourcHistoryList"; |
|
| 263 | 249 |
} |
| 264 | 250 |
|
| 265 | 251 |
@RequestMapping("/mng/cop/com/selectBbsSourcHistory.do")
|
... | ... | @@ -269,13 +255,13 @@ |
| 269 | 255 |
|
| 270 | 256 |
model.addAttribute("fileStoreWebPathByPreFile", propertiesService.getString("publish.sourc.bbs.fileStoreWebPathByPreFile"));
|
| 271 | 257 |
|
| 272 |
- return "/mng/cop/com/EgovBbsSourcHistoryView"; |
|
| 258 |
+ return "/mng/cop/com/BbsSourcHistoryView"; |
|
| 273 | 259 |
} |
| 274 | 260 |
|
| 275 | 261 |
@RequestMapping("/mng/cop/com/updateBbsSourcRollBack.do")
|
| 276 | 262 |
public String updateBbsSourcRollBack(@ModelAttribute("searchVO") BbsSourcVO searchVO, Model model, HttpServletRequest request) throws Exception {
|
| 277 | 263 |
|
| 278 |
- BbsSourc his = bbsSourcHistoryService.selectBbsSourcHistory(searchVO); |
|
| 264 |
+ BbsSourcVO his = bbsSourcHistoryService.selectBbsSourcHistory(searchVO); |
|
| 279 | 265 |
if(his != null) {
|
| 280 | 266 |
bbsSourcService.updateBbsSourc(his); |
| 281 | 267 |
model.addAttribute("rollbackComplete", "Y");
|
... | ... | @@ -289,10 +275,10 @@ |
| 289 | 275 |
|
| 290 | 276 |
JSONObject jObj = new JSONObject(); |
| 291 | 277 |
|
| 292 |
- jObj.put("listSourc", EgovFormBasedFileUtil.readFile(propertiesService.getString("publish.sourc.bbs.ori.fileStorePathByJspFile") + "/EgovNoticeList.jsp"));
|
|
| 293 |
- jObj.put("viewSourc", EgovFormBasedFileUtil.readFile(propertiesService.getString("publish.sourc.bbs.ori.fileStorePathByJspFile") + "/EgovNoticeInqire.jsp"));
|
|
| 294 |
- jObj.put("formSourc", EgovFormBasedFileUtil.readFile(propertiesService.getString("publish.sourc.bbs.ori.fileStorePathByJspFile") + "/EgovNoticeRegist.jsp"));
|
|
| 295 |
- jObj.put("cmSourc", EgovFormBasedFileUtil.readFile(propertiesService.getString("publish.sourc.bbs.ori.fileStorePathByJspFile") + "/EgovCommentList.jsp"));
|
|
| 278 |
+ jObj.put("listSourc", EgovFormBasedFileUtil.readFile(propertiesService.getString("publish.sourc.bbs.ori.fileStorePathByJspFile") + "/NoticeList.jsp"));
|
|
| 279 |
+ jObj.put("viewSourc", EgovFormBasedFileUtil.readFile(propertiesService.getString("publish.sourc.bbs.ori.fileStorePathByJspFile") + "/NoticeInqire.jsp"));
|
|
| 280 |
+ jObj.put("formSourc", EgovFormBasedFileUtil.readFile(propertiesService.getString("publish.sourc.bbs.ori.fileStorePathByJspFile") + "/NoticeRegist.jsp"));
|
|
| 281 |
+ jObj.put("cmSourc", EgovFormBasedFileUtil.readFile(propertiesService.getString("publish.sourc.bbs.ori.fileStorePathByJspFile") + "/CommentList.jsp"));
|
|
| 296 | 282 |
|
| 297 | 283 |
response.setContentType("text/javascript; charset=utf-8");
|
| 298 | 284 |
PrintWriter printwriter = response.getWriter(); |
... | ... | @@ -304,7 +290,7 @@ |
| 304 | 290 |
@RequestMapping("/mng/cop/com/selectBbsCopySource.do")
|
| 305 | 291 |
public void selectBbsCopySource(@ModelAttribute("searchVO") BbsSourcVO searchVO, ModelMap model, HttpServletRequest request, HttpServletResponse response) throws Exception {
|
| 306 | 292 |
|
| 307 |
- BbsSourc vo = bbsSourcService.selectBbsSourc(searchVO); |
|
| 293 |
+ BbsSourcVO vo = bbsSourcService.selectBbsSourc(searchVO); |
|
| 308 | 294 |
|
| 309 | 295 |
JSONObject jObj = new JSONObject(); |
| 310 | 296 |
|
--- base/src/main/java/egovframework/com/mng/cop/com/web/EgovBbsTmplatManageController.java
+++ base/src/main/java/egovframework/com/mng/cop/com/web/BbsTmplatManageController.java
... | ... | @@ -26,37 +26,23 @@ |
| 26 | 26 |
import egovframework.com.cmm.service.CmmUseService; |
| 27 | 27 |
import egovframework.com.cmm.service.EgovFileMngUtil; |
| 28 | 28 |
import egovframework.com.cmm.service.FileVO; |
| 29 |
-import egovframework.com.cop.com.service.EgovBbsTmplatHistoryService; |
|
| 30 |
-import egovframework.com.cop.com.service.EgovBbsTmplatService; |
|
| 29 |
+import egovframework.com.cop.com.service.BbsTmplatHistoryService; |
|
| 30 |
+import egovframework.com.cop.com.service.BbsTmplatService; |
|
| 31 | 31 |
import egovframework.com.cop.com.service.BbsTmplatVO; |
| 32 |
-import egovframework.com.cop.com.service.BbsTmplat; |
|
| 33 | 32 |
import egovframework.com.sec.ram.security.userdetails.util.EgovUserDetailsHelper; |
| 34 | 33 |
import egovframework.com.sym.ccm.cde.service.CmmnDetailCodeVO; |
| 35 | 34 |
import egovframework.com.sym.sit.service.SiteManageService; |
| 36 | 35 |
import egovframework.com.uat.uia.service.LoginVO; |
| 37 | 36 |
import egovframework.com.utl.fcc.service.EgovFormBasedFileUtil; |
| 38 | 37 |
|
| 39 |
-/** |
|
| 40 |
- * @Class Name : EgovBbsTmplatManageController |
|
| 41 |
- * @Description : EgovBbsTmplatManageController Controller class |
|
| 42 |
- * @Modification Information |
|
| 43 |
- * |
|
| 44 |
- * @author 정정욱 |
|
| 45 |
- * @since 20120905 |
|
| 46 |
- * @version 1.0 |
|
| 47 |
- * @see |
|
| 48 |
- * |
|
| 49 |
- * Copyright (C) All right reserved. |
|
| 50 |
- */ |
|
| 51 |
- |
|
| 52 | 38 |
@Controller |
| 53 |
-public class EgovBbsTmplatManageController {
|
|
| 39 |
+public class BbsTmplatManageController {
|
|
| 54 | 40 |
|
| 55 |
- @Resource(name = "EgovBbsTmplatService") |
|
| 56 |
- private EgovBbsTmplatService bbsTmplatService; |
|
| 41 |
+ @Resource(name = "bbsTmplatService") |
|
| 42 |
+ private BbsTmplatService bbsTmplatService; |
|
| 57 | 43 |
|
| 58 |
- @Resource(name = "EgovBbsTmplatHistoryService") |
|
| 59 |
- private EgovBbsTmplatHistoryService bbsTmplatHistoryService; |
|
| 44 |
+ @Resource(name = "bbsTmplatHistoryService") |
|
| 45 |
+ private BbsTmplatHistoryService bbsTmplatHistoryService; |
|
| 60 | 46 |
|
| 61 | 47 |
@Resource(name = "cmmUseService") |
| 62 | 48 |
private CmmUseService cmmUseService; |
... | ... | @@ -86,7 +72,7 @@ |
| 86 | 72 |
searchVO.setLastIndex(paginationInfo.getLastRecordIndex()); |
| 87 | 73 |
searchVO.setRecordCountPerPage(paginationInfo.getRecordCountPerPage()); |
| 88 | 74 |
|
| 89 |
- List<BbsTmplat> comtnbbstmplatList = bbsTmplatService.selectBbsTmplatList(searchVO); |
|
| 75 |
+ List<BbsTmplatVO> comtnbbstmplatList = bbsTmplatService.selectBbsTmplatList(searchVO); |
|
| 90 | 76 |
model.addAttribute("resultList", comtnbbstmplatList);
|
| 91 | 77 |
|
| 92 | 78 |
int totCnt = bbsTmplatService.selectBbsTmplatListCnt(searchVO); |
... | ... | @@ -99,13 +85,13 @@ |
| 99 | 85 |
|
| 100 | 86 |
model.addAttribute("fileStoreWebPathByPreFile", propertiesService.getString("publish.tmplat.bbs.fileStoreWebPathByPreFile"));
|
| 101 | 87 |
|
| 102 |
- return "/mng/cop/com/EgovBbsTemplateList"; |
|
| 88 |
+ return "/mng/cop/com/BbsTemplateList"; |
|
| 103 | 89 |
} |
| 104 | 90 |
|
| 105 | 91 |
@RequestMapping("/mng/cop/com/addBbsTemplate.do")
|
| 106 | 92 |
public String addBbsTmplat(@ModelAttribute("searchVO") BbsTmplatVO searchVO, Model model, HttpServletRequest request) throws Exception {
|
| 107 | 93 |
|
| 108 |
- model.addAttribute("bbsTmplatVO", new BbsTmplat());
|
|
| 94 |
+ model.addAttribute("bbsTmplatVO", new BbsTmplatVO());
|
|
| 109 | 95 |
|
| 110 | 96 |
CmmnDetailCodeVO vo = new CmmnDetailCodeVO(); |
| 111 | 97 |
vo.setCodeId("COM919");
|
... | ... | @@ -113,12 +99,11 @@ |
| 113 | 99 |
|
| 114 | 100 |
request.getSession().setAttribute("sessionVO", searchVO);
|
| 115 | 101 |
|
| 116 |
- return "/mng/cop/com/EgovBbsTemplateRegister"; |
|
| 102 |
+ return "/mng/cop/com/BbsTemplateRegister"; |
|
| 117 | 103 |
} |
| 118 | 104 |
|
| 119 |
- @SuppressWarnings("unchecked")
|
|
| 120 | 105 |
@RequestMapping("/mng/cop/com/insertBbsTemplate.do")
|
| 121 |
- public String insertBbsTmplat(final MultipartHttpServletRequest multiRequest, @ModelAttribute("searchVO") BbsTmplatVO searchVO, BbsTmplat bbsTmplat, BindingResult bindingResult, ModelMap model, HttpServletRequest request, HttpServletResponse response) throws Exception {
|
|
| 106 |
+ public String insertBbsTmplat(final MultipartHttpServletRequest multiRequest, @ModelAttribute("searchVO") BbsTmplatVO searchVO, BbsTmplatVO bbsTmplat, BindingResult bindingResult, ModelMap model, HttpServletRequest request, HttpServletResponse response) throws Exception {
|
|
| 122 | 107 |
|
| 123 | 108 |
if(request.getSession().getAttribute("sessionVO") == null) {
|
| 124 | 109 |
return "forward:/mng/cop/com/selectBbsTemplateList.do"; |
... | ... | @@ -132,7 +117,7 @@ |
| 132 | 117 |
vo.setCodeId("COM919");
|
| 133 | 118 |
model.addAttribute("codeList", cmmUseService.selectCmmCodeDetail(vo));
|
| 134 | 119 |
|
| 135 |
- return "/mng/cop/com/EgovBbsTemplateRegister"; |
|
| 120 |
+ return "/mng/cop/com/BbsTemplateRegister"; |
|
| 136 | 121 |
} |
| 137 | 122 |
|
| 138 | 123 |
List<FileVO> result = null; |
... | ... | @@ -173,12 +158,11 @@ |
| 173 | 158 |
|
| 174 | 159 |
request.getSession().setAttribute("sessionVO", searchVO);
|
| 175 | 160 |
|
| 176 |
- return "/mng/cop/com/EgovBbsTemplateRegister"; |
|
| 161 |
+ return "/mng/cop/com/BbsTemplateRegister"; |
|
| 177 | 162 |
} |
| 178 | 163 |
|
| 179 |
- @SuppressWarnings("unchecked")
|
|
| 180 | 164 |
@RequestMapping("//mng/cop/com/updateBbsTemplate.do")
|
| 181 |
- public String updateBbsTmplat(final MultipartHttpServletRequest multiRequest, @ModelAttribute("searchVO") BbsTmplatVO searchVO, BbsTmplat bbsTmplat, BindingResult bindingResult, ModelMap model, HttpServletRequest request, HttpServletResponse response) throws Exception {
|
|
| 165 |
+ public String updateBbsTmplat(final MultipartHttpServletRequest multiRequest, @ModelAttribute("searchVO") BbsTmplatVO searchVO, BbsTmplatVO bbsTmplat, BindingResult bindingResult, ModelMap model, HttpServletRequest request, HttpServletResponse response) throws Exception {
|
|
| 182 | 166 |
|
| 183 | 167 |
if(request.getSession().getAttribute("sessionVO") == null) {
|
| 184 | 168 |
return "forward:/mng/cop/com/selectBbsTemplateList.do"; |
... | ... | @@ -194,7 +178,7 @@ |
| 194 | 178 |
|
| 195 | 179 |
model.addAttribute("fileStoreWebPathByPreFile", propertiesService.getString("publish.tmplat.bbs.fileStoreWebPathByPreFile"));
|
| 196 | 180 |
|
| 197 |
- return "/mng/cop/com/EgovBbsTemplateRegister"; |
|
| 181 |
+ return "/mng/cop/com/BbsTemplateRegister"; |
|
| 198 | 182 |
} |
| 199 | 183 |
|
| 200 | 184 |
List<FileVO> result = null; |
... | ... | @@ -223,7 +207,7 @@ |
| 223 | 207 |
} |
| 224 | 208 |
|
| 225 | 209 |
@RequestMapping("/mng/cop/com/deleteBbsTemplate.do")
|
| 226 |
- public String deleteBbsTmplat(@ModelAttribute("searchVO") BbsTmplatVO searchVO, BbsTmplat bbsTmplat, HttpServletRequest request, HttpServletResponse response) throws Exception {
|
|
| 210 |
+ public String deleteBbsTmplat(@ModelAttribute("searchVO") BbsTmplatVO searchVO, BbsTmplatVO bbsTmplat, HttpServletRequest request, HttpServletResponse response) throws Exception {
|
|
| 227 | 211 |
|
| 228 | 212 |
LoginVO user = EgovUserDetailsHelper.getAuthenticatedUser(request, response); |
| 229 | 213 |
bbsTmplat.setLastUpdusrId(user.getId()); |
... | ... | @@ -252,14 +236,14 @@ |
| 252 | 236 |
searchVO.setLastIndex(paginationInfo.getLastRecordIndex()); |
| 253 | 237 |
searchVO.setRecordCountPerPage(paginationInfo.getRecordCountPerPage()); |
| 254 | 238 |
|
| 255 |
- List<BbsTmplat> comtnlyttmplatList = bbsTmplatHistoryService.selectBbsTmplatHistoryList(searchVO); |
|
| 239 |
+ List<BbsTmplatVO> comtnlyttmplatList = bbsTmplatHistoryService.selectBbsTmplatHistoryList(searchVO); |
|
| 256 | 240 |
model.addAttribute("resultList", comtnlyttmplatList);
|
| 257 | 241 |
|
| 258 | 242 |
int totCnt = bbsTmplatHistoryService.selectBbsTmplatHistoryListCnt(searchVO); |
| 259 | 243 |
paginationInfo.setTotalRecordCount(totCnt); |
| 260 | 244 |
model.addAttribute("paginationInfo", paginationInfo);
|
| 261 | 245 |
|
| 262 |
- return "/mng/cop/com/EgovBbsTemplateHistoryList"; |
|
| 246 |
+ return "/mng/cop/com/BbsTemplateHistoryList"; |
|
| 263 | 247 |
} |
| 264 | 248 |
|
| 265 | 249 |
@RequestMapping("/mng/cop/com/selectBbsTemplateHistory.do")
|
... | ... | @@ -269,13 +253,13 @@ |
| 269 | 253 |
|
| 270 | 254 |
model.addAttribute("fileStoreWebPathByPreFile", propertiesService.getString("publish.tmplat.bbs.fileStoreWebPathByPreFile"));
|
| 271 | 255 |
|
| 272 |
- return "/mng/cop/com/EgovBbsTemplateHistoryView"; |
|
| 256 |
+ return "/mng/cop/com/BbsTemplateHistoryView"; |
|
| 273 | 257 |
} |
| 274 | 258 |
|
| 275 | 259 |
@RequestMapping("/mng/cop/com/updateBbsTemplateRollBack.do")
|
| 276 | 260 |
public String updateBbsTemplateRollBack(@ModelAttribute("searchVO") BbsTmplatVO searchVO, Model model, HttpServletRequest request) throws Exception {
|
| 277 | 261 |
|
| 278 |
- BbsTmplat his = bbsTmplatHistoryService.selectBbsTmplatHistory(searchVO); |
|
| 262 |
+ BbsTmplatVO his = bbsTmplatHistoryService.selectBbsTmplatHistory(searchVO); |
|
| 279 | 263 |
if(his != null) {
|
| 280 | 264 |
bbsTmplatService.updateBbsTmplat(his); |
| 281 | 265 |
model.addAttribute("rollbackComplete", "Y");
|
... | ... | @@ -287,7 +271,7 @@ |
| 287 | 271 |
@RequestMapping("/mng/cop/com/selectBbsCopyTemplate.do")
|
| 288 | 272 |
public void selectBbsCopySource(@ModelAttribute("searchVO") BbsTmplatVO searchVO, ModelMap model, HttpServletRequest request, HttpServletResponse response) throws Exception {
|
| 289 | 273 |
|
| 290 |
- BbsTmplat vo = bbsTmplatService.selectBbsTmplat(searchVO); |
|
| 274 |
+ BbsTmplatVO vo = bbsTmplatService.selectBbsTmplat(searchVO); |
|
| 291 | 275 |
|
| 292 | 276 |
JSONObject jObj = new JSONObject(); |
| 293 | 277 |
|
--- base/src/main/java/egovframework/com/msi/web/TemplateServiceController.java
+++ base/src/main/java/egovframework/com/msi/web/TemplateServiceController.java
... | ... | @@ -1,7 +1,5 @@ |
| 1 | 1 |
package egovframework.com.msi.web; |
| 2 | 2 |
|
| 3 |
-import java.text.SimpleDateFormat; |
|
| 4 |
-import java.util.Date; |
|
| 5 | 3 |
import java.util.List; |
| 6 | 4 |
|
| 7 | 5 |
import javax.annotation.Resource; |
... | ... | @@ -13,8 +11,6 @@ |
| 13 | 11 |
import org.springframework.web.bind.annotation.RequestMapping; |
| 14 | 12 |
|
| 15 | 13 |
import egovframework.com.cmm.service.Globals; |
| 16 |
-import egovframework.com.cop.bbs.service.BoardVO; |
|
| 17 |
-import egovframework.com.cop.bbs.service.Ctgry; |
|
| 18 | 14 |
import egovframework.com.cop.bbs.service.EgovBBSCtgryService; |
| 19 | 15 |
import egovframework.com.cop.bbs.service.EgovBBSManageService; |
| 20 | 16 |
import egovframework.com.sec.ram.security.userdetails.util.EgovUserDetailsHelper; |
... | ... | @@ -23,29 +19,12 @@ |
| 23 | 19 |
import egovframework.com.sym.sit.service.SiteManageService; |
| 24 | 20 |
import egovframework.com.sym.sit.service.SiteManageVO; |
| 25 | 21 |
import egovframework.com.uat.uia.service.LoginVO; |
| 26 |
-import egovframework.com.uss.ion.bnr.service.BannerVO; |
|
| 27 | 22 |
import egovframework.com.uss.ion.bnr.service.EgovBannerService; |
| 28 | 23 |
import egovframework.com.uss.umt.service.UserManageVO; |
| 29 |
-import egovframework.com.utl.fcc.service.EgovDateUtil; |
|
| 24 |
+import egovframework.com.utl.cas.service.EgovSessionCookieUtil; |
|
| 30 | 25 |
import egovframework.com.utl.fcc.service.EgovHttpUtil; |
| 31 | 26 |
import egovframework.rte.fdl.property.EgovPropertyService; |
| 32 | 27 |
import egovframework.rte.fdl.string.EgovStringUtil; |
| 33 |
-import egovframework.rte.psl.dataaccess.util.EgovMap; |
|
| 34 |
- |
|
| 35 |
-/****************************************************** |
|
| 36 |
- * @Class Name : EmtMainTemplateController.java |
|
| 37 |
- * @Program name : egovframework.com.msi.web |
|
| 38 |
- * @Descriptopn : |
|
| 39 |
- * @version : 1.0.0 |
|
| 40 |
- * @author : 이호영 |
|
| 41 |
- * @created date : 2011. 7. 26. |
|
| 42 |
- * Modification log |
|
| 43 |
- * ===================================================== |
|
| 44 |
- * date name description |
|
| 45 |
- * ----------------------------------------------------- |
|
| 46 |
- * 2012. 7. 26. 이호영 first generated |
|
| 47 |
- * 2012. 9. 01. 문동열 |
|
| 48 |
-*********************************************************/ |
|
| 49 | 28 |
|
| 50 | 29 |
@Controller |
| 51 | 30 |
public class TemplateServiceController {
|
... | ... | @@ -70,7 +49,6 @@ |
| 70 | 49 |
|
| 71 | 50 |
@RequestMapping(value = "/index.do") |
| 72 | 51 |
public String index(MpmVO mnuVO, HttpServletRequest request, HttpServletResponse response, ModelMap model) throws Exception {
|
| 73 |
- SiteManageVO siteVO = siteManageService.selectSiteServiceInfo(request); |
|
| 74 | 52 |
LoginVO user = EgovUserDetailsHelper.getAuthenticatedUser(request, response); |
| 75 | 53 |
if(user != null){
|
| 76 | 54 |
int SE_CODE = Integer.parseInt(user.getUserSe()); |
... | ... | @@ -78,25 +56,10 @@ |
| 78 | 56 |
return "redirect:/mng/index.do"; |
| 79 | 57 |
} |
| 80 | 58 |
} |
| 81 |
- //사진경로 |
|
| 82 |
- model.addAttribute("MembersFileStoreWebPath", propertyService.getString("Members.fileStoreWebPath"));
|
|
| 83 | 59 |
|
| 84 | 60 |
//메인페이지 여부 |
| 85 | 61 |
model.addAttribute("isMain", "Y");
|
| 86 | 62 |
|
| 87 |
- //언어코드 |
|
| 88 |
- Ctgry ctgry = new Ctgry(); |
|
| 89 |
- ctgry.setCtgrymasterId("CTGMST_0000000000002");
|
|
| 90 |
- model.addAttribute("languageList", egovBBSCtgryService.selectComtnbbsctgryList(ctgry));
|
|
| 91 |
- |
|
| 92 |
- //배너 수 |
|
| 93 |
- BannerVO bannerVO = new BannerVO(); |
|
| 94 |
- bannerVO.setSiteId(siteVO.getSiteId()); |
|
| 95 |
- bannerVO.setSysTyCode(siteVO.getSysTyCode()); |
|
| 96 |
- bannerVO.setServiceAt("Y");
|
|
| 97 |
- int bannerServiceCnt = egovBannerService.selectBannerListTotCnt(bannerVO); |
|
| 98 |
- model.addAttribute("bannerServiceCnt", bannerServiceCnt);
|
|
| 99 |
- |
|
| 100 | 63 |
return "msi/cntntsService"; |
| 101 | 64 |
} |
| 102 | 65 |
|
... | ... | @@ -105,24 +68,33 @@ |
| 105 | 68 |
|
| 106 | 69 |
//사이트설정정보 |
| 107 | 70 |
SiteManageVO siteVO = siteManageService.selectSiteServiceInfo(request); |
| 71 |
+ if(siteVO == null){
|
|
| 72 |
+ siteVO = siteManageService.selectSiteServiceInfoBySiteId("SITE_000000000000001");
|
|
| 73 |
+ } |
|
| 108 | 74 |
model.addAttribute("siteInfo", siteVO);
|
| 109 |
- |
|
| 75 |
+ |
|
| 76 |
+ if("Y".equals(siteVO.getMobileUseAt())) {
|
|
| 77 |
+ //모바일앱 접속여부 |
|
| 78 |
+ if("Y".equals(mnuVO.getMobileAppAccess())) {
|
|
| 79 |
+ EgovSessionCookieUtil.setSessionAttribute(request, "mobileAppAccess", "Y"); |
|
| 80 |
+ } |
|
| 81 |
+ if("Y".equals(EgovSessionCookieUtil.getSessionAttribute(request, "mobileAppAccess"))) {
|
|
| 82 |
+ model.addAttribute("mobileAppAccess", "Y");
|
|
| 83 |
+ } |
|
| 84 |
+ } |
|
| 85 |
+ |
|
| 110 | 86 |
//사이트 설정 웹경로. |
| 111 | 87 |
model.addAttribute("SiteFileStoreWebPath", propertyService.getString("Site.fileStoreWebPath"));
|
| 112 |
- |
|
| 113 |
- //개인파일 웹경로 |
|
| 88 |
+ //회원사진 웹경로 |
|
| 114 | 89 |
model.addAttribute("MembersFileStoreWebPath", propertyService.getString("Members.fileStoreWebPath"));
|
| 115 |
- |
|
| 116 |
- model.addAttribute("contentLineAt", request.getParameter("contentLineAt"));
|
|
| 117 |
- |
|
| 118 |
- /** EgovPropertyService.SiteList */ |
|
| 119 |
- mnuVO.setSiteId(siteVO.getSiteId()); |
|
| 120 |
- this.modelMpmDataBinding(request, response, siteVO, mnuVO, model, true, true); |
|
| 121 |
- |
|
| 122 |
- return propertyService.getString("publish.sourc.lyt.fileStoreWebPathByJspFile")
|
|
| 123 |
- + "sit/" |
|
| 124 |
- + siteVO.getLytSourcId() |
|
| 125 |
- + "/sourcHead" |
|
| 90 |
+ |
|
| 91 |
+ mnuVO.setSiteId(siteVO.getSiteId()); |
|
| 92 |
+ this.modelMpmDataBinding(siteVO, mnuVO, model, true, true); |
|
| 93 |
+ |
|
| 94 |
+ return propertyService.getString("publish.sourc.lyt.fileStoreWebPathByJspFile")
|
|
| 95 |
+ + "sit/" |
|
| 96 |
+ + siteVO.getLytSourcId() |
|
| 97 |
+ + "/sourcHead" |
|
| 126 | 98 |
+ (EgovHttpUtil.getIsMobile(request) && "Y".equals(siteVO.getMobileUseAt()) ? Globals.PUBLISH_MOBILE_APPEND_FREFIX : ""); |
| 127 | 99 |
} |
| 128 | 100 |
|
... | ... | @@ -132,12 +104,25 @@ |
| 132 | 104 |
|
| 133 | 105 |
//사이트설정정보 |
| 134 | 106 |
SiteManageVO siteVO = siteManageService.selectSiteServiceInfo(request); |
| 107 |
+ if(siteVO == null){
|
|
| 108 |
+ siteVO = siteManageService.selectSiteServiceInfoBySiteId("SITE_000000000000001");
|
|
| 109 |
+ } |
|
| 135 | 110 |
model.addAttribute("siteInfo", siteVO);
|
| 136 | 111 |
//사이트 설정 웹경로. |
| 137 | 112 |
model.addAttribute("SiteFileStoreWebPath", propertyService.getString("Site.fileStoreWebPath"));
|
| 138 |
- |
|
| 113 |
+ |
|
| 114 |
+ if("Y".equals(siteVO.getMobileUseAt())) {
|
|
| 115 |
+ //모바일앱 접속여부 |
|
| 116 |
+ if("Y".equals(mnuVO.getMobileAppAccess())) {
|
|
| 117 |
+ EgovSessionCookieUtil.setSessionAttribute(request, "mobileAppAccess", "Y"); |
|
| 118 |
+ } |
|
| 119 |
+ if("Y".equals(EgovSessionCookieUtil.getSessionAttribute(request, "mobileAppAccess"))) {
|
|
| 120 |
+ model.addAttribute("mobileAppAccess", "Y");
|
|
| 121 |
+ } |
|
| 122 |
+ } |
|
| 123 |
+ |
|
| 139 | 124 |
mnuVO.setSiteId(siteVO.getSiteId()); |
| 140 |
- this.modelMpmDataBinding(request, response, siteVO, mnuVO, model, true, false); |
|
| 125 |
+ this.modelMpmDataBinding(siteVO, mnuVO, model, true, false); |
|
| 141 | 126 |
|
| 142 | 127 |
return propertyService.getString("publish.sourc.lyt.fileStoreWebPathByJspFile")
|
| 143 | 128 |
+ "sit/" |
... | ... | @@ -246,13 +231,14 @@ |
| 246 | 231 |
return "/str/mnu/" + siteVO.getSiteId() + "/terms"; |
| 247 | 232 |
} |
| 248 | 233 |
|
| 249 |
- private void modelMpmDataBinding(HttpServletRequest request, HttpServletResponse response, SiteManageVO siteVO, MpmVO mnuVO, ModelMap model, boolean publishBinding, boolean mainContentsBinding) throws Exception {
|
|
| 250 |
- List<MpmVO> mpmList = mpmService.selectMpmServiceList(mnuVO); |
|
| 234 |
+ private void modelMpmDataBinding(SiteManageVO siteVO, MpmVO mnuVO, ModelMap model, boolean publishBinding, boolean mainContentsBinding) throws Exception {
|
|
| 235 |
+ |
|
| 236 |
+ List<MpmVO> mpmList = mpmService.selectMpmServiceList(mnuVO); |
|
| 251 | 237 |
model.addAttribute("mpmList", mpmList);
|
| 252 |
- |
|
| 238 |
+ |
|
| 253 | 239 |
MpmVO currMpm = mpmService.selectMpmCurrent(mpmList, mnuVO); |
| 254 |
- |
|
| 255 |
- //미리보기일 경우 |
|
| 240 |
+ |
|
| 241 |
+ //미리보기일 경우 |
|
| 256 | 242 |
if("Y".equals(mnuVO.getPreviewYn())) {
|
| 257 | 243 |
if(currMpm != null) {
|
| 258 | 244 |
mnuVO.setMenuPathByName(currMpm.getMenuPathByName()); |
... | ... | @@ -270,8 +256,8 @@ |
| 270 | 256 |
} |
| 271 | 257 |
currMpm = mnuVO; |
| 272 | 258 |
} |
| 273 |
- |
|
| 274 |
- if(mainContentsBinding && "Y".equals(mnuVO.getIsMain())) {
|
|
| 259 |
+ |
|
| 260 |
+ if(mainContentsBinding && "Y".equals(mnuVO.getIsMain())) {
|
|
| 275 | 261 |
if(siteVO.getMainContentsList() != null) {
|
| 276 | 262 |
MpmVO progrmMpm = null; |
| 277 | 263 |
for(int i = 0; i < siteVO.getMainContentsList().size(); i ++) {
|
... | ... | @@ -281,20 +267,18 @@ |
| 281 | 267 |
} |
| 282 | 268 |
} |
| 283 | 269 |
} |
| 284 |
- |
|
| 270 |
+ |
|
| 285 | 271 |
} |
| 286 |
- |
|
| 287 |
- model.addAttribute("currMpm", currMpm);
|
|
| 288 |
- |
|
| 289 |
- MpmVO rootMpm = mpmService.selectMpmCurrentRoot(mpmList, currMpm); |
|
| 290 |
- model.addAttribute("currRootMpm", rootMpm);
|
|
| 291 |
- |
|
| 272 |
+ |
|
| 273 |
+ model.addAttribute("currMpm", currMpm);
|
|
| 274 |
+ model.addAttribute("currRootMpm", mpmService.selectMpmCurrentRoot(mpmList, currMpm));
|
|
| 275 |
+ |
|
| 292 | 276 |
if(publishBinding) {
|
| 293 | 277 |
model.addAttribute("MenuFileStoreWebPath", propertyService.getString("Menu.fileStoreWebPath"));
|
| 294 |
- |
|
| 278 |
+ |
|
| 295 | 279 |
model.addAttribute("MnuFileStoreWebPathByWebFile", propertyService.getString("publish.mnu.fileStoreWebPathByWebFile"));
|
| 296 | 280 |
model.addAttribute("MnuFileStoreWebPathByJspFile", propertyService.getString("publish.mnu.fileStoreWebPathByJspFile"));
|
| 297 |
- |
|
| 281 |
+ |
|
| 298 | 282 |
model.addAttribute("LytFileStoreWebPathByWebFile", propertyService.getString("publish.tmplat.lyt.fileStoreWebPathByWebFile"));
|
| 299 | 283 |
model.addAttribute("BbsFileStoreWebPathByWebFile", propertyService.getString("publish.tmplat.bbs.fileStoreWebPathByWebFile"));
|
| 300 | 284 |
} |
... | ... | @@ -305,6 +289,7 @@ |
| 305 | 289 |
//사이트설정정보 |
| 306 | 290 |
//SiteManageVO siteVO = siteManageService.selectSiteServiceInfo(request); |
| 307 | 291 |
//model.addAttribute("siteInfo", siteVO);
|
| 292 |
+ |
|
| 308 | 293 |
SiteManageVO siteVO = null; |
| 309 | 294 |
if(EgovStringUtil.isEmpty(userManageVO.getSiteId())) {
|
| 310 | 295 |
siteVO = siteManageService.selectSiteServiceInfo(request); |
... | ... | @@ -320,7 +305,7 @@ |
| 320 | 305 |
//사이트설정정보 |
| 321 | 306 |
/** EgovPropertyService.SiteList */ |
| 322 | 307 |
mnuVO.setSiteId(siteVO.getSiteId()); |
| 323 |
- this.modelMpmDataBinding(request, response, siteVO, mnuVO, model, true, true); |
|
| 308 |
+ this.modelMpmDataBinding(siteVO, mnuVO, model, true, true); |
|
| 324 | 309 |
|
| 325 | 310 |
//사이트 설정 웹경로. |
| 326 | 311 |
model.addAttribute("SiteFileStoreWebPath", propertyService.getString("Site.fileStoreWebPath"));
|
--- base/src/main/java/egovframework/com/sym/log/service/EgovLogManageAspect.java
+++ base/src/main/java/egovframework/com/sym/log/service/EgovLogManageAspect.java
... | ... | @@ -59,6 +59,9 @@ |
| 59 | 59 |
HttpServletRequest request = (HttpServletRequest)joinPoint.getArgs()[0]; |
| 60 | 60 |
|
| 61 | 61 |
SiteManageVO siteVO = siteManageService.selectSiteServiceInfo(request); |
| 62 |
+ if(siteVO == null){
|
|
| 63 |
+ siteVO = siteManageService.selectSiteServiceInfoBySiteId("SITE_000000000000001");
|
|
| 64 |
+ } |
|
| 62 | 65 |
String siteId = siteVO.getSiteId(); |
| 63 | 66 |
String sysTyCode = siteVO.getSysTyCode(); |
| 64 | 67 |
|
--- base/src/main/java/egovframework/com/sym/mpm/service/MpmVO.java
+++ base/src/main/java/egovframework/com/sym/mpm/service/MpmVO.java
... | ... | @@ -144,6 +144,9 @@ |
| 144 | 144 |
//접근권한목록 |
| 145 | 145 |
private String accesAuthorList = "00,01,02,06,08,10,99"; |
| 146 | 146 |
|
| 147 |
+ //모바일접근여부 |
|
| 148 |
+ private String mobileAppAccess; |
|
| 149 |
+ |
|
| 147 | 150 |
public Object clone() throws CloneNotSupportedException {
|
| 148 | 151 |
return super.clone(); |
| 149 | 152 |
} |
... | ... | @@ -491,6 +494,23 @@ |
| 491 | 494 |
public void setMobileFileGroupId(String mobileFileGroupId) {
|
| 492 | 495 |
this.mobileFileGroupId = mobileFileGroupId; |
| 493 | 496 |
} |
| 497 |
+ |
|
| 498 |
+ public String getAccesAuthorList() {
|
|
| 499 |
+ return accesAuthorList; |
|
| 500 |
+ } |
|
| 501 |
+ |
|
| 502 |
+ public void setAccesAuthorList(String accesAuthorList) {
|
|
| 503 |
+ this.accesAuthorList = accesAuthorList; |
|
| 504 |
+ } |
|
| 505 |
+ |
|
| 506 |
+ public String getMobileAppAccess() {
|
|
| 507 |
+ return mobileAppAccess; |
|
| 508 |
+ } |
|
| 509 |
+ |
|
| 510 |
+ public void setMobileAppAccess(String mobileAppAccess) {
|
|
| 511 |
+ this.mobileAppAccess = mobileAppAccess; |
|
| 512 |
+ } |
|
| 513 |
+ |
|
| 494 | 514 |
/** |
| 495 | 515 |
* URL을 리턴한다. |
| 496 | 516 |
*/ |
--- base/src/main/resources/egovframework/mapper/config/mapper-config.xml
+++ base/src/main/resources/egovframework/mapper/config/mapper-config.xml
... | ... | @@ -2,13 +2,16 @@ |
| 2 | 2 |
<!DOCTYPE configuration PUBLIC "-//mybatis.org//DTD Config 3.0//EN" "http://mybatis.org/dtd/mybatis-3-config.dtd"> |
| 3 | 3 |
|
| 4 | 4 |
<configuration> |
| 5 |
+ <!--Mybatis 설정 --> |
|
| 5 | 6 |
<settings> |
| 6 |
- <setting name="mapUnderscoreToCamelCase" value="true"/> |
|
| 7 |
+ <!-- 전통적인 데이터베이스 컬럼명 형태인 A_COLUMN을 CamelCase형태의 자바 프로퍼티명 형태인 aColumn으로 자동으로 매핑하도록 함 --> |
|
| 8 |
+ <setting name="mapUnderscoreToCamelCase" value="true"></setting> |
|
| 9 |
+ <!-- 파라미터에 Null 값이 있을 경우 에러 처리 --> |
|
| 10 |
+ <setting name="jdbcTypeForNull" value="VARCHAR"></setting> |
|
| 7 | 11 |
</settings> |
| 8 | 12 |
|
| 9 | 13 |
<typeAliases> |
| 10 | 14 |
<typeAlias alias="egovMap" type="egovframework.rte.psl.dataaccess.util.EgovMap" /> |
| 11 |
- |
|
| 12 | 15 |
</typeAliases> |
| 13 | 16 |
|
| 14 | 17 |
</configuration>(파일 끝에 줄바꿈 문자 없음) |
+++ base/src/main/resources/egovframework/mapper/mysql/cop/com/BbsSourcHistory_SQL.xml
... | ... | @@ -0,0 +1,95 @@ |
| 1 | +<?xml version="1.0" encoding="UTF-8"?> | |
| 2 | +<!DOCTYPE mapper PUBLIC "-//mybatis.org//DTD Mapper 3.0//EN" "http://mybatis.org/dtd/mybatis-3-mapper.dtd"> | |
| 3 | +<mapper namespace="egovframework.com.cop.com.service.impl.BbsSourcHistoryMapper"> | |
| 4 | + | |
| 5 | + <resultMap id="bbssourcHistory" type="egovframework.com.cop.com.service.BbsSourcVO"> | |
| 6 | + <result property="bbsSourcHistId" column="BBS_SOURC_HIST_ID"/> | |
| 7 | + <result property="bbsSourcId" column="BBS_SOURC_ID"/> | |
| 8 | + <result property="listSourc" column="LIST_SOURC"/> | |
| 9 | + <result property="viewSourc" column="VIEW_SOURC"/> | |
| 10 | + <result property="formSourc" column="FORM_SOURC"/> | |
| 11 | + <result property="cmSourc" column="CM_SOURC"/> | |
| 12 | + <result property="prevewFileNm" column="PREVEW_FILE_NM"/> | |
| 13 | + <result property="lastUpdusrId" column="LAST_UPDUSR_ID"/> | |
| 14 | + <result property="lastUpdusrPnttm" column="LAST_UPDUSR_PNTTM"/> | |
| 15 | + <result property="sourcSeCode" column="SOURC_SE_CODE"/> | |
| 16 | + </resultMap> | |
| 17 | + | |
| 18 | + <resultMap id="bbssourcHistoryList" type="egovframework.com.cop.com.service.BbsSourcVO"> | |
| 19 | + <result property="bbsSourcHistId" column="BBS_SOURC_HIST_ID"/> | |
| 20 | + <result property="bbsSourcId" column="BBS_SOURC_ID"/> | |
| 21 | + <result property="prevewFileNm" column="PREVEW_FILE_NM"/> | |
| 22 | + <result property="lastUpdusrId" column="LAST_UPDUSR_ID"/> | |
| 23 | + <result property="lastUpdusrPnttm" column="LAST_UPDUSR_PNTTM"/> | |
| 24 | + </resultMap> | |
| 25 | + | |
| 26 | + | |
| 27 | + | |
| 28 | + <insert id="insertBbsSourcHistory"> | |
| 29 | + INSERT INTO comthbbssourchistory ( | |
| 30 | + BBS_SOURC_HIST_ID | |
| 31 | + , BBS_SOURC_ID | |
| 32 | + , SOURC_SE_CODE | |
| 33 | + , LIST_SOURC | |
| 34 | + , VIEW_SOURC | |
| 35 | + , FORM_SOURC | |
| 36 | + , CM_SOURC | |
| 37 | + , PREVEW_FILE_NM | |
| 38 | + , LAST_UPDUSR_ID | |
| 39 | + , LAST_UPDUSR_PNTTM | |
| 40 | + ) VALUES ( | |
| 41 | + #{bbsSourcHistId} | |
| 42 | + , #{bbsSourcId} | |
| 43 | + , #{sourcSeCode} | |
| 44 | + , #{listSourc} | |
| 45 | + , #{viewSourc} | |
| 46 | + , #{formSourc} | |
| 47 | + , #{cmSourc} | |
| 48 | + , #{prevewFileNm} | |
| 49 | + , #{lastUpdusrId} | |
| 50 | + , SYSDATE() | |
| 51 | + ) | |
| 52 | + </insert> | |
| 53 | + | |
| 54 | + <delete id="deleteBbsSourcHistory"> | |
| 55 | + DELETE FROM comthbbssourchistory | |
| 56 | + WHERE BBS_SOURC_HIST_ID=#{bbsSourcHistId} | |
| 57 | + </delete> | |
| 58 | + | |
| 59 | + <select id="selectBbsSourcHistory" resultMap="bbssourcHistory"> | |
| 60 | + SELECT | |
| 61 | + BBS_SOURC_HIST_ID | |
| 62 | + , BBS_SOURC_ID | |
| 63 | + , LIST_SOURC | |
| 64 | + , VIEW_SOURC | |
| 65 | + , FORM_SOURC | |
| 66 | + , CM_SOURC | |
| 67 | + , PREVEW_FILE_NM | |
| 68 | + , LAST_UPDUSR_ID | |
| 69 | + , LAST_UPDUSR_PNTTM | |
| 70 | + , SOURC_SE_CODE | |
| 71 | + FROM comthbbssourchistory | |
| 72 | + WHERE BBS_SOURC_HIST_ID=#{bbsSourcHistId} | |
| 73 | + </select> | |
| 74 | + | |
| 75 | + <select id="selectBbsSourcHistoryList" parameterType="egovframework.com.cop.com.service.BbsSourcVO" resultMap="bbssourcHistoryList"> | |
| 76 | + SELECT | |
| 77 | + BBS_SOURC_HIST_ID | |
| 78 | + , BBS_SOURC_ID | |
| 79 | + , PREVEW_FILE_NM | |
| 80 | + , LAST_UPDUSR_ID | |
| 81 | + , LAST_UPDUSR_PNTTM | |
| 82 | + FROM comthbbssourchistory | |
| 83 | + WHERE BBS_SOURC_ID = #{bbsSourcId} | |
| 84 | + ORDER BY BBS_SOURC_HIST_ID DESC | |
| 85 | + LIMIT #{recordCountPerPage} OFFSET #{firstIndex} | |
| 86 | + </select> | |
| 87 | + | |
| 88 | + <select id="selectBbsSourcHistoryListCnt" parameterType="egovframework.com.cop.com.service.BbsSourcVO" resultType="java.lang.Integer"> | |
| 89 | + SELECT COUNT(*) totcnt | |
| 90 | + FROM comthbbssourchistory | |
| 91 | + WHERE BBS_SOURC_ID = #{bbsSourcId} | |
| 92 | + </select> | |
| 93 | + | |
| 94 | + | |
| 95 | +</mapper> |
+++ base/src/main/resources/egovframework/mapper/mysql/cop/com/BbsSourc_SQL.xml
... | ... | @@ -0,0 +1,151 @@ |
| 1 | +<?xml version="1.0" encoding="UTF-8"?> | |
| 2 | +<!DOCTYPE mapper PUBLIC "-//mybatis.org//DTD Mapper 3.0//EN" "http://mybatis.org/dtd/mybatis-3-mapper.dtd"> | |
| 3 | +<mapper namespace="egovframework.com.cop.com.service.impl.BbsSourcMapper"> | |
| 4 | + | |
| 5 | + <resultMap id="bbsSourc" type="egovframework.com.cop.com.service.BbsSourcVO"> | |
| 6 | + <result property="bbsSourcId" column="BBS_SOURC_ID"/> | |
| 7 | + <result property="sourcSeCode" column="SOURC_SE_CODE"/> | |
| 8 | + <result property="sourcNm" column="SOURC_NM"/> | |
| 9 | + <result property="listSourc" column="LIST_SOURC"/> | |
| 10 | + <result property="viewSourc" column="VIEW_SOURC"/> | |
| 11 | + <result property="formSourc" column="FORM_SOURC"/> | |
| 12 | + <result property="cmSourc" column="CM_SOURC"/> | |
| 13 | + <result property="prevewFileNm" column="PREVEW_FILE_NM"/> | |
| 14 | + <result property="frstRegisterId" column="FRST_REGISTER_ID"/> | |
| 15 | + <result property="frstRegisterPnttm" column="FRST_REGISTER_PNTTM"/> | |
| 16 | + <result property="lastUpdusrId" column="LAST_UPDUSR_ID"/> | |
| 17 | + <result property="lastUpdusrPnttm" column="LAST_UPDUSR_PNTTM"/> | |
| 18 | + </resultMap> | |
| 19 | + | |
| 20 | + <resultMap id="bbsSourcList" type="egovframework.com.cop.com.service.BbsSourcVO"> | |
| 21 | + <result property="bbsSourcId" column="BBS_SOURC_ID"/> | |
| 22 | + <result property="sourcSeCode" column="SOURC_SE_CODE"/> | |
| 23 | + <result property="sourcSeCodeNm" column="SOURC_SE_CODE_NM"/> | |
| 24 | + <result property="sourcNm" column="SOURC_NM"/> | |
| 25 | + <result property="prevewFileNm" column="PREVEW_FILE_NM"/> | |
| 26 | + <result property="frstRegisterId" column="FRST_REGISTER_ID"/> | |
| 27 | + <result property="frstRegisterPnttm" column="FRST_REGISTER_PNTTM"/> | |
| 28 | + <result property="lastUpdusrId" column="LAST_UPDUSR_ID"/> | |
| 29 | + <result property="lastUpdusrPnttm" column="LAST_UPDUSR_PNTTM"/> | |
| 30 | + </resultMap> | |
| 31 | + | |
| 32 | + | |
| 33 | + | |
| 34 | + <insert id="insertBbsSourc"> | |
| 35 | + INSERT INTO comtnbbssourc | |
| 36 | + ( BBS_SOURC_ID | |
| 37 | + , SOURC_SE_CODE | |
| 38 | + , SOURC_NM | |
| 39 | + , LIST_SOURC | |
| 40 | + , VIEW_SOURC | |
| 41 | + , FORM_SOURC | |
| 42 | + , CM_SOURC | |
| 43 | + , PREVEW_FILE_NM | |
| 44 | + , USE_AT | |
| 45 | + , FRST_REGISTER_ID | |
| 46 | + , FRST_REGISTER_PNTTM | |
| 47 | + ) | |
| 48 | + VALUES ( #{bbsSourcId} | |
| 49 | + , #{sourcSeCode} | |
| 50 | + , #{sourcNm} | |
| 51 | + , #{listSourc} | |
| 52 | + , #{viewSourc} | |
| 53 | + , #{formSourc} | |
| 54 | + , #{cmSourc} | |
| 55 | + , #{prevewFileNm} | |
| 56 | + , 'Y' | |
| 57 | + , #{frstRegisterId} | |
| 58 | + , SYSDATE() | |
| 59 | + ) | |
| 60 | + </insert> | |
| 61 | + | |
| 62 | + <update id="updateBbsSourc"> | |
| 63 | + UPDATE comtnbbssourc SET | |
| 64 | + BBS_SOURC_ID=#{bbsSourcId} | |
| 65 | + <if test='sourcSeCode != null and sourcSeCode != ""'> | |
| 66 | + , SOURC_SE_CODE=#{sourcSeCode} | |
| 67 | + </if> | |
| 68 | + <if test='sourcNm != null and sourcNm != ""'> | |
| 69 | + , SOURC_NM=#{sourcNm} | |
| 70 | + </if> | |
| 71 | + , LIST_SOURC=#{listSourc} | |
| 72 | + , VIEW_SOURC=#{viewSourc} | |
| 73 | + , FORM_SOURC=#{formSourc} | |
| 74 | + , CM_SOURC=#{cmSourc} | |
| 75 | + <if test='prevewFileNm != null and prevewFileNm != ""'> | |
| 76 | + , PREVEW_FILE_NM=#{prevewFileNm} | |
| 77 | + </if> | |
| 78 | + , LAST_UPDUSR_ID=#{lastUpdusrId} | |
| 79 | + , LAST_UPDUSR_PNTTM=SYSDATE() | |
| 80 | + WHERE BBS_SOURC_ID=#{bbsSourcId} | |
| 81 | + </update> | |
| 82 | + | |
| 83 | + <delete id="deleteBbsSourc"> | |
| 84 | + UPDATE comtnbbssourc | |
| 85 | + SET USE_AT = 'N' | |
| 86 | + , LAST_UPDUSR_ID=#{lastUpdusrId} | |
| 87 | + , LAST_UPDUSR_PNTTM=SYSDATE() | |
| 88 | + WHERE BBS_SOURC_ID=#{bbsSourcId} | |
| 89 | + </delete> | |
| 90 | + | |
| 91 | + <select id="selectBbsSourc" resultMap="bbsSourc"> | |
| 92 | + SELECT | |
| 93 | + BBS_SOURC_ID | |
| 94 | + , SOURC_SE_CODE | |
| 95 | + , SOURC_NM | |
| 96 | + , LIST_SOURC | |
| 97 | + , VIEW_SOURC | |
| 98 | + , FORM_SOURC | |
| 99 | + , CM_SOURC | |
| 100 | + , PREVEW_FILE_NM | |
| 101 | + , FRST_REGISTER_ID | |
| 102 | + , FRST_REGISTER_PNTTM | |
| 103 | + , LAST_UPDUSR_ID | |
| 104 | + , LAST_UPDUSR_PNTTM | |
| 105 | + FROM comtnbbssourc | |
| 106 | + WHERE BBS_SOURC_ID=#{bbsSourcId} | |
| 107 | + AND USE_AT = 'Y' | |
| 108 | + </select> | |
| 109 | + | |
| 110 | + <select id="selectBbsSourcList" parameterType="egovframework.com.cop.com.service.BbsSourcVO" resultMap="bbsSourcList"> | |
| 111 | + SELECT | |
| 112 | + BBS_SOURC_ID | |
| 113 | + , SOURC_SE_CODE | |
| 114 | + , c.CODE_NM AS SOURC_SE_CODE_NM | |
| 115 | + , SOURC_NM | |
| 116 | + , PREVEW_FILE_NM | |
| 117 | + , FRST_REGISTER_ID | |
| 118 | + , FRST_REGISTER_PNTTM | |
| 119 | + , LAST_UPDUSR_ID | |
| 120 | + , LAST_UPDUSR_PNTTM | |
| 121 | + FROM comtnbbssourc a | |
| 122 | + LEFT OUTER JOIN (SELECT CODE_ID, CODE, CODE_NM FROM | |
| 123 | + comtccmmndetailcode WHERE CODE_ID = 'COM918' AND USE_AT='Y') c | |
| 124 | + ON a.SOURC_SE_CODE = c.CODE | |
| 125 | + | |
| 126 | + <include refid="selectBbsSourcListWhere"></include> | |
| 127 | + | |
| 128 | + ORDER BY BBS_SOURC_ID DESC | |
| 129 | + LIMIT #{recordCountPerPage} OFFSET #{firstIndex} | |
| 130 | + </select> | |
| 131 | + | |
| 132 | + <select id="selectBbsSourcListCnt" parameterType="egovframework.com.cop.com.service.BbsSourcVO" resultType="java.lang.Integer"> | |
| 133 | + SELECT COUNT(*) totcnt | |
| 134 | + FROM comtnbbssourc | |
| 135 | + | |
| 136 | + <include refid="selectBbsSourcListWhere"></include> | |
| 137 | + </select> | |
| 138 | + | |
| 139 | + <sql id="selectBbsSourcListWhere"> | |
| 140 | + <where> | |
| 141 | + USE_AT = 'Y' | |
| 142 | + <if test='searchSourcSeCode != null and searchSourcSeCode != ""'> | |
| 143 | + AND SOURC_SE_CODE = #{searchSourcSeCode} | |
| 144 | + </if> | |
| 145 | + <if test='searchCondition != null and searchCondition != "" and searchKeyword != null and searchKeyword != "" and searchCondition == "0"'> | |
| 146 | + AND SOURC_NM LIKE CONCAT('%',#{searchKeyword},'%') | |
| 147 | + </if> | |
| 148 | + </where> | |
| 149 | + </sql> | |
| 150 | + | |
| 151 | +</mapper> |
+++ base/src/main/resources/egovframework/mapper/mysql/cop/com/BbsTmplatHistory_SQL.xml
... | ... | @@ -0,0 +1,84 @@ |
| 1 | +<?xml version="1.0" encoding="UTF-8"?> | |
| 2 | +<!DOCTYPE mapper PUBLIC "-//mybatis.org//DTD Mapper 3.0//EN" "http://mybatis.org/dtd/mybatis-3-mapper.dtd"> | |
| 3 | +<mapper namespace="egovframework.com.cop.com.service.impl.BbsTmplatHistoryMapper"> | |
| 4 | + | |
| 5 | + <resultMap id="bbstmplatHistory" type="egovframework.com.cop.com.service.BbsTmplatVO"> | |
| 6 | + <result property="bbsTmplatHistId" column="BBS_TMPLAT_HIST_ID"/> | |
| 7 | + <result property="bbsTmplatId" column="BBS_TMPLAT_ID"/> | |
| 8 | + <result property="cssSourc" column="CSS_SOURC"/> | |
| 9 | + <result property="scriptSourc" column="SCRIPT_SOURC"/> | |
| 10 | + <result property="prevewFileNm" column="PREVEW_FILE_NM"/> | |
| 11 | + <result property="lastUpdusrId" column="LAST_UPDUSR_ID"/> | |
| 12 | + <result property="lastUpdusrPnttm" column="LAST_UPDUSR_PNTTM"/> | |
| 13 | + <result property="tmplatSeCode" column="TMPLAT_SE_CODE"/> | |
| 14 | + </resultMap> | |
| 15 | + | |
| 16 | + <resultMap id="bbstmplatHistoryList" type="egovframework.com.cop.com.service.BbsTmplatVO"> | |
| 17 | + <result property="bbsTmplatHistId" column="BBS_TMPLAT_HIST_ID"/> | |
| 18 | + <result property="bbsTmplatId" column="BBS_TMPLAT_ID"/> | |
| 19 | + <result property="prevewFileNm" column="PREVEW_FILE_NM"/> | |
| 20 | + <result property="lastUpdusrId" column="LAST_UPDUSR_ID"/> | |
| 21 | + <result property="lastUpdusrPnttm" column="LAST_UPDUSR_PNTTM"/> | |
| 22 | + </resultMap> | |
| 23 | + | |
| 24 | + | |
| 25 | + <insert id="insertBbsTmplatHistory"> | |
| 26 | + INSERT INTO comthbbstmplathistory | |
| 27 | + ( BBS_TMPLAT_HIST_ID | |
| 28 | + , BBS_TMPLAT_ID | |
| 29 | + , TMPLAT_SE_CODE | |
| 30 | + , CSS_SOURC | |
| 31 | + , SCRIPT_SOURC | |
| 32 | + , PREVEW_FILE_NM | |
| 33 | + , LAST_UPDUSR_ID | |
| 34 | + , LAST_UPDUSR_PNTTM ) | |
| 35 | + VALUES ( #{bbsTmplatHistId} | |
| 36 | + , #{bbsTmplatId} | |
| 37 | + , #{tmplatSeCode} | |
| 38 | + , #{cssSourc} | |
| 39 | + , #{scriptSourc} | |
| 40 | + , #{prevewFileNm} | |
| 41 | + , #{lastUpdusrId} | |
| 42 | + , SYSDATE() | |
| 43 | + ) | |
| 44 | + </insert> | |
| 45 | + | |
| 46 | + <delete id="deleteBbsTmplatHistory"> | |
| 47 | + DELETE FROM comthbbstmplathistory | |
| 48 | + WHERE BBS_TMPLAT_HIST_ID=#{bbsTmplatHistId} | |
| 49 | + </delete> | |
| 50 | + | |
| 51 | + <select id="selectBbsTmplatHistory" resultMap="bbstmplatHistory"> | |
| 52 | + SELECT | |
| 53 | + BBS_TMPLAT_HIST_ID | |
| 54 | + , BBS_TMPLAT_ID | |
| 55 | + , CSS_SOURC | |
| 56 | + , SCRIPT_SOURC | |
| 57 | + , PREVEW_FILE_NM | |
| 58 | + , LAST_UPDUSR_ID | |
| 59 | + , LAST_UPDUSR_PNTTM | |
| 60 | + , TMPLAT_SE_CODE | |
| 61 | + FROM comthbbstmplathistory | |
| 62 | + WHERE BBS_TMPLAT_HIST_ID=#{bbsTmplatHistId} | |
| 63 | + </select> | |
| 64 | + | |
| 65 | + <select id="selectBbsTmplatHistoryList" parameterType="egovframework.com.cop.com.service.BbsTmplatVO" resultMap="bbstmplatHistoryList"> | |
| 66 | + SELECT | |
| 67 | + BBS_TMPLAT_HIST_ID | |
| 68 | + , BBS_TMPLAT_ID | |
| 69 | + , PREVEW_FILE_NM | |
| 70 | + , LAST_UPDUSR_ID | |
| 71 | + , LAST_UPDUSR_PNTTM | |
| 72 | + FROM comthbbstmplathistory | |
| 73 | + WHERE BBS_TMPLAT_ID = #{bbsTmplatId} | |
| 74 | + ORDER BY BBS_TMPLAT_HIST_ID DESC | |
| 75 | + LIMIT #{recordCountPerPage} OFFSET #{firstIndex} | |
| 76 | + </select> | |
| 77 | + | |
| 78 | + <select id="selectBbsTmplatHistoryListCnt" parameterType="egovframework.com.cop.com.service.BbsTmplatVO" resultType="java.lang.Integer"> | |
| 79 | + SELECT COUNT(*) totcnt | |
| 80 | + FROM comthbbstmplathistory | |
| 81 | + WHERE BBS_TMPLAT_ID = #{bbsTmplatId} | |
| 82 | + </select> | |
| 83 | + | |
| 84 | +</mapper> |
+++ base/src/main/resources/egovframework/mapper/mysql/cop/com/BbsTmplat_SQL.xml
... | ... | @@ -0,0 +1,140 @@ |
| 1 | +<?xml version="1.0" encoding="UTF-8"?> | |
| 2 | +<!DOCTYPE mapper PUBLIC "-//mybatis.org//DTD Mapper 3.0//EN" "http://mybatis.org/dtd/mybatis-3-mapper.dtd"> | |
| 3 | +<mapper namespace="egovframework.com.cop.com.service.impl.BbsTmplatMapper"> | |
| 4 | + | |
| 5 | + <resultMap id="bbstmplat" type="egovframework.com.cop.com.service.BbsTmplatVO"> | |
| 6 | + <result property="bbsTmplatId" column="BBS_TMPLAT_ID"/> | |
| 7 | + <result property="tmplatSeCode" column="TMPLAT_SE_CODE"/> | |
| 8 | + <result property="tmplatNm" column="TMPLAT_NM"/> | |
| 9 | + <result property="cssSourc" column="CSS_SOURC"/> | |
| 10 | + <result property="scriptSourc" column="SCRIPT_SOURC"/> | |
| 11 | + <result property="prevewFileNm" column="PREVEW_FILE_NM"/> | |
| 12 | + <result property="frstRegisterId" column="FRST_REGISTER_ID"/> | |
| 13 | + <result property="frstRegisterPnttm" column="FRST_REGISTER_PNTTM"/> | |
| 14 | + <result property="lastUpdusrId" column="LAST_UPDUSR_ID"/> | |
| 15 | + <result property="lastUpdusrPnttm" column="LAST_UPDUSR_PNTTM"/> | |
| 16 | + </resultMap> | |
| 17 | + | |
| 18 | + <resultMap id="bbstmplatList" type="egovframework.com.cop.com.service.BbsTmplatVO"> | |
| 19 | + <result property="bbsTmplatId" column="BBS_TMPLAT_ID"/> | |
| 20 | + <result property="tmplatSeCode" column="TMPLAT_SE_CODE"/> | |
| 21 | + <result property="tmplatSeCodeNm" column="TMPLAT_SE_CODE_NM"/> | |
| 22 | + <result property="tmplatNm" column="TMPLAT_NM"/> | |
| 23 | + <result property="prevewFileNm" column="PREVEW_FILE_NM"/> | |
| 24 | + <result property="frstRegisterId" column="FRST_REGISTER_ID"/> | |
| 25 | + <result property="frstRegisterPnttm" column="FRST_REGISTER_PNTTM"/> | |
| 26 | + <result property="lastUpdusrId" column="LAST_UPDUSR_ID"/> | |
| 27 | + <result property="lastUpdusrPnttm" column="LAST_UPDUSR_PNTTM"/> | |
| 28 | + </resultMap> | |
| 29 | + | |
| 30 | + | |
| 31 | + <insert id="insertBbsTmplat"> | |
| 32 | + INSERT INTO comtnbbstmplat | |
| 33 | + ( BBS_TMPLAT_ID | |
| 34 | + , TMPLAT_SE_CODE | |
| 35 | + , TMPLAT_NM | |
| 36 | + , CSS_SOURC | |
| 37 | + , SCRIPT_SOURC | |
| 38 | + , PREVEW_FILE_NM | |
| 39 | + , USE_AT | |
| 40 | + , FRST_REGISTER_ID | |
| 41 | + , FRST_REGISTER_PNTTM | |
| 42 | + ) | |
| 43 | + VALUES ( #{bbsTmplatId} | |
| 44 | + , #{tmplatSeCode} | |
| 45 | + , #{tmplatNm} | |
| 46 | + , #{cssSourc} | |
| 47 | + , #{scriptSourc} | |
| 48 | + , #{prevewFileNm} | |
| 49 | + , 'Y' | |
| 50 | + , #{frstRegisterId} | |
| 51 | + , SYSDATE() | |
| 52 | + ) | |
| 53 | + </insert> | |
| 54 | + | |
| 55 | + <update id="updateBbsTmplat"> | |
| 56 | + UPDATE comtnbbstmplat | |
| 57 | + SET BBS_TMPLAT_ID=#{bbsTmplatId} | |
| 58 | + <if test='tmplatSeCode != null and tmplatSeCode != ""'> | |
| 59 | + , TMPLAT_SE_CODE=#{tmplatSeCode} | |
| 60 | + </if> | |
| 61 | + <if test='tmplatNm != null and tmplatNm != ""'> | |
| 62 | + , TMPLAT_NM=#{tmplatNm} | |
| 63 | + </if> | |
| 64 | + , CSS_SOURC=#{cssSourc} | |
| 65 | + , SCRIPT_SOURC=#{scriptSourc} | |
| 66 | + <if test='prevewFileNm != null and prevewFileNm != ""'> | |
| 67 | + , PREVEW_FILE_NM=#{prevewFileNm} | |
| 68 | + </if> | |
| 69 | + , LAST_UPDUSR_ID=#{lastUpdusrId} | |
| 70 | + , LAST_UPDUSR_PNTTM=SYSDATE() | |
| 71 | + WHERE BBS_TMPLAT_ID=#{bbsTmplatId} | |
| 72 | + </update> | |
| 73 | + | |
| 74 | + | |
| 75 | + <delete id="deleteBbsTmplat"> | |
| 76 | + UPDATE comtnbbstmplat | |
| 77 | + SET USE_AT = 'N' | |
| 78 | + , LAST_UPDUSR_ID=#{lastUpdusrId} | |
| 79 | + , LAST_UPDUSR_PNTTM=SYSDATE() | |
| 80 | + WHERE BBS_TMPLAT_ID=#{bbsTmplatId} | |
| 81 | + </delete> | |
| 82 | + | |
| 83 | + <select id="selectBbsTmplat" resultMap="bbstmplat"> | |
| 84 | + SELECT | |
| 85 | + BBS_TMPLAT_ID | |
| 86 | + , TMPLAT_SE_CODE | |
| 87 | + , TMPLAT_NM | |
| 88 | + , CSS_SOURC | |
| 89 | + , SCRIPT_SOURC | |
| 90 | + , PREVEW_FILE_NM | |
| 91 | + , FRST_REGISTER_ID | |
| 92 | + , FRST_REGISTER_PNTTM | |
| 93 | + , LAST_UPDUSR_ID | |
| 94 | + , LAST_UPDUSR_PNTTM | |
| 95 | + FROM comtnbbstmplat | |
| 96 | + WHERE BBS_TMPLAT_ID=#{bbsTmplatId} | |
| 97 | + AND USE_AT = 'Y' | |
| 98 | + </select> | |
| 99 | + | |
| 100 | + <select id="selectBbsTmplatList" parameterType="egovframework.com.cop.com.service.BbsTmplatVO" resultMap="bbstmplatList"> | |
| 101 | + SELECT | |
| 102 | + BBS_TMPLAT_ID | |
| 103 | + , TMPLAT_SE_CODE | |
| 104 | + , c.CODE_NM AS TMPLAT_SE_CODE_NM | |
| 105 | + , TMPLAT_NM | |
| 106 | + , PREVEW_FILE_NM | |
| 107 | + , FRST_REGISTER_ID | |
| 108 | + , FRST_REGISTER_PNTTM | |
| 109 | + , LAST_UPDUSR_ID | |
| 110 | + , LAST_UPDUSR_PNTTM | |
| 111 | + FROM comtnbbstmplat a | |
| 112 | + LEFT OUTER JOIN (SELECT CODE_ID, CODE, CODE_NM FROM | |
| 113 | + comtccmmndetailcode WHERE CODE_ID = 'COM919' AND USE_AT='Y') c | |
| 114 | + ON a.TMPLAT_SE_CODE = c.CODE | |
| 115 | + | |
| 116 | + <include refid="selectBbsTmplatListWhere"></include> | |
| 117 | + | |
| 118 | + ORDER BY BBS_TMPLAT_ID DESC | |
| 119 | + LIMIT #{recordCountPerPage} OFFSET #{firstIndex} | |
| 120 | + </select> | |
| 121 | + | |
| 122 | + <select id="selectBbsTmplatListCnt" parameterType="egovframework.com.cop.com.service.BbsTmplatVO" resultType="java.lang.Integer"> | |
| 123 | + SELECT COUNT(*) totcnt | |
| 124 | + FROM comtnbbstmplat | |
| 125 | + <include refid="selectBbsTmplatListWhere"></include> | |
| 126 | + </select> | |
| 127 | + | |
| 128 | + <sql id="selectBbsTmplatListWhere"> | |
| 129 | + <where> | |
| 130 | + USE_AT = 'Y' | |
| 131 | + <if test='searchTmplatSeCode != null and searchTmplatSeCode != ""'> | |
| 132 | + AND TMPLAT_SE_CODE = #{searchTmplatSeCode} | |
| 133 | + </if> | |
| 134 | + <if test='searchCondition != null and searchCondition != "" and searchKeyword != null and searchKeyword != "" and searchCondition == "0"'> | |
| 135 | + AND TMPLAT_NM LIKE CONCAT('%',#{searchKeyword},'%') | |
| 136 | + </if> | |
| 137 | + </where> | |
| 138 | + </sql> | |
| 139 | + | |
| 140 | +</mapper> |
--- base/src/main/resources/egovframework/sqlmap/mysql/cop/com/EgovBbsSourcHistory_SQL_Mysql.xml
+++ base/src/main/resources/egovframework/mapper/mysql/cop/com/EgovBbsSourcHistory_SQL_Mysql.xml
... | ... | @@ -1,101 +1,101 @@ |
| 1 |
-<?xml version="1.0" encoding="UTF-8"?> |
|
| 2 |
-<!DOCTYPE sqlMap PUBLIC "-//iBATIS.com//DTD SQL Map 2.0//EN" "http://www.ibatis.com/dtd/sql-map-2.dtd"> |
|
| 3 |
- |
|
| 4 |
-<sqlMap namespace="BbsSourcHistoryDAO"> |
|
| 5 |
- |
|
| 6 |
- <typeAlias alias="egovMap" type="egovframework.rte.psl.dataaccess.util.EgovMap"/> |
|
| 7 |
- <typeAlias alias="BbssourcVO" type="egovframework.com.cop.com.service.BbsSourcVO"/> |
|
| 8 |
- |
|
| 9 |
- <resultMap id="bbssourcHistory" class="egovframework.com.cop.com.service.BbsSourc"> |
|
| 10 |
- <result property="bbsSourcHistId" column="BBS_SOURC_HIST_ID" columnIndex="1"/> |
|
| 11 |
- <result property="bbsSourcId" column="BBS_SOURC_ID" columnIndex="2"/> |
|
| 12 |
- <result property="listSourc" column="LIST_SOURC" columnIndex="3"/> |
|
| 13 |
- <result property="viewSourc" column="VIEW_SOURC" columnIndex="4"/> |
|
| 14 |
- <result property="formSourc" column="FORM_SOURC" columnIndex="5"/> |
|
| 15 |
- <result property="cmSourc" column="CM_SOURC" columnIndex="6"/> |
|
| 16 |
- <result property="prevewFileNm" column="PREVEW_FILE_NM" columnIndex="7"/> |
|
| 17 |
- <result property="lastUpdusrId" column="LAST_UPDUSR_ID" columnIndex="8"/> |
|
| 18 |
- <result property="lastUpdusrPnttm" column="LAST_UPDUSR_PNTTM" columnIndex="9"/> |
|
| 19 |
- <result property="sourcSeCode" column="SOURC_SE_CODE" columnIndex="10"/> |
|
| 20 |
- </resultMap> |
|
| 21 |
- |
|
| 22 |
- <resultMap id="bbssourcHistoryList" class="egovframework.com.cop.com.service.BbsSourc"> |
|
| 23 |
- <result property="bbsSourcHistId" column="BBS_SOURC_HIST_ID" columnIndex="1"/> |
|
| 24 |
- <result property="bbsSourcId" column="BBS_SOURC_ID" columnIndex="2"/> |
|
| 25 |
- <result property="prevewFileNm" column="PREVEW_FILE_NM" columnIndex="3"/> |
|
| 26 |
- <result property="lastUpdusrId" column="LAST_UPDUSR_ID" columnIndex="4"/> |
|
| 27 |
- <result property="lastUpdusrPnttm" column="LAST_UPDUSR_PNTTM" columnIndex="5"/> |
|
| 28 |
- </resultMap> |
|
| 29 |
- |
|
| 30 |
- <insert id="BbsSourcHistoryDAO.insertBbsSourcHistory"> |
|
| 31 |
- <![CDATA[ |
|
| 32 |
- INSERT INTO comthbbssourchistory |
|
| 33 |
- ( BBS_SOURC_HIST_ID |
|
| 34 |
- , BBS_SOURC_ID |
|
| 35 |
- , SOURC_SE_CODE |
|
| 36 |
- , LIST_SOURC |
|
| 37 |
- , VIEW_SOURC |
|
| 38 |
- , FORM_SOURC |
|
| 39 |
- , CM_SOURC |
|
| 40 |
- , PREVEW_FILE_NM |
|
| 41 |
- , LAST_UPDUSR_ID |
|
| 42 |
- , LAST_UPDUSR_PNTTM ) |
|
| 43 |
- VALUES ( #bbsSourcHistId# |
|
| 44 |
- , #bbsSourcId# |
|
| 45 |
- , #sourcSeCode# |
|
| 46 |
- , #listSourc# |
|
| 47 |
- , #viewSourc# |
|
| 48 |
- , #formSourc# |
|
| 49 |
- , #cmSourc# |
|
| 50 |
- , #prevewFileNm# |
|
| 51 |
- , #lastUpdusrId# |
|
| 52 |
- , SYSDATE() ) |
|
| 53 |
- ]]> |
|
| 54 |
- </insert> |
|
| 55 |
- |
|
| 56 |
- |
|
| 57 |
- <delete id="BbsSourcHistoryDAO.deleteBbsSourcHistory"> |
|
| 58 |
- <![CDATA[ |
|
| 59 |
- DELETE FROM comthbbssourchistory |
|
| 60 |
- WHERE BBS_SOURC_HIST_ID=#bbsSourcHistId# |
|
| 61 |
- ]]> |
|
| 62 |
- </delete> |
|
| 63 |
- |
|
| 64 |
- <select id="BbsSourcHistoryDAO.selectBbsSourcHistory" resultMap="bbssourcHistory"> |
|
| 65 |
- <![CDATA[ |
|
| 66 |
- SELECT |
|
| 67 |
- BBS_SOURC_HIST_ID |
|
| 68 |
- , BBS_SOURC_ID |
|
| 69 |
- , LIST_SOURC |
|
| 70 |
- , VIEW_SOURC |
|
| 71 |
- , FORM_SOURC |
|
| 72 |
- , CM_SOURC |
|
| 73 |
- , PREVEW_FILE_NM |
|
| 74 |
- , LAST_UPDUSR_ID |
|
| 75 |
- , LAST_UPDUSR_PNTTM |
|
| 76 |
- , SOURC_SE_CODE |
|
| 77 |
- FROM comthbbssourchistory |
|
| 78 |
- WHERE BBS_SOURC_HIST_ID=#bbsSourcHistId# |
|
| 79 |
- ]]> |
|
| 80 |
- </select> |
|
| 81 |
- |
|
| 82 |
- <select id="BbsSourcHistoryDAO.selectBbsSourcHistoryList" parameterClass="BbssourcVO" resultMap="bbssourcHistoryList"> |
|
| 83 |
- SELECT |
|
| 84 |
- BBS_SOURC_HIST_ID |
|
| 85 |
- , BBS_SOURC_ID |
|
| 86 |
- , PREVEW_FILE_NM |
|
| 87 |
- , LAST_UPDUSR_ID |
|
| 88 |
- , LAST_UPDUSR_PNTTM |
|
| 89 |
- FROM comthbbssourchistory |
|
| 90 |
- WHERE BBS_SOURC_ID = #bbsSourcId# |
|
| 91 |
- ORDER BY BBS_SOURC_HIST_ID DESC |
|
| 92 |
- LIMIT #recordCountPerPage# OFFSET #firstIndex# |
|
| 93 |
- </select> |
|
| 94 |
- |
|
| 95 |
- <select id="BbsSourcHistoryDAO.selectBbsSourcHistoryListCnt" parameterClass="BbssourcVO" resultClass="int"> |
|
| 96 |
- SELECT COUNT(*) totcnt |
|
| 97 |
- FROM comthbbssourchistory |
|
| 98 |
- WHERE BBS_SOURC_ID = #bbsSourcId# |
|
| 99 |
- </select> |
|
| 100 |
- |
|
| 101 |
-</sqlMap> |
|
| 1 |
+<?xml version="1.0" encoding="UTF-8"?> |
|
| 2 |
+<!DOCTYPE sqlMap PUBLIC "-//iBATIS.com//DTD SQL Map 2.0//EN" "http://www.ibatis.com/dtd/sql-map-2.dtd"> |
|
| 3 |
+ |
|
| 4 |
+<sqlMap namespace="BbsSourcHistoryDAO"> |
|
| 5 |
+ |
|
| 6 |
+ <typeAlias alias="egovMap" type="egovframework.rte.psl.dataaccess.util.EgovMap"/> |
|
| 7 |
+ <typeAlias alias="BbssourcVO" type="egovframework.com.cop.com.service.BbsSourcVO"/> |
|
| 8 |
+ |
|
| 9 |
+ <resultMap id="bbssourcHistory" class="egovframework.com.cop.com.service.BbsSourc"> |
|
| 10 |
+ <result property="bbsSourcHistId" column="BBS_SOURC_HIST_ID" columnIndex="1"/> |
|
| 11 |
+ <result property="bbsSourcId" column="BBS_SOURC_ID" columnIndex="2"/> |
|
| 12 |
+ <result property="listSourc" column="LIST_SOURC" columnIndex="3"/> |
|
| 13 |
+ <result property="viewSourc" column="VIEW_SOURC" columnIndex="4"/> |
|
| 14 |
+ <result property="formSourc" column="FORM_SOURC" columnIndex="5"/> |
|
| 15 |
+ <result property="cmSourc" column="CM_SOURC" columnIndex="6"/> |
|
| 16 |
+ <result property="prevewFileNm" column="PREVEW_FILE_NM" columnIndex="7"/> |
|
| 17 |
+ <result property="lastUpdusrId" column="LAST_UPDUSR_ID" columnIndex="8"/> |
|
| 18 |
+ <result property="lastUpdusrPnttm" column="LAST_UPDUSR_PNTTM" columnIndex="9"/> |
|
| 19 |
+ <result property="sourcSeCode" column="SOURC_SE_CODE" columnIndex="10"/> |
|
| 20 |
+ </resultMap> |
|
| 21 |
+ |
|
| 22 |
+ <resultMap id="bbssourcHistoryList" class="egovframework.com.cop.com.service.BbsSourc"> |
|
| 23 |
+ <result property="bbsSourcHistId" column="BBS_SOURC_HIST_ID" columnIndex="1"/> |
|
| 24 |
+ <result property="bbsSourcId" column="BBS_SOURC_ID" columnIndex="2"/> |
|
| 25 |
+ <result property="prevewFileNm" column="PREVEW_FILE_NM" columnIndex="3"/> |
|
| 26 |
+ <result property="lastUpdusrId" column="LAST_UPDUSR_ID" columnIndex="4"/> |
|
| 27 |
+ <result property="lastUpdusrPnttm" column="LAST_UPDUSR_PNTTM" columnIndex="5"/> |
|
| 28 |
+ </resultMap> |
|
| 29 |
+ |
|
| 30 |
+ <insert id="BbsSourcHistoryDAO.insertBbsSourcHistory"> |
|
| 31 |
+ <![CDATA[ |
|
| 32 |
+ INSERT INTO comthbbssourchistory |
|
| 33 |
+ ( BBS_SOURC_HIST_ID |
|
| 34 |
+ , BBS_SOURC_ID |
|
| 35 |
+ , SOURC_SE_CODE |
|
| 36 |
+ , LIST_SOURC |
|
| 37 |
+ , VIEW_SOURC |
|
| 38 |
+ , FORM_SOURC |
|
| 39 |
+ , CM_SOURC |
|
| 40 |
+ , PREVEW_FILE_NM |
|
| 41 |
+ , LAST_UPDUSR_ID |
|
| 42 |
+ , LAST_UPDUSR_PNTTM ) |
|
| 43 |
+ VALUES ( #bbsSourcHistId# |
|
| 44 |
+ , #bbsSourcId# |
|
| 45 |
+ , #sourcSeCode# |
|
| 46 |
+ , #listSourc# |
|
| 47 |
+ , #viewSourc# |
|
| 48 |
+ , #formSourc# |
|
| 49 |
+ , #cmSourc# |
|
| 50 |
+ , #prevewFileNm# |
|
| 51 |
+ , #lastUpdusrId# |
|
| 52 |
+ , SYSDATE() ) |
|
| 53 |
+ ]]> |
|
| 54 |
+ </insert> |
|
| 55 |
+ |
|
| 56 |
+ |
|
| 57 |
+ <delete id="BbsSourcHistoryDAO.deleteBbsSourcHistory"> |
|
| 58 |
+ <![CDATA[ |
|
| 59 |
+ DELETE FROM comthbbssourchistory |
|
| 60 |
+ WHERE BBS_SOURC_HIST_ID=#bbsSourcHistId# |
|
| 61 |
+ ]]> |
|
| 62 |
+ </delete> |
|
| 63 |
+ |
|
| 64 |
+ <select id="BbsSourcHistoryDAO.selectBbsSourcHistory" resultMap="bbssourcHistory"> |
|
| 65 |
+ <![CDATA[ |
|
| 66 |
+ SELECT |
|
| 67 |
+ BBS_SOURC_HIST_ID |
|
| 68 |
+ , BBS_SOURC_ID |
|
| 69 |
+ , LIST_SOURC |
|
| 70 |
+ , VIEW_SOURC |
|
| 71 |
+ , FORM_SOURC |
|
| 72 |
+ , CM_SOURC |
|
| 73 |
+ , PREVEW_FILE_NM |
|
| 74 |
+ , LAST_UPDUSR_ID |
|
| 75 |
+ , LAST_UPDUSR_PNTTM |
|
| 76 |
+ , SOURC_SE_CODE |
|
| 77 |
+ FROM comthbbssourchistory |
|
| 78 |
+ WHERE BBS_SOURC_HIST_ID=#bbsSourcHistId# |
|
| 79 |
+ ]]> |
|
| 80 |
+ </select> |
|
| 81 |
+ |
|
| 82 |
+ <select id="BbsSourcHistoryDAO.selectBbsSourcHistoryList" parameterClass="BbssourcVO" resultMap="bbssourcHistoryList"> |
|
| 83 |
+ SELECT |
|
| 84 |
+ BBS_SOURC_HIST_ID |
|
| 85 |
+ , BBS_SOURC_ID |
|
| 86 |
+ , PREVEW_FILE_NM |
|
| 87 |
+ , LAST_UPDUSR_ID |
|
| 88 |
+ , LAST_UPDUSR_PNTTM |
|
| 89 |
+ FROM comthbbssourchistory |
|
| 90 |
+ WHERE BBS_SOURC_ID = #bbsSourcId# |
|
| 91 |
+ ORDER BY BBS_SOURC_HIST_ID DESC |
|
| 92 |
+ LIMIT #recordCountPerPage# OFFSET #firstIndex# |
|
| 93 |
+ </select> |
|
| 94 |
+ |
|
| 95 |
+ <select id="BbsSourcHistoryDAO.selectBbsSourcHistoryListCnt" parameterClass="BbssourcVO" resultClass="int"> |
|
| 96 |
+ SELECT COUNT(*) totcnt |
|
| 97 |
+ FROM comthbbssourchistory |
|
| 98 |
+ WHERE BBS_SOURC_ID = #bbsSourcId# |
|
| 99 |
+ </select> |
|
| 100 |
+ |
|
| 101 |
+</sqlMap> |
--- base/src/main/resources/egovframework/spring/context-datasource.xml
+++ base/src/main/resources/egovframework/spring/context-datasource.xml
... | ... | @@ -17,34 +17,17 @@ |
| 17 | 17 |
<!-- DataSource --> |
| 18 | 18 |
<alias name="dataSource-${Globals.DbType}" alias="dataSource" />
|
| 19 | 19 |
|
| 20 |
- <!-- |
|
| 21 |
- <bean id="dataSource-oracle" class="org.springframework.jndi.JndiObjectFactoryBean"> |
|
| 22 |
- <property name="jndiName" value="java:comp/env/jdbc/cait" /> |
|
| 23 |
- </bean> |
|
| 24 |
- --> |
|
| 25 | 20 |
|
| 26 |
- <!-- Oracle --> |
|
| 27 |
- <!-- |
|
| 28 |
- <bean id="dataSource-oracle" class="org.apache.commons.dbcp.BasicDataSource" destroy-method="close"> |
|
| 29 |
- <property name="driverClassName" value="oracle.jdbc.OracleDriver"/> |
|
| 30 |
- <property name="url" value="jdbc:oracle:thin:@192.168.1.111:1521/CAIT" /> |
|
| 31 |
- <property name="username" value="CAIT_BASE_USER"/> |
|
| 32 |
- <property name="password" value="cait_base_pass"/> |
|
| 33 |
- </bean> |
|
| 34 |
- --> |
|
| 35 |
- |
|
| 36 |
- <!-- MYSQL --> |
|
| 37 |
- <!-- |
|
| 38 | 21 |
<bean id="dataSource-mysql" class="org.springframework.jndi.JndiObjectFactoryBean"> |
| 39 |
- <property name="jndiName" value="java:comp/env/jdbc/cait" /> |
|
| 22 |
+ <property name="jndiName" value="java:comp/env/jdbc/foxedu" /> |
|
| 40 | 23 |
</bean> |
| 41 |
- --> |
|
| 42 |
- |
|
| 24 |
+ |
|
| 25 |
+ <!-- |
|
| 43 | 26 |
<bean id="dataSource-mysql" class="org.apache.commons.dbcp.BasicDataSource" destroy-method="close"> |
| 44 | 27 |
<property name="driverClassName" value="${Globals.driverClassName}"/>
|
| 45 | 28 |
<property name="url" value="${Globals.DbUrl}" />
|
| 46 | 29 |
<property name="username" value="${Globals.DbUser}"/>
|
| 47 | 30 |
<property name="password" value="${Globals.DbPw}"/>
|
| 48 | 31 |
</bean> |
| 49 |
- |
|
| 32 |
+ --> |
|
| 50 | 33 |
</beans> |
--- base/src/main/resources/egovframework/spring/context-idgen.xml
+++ base/src/main/resources/egovframework/spring/context-idgen.xml
... | ... | @@ -619,7 +619,7 @@ |
| 619 | 619 |
</bean> |
| 620 | 620 |
|
| 621 | 621 |
<!-- 게시판템플릿 ID --> |
| 622 |
- <bean name="egovBbsTmplatIdGnrService" |
|
| 622 |
+ <bean name="bbsTmplatIdGnrService" |
|
| 623 | 623 |
class="egovframework.rte.fdl.idgnr.impl.EgovTableIdGnrService" |
| 624 | 624 |
destroy-method="destroy"> |
| 625 | 625 |
<property name="dataSource" ref="dataSource" /> |
... | ... | @@ -636,7 +636,7 @@ |
| 636 | 636 |
</bean> |
| 637 | 637 |
|
| 638 | 638 |
<!-- 게시판템플릿 이력ID --> |
| 639 |
- <bean name="egovBbsTmplatHistoryIdGnrService" |
|
| 639 |
+ <bean name="bbsTmplatHistoryIdGnrService" |
|
| 640 | 640 |
class="egovframework.rte.fdl.idgnr.impl.EgovTableIdGnrService" |
| 641 | 641 |
destroy-method="destroy"> |
| 642 | 642 |
<property name="dataSource" ref="dataSource" /> |
... | ... | @@ -653,7 +653,7 @@ |
| 653 | 653 |
</bean> |
| 654 | 654 |
|
| 655 | 655 |
<!-- 게시판소스 ID --> |
| 656 |
- <bean name="egovBbsSourcIdGnrService" |
|
| 656 |
+ <bean name="bbsSourcIdGnrService" |
|
| 657 | 657 |
class="egovframework.rte.fdl.idgnr.impl.EgovTableIdGnrService" |
| 658 | 658 |
destroy-method="destroy"> |
| 659 | 659 |
<property name="dataSource" ref="dataSource" /> |
... | ... | @@ -670,7 +670,7 @@ |
| 670 | 670 |
</bean> |
| 671 | 671 |
|
| 672 | 672 |
<!-- 게시판소스 이력ID --> |
| 673 |
- <bean name="egovBbsSourcHistoryIdGnrService" |
|
| 673 |
+ <bean name="bbsSourcHistoryIdGnrService" |
|
| 674 | 674 |
class="egovframework.rte.fdl.idgnr.impl.EgovTableIdGnrService" |
| 675 | 675 |
destroy-method="destroy"> |
| 676 | 676 |
<property name="dataSource" ref="dataSource" /> |
--- 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
... | ... | @@ -5,13 +5,9 @@ |
| 5 | 5 |
<sqlMapConfig> |
| 6 | 6 |
<sqlMap resource="egovframework/sqlmap/mysql/cop/cmy/EgovCmmnty_SQL_Mysql.xml"/> |
| 7 | 7 |
|
| 8 |
- <sqlMap resource="egovframework/sqlmap/mysql/cop/com/EgovBbsTmplat_SQL_Mysql.xml"/> |
|
| 9 |
- <sqlMap resource="egovframework/sqlmap/mysql/cop/com/EgovBbsTmplatHistory_SQL_Mysql.xml"/> |
|
| 10 | 8 |
<sqlMap resource="egovframework/sqlmap/mysql/cop/com/EgovBBSUse_SQL_Mysql.xml"/> |
| 11 | 9 |
<sqlMap resource="egovframework/sqlmap/mysql/cop/com/EgovUserInf_SQL_Mysql.xml"/> |
| 12 | 10 |
<sqlMap resource="egovframework/sqlmap/mysql/cop/com/EgovConfirm_SQL_Mysql.xml"/> |
| 13 |
- <sqlMap resource="egovframework/sqlmap/mysql/cop/com/EgovBbsSourc_SQL_Mysql.xml"/> |
|
| 14 |
- <sqlMap resource="egovframework/sqlmap/mysql/cop/com/EgovBbsSourcHistory_SQL_Mysql.xml"/> |
|
| 15 | 11 |
|
| 16 | 12 |
<sqlMap resource="egovframework/sqlmap/mysql/cop/sms/EgovSms_SQL_Mysql.xml"/> |
| 17 | 13 |
|
--- base/src/main/resources/egovframework/sqlmap/mysql/cop/com/EgovBbsSourc_SQL_Mysql.xml
... | ... | @@ -1,184 +0,0 @@ |
| 1 | -<?xml version="1.0" encoding="UTF-8"?> | |
| 2 | -<!DOCTYPE sqlMap PUBLIC "-//iBATIS.com//DTD SQL Map 2.0//EN" "http://www.ibatis.com/dtd/sql-map-2.dtd"> | |
| 3 | - | |
| 4 | -<sqlMap namespace="BbsSourcDAO"> | |
| 5 | - | |
| 6 | - <typeAlias alias="egovMap" type="egovframework.rte.psl.dataaccess.util.EgovMap"/> | |
| 7 | - <typeAlias alias="BbsSourcVO" type="egovframework.com.cop.com.service.BbsSourcVO"/> | |
| 8 | - | |
| 9 | - <resultMap id="bbsSourc" class="egovframework.com.cop.com.service.BbsSourc"> | |
| 10 | - <result property="bbsSourcId" column="BBS_SOURC_ID" columnIndex="1"/> | |
| 11 | - <result property="sourcSeCode" column="SOURC_SE_CODE" columnIndex="2"/> | |
| 12 | - <result property="sourcNm" column="SOURC_NM" columnIndex="3"/> | |
| 13 | - <result property="listSourc" column="LIST_SOURC" columnIndex="4"/> | |
| 14 | - <result property="viewSourc" column="VIEW_SOURC" columnIndex="5"/> | |
| 15 | - <result property="formSourc" column="FORM_SOURC" columnIndex="6"/> | |
| 16 | - <result property="cmSourc" column="CM_SOURC" columnIndex="7"/> | |
| 17 | - <result property="prevewFileNm" column="PREVEW_FILE_NM" columnIndex="8"/> | |
| 18 | - <result property="frstRegisterId" column="FRST_REGISTER_ID" columnIndex="9"/> | |
| 19 | - <result property="frstRegisterPnttm" column="FRST_REGISTER_PNTTM" columnIndex="10"/> | |
| 20 | - <result property="lastUpdusrId" column="LAST_UPDUSR_ID" columnIndex="11"/> | |
| 21 | - <result property="lastUpdusrPnttm" column="LAST_UPDUSR_PNTTM" columnIndex="12"/> | |
| 22 | - </resultMap> | |
| 23 | - | |
| 24 | - <resultMap id="bbsSourcList" class="egovframework.com.cop.com.service.BbsSourc"> | |
| 25 | - <result property="bbsSourcId" column="BBS_SOURC_ID" columnIndex="1"/> | |
| 26 | - <result property="sourcSeCode" column="SOURC_SE_CODE" columnIndex="2"/> | |
| 27 | - <result property="sourcSeCodeNm" column="SOURC_SE_CODE_NM" columnIndex="3"/> | |
| 28 | - <result property="sourcNm" column="SOURC_NM" columnIndex="4"/> | |
| 29 | - <result property="prevewFileNm" column="PREVEW_FILE_NM" columnIndex="5"/> | |
| 30 | - <result property="frstRegisterId" column="FRST_REGISTER_ID" columnIndex="6"/> | |
| 31 | - <result property="frstRegisterPnttm" column="FRST_REGISTER_PNTTM" columnIndex="7"/> | |
| 32 | - <result property="lastUpdusrId" column="LAST_UPDUSR_ID" columnIndex="8"/> | |
| 33 | - <result property="lastUpdusrPnttm" column="LAST_UPDUSR_PNTTM" columnIndex="9"/> | |
| 34 | - </resultMap> | |
| 35 | - | |
| 36 | - <parameterMap id="paramInsert" class="egovframework.com.cop.com.service.BbsSourc"> | |
| 37 | - <parameter property="bbsSourcId"/> | |
| 38 | - <parameter property="sourcSeCode"/> | |
| 39 | - <parameter property="sourcNm"/> | |
| 40 | - <parameter property="listSourc" jdbcType="CLOB" javaType="java.lang.String"/> | |
| 41 | - <parameter property="viewSourc" jdbcType="CLOB" javaType="java.lang.String"/> | |
| 42 | - <parameter property="formSourc" jdbcType="CLOB" javaType="java.lang.String"/> | |
| 43 | - <parameter property="cmSourc" jdbcType="CLOB" javaType="java.lang.String"/> | |
| 44 | - <parameter property="prevewFileNm"/> | |
| 45 | - <parameter property="frstRegisterId"/> | |
| 46 | - </parameterMap> | |
| 47 | - | |
| 48 | - <parameterMap id="paramUpdate" class="egovframework.com.cop.com.service.BbsSourc"> | |
| 49 | - <parameter property="sourcSeCode"/> | |
| 50 | - <parameter property="sourcNm"/> | |
| 51 | - <parameter property="listSourc" jdbcType="CLOB" javaType="java.lang.String"/> | |
| 52 | - <parameter property="viewSourc" jdbcType="CLOB" javaType="java.lang.String"/> | |
| 53 | - <parameter property="formSourc" jdbcType="CLOB" javaType="java.lang.String"/> | |
| 54 | - <parameter property="cmSourc" jdbcType="CLOB" javaType="java.lang.String"/> | |
| 55 | - <parameter property="prevewFileNm"/> | |
| 56 | - <parameter property="lastUpdusrId"/> | |
| 57 | - <parameter property="bbsSourcId"/> | |
| 58 | - </parameterMap> | |
| 59 | - | |
| 60 | - <insert id="BbsSourcDAO.insertBbsSourc"> | |
| 61 | - <![CDATA[ | |
| 62 | - INSERT INTO comtnbbssourc | |
| 63 | - ( BBS_SOURC_ID | |
| 64 | - , SOURC_SE_CODE | |
| 65 | - , SOURC_NM | |
| 66 | - , LIST_SOURC | |
| 67 | - , VIEW_SOURC | |
| 68 | - , FORM_SOURC | |
| 69 | - , CM_SOURC | |
| 70 | - , PREVEW_FILE_NM | |
| 71 | - , USE_AT | |
| 72 | - , FRST_REGISTER_ID | |
| 73 | - , FRST_REGISTER_PNTTM | |
| 74 | - ) | |
| 75 | - VALUES ( #bbsSourcId# | |
| 76 | - , #sourcSeCode# | |
| 77 | - , #sourcNm# | |
| 78 | - , #listSourc# | |
| 79 | - , #viewSourc# | |
| 80 | - , #formSourc# | |
| 81 | - , #cmSourc# | |
| 82 | - , #prevewFileNm# | |
| 83 | - , 'Y' | |
| 84 | - , #frstRegisterId# | |
| 85 | - , SYSDATE() | |
| 86 | - ) | |
| 87 | - ]]> | |
| 88 | - </insert> | |
| 89 | - | |
| 90 | - <update id="BbsSourcDAO.updateBbsSourc"> | |
| 91 | - | |
| 92 | - UPDATE comtnbbssourc | |
| 93 | - SET BBS_SOURC_ID=#bbsSourcId# | |
| 94 | - <isNotEmpty property="sourcSeCode">, SOURC_SE_CODE=#sourcSeCode#</isNotEmpty> | |
| 95 | - <isNotEmpty property="sourcNm">, SOURC_NM=#sourcNm#</isNotEmpty> | |
| 96 | - , LIST_SOURC=#listSourc# | |
| 97 | - , VIEW_SOURC=#viewSourc# | |
| 98 | - , FORM_SOURC=#formSourc# | |
| 99 | - , CM_SOURC=#cmSourc# | |
| 100 | - <isNotEmpty property="prevewFileNm">, PREVEW_FILE_NM = #prevewFileNm#</isNotEmpty> | |
| 101 | - , LAST_UPDUSR_ID=#lastUpdusrId# | |
| 102 | - , LAST_UPDUSR_PNTTM=SYSDATE() | |
| 103 | - WHERE BBS_SOURC_ID=#bbsSourcId# | |
| 104 | - | |
| 105 | - </update> | |
| 106 | - | |
| 107 | - | |
| 108 | - <delete id="BbsSourcDAO.deleteBbsSourc"> | |
| 109 | - <![CDATA[ | |
| 110 | - UPDATE comtnbbssourc | |
| 111 | - SET USE_AT = 'N' | |
| 112 | - , LAST_UPDUSR_ID=#lastUpdusrId# | |
| 113 | - , LAST_UPDUSR_PNTTM=SYSDATE() | |
| 114 | - WHERE BBS_SOURC_ID=#bbsSourcId# | |
| 115 | - ]]> | |
| 116 | - </delete> | |
| 117 | - | |
| 118 | - <select id="BbsSourcDAO.selectBbsSourc" resultMap="bbsSourc"> | |
| 119 | - <![CDATA[ | |
| 120 | - SELECT | |
| 121 | - BBS_SOURC_ID | |
| 122 | - , SOURC_SE_CODE | |
| 123 | - , SOURC_NM | |
| 124 | - , LIST_SOURC | |
| 125 | - , VIEW_SOURC | |
| 126 | - , FORM_SOURC | |
| 127 | - , CM_SOURC | |
| 128 | - , PREVEW_FILE_NM | |
| 129 | - , FRST_REGISTER_ID | |
| 130 | - , FRST_REGISTER_PNTTM | |
| 131 | - , LAST_UPDUSR_ID | |
| 132 | - , LAST_UPDUSR_PNTTM | |
| 133 | - FROM comtnbbssourc | |
| 134 | - WHERE BBS_SOURC_ID=#bbsSourcId# | |
| 135 | - AND USE_AT = 'Y' | |
| 136 | - ]]> | |
| 137 | - </select> | |
| 138 | - | |
| 139 | - <select id="BbsSourcDAO.selectBbsSourcList" parameterClass="BbssourcVO" resultMap="bbsSourcList"> | |
| 140 | - SELECT | |
| 141 | - BBS_SOURC_ID | |
| 142 | - , SOURC_SE_CODE | |
| 143 | - , c.CODE_NM AS SOURC_SE_CODE_NM | |
| 144 | - , SOURC_NM | |
| 145 | - , PREVEW_FILE_NM | |
| 146 | - , FRST_REGISTER_ID | |
| 147 | - , FRST_REGISTER_PNTTM | |
| 148 | - , LAST_UPDUSR_ID | |
| 149 | - , LAST_UPDUSR_PNTTM | |
| 150 | - FROM comtnbbssourc a | |
| 151 | - LEFT OUTER JOIN (SELECT CODE_ID, CODE, CODE_NM FROM | |
| 152 | - comtccmmndetailcode WHERE CODE_ID = 'COM918' AND USE_AT='Y') c | |
| 153 | - ON a.SOURC_SE_CODE = c.CODE | |
| 154 | - WHERE USE_AT = 'Y' | |
| 155 | - <isNotEmpty prepend="AND" property="searchSourcSeCode"> | |
| 156 | - SOURC_SE_CODE = #searchSourcSeCode# | |
| 157 | - </isNotEmpty> | |
| 158 | - <isNotEmpty property="searchCnd"> | |
| 159 | - <isNotEmpty property="searchWrd"> | |
| 160 | - <isEqual prepend="AND" property="searchCnd" compareValue="0"> | |
| 161 | - SOURC_NM LIKE CONCAT('%',#searchWrd#,'%')
| |
| 162 | - </isEqual> | |
| 163 | - </isNotEmpty> | |
| 164 | - </isNotEmpty> | |
| 165 | - ORDER BY BBS_SOURC_ID DESC | |
| 166 | - LIMIT #recordCountPerPage# OFFSET #firstIndex# | |
| 167 | - </select> | |
| 168 | - <select id="BbsSourcDAO.selectBbsSourcListCnt" parameterClass="BbsSourcVO" resultClass="int"> | |
| 169 | - SELECT COUNT(*) totcnt | |
| 170 | - FROM comtnbbssourc | |
| 171 | - WHERE USE_AT = 'Y' | |
| 172 | - <isNotEmpty prepend="AND" property="searchSourcSeCode"> | |
| 173 | - SOURC_SE_CODE = #searchSourcSeCode# | |
| 174 | - </isNotEmpty> | |
| 175 | - <isNotEmpty property="searchCnd"> | |
| 176 | - <isNotEmpty property="searchWrd"> | |
| 177 | - <isEqual prepend="AND" property="searchCnd" compareValue="0"> | |
| 178 | - SOURC_NM LIKE CONCAT('%',#searchWrd#,'%')
| |
| 179 | - </isEqual> | |
| 180 | - </isNotEmpty> | |
| 181 | - </isNotEmpty> | |
| 182 | - </select> | |
| 183 | - | |
| 184 | -</sqlMap> |
--- base/src/main/resources/egovframework/sqlmap/mysql/cop/com/EgovBbsTmplatHistory_SQL_Mysql.xml
... | ... | @@ -1,93 +0,0 @@ |
| 1 | -<?xml version="1.0" encoding="UTF-8"?> | |
| 2 | -<!DOCTYPE sqlMap PUBLIC "-//iBATIS.com//DTD SQL Map 2.0//EN" "http://www.ibatis.com/dtd/sql-map-2.dtd"> | |
| 3 | - | |
| 4 | -<sqlMap namespace="BbsTmplatHistoryDAO"> | |
| 5 | - | |
| 6 | - <typeAlias alias="egovMap" type="egovframework.rte.psl.dataaccess.util.EgovMap"/> | |
| 7 | - <typeAlias alias="BbstmplatVO" type="egovframework.com.cop.com.service.BbsTmplatVO"/> | |
| 8 | - | |
| 9 | - <resultMap id="bbstmplatHistory" class="egovframework.com.cop.com.service.BbsTmplat"> | |
| 10 | - <result property="bbsTmplatHistId" column="BBS_TMPLAT_HIST_ID" columnIndex="1"/> | |
| 11 | - <result property="bbsTmplatId" column="BBS_TMPLAT_ID" columnIndex="2"/> | |
| 12 | - <result property="cssSourc" column="CSS_SOURC" columnIndex="3"/> | |
| 13 | - <result property="scriptSourc" column="SCRIPT_SOURC" columnIndex="4"/> | |
| 14 | - <result property="prevewFileNm" column="PREVEW_FILE_NM" columnIndex="7"/> | |
| 15 | - <result property="lastUpdusrId" column="LAST_UPDUSR_ID" columnIndex="8"/> | |
| 16 | - <result property="lastUpdusrPnttm" column="LAST_UPDUSR_PNTTM" columnIndex="9"/> | |
| 17 | - <result property="tmplatSeCode" column="TMPLAT_SE_CODE" columnIndex="10"/> | |
| 18 | - </resultMap> | |
| 19 | - | |
| 20 | - <resultMap id="bbstmplatHistoryList" class="egovframework.com.cop.com.service.BbsTmplat"> | |
| 21 | - <result property="bbsTmplatHistId" column="BBS_TMPLAT_HIST_ID" columnIndex="1"/> | |
| 22 | - <result property="bbsTmplatId" column="BBS_TMPLAT_ID" columnIndex="2"/> | |
| 23 | - <result property="prevewFileNm" column="PREVEW_FILE_NM" columnIndex="3"/> | |
| 24 | - <result property="lastUpdusrId" column="LAST_UPDUSR_ID" columnIndex="4"/> | |
| 25 | - <result property="lastUpdusrPnttm" column="LAST_UPDUSR_PNTTM" columnIndex="5"/> | |
| 26 | - </resultMap> | |
| 27 | - | |
| 28 | - <insert id="BbsTmplatHistoryDAO.insertBbsTmplatHistory"> | |
| 29 | - <![CDATA[ | |
| 30 | - INSERT INTO comthbbstmplathistory | |
| 31 | - ( BBS_TMPLAT_HIST_ID | |
| 32 | - , BBS_TMPLAT_ID | |
| 33 | - , TMPLAT_SE_CODE | |
| 34 | - , CSS_SOURC | |
| 35 | - , SCRIPT_SOURC | |
| 36 | - , PREVEW_FILE_NM | |
| 37 | - , LAST_UPDUSR_ID | |
| 38 | - , LAST_UPDUSR_PNTTM ) | |
| 39 | - VALUES ( #bbsTmplatHistId# | |
| 40 | - , #bbsTmplatId# | |
| 41 | - , #tmplatSeCode# | |
| 42 | - , #cssSourc# | |
| 43 | - , #scriptSourc# | |
| 44 | - , #prevewFileNm# | |
| 45 | - , #lastUpdusrId# | |
| 46 | - , SYSDATE() ) | |
| 47 | - ]]> | |
| 48 | - </insert> | |
| 49 | - | |
| 50 | - | |
| 51 | - <delete id="BbsTmplatHistoryDAO.deleteBbsTmplatHistory"> | |
| 52 | - <![CDATA[ | |
| 53 | - DELETE FROM comthbbstmplathistory | |
| 54 | - WHERE BBS_TMPLAT_HIST_ID=#bbsTmplatHistId# | |
| 55 | - ]]> | |
| 56 | - </delete> | |
| 57 | - | |
| 58 | - <select id="BbsTmplatHistoryDAO.selectBbsTmplatHistory" resultMap="bbstmplatHistory"> | |
| 59 | - <![CDATA[ | |
| 60 | - SELECT | |
| 61 | - BBS_TMPLAT_HIST_ID | |
| 62 | - , BBS_TMPLAT_ID | |
| 63 | - , CSS_SOURC | |
| 64 | - , SCRIPT_SOURC | |
| 65 | - , PREVEW_FILE_NM | |
| 66 | - , LAST_UPDUSR_ID | |
| 67 | - , LAST_UPDUSR_PNTTM | |
| 68 | - , TMPLAT_SE_CODE | |
| 69 | - FROM comthbbstmplathistory | |
| 70 | - WHERE BBS_TMPLAT_HIST_ID=#bbsTmplatHistId# | |
| 71 | - ]]> | |
| 72 | - </select> | |
| 73 | - | |
| 74 | - <select id="BbsTmplatHistoryDAO.selectBbsTmplatHistoryList" parameterClass="BbstmplatVO" resultMap="bbstmplatHistoryList"> | |
| 75 | - SELECT | |
| 76 | - BBS_TMPLAT_HIST_ID | |
| 77 | - , BBS_TMPLAT_ID | |
| 78 | - , PREVEW_FILE_NM | |
| 79 | - , LAST_UPDUSR_ID | |
| 80 | - , LAST_UPDUSR_PNTTM | |
| 81 | - FROM comthbbstmplathistory | |
| 82 | - WHERE BBS_TMPLAT_ID = #bbsTmplatId# | |
| 83 | - ORDER BY BBS_TMPLAT_HIST_ID DESC | |
| 84 | - LIMIT #recordCountPerPage# OFFSET #firstIndex# | |
| 85 | - </select> | |
| 86 | - | |
| 87 | - <select id="BbsTmplatHistoryDAO.selectBbsTmplatHistoryListCnt" parameterClass="BbstmplatVO" resultClass="int"> | |
| 88 | - SELECT COUNT(*) totcnt | |
| 89 | - FROM comthbbstmplathistory | |
| 90 | - WHERE BBS_TMPLAT_ID = #bbsTmplatId# | |
| 91 | - </select> | |
| 92 | - | |
| 93 | -</sqlMap> |
--- base/src/main/resources/egovframework/sqlmap/mysql/cop/com/EgovBbsTmplat_SQL_Mysql.xml
... | ... | @@ -1,170 +0,0 @@ |
| 1 | -<?xml version="1.0" encoding="UTF-8"?> | |
| 2 | -<!DOCTYPE sqlMap PUBLIC "-//iBATIS.com//DTD SQL Map 2.0//EN" "http://www.ibatis.com/dtd/sql-map-2.dtd"> | |
| 3 | - | |
| 4 | -<sqlMap namespace="BbsTmplatDAO"> | |
| 5 | - | |
| 6 | - <typeAlias alias="egovMap" type="egovframework.rte.psl.dataaccess.util.EgovMap"/> | |
| 7 | - <typeAlias alias="BbstmplatVO" type="egovframework.com.cop.com.service.BbsTmplatVO"/> | |
| 8 | - | |
| 9 | - <resultMap id="bbstmplat" class="egovframework.com.cop.com.service.BbsTmplat"> | |
| 10 | - <result property="bbsTmplatId" column="BBS_TMPLAT_ID" columnIndex="1"/> | |
| 11 | - <result property="tmplatSeCode" column="TMPLAT_SE_CODE" columnIndex="2"/> | |
| 12 | - <result property="tmplatNm" column="TMPLAT_NM" columnIndex="3"/> | |
| 13 | - <result property="cssSourc" column="CSS_SOURC" columnIndex="4"/> | |
| 14 | - <result property="scriptSourc" column="SCRIPT_SOURC" columnIndex="5"/> | |
| 15 | - <result property="prevewFileNm" column="PREVEW_FILE_NM" columnIndex="6"/> | |
| 16 | - <result property="frstRegisterId" column="FRST_REGISTER_ID" columnIndex="7"/> | |
| 17 | - <result property="frstRegisterPnttm" column="FRST_REGISTER_PNTTM" columnIndex="8"/> | |
| 18 | - <result property="lastUpdusrId" column="LAST_UPDUSR_ID" columnIndex="9"/> | |
| 19 | - <result property="lastUpdusrPnttm" column="LAST_UPDUSR_PNTTM" columnIndex="10"/> | |
| 20 | - </resultMap> | |
| 21 | - | |
| 22 | - <resultMap id="bbstmplatList" class="egovframework.com.cop.com.service.BbsTmplat"> | |
| 23 | - <result property="bbsTmplatId" column="BBS_TMPLAT_ID" columnIndex="1"/> | |
| 24 | - <result property="tmplatSeCode" column="TMPLAT_SE_CODE" columnIndex="2"/> | |
| 25 | - <result property="tmplatSeCodeNm" column="TMPLAT_SE_CODE_NM" columnIndex="3"/> | |
| 26 | - <result property="tmplatNm" column="TMPLAT_NM" columnIndex="4"/> | |
| 27 | - <result property="prevewFileNm" column="PREVEW_FILE_NM" columnIndex="5"/> | |
| 28 | - <result property="frstRegisterId" column="FRST_REGISTER_ID" columnIndex="6"/> | |
| 29 | - <result property="frstRegisterPnttm" column="FRST_REGISTER_PNTTM" columnIndex="7"/> | |
| 30 | - <result property="lastUpdusrId" column="LAST_UPDUSR_ID" columnIndex="8"/> | |
| 31 | - <result property="lastUpdusrPnttm" column="LAST_UPDUSR_PNTTM" columnIndex="9"/> | |
| 32 | - </resultMap> | |
| 33 | - | |
| 34 | - <parameterMap id="paramInsert" class="egovframework.com.cop.com.service.BbsTmplat"> | |
| 35 | - <parameter property="bbsTmplatId"/> | |
| 36 | - <parameter property="tmplatSeCode"/> | |
| 37 | - <parameter property="tmplatNm"/> | |
| 38 | - <parameter property="cssSourc" jdbcType="CLOB" javaType="java.lang.String"/> | |
| 39 | - <parameter property="scriptSourc" jdbcType="CLOB" javaType="java.lang.String"/> | |
| 40 | - <parameter property="prevewFileNm"/> | |
| 41 | - <parameter property="frstRegisterId"/> | |
| 42 | - </parameterMap> | |
| 43 | - | |
| 44 | - <parameterMap id="paramUpdate" class="egovframework.com.cop.com.service.BbsTmplat"> | |
| 45 | - <parameter property="tmplatSeCode"/> | |
| 46 | - <parameter property="tmplatNm"/> | |
| 47 | - <parameter property="cssSourc" jdbcType="CLOB" javaType="java.lang.String"/> | |
| 48 | - <parameter property="scriptSourc" jdbcType="CLOB" javaType="java.lang.String"/> | |
| 49 | - <parameter property="prevewFileNm"/> | |
| 50 | - <parameter property="lastUpdusrId"/> | |
| 51 | - <parameter property="bbsTmplatId"/> | |
| 52 | - </parameterMap> | |
| 53 | - | |
| 54 | - <insert id="BbsTmplatDAO.insertBbsTmplat"> | |
| 55 | - <![CDATA[ | |
| 56 | - INSERT INTO comtnbbstmplat | |
| 57 | - ( BBS_TMPLAT_ID | |
| 58 | - , TMPLAT_SE_CODE | |
| 59 | - , TMPLAT_NM | |
| 60 | - , CSS_SOURC | |
| 61 | - , SCRIPT_SOURC | |
| 62 | - , PREVEW_FILE_NM | |
| 63 | - , USE_AT | |
| 64 | - , FRST_REGISTER_ID | |
| 65 | - , FRST_REGISTER_PNTTM | |
| 66 | - ) | |
| 67 | - VALUES ( #bbsTmplatId# | |
| 68 | - , #tmplatSeCode# | |
| 69 | - , #tmplatNm# | |
| 70 | - , #cssSourc# | |
| 71 | - , #scriptSourc# | |
| 72 | - , #prevewFileNm# | |
| 73 | - , 'Y' | |
| 74 | - , #frstRegisterId# | |
| 75 | - , SYSDATE() | |
| 76 | - ) | |
| 77 | - ]]> | |
| 78 | - </insert> | |
| 79 | - | |
| 80 | - <update id="BbsTmplatDAO.updateBbsTmplat"> | |
| 81 | - | |
| 82 | - UPDATE comtnbbstmplat | |
| 83 | - SET BBS_TMPLAT_ID=#bbsTmplatId# | |
| 84 | - <isNotEmpty property="tmplatSeCode">, TMPLAT_SE_CODE=#tmplatSeCode#</isNotEmpty> | |
| 85 | - <isNotEmpty property="tmplatNm">, TMPLAT_NM=#tmplatNm#</isNotEmpty> | |
| 86 | - , CSS_SOURC=#cssSourc# | |
| 87 | - , SCRIPT_SOURC=#scriptSourc# | |
| 88 | - <isNotEmpty property="prevewFileNm">, PREVEW_FILE_NM = #prevewFileNm#</isNotEmpty> | |
| 89 | - , LAST_UPDUSR_ID=#lastUpdusrId# | |
| 90 | - , LAST_UPDUSR_PNTTM=SYSDATE() | |
| 91 | - WHERE BBS_TMPLAT_ID=#bbsTmplatId# | |
| 92 | - | |
| 93 | - </update> | |
| 94 | - | |
| 95 | - | |
| 96 | - <delete id="BbsTmplatDAO.deleteBbsTmplat"> | |
| 97 | - <![CDATA[ | |
| 98 | - UPDATE comtnbbstmplat | |
| 99 | - SET USE_AT = 'N' | |
| 100 | - , LAST_UPDUSR_ID=#lastUpdusrId# | |
| 101 | - , LAST_UPDUSR_PNTTM=SYSDATE() | |
| 102 | - WHERE BBS_TMPLAT_ID=#bbsTmplatId# | |
| 103 | - ]]> | |
| 104 | - </delete> | |
| 105 | - | |
| 106 | - <select id="BbsTmplatDAO.selectBbsTmplat" resultMap="bbstmplat"> | |
| 107 | - <![CDATA[ | |
| 108 | - SELECT | |
| 109 | - BBS_TMPLAT_ID | |
| 110 | - , TMPLAT_SE_CODE | |
| 111 | - , TMPLAT_NM | |
| 112 | - , CSS_SOURC | |
| 113 | - , SCRIPT_SOURC | |
| 114 | - , PREVEW_FILE_NM | |
| 115 | - , FRST_REGISTER_ID | |
| 116 | - , FRST_REGISTER_PNTTM | |
| 117 | - , LAST_UPDUSR_ID | |
| 118 | - , LAST_UPDUSR_PNTTM | |
| 119 | - FROM comtnbbstmplat | |
| 120 | - WHERE BBS_TMPLAT_ID=#bbsTmplatId# | |
| 121 | - AND USE_AT = 'Y' | |
| 122 | - ]]> | |
| 123 | - </select> | |
| 124 | - | |
| 125 | - <select id="BbsTmplatDAO.selectBbsTmplatList" parameterClass="BbstmplatVO" resultMap="bbstmplatList"> | |
| 126 | - SELECT | |
| 127 | - BBS_TMPLAT_ID | |
| 128 | - , TMPLAT_SE_CODE | |
| 129 | - , c.CODE_NM AS TMPLAT_SE_CODE_NM | |
| 130 | - , TMPLAT_NM | |
| 131 | - , PREVEW_FILE_NM | |
| 132 | - , FRST_REGISTER_ID | |
| 133 | - , FRST_REGISTER_PNTTM | |
| 134 | - , LAST_UPDUSR_ID | |
| 135 | - , LAST_UPDUSR_PNTTM | |
| 136 | - FROM comtnbbstmplat a | |
| 137 | - LEFT OUTER JOIN (SELECT CODE_ID, CODE, CODE_NM FROM | |
| 138 | - comtccmmndetailcode WHERE CODE_ID = 'COM919' AND USE_AT='Y') c | |
| 139 | - ON a.TMPLAT_SE_CODE = c.CODE | |
| 140 | - WHERE USE_AT = 'Y' | |
| 141 | - <isNotEmpty prepend="AND" property="searchTmplatSeCode"> | |
| 142 | - TMPLAT_SE_CODE = #searchTmplatSeCode# | |
| 143 | - </isNotEmpty> | |
| 144 | - <isNotEmpty property="searchCnd"> | |
| 145 | - <isNotEmpty property="searchWrd"> | |
| 146 | - <isEqual prepend="AND" property="searchCnd" compareValue="0"> | |
| 147 | - TMPLAT_NM LIKE CONCAT('%',#searchWrd#,'%')
| |
| 148 | - </isEqual> | |
| 149 | - </isNotEmpty> | |
| 150 | - </isNotEmpty> | |
| 151 | - ORDER BY BBS_TMPLAT_ID DESC | |
| 152 | - LIMIT #recordCountPerPage# OFFSET #firstIndex# | |
| 153 | - </select> | |
| 154 | - <select id="BbsTmplatDAO.selectBbsTmplatListCnt" parameterClass="BbstmplatVO" resultClass="int"> | |
| 155 | - SELECT COUNT(*) totcnt | |
| 156 | - FROM comtnbbstmplat | |
| 157 | - WHERE USE_AT = 'Y' | |
| 158 | - <isNotEmpty prepend="AND" property="searchTmplatSeCode"> | |
| 159 | - TMPLAT_SE_CODE = #searchTmplatSeCode# | |
| 160 | - </isNotEmpty> | |
| 161 | - <isNotEmpty property="searchCnd"> | |
| 162 | - <isNotEmpty property="searchWrd"> | |
| 163 | - <isEqual prepend="AND" property="searchCnd" compareValue="0"> | |
| 164 | - TMPLAT_NM LIKE CONCAT('%',#searchWrd#,'%')
| |
| 165 | - </isEqual> | |
| 166 | - </isNotEmpty> | |
| 167 | - </isNotEmpty> | |
| 168 | - </select> | |
| 169 | - | |
| 170 | -</sqlMap> |
--- base/src/main/resources/jasperreports-views.properties
... | ... | @@ -1,3 +0,0 @@ |
| 1 | -multiformat-view.(class)=org.springframework.web.servlet.view.jasperreports.JasperReportsMultiFormatView | |
| 2 | -multiformat-view.url=/WEB-INF/reports/report_pdf.jrxml | |
| 3 | -multiformat-view.reportDataKey=datasource(파일 끝에 줄바꿈 문자 없음) |
--- base/src/main/resources/log4j.xml
... | ... | @@ -1,39 +0,0 @@ |
| 1 | -<?xml version="1.0" encoding="ISO-8859-1"?> | |
| 2 | -<!DOCTYPE log4j:configuration SYSTEM "log4j.dtd"> | |
| 3 | -<log4j:configuration | |
| 4 | - xmlns:log4j="http://jakarta.apache.org/log4j/" | |
| 5 | - debug="false"> | |
| 6 | - | |
| 7 | - <appender name="console" class="org.apache.log4j.ConsoleAppender"> | |
| 8 | - <layout class="org.apache.log4j.PatternLayout"> | |
| 9 | - <param name="ConversionPattern" value="%d %5p [%c] %m%n" /> | |
| 10 | - </layout> | |
| 11 | - </appender> | |
| 12 | - | |
| 13 | - <logger name="java.sql" additivity="false"> | |
| 14 | - <level value="DEBUG"/> | |
| 15 | - <appender-ref ref="console"/> | |
| 16 | - </logger> | |
| 17 | - | |
| 18 | - <logger name="egovframework" additivity="false"> | |
| 19 | - <level value="DEBUG"/> | |
| 20 | - <appender-ref ref="console"/> | |
| 21 | - </logger> | |
| 22 | - | |
| 23 | - <!-- log SQL with timing information, post execution --> | |
| 24 | - <logger name="jdbc.sqltiming" additivity="false"> | |
| 25 | - <level value="DEBUG" /> | |
| 26 | - <appender-ref ref="console" /> | |
| 27 | - </logger> | |
| 28 | - | |
| 29 | - <logger name="org.springframework" additivity="false"> | |
| 30 | - <level value="DEBUG" /> | |
| 31 | - <appender-ref ref="console" /> | |
| 32 | - </logger> | |
| 33 | - | |
| 34 | - <root> | |
| 35 | - <level value="DEBUG" /> | |
| 36 | - <appender-ref ref="console" /> | |
| 37 | - </root> | |
| 38 | - | |
| 39 | -</log4j:configuration> |
+++ base/src/main/resources/log4jdbc.log4j2.properties
... | ... | @@ -0,0 +1,3 @@ |
| 1 | +log4jdbc.drivers=org.mariadb.jdbc.Driver | |
| 2 | +log4jdbc.spylogdelegator.name=net.sf.log4jdbc.log.slf4j.Slf4jSpyLogDelegator | |
| 3 | +log4jdbc.dump.sql.maxlinelength=0(파일 끝에 줄바꿈 문자 없음) |
--- base/src/main/webapp/WEB-INF/config/egovframework/springmvc/egov-com-servlet.xml
+++ base/src/main/webapp/WEB-INF/config/egovframework/springmvc/egov-com-servlet.xml
... | ... | @@ -39,12 +39,32 @@ |
| 39 | 39 |
<bean class="egovframework.com.cmm.web.EgovBindingInitializer"/> |
| 40 | 40 |
</property> |
| 41 | 41 |
<property name="customArgumentResolvers"> |
| 42 |
- <list> |
|
| 43 |
- <bean class="egovframework.rte.ptl.mvc.bind.CommandMapArgumentResolver"/> |
|
| 44 |
- </list> |
|
| 45 |
- </property> |
|
| 42 |
+ <list> |
|
| 43 |
+ <bean class="egovframework.com.cmm.web.resolver.CommandMapArgumentResolver"/> |
|
| 44 |
+ </list> |
|
| 45 |
+ </property> |
|
| 46 |
+ <property name="messageConverters"> |
|
| 47 |
+ <list> |
|
| 48 |
+ <ref bean="jacksonMessageConverter" /> |
|
| 49 |
+ </list> |
|
| 50 |
+ </property> |
|
| 46 | 51 |
</bean> |
| 47 |
- |
|
| 52 |
+ |
|
| 53 |
+ <bean class="org.springframework.web.servlet.view.BeanNameViewResolver" |
|
| 54 |
+ p:order="0" /> |
|
| 55 |
+ |
|
| 56 |
+ <bean id="jacksonMessageConverter" class="org.springframework.http.converter.json.MappingJackson2HttpMessageConverter"> |
|
| 57 |
+ <!-- <property name="supportedMediaTypes"> |
|
| 58 |
+ <list> |
|
| 59 |
+ <value>application/json;charset=UTF-8</value> |
|
| 60 |
+ </list> |
|
| 61 |
+ </property> --> |
|
| 62 |
+ <property name="supportedMediaTypes" value="text/plain;charset=UTF-8"/> |
|
| 63 |
+ <property name="objectMapper"> |
|
| 64 |
+ <bean class="egovframework.com.cmm.CustomJacksonObjectMapper"/> |
|
| 65 |
+ </property> |
|
| 66 |
+ </bean> |
|
| 67 |
+ |
|
| 48 | 68 |
<!-- |
| 49 | 69 |
- This bean resolves specific types of exceptions to corresponding logical |
| 50 | 70 |
- view names for error views. The default behaviour of DispatcherServlet |
... | ... | @@ -61,6 +81,16 @@ |
| 61 | 81 |
<prop key="org.springframework.web.HttpSessionRequiredException">cmm/uat/uia/EgovLoginUsr</prop> |
| 62 | 82 |
</props> |
| 63 | 83 |
</property> |
| 84 |
+ </bean> |
|
| 85 |
+ |
|
| 86 |
+ <bean id="jsonView" |
|
| 87 |
+ class="org.springframework.web.servlet.view.json.MappingJackson2JsonView"> |
|
| 88 |
+ <!-- 아래와 같이 application/json 시에는 ie 에서 파일을 다운하려고 하기 때문에 아래와 같이 바꿔야 함. <property |
|
| 89 |
+ name="contentType" value="application/json;charset=UTF-8"/> <property name="contentType" |
|
| 90 |
+ value="text/html;charset=UTF-8"/> <property name="contentType" value="text/plain;charset=UTF-8"/> |
|
| 91 |
+ -> 김정수 책임이 이렇게 변경하라고 했지만 jQuery.handleError(s, xml, null, e); lib통신 에러가 떨어 |
|
| 92 |
+ 지므로 다시 아래와 같이 변경 2013 05 03 19:00 --> |
|
| 93 |
+ <property name="contentType" value="text/html;charset=UTF-8" /> |
|
| 64 | 94 |
</bean> |
| 65 | 95 |
|
| 66 | 96 |
<!-- |
... | ... | @@ -93,10 +123,4 @@ |
| 93 | 123 |
</property> |
| 94 | 124 |
</bean> |
| 95 | 125 |
|
| 96 |
- |
|
| 97 |
- <bean id="viewMappings" class="org.springframework.web.servlet.view.ResourceBundleViewResolver"> |
|
| 98 |
- <property name="basename" value="jasperreports-views" /> |
|
| 99 |
- <property name="order" value="0" /> |
|
| 100 |
- </bean> |
|
| 101 |
- |
|
| 102 | 126 |
</beans> |
--- base/src/main/webapp/WEB-INF/jsp/egovframework/mng/cop/com/EgovBbsSourcHistoryList.jsp
+++ base/src/main/webapp/WEB-INF/jsp/egovframework/mng/cop/com/BbsSourcHistoryList.jsp
| No changes |
--- base/src/main/webapp/WEB-INF/jsp/egovframework/mng/cop/com/EgovBbsSourcHistoryView.jsp
+++ base/src/main/webapp/WEB-INF/jsp/egovframework/mng/cop/com/BbsSourcHistoryView.jsp
... | ... | @@ -19,8 +19,8 @@ |
| 19 | 19 |
<form:form commandName="bbsSourcVO" name="bbsSourcVO" action="" method="post" enctype="multipart/form-data" onsubmit="return false;"> |
| 20 | 20 |
<form:hidden path="bbsSourcId"/> |
| 21 | 21 |
<input name="pageIndex" type="hidden" value="<c:out value='${searchVO.pageIndex}'/>"/>
|
| 22 |
- <input name="searchCnd" type="hidden" value="<c:out value="${searchVO.searchCnd}"/>"/>
|
|
| 23 |
- <input name="searchWrd" type="hidden" value="<c:out value="${searchVO.searchWrd}"/>"/>
|
|
| 22 |
+ <input name="searchCondition" type="hidden" value="<c:out value="${searchVO.searchCondition}"/>"/>
|
|
| 23 |
+ <input name="searchKeyword" type="hidden" value="<c:out value="${searchVO.searchKeyword}"/>"/>
|
|
| 24 | 24 |
|
| 25 | 25 |
<fieldset> |
| 26 | 26 |
<legend class="hdn">템플릿 입력 폼</legend> |
... | ... | @@ -78,8 +78,8 @@ |
| 78 | 78 |
<c:url var="listUrl" value="/mng/cop/com/selectBbsSourcHistoryList.do"> |
| 79 | 79 |
<c:param name="bbsSourcId" value="${searchVO.bbsSourcId}" />
|
| 80 | 80 |
<c:param name="pageIndex" value="${searchVO.pageIndex}" />
|
| 81 |
- <c:param name="searchCnd" value="${searchVO.searchCnd}" />
|
|
| 82 |
- <c:param name="searchWrd" value="${searchVO.searchWrd}" />
|
|
| 81 |
+ <c:param name="searchCondition" value="${searchVO.searchCondition}" />
|
|
| 82 |
+ <c:param name="searchKeyword" value="${searchVO.searchKeyword}" />
|
|
| 83 | 83 |
</c:url> |
| 84 | 84 |
<a href="${listUrl}"><img src="${_IMG}/btn/btn_list.gif" alt="목록"/></a>
|
| 85 | 85 |
</div> |
--- base/src/main/webapp/WEB-INF/jsp/egovframework/mng/cop/com/EgovBbsSourcList.jsp
+++ base/src/main/webapp/WEB-INF/jsp/egovframework/mng/cop/com/BbsSourcList.jsp
... | ... | @@ -103,8 +103,8 @@ |
| 103 | 103 |
<c:param name="searchSourcSeCode" value="${searchVO.searchSourcSeCode}" />
|
| 104 | 104 |
<c:param name="bbsSourcId" value="${result.bbsSourcId}" />
|
| 105 | 105 |
<c:param name="selectMode" value="${searchVO.selectMode}" />
|
| 106 |
- <c:if test="${not empty searchVO.searchCnd}"><c:param name="searchCnd" value="${searchVO.searchCnd}" /></c:if>
|
|
| 107 |
- <c:if test="${not empty searchVO.searchWrd}"><c:param name="searchWrd" value="${searchVO.searchWrd}" /></c:if>
|
|
| 106 |
+ <c:if test="${not empty searchVO.searchCondition}"><c:param name="searchCondition" value="${searchVO.searchCondition}" /></c:if>
|
|
| 107 |
+ <c:if test="${not empty searchVO.searchKeyword}"><c:param name="searchKeyword" value="${searchVO.searchKeyword}" /></c:if>
|
|
| 108 | 108 |
<c:if test="${not empty searchVO.pageIndex}"><c:param name="pageIndex" value="${searchVO.pageIndex}" /></c:if>
|
| 109 | 109 |
</c:url> |
| 110 | 110 |
<a href="${viewUrl}"><img src="${_IMG}/btn/edit.gif"/></a>
|
... | ... | @@ -112,8 +112,8 @@ |
| 112 | 112 |
<c:param name="searchSourcSeCode" value="${searchVO.searchSourcSeCode}" />
|
| 113 | 113 |
<c:param name="bbsSourcId" value="${result.bbsSourcId}" />
|
| 114 | 114 |
<c:param name="selectMode" value="${searchVO.selectMode}" />
|
| 115 |
- <c:if test="${not empty searchVO.searchCnd}"><c:param name="searchCnd" value="${searchVO.searchCnd}" /></c:if>
|
|
| 116 |
- <c:if test="${not empty searchVO.searchWrd}"><c:param name="searchWrd" value="${searchVO.searchWrd}" /></c:if>
|
|
| 115 |
+ <c:if test="${not empty searchVO.searchCondition}"><c:param name="searchCondition" value="${searchVO.searchCondition}" /></c:if>
|
|
| 116 |
+ <c:if test="${not empty searchVO.searchKeyword}"><c:param name="searchKeyword" value="${searchVO.searchKeyword}" /></c:if>
|
|
| 117 | 117 |
<c:if test="${not empty searchVO.pageIndex}"><c:param name="pageIndex" value="${searchVO.pageIndex}" /></c:if>
|
| 118 | 118 |
</c:url> |
| 119 | 119 |
<a href="${delUrl}" onclick="fn_egov_delete(this.href);return false;"><img src="${_IMG}/btn/del.gif"/></a>
|
... | ... | @@ -142,8 +142,8 @@ |
| 142 | 142 |
<c:url var="pageUrl" value="/mng/cop/com/selectBbsSourcList.do?"> |
| 143 | 143 |
<c:param name="searchSourcSeCode" value="${searchVO.searchSourcSeCode}" />
|
| 144 | 144 |
<c:param name="selectMode" value="${searchVO.selectMode}" />
|
| 145 |
- <c:if test="${not empty param.searchCnd}"><c:param name="searchCnd" value="${param.searchCnd}" /></c:if>
|
|
| 146 |
- <c:if test="${not empty param.searchWrd}"><c:param name="searchWrd" value="${param.searchWrd}" /></c:if>
|
|
| 145 |
+ <c:if test="${not empty param.searchCondition}"><c:param name="searchCondition" value="${param.searchCondition}" /></c:if>
|
|
| 146 |
+ <c:if test="${not empty param.searchKeyword}"><c:param name="searchKeyword" value="${param.searchKeyword}" /></c:if>
|
|
| 147 | 147 |
</c:url> |
| 148 | 148 |
|
| 149 | 149 |
<ul> |
... | ... | @@ -161,12 +161,12 @@ |
| 161 | 161 |
<option value="<c:out value="${result.code}"/>" <c:if test="${searchVO.searchSourcSeCode == result.code}">selected="selected"</c:if>><c:out value="${result.codeNm}"/></option>
|
| 162 | 162 |
</c:forEach> |
| 163 | 163 |
</select> |
| 164 |
- <select name="searchCnd" id="searchCnd"> |
|
| 164 |
+ <select name="searchCondition" id="searchCondition"> |
|
| 165 | 165 |
<option selected value=''>분류검색</option> |
| 166 |
- <option value="0" <c:if test="${searchVO.searchCnd == '0'}">selected="selected"</c:if> ><spring:message code="cop.sourcNm" /></option>
|
|
| 166 |
+ <option value="0" <c:if test="${searchVO.searchCondition == '0'}">selected="selected"</c:if> ><spring:message code="cop.sourcNm" /></option>
|
|
| 167 | 167 |
</select> |
| 168 | 168 |
<label for="inp_text" class="hdn">검색어입력</label> |
| 169 |
- <input name="searchWrd" type="text" size="25" class="inp" value='<c:out value="${searchVO.searchWrd}"/>' maxlength="35" class="inp_s" id="inp_text"/>
|
|
| 169 |
+ <input name="searchKeyword" type="text" size="25" class="inp" value='<c:out value="${searchVO.searchKeyword}"/>' maxlength="35" class="inp_s" id="inp_text"/>
|
|
| 170 | 170 |
<input type=image src="${_IMG}/btn/btn_search.gif" alt="검색"/>
|
| 171 | 171 |
</form> |
| 172 | 172 |
</div> |
--- base/src/main/webapp/WEB-INF/jsp/egovframework/mng/cop/com/EgovBbsSourcRegister.jsp
+++ base/src/main/webapp/WEB-INF/jsp/egovframework/mng/cop/com/BbsSourcRegister.jsp
... | ... | @@ -112,8 +112,8 @@ |
| 112 | 112 |
<form:hidden path="bbsSourcId"/> |
| 113 | 113 |
<input name="selectMode" type="hidden" value="<c:out value='${searchVO.selectMode}'/>"/>
|
| 114 | 114 |
<input name="pageIndex" type="hidden" value="<c:out value='${searchVO.pageIndex}'/>"/>
|
| 115 |
- <input name="searchCnd" type="hidden" value="<c:out value="${searchVO.searchCnd}"/>"/>
|
|
| 116 |
- <input name="searchWrd" type="hidden" value="<c:out value="${searchVO.searchWrd}"/>"/>
|
|
| 115 |
+ <input name="searchCondition" type="hidden" value="<c:out value="${searchVO.searchCondition}"/>"/>
|
|
| 116 |
+ <input name="searchKeyword" type="hidden" value="<c:out value="${searchVO.searchKeyword}"/>"/>
|
|
| 117 | 117 |
<input name="searchSourcSeCode" type="hidden" value="<c:out value='${searchVO.searchSourcSeCode}'/>"/>
|
| 118 | 118 |
|
| 119 | 119 |
<fieldset> |
... | ... | @@ -197,8 +197,8 @@ |
| 197 | 197 |
<c:param name="searchSourcSeCode" value="${searchVO.searchSourcSeCode}" />
|
| 198 | 198 |
<c:param name="selectMode" value="${searchVO.selectMode}" />
|
| 199 | 199 |
<c:param name="pageIndex" value="${searchVO.pageIndex}" />
|
| 200 |
- <c:param name="searchCnd" value="${searchVO.searchCnd}" />
|
|
| 201 |
- <c:param name="searchWrd" value="${searchVO.searchWrd}" />
|
|
| 200 |
+ <c:param name="searchCondition" value="${searchVO.searchCondition}" />
|
|
| 201 |
+ <c:param name="searchKeyword" value="${searchVO.searchKeyword}" />
|
|
| 202 | 202 |
</c:url> |
| 203 | 203 |
<a href="${listUrl}"><img src="${_IMG}/btn/btn_list.gif" alt="목록"/></a>
|
| 204 | 204 |
</div> |
--- base/src/main/webapp/WEB-INF/jsp/egovframework/mng/cop/com/EgovBbsTemplateHistoryList.jsp
+++ base/src/main/webapp/WEB-INF/jsp/egovframework/mng/cop/com/BbsTemplateHistoryList.jsp
| No changes |
--- base/src/main/webapp/WEB-INF/jsp/egovframework/mng/cop/com/EgovBbsTemplateHistoryView.jsp
+++ base/src/main/webapp/WEB-INF/jsp/egovframework/mng/cop/com/BbsTemplateHistoryView.jsp
... | ... | @@ -19,8 +19,8 @@ |
| 19 | 19 |
<form:form commandName="bbsTmplatVO" name="bbsTmplatVO" action="" method="post" enctype="multipart/form-data" onsubmit="return false;"> |
| 20 | 20 |
<form:hidden path="bbsTmplatId"/> |
| 21 | 21 |
<input name="pageIndex" type="hidden" value="<c:out value='${searchVO.pageIndex}'/>"/>
|
| 22 |
- <input name="searchCnd" type="hidden" value="<c:out value="${searchVO.searchCnd}"/>"/>
|
|
| 23 |
- <input name="searchWrd" type="hidden" value="<c:out value="${searchVO.searchWrd}"/>"/>
|
|
| 22 |
+ <input name="searchCondition" type="hidden" value="<c:out value="${searchVO.searchCondition}"/>"/>
|
|
| 23 |
+ <input name="searchKeyword" type="hidden" value="<c:out value="${searchVO.searchKeyword}"/>"/>
|
|
| 24 | 24 |
|
| 25 | 25 |
<fieldset> |
| 26 | 26 |
<legend class="hdn">템플릿 입력 폼</legend> |
... | ... | @@ -64,8 +64,8 @@ |
| 64 | 64 |
<c:url var="listUrl" value="/mng/cop/com/selectBbsTemplateHistoryList.do"> |
| 65 | 65 |
<c:param name="bbsTmplatId" value="${searchVO.bbsTmplatId}" />
|
| 66 | 66 |
<c:param name="pageIndex" value="${searchVO.pageIndex}" />
|
| 67 |
- <c:param name="searchCnd" value="${searchVO.searchCnd}" />
|
|
| 68 |
- <c:param name="searchWrd" value="${searchVO.searchWrd}" />
|
|
| 67 |
+ <c:param name="searchCondition" value="${searchVO.searchCondition}" />
|
|
| 68 |
+ <c:param name="searchKeyword" value="${searchVO.searchKeyword}" />
|
|
| 69 | 69 |
</c:url> |
| 70 | 70 |
<a href="${listUrl}"><img src="${_IMG}/btn/btn_list.gif" alt="목록"/></a>
|
| 71 | 71 |
</div> |
--- base/src/main/webapp/WEB-INF/jsp/egovframework/mng/cop/com/EgovBbsTemplateList.jsp
+++ base/src/main/webapp/WEB-INF/jsp/egovframework/mng/cop/com/BbsTemplateList.jsp
... | ... | @@ -104,8 +104,8 @@ |
| 104 | 104 |
<c:param name="searchTmplatSeCode" value="${searchVO.searchTmplatSeCode}" />
|
| 105 | 105 |
<c:param name="bbsTmplatId" value="${result.bbsTmplatId}" />
|
| 106 | 106 |
<c:param name="selectMode" value="${searchVO.selectMode}" />
|
| 107 |
- <c:if test="${not empty searchVO.searchCnd}"><c:param name="searchCnd" value="${searchVO.searchCnd}" /></c:if>
|
|
| 108 |
- <c:if test="${not empty searchVO.searchWrd}"><c:param name="searchWrd" value="${searchVO.searchWrd}" /></c:if>
|
|
| 107 |
+ <c:if test="${not empty searchVO.searchCondition}"><c:param name="searchCondition" value="${searchVO.searchCondition}" /></c:if>
|
|
| 108 |
+ <c:if test="${not empty searchVO.searchKeyword}"><c:param name="searchKeyword" value="${searchVO.searchKeyword}" /></c:if>
|
|
| 109 | 109 |
<c:if test="${not empty searchVO.pageIndex}"><c:param name="pageIndex" value="${searchVO.pageIndex}" /></c:if>
|
| 110 | 110 |
</c:url> |
| 111 | 111 |
<a href="${viewUrl}"><img src="${_IMG}/btn/edit.gif"/></a>
|
... | ... | @@ -113,8 +113,8 @@ |
| 113 | 113 |
<c:param name="searchTmplatSeCode" value="${searchVO.searchTmplatSeCode}" />
|
| 114 | 114 |
<c:param name="bbsTmplatId" value="${result.bbsTmplatId}" />
|
| 115 | 115 |
<c:param name="selectMode" value="${searchVO.selectMode}" />
|
| 116 |
- <c:if test="${not empty searchVO.searchCnd}"><c:param name="searchCnd" value="${searchVO.searchCnd}" /></c:if>
|
|
| 117 |
- <c:if test="${not empty searchVO.searchWrd}"><c:param name="searchWrd" value="${searchVO.searchWrd}" /></c:if>
|
|
| 116 |
+ <c:if test="${not empty searchVO.searchCondition}"><c:param name="searchCondition" value="${searchVO.searchCondition}" /></c:if>
|
|
| 117 |
+ <c:if test="${not empty searchVO.searchKeyword}"><c:param name="searchKeyword" value="${searchVO.searchKeyword}" /></c:if>
|
|
| 118 | 118 |
<c:if test="${not empty searchVO.pageIndex}"><c:param name="pageIndex" value="${searchVO.pageIndex}" /></c:if>
|
| 119 | 119 |
</c:url> |
| 120 | 120 |
<a href="${delUrl}" onclick="fn_egov_delete(this.href);return false;"><img src="${_IMG}/btn/del.gif"/></a>
|
... | ... | @@ -143,8 +143,8 @@ |
| 143 | 143 |
<c:url var="pageUrl" value="/mng/cop/com/selectBbsTemplateList.do?"> |
| 144 | 144 |
<c:param name="searchTmplatSeCode" value="${searchVO.searchTmplatSeCode}" />
|
| 145 | 145 |
<c:param name="selectMode" value="${searchVO.selectMode}" />
|
| 146 |
- <c:if test="${not empty param.searchCnd}"><c:param name="searchCnd" value="${param.searchCnd}" /></c:if>
|
|
| 147 |
- <c:if test="${not empty param.searchWrd}"><c:param name="searchWrd" value="${param.searchWrd}" /></c:if>
|
|
| 146 |
+ <c:if test="${not empty param.searchCondition}"><c:param name="searchCondition" value="${param.searchCondition}" /></c:if>
|
|
| 147 |
+ <c:if test="${not empty param.searchKeyword}"><c:param name="searchKeyword" value="${param.searchKeyword}" /></c:if>
|
|
| 148 | 148 |
</c:url> |
| 149 | 149 |
|
| 150 | 150 |
<ul> |
... | ... | @@ -162,12 +162,11 @@ |
| 162 | 162 |
<option value="<c:out value="${result.code}"/>" <c:if test="${searchVO.searchTmplatSeCode == result.code}">selected="selected"</c:if>><c:out value="${result.codeNm}"/></option>
|
| 163 | 163 |
</c:forEach> |
| 164 | 164 |
</select> |
| 165 |
- <select name="searchCnd" id="searchCnd"> |
|
| 166 |
- <option selected value=''>분류검색</option> |
|
| 167 |
- <option value="0" <c:if test="${searchVO.searchCnd == '0'}">selected="selected"</c:if> ><spring:message code="cop.tmplatNm" /></option>
|
|
| 165 |
+ <select name="searchCondition" id="searchCondition"> |
|
| 166 |
+ <option value="0" <c:if test="${searchVO.searchCondition == '0'}">selected="selected"</c:if> ><spring:message code="cop.tmplatNm" /></option>
|
|
| 168 | 167 |
</select> |
| 169 | 168 |
<label for="inp_text" class="hdn">검색어입력</label> |
| 170 |
- <input name="searchWrd" type="text" size="25" class="inp" value='<c:out value="${searchVO.searchWrd}"/>' maxlength="35" class="inp_s" id="inp_text"/>
|
|
| 169 |
+ <input name="searchKeyword" type="text" size="25" class="inp" value='<c:out value="${searchVO.searchKeyword}"/>' maxlength="35" class="inp_s" id="inp_text"/>
|
|
| 171 | 170 |
<input type=image src="${_IMG}/btn/btn_search.gif" alt="검색"/>
|
| 172 | 171 |
</form> |
| 173 | 172 |
</div> |
--- base/src/main/webapp/WEB-INF/jsp/egovframework/mng/cop/com/EgovBbsTemplateRegister.jsp
+++ base/src/main/webapp/WEB-INF/jsp/egovframework/mng/cop/com/BbsTemplateRegister.jsp
... | ... | @@ -91,8 +91,8 @@ |
| 91 | 91 |
<form:hidden path="bbsTmplatId"/> |
| 92 | 92 |
<input name="selectMode" type="hidden" value="<c:out value='${searchVO.selectMode}'/>"/>
|
| 93 | 93 |
<input name="pageIndex" type="hidden" value="<c:out value='${searchVO.pageIndex}'/>"/>
|
| 94 |
- <input name="searchCnd" type="hidden" value="<c:out value="${searchVO.searchCnd}"/>"/>
|
|
| 95 |
- <input name="searchWrd" type="hidden" value="<c:out value="${searchVO.searchWrd}"/>"/>
|
|
| 94 |
+ <input name="searchCondition" type="hidden" value="<c:out value="${searchVO.searchCondition}"/>"/>
|
|
| 95 |
+ <input name="searchKeyword" type="hidden" value="<c:out value="${searchVO.searchKeyword}"/>"/>
|
|
| 96 | 96 |
<input name="searchTmplatSeCode" type="hidden" value="<c:out value='${searchVO.searchTmplatSeCode}'/>"/>
|
| 97 | 97 |
|
| 98 | 98 |
<fieldset> |
... | ... | @@ -161,8 +161,8 @@ |
| 161 | 161 |
<c:param name="searchTmplatSeCode" value="${searchVO.searchTmplatSeCode}" />
|
| 162 | 162 |
<c:param name="selectMode" value="${searchVO.selectMode}" />
|
| 163 | 163 |
<c:param name="pageIndex" value="${searchVO.pageIndex}" />
|
| 164 |
- <c:param name="searchCnd" value="${searchVO.searchCnd}" />
|
|
| 165 |
- <c:param name="searchWrd" value="${searchVO.searchWrd}" />
|
|
| 164 |
+ <c:param name="searchCondition" value="${searchVO.searchCondition}" />
|
|
| 165 |
+ <c:param name="searchKeyword" value="${searchVO.searchKeyword}" />
|
|
| 166 | 166 |
</c:url> |
| 167 | 167 |
<a href="${listUrl}"><img src="${_IMG}/btn/btn_list.gif" alt="목록"/></a>
|
| 168 | 168 |
</div> |
--- base/src/main/webapp/WEB-INF/jsp/egovframework/str/cre/bbs/BBSTMP_0000000000001/EgovCommentList.jsp
+++ base/src/main/webapp/WEB-INF/jsp/egovframework/str/cre/bbs/BBSTMP_0000000000001/CommentList.jsp
| No changes |
--- base/src/main/webapp/WEB-INF/jsp/egovframework/str/cre/bbs/BBSTMP_0000000000001/EgovNoticeInqire.jsp
+++ base/src/main/webapp/WEB-INF/jsp/egovframework/str/cre/bbs/BBSTMP_0000000000001/NoticeInqire.jsp
| No changes |
--- base/src/main/webapp/WEB-INF/jsp/egovframework/str/cre/bbs/BBSTMP_0000000000001/EgovNoticeList.jsp
+++ base/src/main/webapp/WEB-INF/jsp/egovframework/str/cre/bbs/BBSTMP_0000000000001/NoticeList.jsp
| No changes |
--- base/src/main/webapp/WEB-INF/jsp/egovframework/str/cre/bbs/BBSTMP_0000000000001/EgovNoticeRegist.jsp
+++ base/src/main/webapp/WEB-INF/jsp/egovframework/str/cre/bbs/BBSTMP_0000000000001/NoticeRegist.jsp
| No changes |
--- base/src/main/webapp/WEB-INF/jsp/egovframework/str/cre/bbs/sourc/BBSSRC_0000000000001/EgovCommentList.jsp
+++ base/src/main/webapp/WEB-INF/jsp/egovframework/str/cre/bbs/sourc/BBSSRC_0000000000001/CommentList.jsp
| No changes |
--- base/src/main/webapp/WEB-INF/jsp/egovframework/str/cre/bbs/sourc/BBSSRC_0000000000001/EgovNoticeInqire.jsp
+++ base/src/main/webapp/WEB-INF/jsp/egovframework/str/cre/bbs/sourc/BBSSRC_0000000000001/NoticeInqire.jsp
| No changes |
--- base/src/main/webapp/WEB-INF/jsp/egovframework/str/cre/bbs/sourc/BBSSRC_0000000000001/EgovNoticeList.jsp
+++ base/src/main/webapp/WEB-INF/jsp/egovframework/str/cre/bbs/sourc/BBSSRC_0000000000001/NoticeList.jsp
| No changes |
--- base/src/main/webapp/WEB-INF/jsp/egovframework/str/cre/bbs/sourc/BBSSRC_0000000000001/EgovNoticeRegist.jsp
+++ base/src/main/webapp/WEB-INF/jsp/egovframework/str/cre/bbs/sourc/BBSSRC_0000000000001/NoticeRegist.jsp
| No changes |
--- base/src/main/webapp/WEB-INF/jsp/egovframework/str/cre/bbs/sourc/BBSSRC_0000000000002/EgovCommentList.jsp
... | ... | @@ -1,177 +0,0 @@ |
| 1 | -<%@ page language="java" contentType="text/html; charset=utf-8" pageEncoding="utf-8"%> | |
| 2 | -<%@ page import="egovframework.com.cmm.service.EgovProperties" %> | |
| 3 | -<%@ taglib prefix="c" uri="http://java.sun.com/jsp/jstl/core" %> | |
| 4 | -<%@ taglib prefix="ui" uri="http://egovframework.gov/ctl/ui"%> | |
| 5 | -<%@ taglib uri="http://java.sun.com/jsp/jstl/functions" prefix="fn" %> | |
| 6 | -<%@ taglib prefix="spring" uri="http://www.springframework.org/tags"%> | |
| 7 | -<%@ taglib prefix="form" uri="http://www.springframework.org/tags/form" %> | |
| 8 | -<%@ taglib prefix="fmt" uri="http://java.sun.com/jsp/jstl/fmt" %> | |
| 9 | -<%@ taglib prefix="validator" uri="http://www.springmodules.org/tags/commons-validator" %> | |
| 10 | -<%pageContext.setAttribute("crlf", "\r\n"); %>
| |
| 11 | -<c:set var="_C_JS" value="/template/common/js"/> | |
| 12 | -<c:set var="_C_IMG" value="/template/common/images"/> | |
| 13 | -<c:set var="_IMG" value="${BbsFileStoreWebPathByWebFile}${brdMstrVO.tmplatId }/images"/>
| |
| 14 | - | |
| 15 | -<c:set var="_PREFIX" value="/cop/bbs"/> | |
| 16 | - | |
| 17 | -<c:set var="SE_CODE" value="01" /> | |
| 18 | -<c:if test="${not empty USER_INFO.id}">
| |
| 19 | - <c:set var="SE_CODE" value="${USER_INFO.userSe}" />
| |
| 20 | -</c:if> | |
| 21 | - | |
| 22 | -<% /*URL 정의*/ %> | |
| 23 | -<c:url var="_BASE_PARAM" value=""> | |
| 24 | - <c:param name="nttNo" value="${param.nttNo}" />
| |
| 25 | - <c:param name="bbsId" value="${param.bbsId}" />
| |
| 26 | - <c:if test="${not empty param.pageIndex}"><c:param name="pageIndex" value="${param.pageIndex}" /></c:if>
| |
| 27 | - <c:if test="${not empty param.searchCate}"><c:param name="searchCate" value="${param.searchCate}" /></c:if>
| |
| 28 | - <c:if test="${not empty param.searchCnd}"><c:param name="searchCnd" value="${param.searchCnd}" /></c:if>
| |
| 29 | - <c:if test="${not empty param.searchWrd}"><c:param name="searchWrd" value="${param.searchWrd}" /></c:if>
| |
| 30 | - <c:if test="${not empty param.tmplatImportAt}"><c:param name="tmplatImportAt" value="${param.tmplatImportAt}"/></c:if>
| |
| 31 | - <c:param name="menuId" value="${param.menuId}"/>
| |
| 32 | - <c:param name="trgetId" value="${param.trgetId}" />
| |
| 33 | - <c:forEach var="searchCate" items="${searchVO.searchCateList}" varStatus="statusCate">
| |
| 34 | - <c:if test="${not empty searchCate}">
| |
| 35 | - <c:param name="searchCateList" value="${searchCate}" />
| |
| 36 | - </c:if> | |
| 37 | - </c:forEach> | |
| 38 | -</c:url> | |
| 39 | -<% /*URL 정의*/ %> | |
| 40 | - | |
| 41 | -<script type="text/javascript" src="<c:url value="/validator.do"/>"></script> | |
| 42 | -<validator:javascript formName="comment" staticJavascript="false" xhtml="true" cdata="false"/> | |
| 43 | -<script type="text/javascript"> | |
| 44 | -function fn_egov_insert_commentList(frm) {
| |
| 45 | - if (!validateComment(frm)){
| |
| 46 | - return false; | |
| 47 | - } | |
| 48 | - | |
| 49 | - if (!confirm('<spring:message code="common.regist.msg" />')) {
| |
| 50 | - return false; | |
| 51 | - } | |
| 52 | -} | |
| 53 | - | |
| 54 | -function fn_egov_deleteCommentList(url) {
| |
| 55 | - | |
| 56 | - if (confirm('<spring:message code="common.delete.msg" />')) {
| |
| 57 | - document.location.href = url; | |
| 58 | - } | |
| 59 | -} | |
| 60 | - | |
| 61 | -function addComment(commentNo, num, ordrCode, ordrCodeDp) {
| |
| 62 | - jQuery(".commentPopup").hide();
| |
| 63 | - jQuery(".commentPopup").html("");
| |
| 64 | - jQuery("#replyComment"+num).html(
| |
| 65 | - "<div class='comment'>"+ | |
| 66 | - "<div class='comment_inp'>"+ | |
| 67 | - "<form name='commentVO' action='${_PREFIX}/insertReplyComment.do' method='post' onsubmit='return fn_egov_insert_commentList(this);'>"+
| |
| 68 | - "<input type='hidden' name='tmplatImportAt' value='<c:out value="${param.tmplatImportAt}"/>'/>" +
| |
| 69 | - <c:if test="${not empty param.pageIndex}">"<input type='hidden' name='pageIndex' value='<c:out value="${param.pageIndex}"/>'/>" + </c:if>
| |
| 70 | - "<input type='hidden' name='bbsId' value='<c:out value="${param.bbsId}"/>' />" +
| |
| 71 | - "<input name='menuId' type='hidden' value='<c:out value="${param.menuId}"/>' />" +
| |
| 72 | - "<input name='trgetId' type='hidden' value='<c:out value="${param.trgetId}"/>' />" +
| |
| 73 | - "<input name='searchCnd' type='hidden' value='<c:out value="${param.searchCnd}"/>'/>" +
| |
| 74 | - "<input name='searchWrd' type='hidden' value='<c:out value="${param.searchWrd}"/>'/>" +
| |
| 75 | - "<input name='searchCate' type='hidden' value='<c:out value="${param.searchCate}"/>'/>" +
| |
| 76 | - "<input name='subPageIndex' type='hidden' value='<c:out value="${searchVO.subPageIndex}"/>' />" +
| |
| 77 | - "<input name='modified' type='hidden' value='false'/>" + | |
| 78 | - "<input name='confirmPassword' type='hidden'/>" + | |
| 79 | - "<input type='hidden' name='nttNo' value='<c:out value="${param.nttNo}"/>'/>"+
| |
| 80 | - "<input type='hidden' name='commentNo' value='" + commentNo + "'/>"+ | |
| 81 | - "<input type='hidden' name='ordrCode' value='" + ordrCode + "'/>"+ | |
| 82 | - "<input type='hidden' name='ordrCodeDp' value='" + ordrCodeDp + "'/>"+ | |
| 83 | - "<textarea name='commentCn' rows='0' cols='0' maxlength='2000' placeholder='<spring:message code="cop.comment"/>을 입력하세요.'></textarea>"+ | |
| 84 | - "<span class='bbtn_input'><input type='submit' value='<spring:message code="button.create"/>'/></span>" + | |
| 85 | - "</form>"+ | |
| 86 | - "</div>"+ | |
| 87 | - "<p><spring:message code='cop.comment.msg' /></p>"+ | |
| 88 | - "</div>" | |
| 89 | - | |
| 90 | - ); | |
| 91 | - jQuery("#replyComment"+num).show();
| |
| 92 | - return false; | |
| 93 | -} | |
| 94 | -</script> | |
| 95 | - <div class="bbs_reply"> | |
| 96 | - <c:forEach var="result" items="${resultList}" varStatus="status">
| |
| 97 | - <div class="reply type<c:out value="${result.ordrCodeDp+1 }"/>">
| |
| 98 | - <strong><c:out value="${result.wrterNm}" /></strong>
| |
| 99 | - <span class="date"><fmt:formatDate value="${result.frstRegisterPnttm}" pattern="yyyy-MM-dd"/>
| |
| 100 | - <c:if test="${SE_CODE >= brdMstrVO.registAuthor}">
| |
| 101 | - <a href="#reply_txt" onclick="return addComment(${result.commentNo}, ${status.count}, '${result.ordrCode }', ${result.ordrCodeDp });"><img src="${_IMG}/btn_reply_re.gif" alt="<spring:message code="button.reply"/>" /></a>
| |
| 102 | - </c:if> | |
| 103 | - <c:if test="${not empty USER_INFO.id and result.frstRegisterId eq USER_INFO.id}">
| |
| 104 | - <c:url var="delUrl" value="${_PREFIX}/deleteComment.do${_BASE_PARAM}">
| |
| 105 | - <c:param name="commentNo" value="${result.commentNo}" />
| |
| 106 | - <c:param name="subPageIndex" value="${searchVO.subPageIndex}" />
| |
| 107 | - <c:param name="modified" value="true" /> | |
| 108 | - </c:url> | |
| 109 | - <a href="<c:out value="${delUrl}"/>" onclick="fn_egov_deleteCommentList(this.href);return false;"><img src="${_IMG}/btn_delete.gif" alt="<spring:message code="button.delete"/>" /></a>
| |
| 110 | - </c:if> | |
| 111 | - </span> | |
| 112 | - <p class="reply_cont"> | |
| 113 | - <c:set var="cn" value="${fn:escapeXml(result.commentCn)}"/>
| |
| 114 | - <c:set var="cn" value="${fn:replace(cn , crlf , '<br/>')}"/>
| |
| 115 | - <c:out value="${cn}" escapeXml="false" />
| |
| 116 | - </p> | |
| 117 | - </div> | |
| 118 | - <div id="replyComment${status.count }" style="display:none" class="commentPopup"></div>
| |
| 119 | - </c:forEach> | |
| 120 | - </div> | |
| 121 | - <c:if test="${fn:length(resultList) ne 0}">
| |
| 122 | - <div id="paging"> | |
| 123 | - <c:url var="pageUrl" value="${_PREFIX}/selectBoardArticle.do${_BASE_PARAM}">
| |
| 124 | - </c:url> | |
| 125 | - <c:set var="pagingParam"><c:out value="${pageUrl}"/></c:set>
| |
| 126 | - <ui:pagination paginationInfo="${paginationInfo}" type="smart_001_sub" jsFunction="${pagingParam}" />
| |
| 127 | - </div> | |
| 128 | - </c:if> | |
| 129 | - | |
| 130 | - <div class="comment"> | |
| 131 | - <c:choose> | |
| 132 | - <c:when test="${not empty USER_INFO.id and SE_CODE >= brdMstrVO.registAuthor}">
| |
| 133 | - <div class="comment_inp"> | |
| 134 | - <form name="comment" id="comment" method="post" action="<c:url value='${_PREFIX}/insertComment.do'/>" onsubmit="return fn_egov_insert_commentList(this);">
| |
| 135 | - <c:if test="${not empty param.pageIndex}"><input type="hidden" name="pageIndex" value="<c:out value='${param.pageIndex}'/>"/></c:if>
| |
| 136 | - <input type="hidden" name="bbsId" value="<c:out value='${param.bbsId}'/>" />
| |
| 137 | - <input type="hidden" name="nttNo" value="<c:out value='${param.nttNo}'/>" />
| |
| 138 | - | |
| 139 | - <input name="searchCnd" type="hidden" value="<c:out value="${param.searchCnd}"/>"/>
| |
| 140 | - <input name="searchWrd" type="hidden" value="<c:out value="${param.searchWrd}"/>"/>
| |
| 141 | - <input name="searchCate" type="hidden" value="<c:out value="${param.searchCate}"/>"/>
| |
| 142 | - <input name="tmplatImportAt" type="hidden" value="<c:out value="${param.tmplatImportAt}"/>"/>
| |
| 143 | - | |
| 144 | - <input type="hidden" name="menuId" value="<c:out value='${param.menuId}'/>"/>
| |
| 145 | - <c:forEach var="searchCate" items="${searchVO.searchCateList}" varStatus="statusCate">
| |
| 146 | - <c:if test="${not empty searchCate}">
| |
| 147 | - <input name="searchCateList" type="hidden" value="<c:out value="${searchCate}"/>"/>
| |
| 148 | - </c:if> | |
| 149 | - </c:forEach> | |
| 150 | - | |
| 151 | - <input name="commentNo" type="hidden" value="<c:out value='${searchVO.commentNo}'/>"/>
| |
| 152 | - <input name="modified" type="hidden" value="false"/> | |
| 153 | - <input name="confirmPassword" type="hidden"/> | |
| 154 | - | |
| 155 | - <strong><spring:message code="cop.comment.write"/></strong> | |
| 156 | - <textarea name="commentCn" rows="0" cols="0" maxlength="2000" placeholder="<spring:message code="cop.comment"/>을 입력하세요."></textarea> | |
| 157 | - <span class="bbtn_input"><input type="submit" value="<spring:message code="button.create"/>" /></span> | |
| 158 | - <p><spring:message code='cop.comment.msg' /></p> | |
| 159 | - </form> | |
| 160 | - </div> | |
| 161 | - </c:when> | |
| 162 | - <c:otherwise> | |
| 163 | - <div class="comment_inp"> | |
| 164 | - <strong><spring:message code="cop.comment.write"/></strong> | |
| 165 | - <textarea name="commentCn" rows="0" cols="0" readonly="readonly"><spring:message code="cop.comment"/>을 작성하시려면 로그인이 필요합니다.</textarea> | |
| 166 | - <span class="bbtn_input"><a href="#"><spring:message code="button.create"/></a></span> | |
| 167 | - <p><spring:message code='cop.comment.msg' /></p> | |
| 168 | - </div> | |
| 169 | - </c:otherwise> | |
| 170 | - </c:choose> | |
| 171 | - </div> | |
| 172 | - | |
| 173 | - <c:if test="${not empty subMsg}">
| |
| 174 | - <script type="text/javascript"> | |
| 175 | - alert("<c:out value='${subMsg}'/>");
| |
| 176 | - </script> | |
| 177 | - </c:if>(파일 끝에 줄바꿈 문자 없음) |
--- base/src/main/webapp/WEB-INF/jsp/egovframework/str/cre/bbs/sourc/BBSSRC_0000000000002/EgovNoticeInqire.jsp
... | ... | @@ -1,134 +0,0 @@ |
| 1 | -<%@ page language="java" contentType="text/html; charset=utf-8" pageEncoding="utf-8"%> | |
| 2 | -<%@ page import="egovframework.com.cmm.service.EgovProperties"%> | |
| 3 | -<%@ taglib prefix="c" uri="http://java.sun.com/jsp/jstl/core"%> | |
| 4 | -<%@ taglib prefix="ui" uri="http://egovframework.gov/ctl/ui"%> | |
| 5 | -<%@ taglib uri="http://java.sun.com/jsp/jstl/functions" prefix="fn"%> | |
| 6 | -<%@ taglib prefix="spring" uri="http://www.springframework.org/tags"%> | |
| 7 | -<%@ taglib prefix="form" uri="http://www.springframework.org/tags/form"%> | |
| 8 | -<%@ taglib prefix="fmt" uri="http://java.sun.com/jsp/jstl/fmt" %> | |
| 9 | -<c:set var="IS_MOBILE"><%=egovframework.com.utl.fcc.service.EgovHttpUtil.getIsMobile(request)%></c:set> | |
| 10 | -<c:set var="TEMPLATE_PATH" value="${IS_MOBILE ? 'mbl' : 'web'}"/>
| |
| 11 | -<c:set var="_WEB_FULL_PATH" value="http://${siteInfo.siteUrl}"/>
| |
| 12 | -<c:set var="_IMG" value="${BbsFileStoreWebPathByWebFile}${brdMstrVO.tmplatId }/images"/>
| |
| 13 | -<c:set var="_C_CSS" value="/template/common/css"/> | |
| 14 | -<c:set var="_C_JS" value="${_WEB_FULL_PATH}/template/common/js"/>
| |
| 15 | -<c:set var="_C_IMG" value="/template/common/images"/> | |
| 16 | - | |
| 17 | -<c:set var="_PREFIX" value="/cop/bbs"/> | |
| 18 | - | |
| 19 | -<% /*URL 정의*/ %> | |
| 20 | -<c:url var="_BASE_PARAM" value=""> | |
| 21 | - <c:param name="pageIndex" value="${searchVO.pageIndex}" />
| |
| 22 | - <c:param name="bbsId" value="${board.bbsId}" />
| |
| 23 | - <c:param name="menuId" value="${searchVO.menuId}"/>
| |
| 24 | - <c:if test="${not empty searchVO.searchCate}"><c:param name="searchCate" value="${searchVO.searchCate}" /></c:if>
| |
| 25 | - <c:if test="${not empty searchVO.searchCnd}"><c:param name="searchCnd" value="${searchVO.searchCnd}" /></c:if>
| |
| 26 | - <c:if test="${not empty searchVO.searchWrd}"><c:param name="searchWrd" value="${searchVO.searchWrd}" /></c:if>
| |
| 27 | - <c:if test="${not empty searchVO.tmplatImportAt}"><c:param name="tmplatImportAt" value="${searchVO.tmplatImportAt}"/></c:if>
| |
| 28 | - <c:if test="${not empty searchVO.viewType}"><c:param name="viewType" value="${searchVO.viewType}"/></c:if>
| |
| 29 | - <c:forEach var="searchCate" items="${searchVO.searchCateList}" varStatus="statusCate">
| |
| 30 | - <c:if test="${not empty searchCate}">
| |
| 31 | - <c:param name="searchCateList" value="${searchCate}" />
| |
| 32 | - </c:if> | |
| 33 | - </c:forEach> | |
| 34 | -</c:url> | |
| 35 | -<% /*URL 정의*/ %> | |
| 36 | - | |
| 37 | -<c:import url="/msi/tmplatHead.do" charEncoding="utf-8"> | |
| 38 | - <c:param name="BBS_TMPLATID" value="${brdMstrVO.tmplatId }"/>
| |
| 39 | - <c:param name="tableCssAt" value="Y"/> | |
| 40 | - <c:param name="contTitleAt" value="N"/> | |
| 41 | -</c:import> | |
| 42 | - | |
| 43 | -<c:set var="SE_CODE" value="01" /> | |
| 44 | -<c:if test="${not empty USER_INFO.id}">
| |
| 45 | - <c:set var="SE_CODE" value="${USER_INFO.userSe}" />
| |
| 46 | -</c:if> | |
| 47 | - | |
| 48 | -<script src="${_C_JS}/board.js" ></script>
| |
| 49 | -<script> | |
| 50 | - $(document).ready(function(){
| |
| 51 | - $('#btnBbsDelete').click(function() {
| |
| 52 | - var href = $(this).data("href");
| |
| 53 | - $(".btnModalConfirm").click(function(){
| |
| 54 | - location.href = href; | |
| 55 | - }); | |
| 56 | - return false; | |
| 57 | - }); | |
| 58 | - }); | |
| 59 | -</script> | |
| 60 | - | |
| 61 | -<div class="page-content-wrap"> | |
| 62 | - <section class="page-content-body"> | |
| 63 | - <div class="area"> | |
| 64 | - | |
| 65 | -<!-- 게시물--> | |
| 66 | -<section class="board-view-wrap"> | |
| 67 | - <!-- 제목 --> | |
| 68 | - <article class="board-title-wrap"> | |
| 69 | - <div class="main-common-title3"> | |
| 70 | - <h2 class="title"><c:out value="${board.nttSj}" /></h2>
| |
| 71 | - </div> | |
| 72 | - <div class="board-info-wrap"> | |
| 73 | - <dl class="item"> | |
| 74 | - <dt class="title">등록일</dt> | |
| 75 | - <dd class="desc"><fmt:formatDate value="${board.frstRegisterPnttm}" pattern="yyyy.MM.dd"/></dd>
| |
| 76 | - </dl> | |
| 77 | - </div> | |
| 78 | - </article> | |
| 79 | - <!-- 내용 --> | |
| 80 | - <article class="board-content-wrap"> | |
| 81 | - <div class="board-editor-content"> | |
| 82 | - <!-- 에디터영역 --> | |
| 83 | - <div id="froala_editor" class="froala-read-only"> | |
| 84 | - <c:out value="${board.nttCn}" escapeXml="false" />
| |
| 85 | - </div> | |
| 86 | - </div> | |
| 87 | - </article> | |
| 88 | -</section> | |
| 89 | -<hr class="line-hr mb-20"> | |
| 90 | - | |
| 91 | -<!-- 첨부파일 --> | |
| 92 | -<c:if test="${not empty board.atchFileId}">
| |
| 93 | - <c:import url="/cmm/fms/selectFileInfs.do" charEncoding="utf-8"> | |
| 94 | - <c:param name="param_atchFileId" value="${board.atchFileId}" />
| |
| 95 | - <c:param name="imagePath" value="${_IMG }"/>
| |
| 96 | - </c:import> | |
| 97 | -</c:if> | |
| 98 | - | |
| 99 | - <!-- 하단버튼 --> | |
| 100 | - <div class="page-btn-wrap mt-10 mb-100"> | |
| 101 | - <div class="left-area"> | |
| 102 | - <a href="<c:url value="${_PREFIX}/selectBoardList.do${_BASE_PARAM}"/>" class="btn-sm btn-outline-gray font-basic">목록</a>
| |
| 103 | - </div> | |
| 104 | - | |
| 105 | - <c:if test="${not empty USER_INFO.id}">
| |
| 106 | - <div class="right-area"> | |
| 107 | - <c:if test="${brdMstrVO.replyPosblAt eq 'Y' and SE_CODE >= brdMstrVO.answerAuthor}">
| |
| 108 | - <c:url var="addReplyBoardArticleUrl" value="${_PREFIX}/addReplyBoardArticle.do${_BASE_PARAM}">
| |
| 109 | - <c:param name="nttNo" value="${board.nttNo}" />
| |
| 110 | - <c:param name="registAction" value="reply" /> | |
| 111 | - </c:url> | |
| 112 | - <a href="<c:out value="${addReplyBoardArticleUrl}"/>" class="btn-sm btn-outline-gray font-basic" title="<spring:message code="button.reply"/>(<c:out value="${brdMstrVO.bbsNm }"/>)"><spring:message code="button.reply"/></a>
| |
| 113 | - </c:if> | |
| 114 | - <c:if test="${board.frstRegisterId eq USER_INFO.id or SE_CODE >= 10}">
| |
| 115 | - <%-- | |
| 116 | - <c:url var="forUpdateBoardArticleUrl" value="${_PREFIX}/forUpdateBoardArticle.do${_BASE_PARAM}">
| |
| 117 | - <c:param name="nttNo" value="${board.nttNo}" />
| |
| 118 | - <c:param name="registAction" value="updt" /> | |
| 119 | - </c:url> | |
| 120 | - <span class="bbtn"><a href="<c:out value="${forUpdateBoardArticleUrl}"/>" title="<spring:message code="button.update"/>(<c:out value="${brdMstrVO.bbsNm }"/>)"><spring:message code="button.update"/></a></span>
| |
| 121 | - --%> | |
| 122 | - <c:url var="deleteBoardArticleUrl" value="${_PREFIX}/deleteBoardArticle.do${_BASE_PARAM}">
| |
| 123 | - <c:param name="nttNo" value="${board.nttNo}" />
| |
| 124 | - </c:url> | |
| 125 | - <button id="btnBbsDelete" onclick="location.href='<c:out value="${deleteBoardArticleUrl}"/>'" class="btn-sm btn-outline-gray font-basic btnModalOpen" data-modal-type="confirm" data-modal-header="알림" data-modal-text="삭제된 글은 복구가 불가능합니다. <br>글을 삭제하시겠습니까?" data-modal-rightbtn="확인">삭제</button>
| |
| 126 | - </c:if> | |
| 127 | - | |
| 128 | - </div> | |
| 129 | - </c:if> | |
| 130 | - </div> | |
| 131 | - </div> | |
| 132 | - </section> | |
| 133 | -</div> | |
| 134 | -<c:import url="/msi/tmplatBottom.do" charEncoding="utf-8"/>(파일 끝에 줄바꿈 문자 없음) |
--- base/src/main/webapp/WEB-INF/jsp/egovframework/str/cre/bbs/sourc/BBSSRC_0000000000002/EgovNoticeList.jsp
... | ... | @@ -1,187 +0,0 @@ |
| 1 | -<%@ page language="java" contentType="text/html; charset=utf-8" pageEncoding="utf-8"%> | |
| 2 | -<%@ page import="egovframework.com.cmm.service.EgovProperties"%> | |
| 3 | -<%@ taglib prefix="c" uri="http://java.sun.com/jsp/jstl/core"%> | |
| 4 | -<%@ taglib prefix="ui" uri="http://egovframework.gov/ctl/ui"%> | |
| 5 | -<%@ taglib uri="http://java.sun.com/jsp/jstl/functions" prefix="fn"%> | |
| 6 | -<%@ taglib prefix="spring" uri="http://www.springframework.org/tags"%> | |
| 7 | -<%@ taglib prefix="form" uri="http://www.springframework.org/tags/form"%> | |
| 8 | -<%@ taglib prefix="fmt" uri="http://java.sun.com/jsp/jstl/fmt" %> | |
| 9 | -<c:set var="IS_MOBILE"><%=egovframework.com.utl.fcc.service.EgovHttpUtil.getIsMobile(request)%></c:set> | |
| 10 | -<c:set var="TEMPLATE_PATH" value="${IS_MOBILE ? 'mbl' : 'web'}"/>
| |
| 11 | -<c:set var="_WEB_FULL_PATH" value="http://${siteInfo.siteUrl}"/>
| |
| 12 | -<c:set var="_IMG" value="${BbsFileStoreWebPathByWebFile}${brdMstrVO.tmplatId }/images"/>
| |
| 13 | -<c:set var="_C_CSS" value="/template/common/css"/> | |
| 14 | -<c:set var="_C_JS" value="/template/common/js"/> | |
| 15 | -<c:set var="_C_IMG" value="/template/common/images"/> | |
| 16 | -<c:set var="CML" value="/template/lms"/> | |
| 17 | - | |
| 18 | -<c:set var="_PREFIX" value="/cop/bbs"/> | |
| 19 | - | |
| 20 | -<% /*URL 정의*/ %> | |
| 21 | -<c:url var="_BASE_PARAM" value=""> | |
| 22 | - <c:param name="menuId" value="${searchVO.menuId}"/>
| |
| 23 | - <c:param name="bbsId" value="${searchVO.bbsId}" />
| |
| 24 | - <c:if test="${fn:length(searchVO.searchCateList) ne 0}">
| |
| 25 | - <c:forEach var="searchCate" items="${searchVO.searchCateList}" varStatus="statusCate">
| |
| 26 | - <c:if test="${not empty searchCate}">
| |
| 27 | - <c:param name="searchCateList" value="${searchCate}" />
| |
| 28 | - </c:if> | |
| 29 | - </c:forEach> | |
| 30 | - </c:if> | |
| 31 | - <c:if test="${not empty searchVO.searchCate}"><c:param name="searchCate" value="${searchVO.searchCate}" /></c:if>
| |
| 32 | - <c:if test="${not empty searchVO.searchCnd}"><c:param name="searchCnd" value="${searchVO.searchCnd}" /></c:if>
| |
| 33 | - <c:if test="${not empty searchVO.searchWrd}"><c:param name="searchWrd" value="${searchVO.searchWrd}" /></c:if>
| |
| 34 | - <c:if test="${not empty searchVO.tmplatImportAt}"><c:param name="tmplatImportAt" value="${searchVO.tmplatImportAt}"/></c:if>
| |
| 35 | - <c:if test="${not empty searchVO.viewType}"><c:param name="viewType" value="${searchVO.viewType}"/></c:if>
| |
| 36 | -</c:url> | |
| 37 | -<% /*URL 정의*/ %> | |
| 38 | - | |
| 39 | -<c:choose> | |
| 40 | - <c:when test="${searchVO.tmplatImportAt ne 'N'}">
| |
| 41 | - <c:import url="/msi/tmplatHead.do" charEncoding="utf-8"> | |
| 42 | - <c:param name="BBS_TMPLATID" value="${brdMstrVO.tmplatId }"/>
| |
| 43 | - <c:param name="tableCssAt" value="Y"/> | |
| 44 | - </c:import> | |
| 45 | - </c:when> | |
| 46 | - <c:otherwise> | |
| 47 | - | |
| 48 | - </c:otherwise> | |
| 49 | -</c:choose> | |
| 50 | - | |
| 51 | -<c:set var="SE_CODE" value="01" /> | |
| 52 | -<c:if test="${not empty USER_INFO.id}">
| |
| 53 | - <c:set var="SE_CODE" value="${USER_INFO.userSe}" />
| |
| 54 | -</c:if> | |
| 55 | - | |
| 56 | -<script type="text/javascript" src="${_C_JS}/board.js" ></script>
| |
| 57 | -<script type="text/javascript"> | |
| 58 | - | |
| 59 | -<c:if test="${!empty brdMstrVO.ctgrymasterId}">
| |
| 60 | - var boardCateLevel = ${boardCateLevel};
| |
| 61 | - var boardCateList = new Array(${fn:length(boardCateList)});
| |
| 62 | - <c:forEach var="cate" items="${boardCateList}" varStatus="status">
| |
| 63 | - boardCateList[${status.index}] = new ctgryObj('<c:out value='${cate.upperCtgryId}'/>', '<c:out value='${cate.ctgryId}'/>', '<c:out value='${cate.ctgryNm}'/>', <c:out value='${cate.ctgryLevel}'/>);
| |
| 64 | - </c:forEach> | |
| 65 | -</c:if> | |
| 66 | - | |
| 67 | -function fn_egov_addNotice(url) {
| |
| 68 | - <c:choose> | |
| 69 | - <c:when test="${not empty USER_INFO.id}">
| |
| 70 | - location.href = url; | |
| 71 | - </c:when> | |
| 72 | - <c:otherwise> | |
| 73 | - if (confirm('로그인 하시겠습니까?')) {
| |
| 74 | - location.href = "<%=egovframework.com.sec.ram.security.userdetails.util.EgovUserDetailsHelper.getRedirectLoginUrl()%>"; | |
| 75 | - } | |
| 76 | - </c:otherwise> | |
| 77 | - </c:choose> | |
| 78 | - } | |
| 79 | - | |
| 80 | -$(document).ready(function(){
| |
| 81 | - //페이징 버튼 | |
| 82 | - $(".start, .prev, .next, .end").click(function(){
| |
| 83 | - var url = $(this).data("url");
| |
| 84 | - | |
| 85 | - location.href = url; | |
| 86 | - }); | |
| 87 | - | |
| 88 | -}); | |
| 89 | -</script> | |
| 90 | -<div class="page-content-wrap"> | |
| 91 | - <section class="page-content-body"> | |
| 92 | - <div class="area"> | |
| 93 | - <article class="content-wrap"> | |
| 94 | - <div class="content-header"> | |
| 95 | - <div class="title-wrap"> | |
| 96 | - <div class="title">CFLPT 안내</div> | |
| 97 | - </div> | |
| 98 | - </div> | |
| 99 | - | |
| 100 | - <div class="content-body"> | |
| 101 | - <!-- 테이블영역--> | |
| 102 | - <table class="common-table-wrap table-type-board"> | |
| 103 | - <colgroup> | |
| 104 | - <col class="" style="width:7%"> | |
| 105 | - <col class=""> | |
| 106 | - <col class="" style="width:14%"> | |
| 107 | - </colgroup> | |
| 108 | - <thead> | |
| 109 | - <tr class="bg-light-gray font-700"> | |
| 110 | - <th scope="col" class="">No</th> | |
| 111 | - <th scope="col" class="">제목</th> | |
| 112 | - <th scope="col" class="">등록일</th> | |
| 113 | - </tr> | |
| 114 | - </thead> | |
| 115 | - <tbody> | |
| 116 | - <c:forEach var="result" items="${resultList}" varStatus="status">
| |
| 117 | - <c:url var="viewUrl" value="${_PREFIX}/selectBoardArticle.do${_BASE_PARAM}">
| |
| 118 | - <c:param name="nttNo" value="${result.nttNo}" />
| |
| 119 | - <c:param name="pageIndex" value="${searchVO.pageIndex}" />
| |
| 120 | - </c:url> | |
| 121 | - <tr <c:if test="${result.useAt eq 'N'}">class="deleted"</c:if>>
| |
| 122 | - <td><c:out value="${paginationInfo.totalRecordCount - ((searchVO.pageIndex-1) * searchVO.pageUnit) - (status.count - 1)}" /></td>
| |
| 123 | - <td class="title"> | |
| 124 | - <div class="inner-wrap"> | |
| 125 | - <span class='text dotdotdot'> | |
| 126 | - <c:choose> | |
| 127 | - <c:when test="${SE_CODE eq '10'}"><a href="<c:out value="${viewUrl}"/>"><c:out value="${result.nttSj}" /></a></c:when>
| |
| 128 | - <c:when test="${result.othbcAt eq 'N' and USER_INFO.id ne result.frstRegisterId}">
| |
| 129 | - <c:out value="${result.nttSj}" />
| |
| 130 | - </c:when> | |
| 131 | - <c:when test="${SE_CODE < brdMstrVO.inqireAuthor}">
| |
| 132 | - <c:out value="${result.nttSj}" />
| |
| 133 | - </c:when> | |
| 134 | - <c:otherwise><a href="<c:out value="${viewUrl}"/>"><c:out value="${result.nttSj}" /></a></c:otherwise>
| |
| 135 | - </c:choose> | |
| 136 | - </span> | |
| 137 | - <c:if test="${not empty result.atchFileId}"><i class='icon-clip ml-10'></i></c:if>
| |
| 138 | - </div> | |
| 139 | - </td> | |
| 140 | - <td><fmt:formatDate value="${result.frstRegisterPnttm}" pattern="yyyy-MM-dd"/></td>
| |
| 141 | - </tr> | |
| 142 | - </c:forEach> | |
| 143 | - | |
| 144 | - <c:if test="${fn:length(resultList) == 0}">
| |
| 145 | - <tr class="empty"><td colspan="3"><spring:message code="common.nodata.msg" /></td></tr> | |
| 146 | - </c:if> | |
| 147 | - | |
| 148 | - </tbody> | |
| 149 | - </table> | |
| 150 | - | |
| 151 | - <div class="pagination center-align"> | |
| 152 | - <div class="pagination-inner-wrap overflow-hidden inline-block"> | |
| 153 | - <c:url var="startUrl" value="${_PREFIX}/selectBoardList.do${_BASE_PARAM}">
| |
| 154 | - <c:param name="pageIndex" value="1" /> | |
| 155 | - </c:url> | |
| 156 | - <button class="start" data-url="${startUrl}"></button>
| |
| 157 | - | |
| 158 | - <c:url var="prevUrl" value="${_PREFIX}/selectBoardList.do${_BASE_PARAM}">
| |
| 159 | - <c:param name="pageIndex" value="${searchVO.pageIndex > 1 ? searchVO.pageIndex - 1 : 1}"/>
| |
| 160 | - </c:url> | |
| 161 | - <button class="prev" data-url="${prevUrl}"></button>
| |
| 162 | - | |
| 163 | - <ul class="paginate-list f-l overflow-hidden"> | |
| 164 | - <c:url var="pageUrl" value="${_PREFIX}/selectBoardList.do${_BASE_PARAM}"/>
| |
| 165 | - <c:set var="pagingParam"><c:out value="${pageUrl}"/></c:set>
| |
| 166 | - <ui:pagination paginationInfo="${paginationInfo}" type="smart_school" jsFunction="${pagingParam}" />
| |
| 167 | - </ul> | |
| 168 | - | |
| 169 | - <c:url var="nextUrl" value="${_PREFIX}/selectBoardList.do${_BASE_PARAM}">
| |
| 170 | - <c:param name="pageIndex" value="${searchVO.pageIndex < paginationInfo.totalPageCount ? searchVO.pageIndex + 1 : searchVO.pageIndex}" />
| |
| 171 | - </c:url> | |
| 172 | - <button class="next" data-url="${nextUrl}"></button>
| |
| 173 | - | |
| 174 | - <c:url var="endUrl" value="${_PREFIX}/selectBoardList.do${_BASE_PARAM}">
| |
| 175 | - <c:param name="pageIndex" value="${paginationInfo.totalPageCount}"/>
| |
| 176 | - </c:url> | |
| 177 | - <button class="end" data-url="${endUrl}"></button>
| |
| 178 | - </div> | |
| 179 | - </div> | |
| 180 | - </div> | |
| 181 | - <!-- //게시판 --> | |
| 182 | - </article> | |
| 183 | - </div> | |
| 184 | -</section> | |
| 185 | -</div> | |
| 186 | - | |
| 187 | -<c:import url="/msi/tmplatBottom.do" charEncoding="utf-8"/>(파일 끝에 줄바꿈 문자 없음) |
--- base/src/main/webapp/WEB-INF/jsp/egovframework/str/cre/bbs/sourc/BBSSRC_0000000000002/EgovNoticeRegist.jsp
... | ... | @@ -1,326 +0,0 @@ |
| 1 | -<%@ page language="java" contentType="text/html; charset=utf-8" pageEncoding="utf-8"%> | |
| 2 | -<%@ taglib prefix="c" uri="http://java.sun.com/jsp/jstl/core" %> | |
| 3 | -<%@ taglib prefix="ui" uri="http://egovframework.gov/ctl/ui"%> | |
| 4 | -<%@ taglib uri="http://java.sun.com/jsp/jstl/functions" prefix="fn" %> | |
| 5 | -<%@ taglib prefix="spring" uri="http://www.springframework.org/tags"%> | |
| 6 | -<%@ taglib prefix="form" uri="http://www.springframework.org/tags/form" %> | |
| 7 | -<%@ page import="egovframework.com.sec.ram.security.userdetails.util.EgovUserDetailsHelper"%> | |
| 8 | -<c:set var="_C_CSS" value="/template/common/css"/> | |
| 9 | -<c:set var="_C_JS" value="/template/common/js"/> | |
| 10 | -<c:set var="_IMG" value="${BbsFileStoreWebPathByWebFile}${brdMstrVO.tmplatId }/images"/>
| |
| 11 | -<c:set var="_C_LIB" value="/lib"/> | |
| 12 | - | |
| 13 | -<c:set var="_PREFIX" value="/cop/bbs"/> | |
| 14 | -<c:set var="_EDITOR_ID" value="nttCn"/> | |
| 15 | -<c:set var="_ACTION" value=""/> | |
| 16 | - | |
| 17 | -<c:choose> | |
| 18 | - <c:when test="${searchVO.registAction eq 'regist' }">
| |
| 19 | - <c:set var="_ACTION" value="${pageContext.request.contextPath}${_PREFIX}/insertBoardArticle.do"/>
| |
| 20 | - </c:when> | |
| 21 | - <c:when test="${searchVO.registAction eq 'updt' }">
| |
| 22 | - <c:set var="_ACTION" value="${pageContext.request.contextPath}${_PREFIX}/updateBoardArticle.do"/>
| |
| 23 | - </c:when> | |
| 24 | - <c:when test="${searchVO.registAction eq 'reply' }">
| |
| 25 | - <c:set var="_ACTION" value="${pageContext.request.contextPath}${_PREFIX}/replyBoardArticle.do"/>
| |
| 26 | - </c:when> | |
| 27 | -</c:choose> | |
| 28 | - | |
| 29 | - | |
| 30 | -<c:set var="SE_CODE" value="01" /> | |
| 31 | -<c:if test="${not empty USER_INFO.id}">
| |
| 32 | - <c:set var="SE_CODE" value="${USER_INFO.userSe}" />
| |
| 33 | -</c:if> | |
| 34 | - | |
| 35 | -<c:import url="/msi/tmplatHead.do" charEncoding="utf-8"> | |
| 36 | - <c:param name="BBS_TMPLATID" value="${brdMstrVO.tmplatId }"/>
| |
| 37 | - <c:param name="tableCssAt" value="Y"/> | |
| 38 | -</c:import> | |
| 39 | - | |
| 40 | -<script src="${_C_LIB}/tinymce/js/tinymce/jquery.tinymce.min.js"></script>
| |
| 41 | -<script src="${_C_LIB}/tinymce/js/tinymce/tinymce.min.js"></script>
| |
| 42 | - | |
| 43 | - | |
| 44 | -<script src="${_C_LIB}/upload/upload.js?v=1" ></script>
| |
| 45 | -<script src="${_C_JS}/board.js?v=1" ></script>
| |
| 46 | - | |
| 47 | -<link rel="stylesheet" href="${_C_LIB}/jquery-ui-1.12.1.custom/jquery-ui.css">
| |
| 48 | -<script src="${_C_LIB}/jquery/jquery.ui.widget.js"></script>
| |
| 49 | -<script src="${_C_LIB}/upload/jquery.iframe-transport.js"></script>
| |
| 50 | -<script src="${_C_LIB}/upload/jquery.fileupload.js"></script>
| |
| 51 | -<script src="${_C_LIB}/upload/jquery.fileupload-process.js"></script>
| |
| 52 | -<script src="${_C_LIB}/upload/jquery.fileupload-image.js"></script>
| |
| 53 | -<script src="${_C_LIB}/upload/jquery.fileupload-audio.js"></script>
| |
| 54 | -<script src="${_C_LIB}/upload/jquery.fileupload-video.js"></script>
| |
| 55 | -<script src="${_C_LIB}/upload/jquery.fileupload-validate.js"></script>
| |
| 56 | -<script src="${_C_LIB}/upload/jquery.fileupload-ui.js"></script>
| |
| 57 | - | |
| 58 | -<script src="${_C_JS}/board.js" ></script>
| |
| 59 | -<script> | |
| 60 | -function fn_egov_regist() {
| |
| 61 | - | |
| 62 | - tinyMCE.triggerSave(); | |
| 63 | - | |
| 64 | - <c:if test="${searchVO.registAction ne 'reply'}">
| |
| 65 | - if($.trim($('#${_EDITOR_ID}').val()) == "") {
| |
| 66 | - alert('<spring:message code="cop.nttCn" />은(는) 필수 입력값입니다');
| |
| 67 | - tinyMCE.activeEditor.focus(); | |
| 68 | - return false; | |
| 69 | - } | |
| 70 | - </c:if> | |
| 71 | - | |
| 72 | - $('#fileGroupId').val($('#fileGroupId_${_EDITOR_ID}').val());
| |
| 73 | - | |
| 74 | - <c:if test="${!empty brdMstrVO.ctgrymasterId and searchVO.registAction ne 'reply'}">
| |
| 75 | - for(var cmIdx = 1 ; cmIdx <= boardCateLevel ; cmIdx++){
| |
| 76 | - var cmObj = document.getElementById("ctgry" + cmIdx);
| |
| 77 | - if(cmObj != null) {
| |
| 78 | - if(fn_egov_SelectBoxValue("ctgry" + cmIdx) != '') {
| |
| 79 | - document.board.ctgryId.value = fn_egov_SelectBoxValue("ctgry" + cmIdx);
| |
| 80 | - } | |
| 81 | - } | |
| 82 | - } | |
| 83 | - </c:if> | |
| 84 | - | |
| 85 | - <c:choose> | |
| 86 | - <c:when test="${searchVO.registAction eq 'updt'}">
| |
| 87 | - if (!confirm('<spring:message code="common.update.msg" />')) {
| |
| 88 | - return false | |
| 89 | - } | |
| 90 | - </c:when> | |
| 91 | - <c:otherwise> | |
| 92 | - if (!confirm('<spring:message code="common.regist.msg" />')) {
| |
| 93 | - return false; | |
| 94 | - } | |
| 95 | - </c:otherwise> | |
| 96 | - </c:choose> | |
| 97 | -} | |
| 98 | - | |
| 99 | -<c:if test="${!empty brdMstrVO.ctgrymasterId and searchVO.registAction ne 'reply'}">
| |
| 100 | - var boardCateLevel = <c:out value='${boardCateLevel}'/>;
| |
| 101 | - var boardCateList = new Array(${fn:length(boardCateList)});
| |
| 102 | - <c:forEach var="cate" items="${boardCateList}" varStatus="status">
| |
| 103 | - boardCateList[${status.index}] = new ctgryObj('<c:out value='${cate.upperCtgryId}'/>', '<c:out value='${cate.ctgryId}'/>', '<c:out value='${cate.ctgryNm}'/>', <c:out value='${cate.ctgryLevel}'/>);
| |
| 104 | - </c:forEach> | |
| 105 | -</c:if> | |
| 106 | - | |
| 107 | - | |
| 108 | -$(document).ready( function() {
| |
| 109 | - var adfile_config = {
| |
| 110 | - siteId:"<c:out value='${brdMstrVO.siteId}'/>",
| |
| 111 | - pathKey:"Board", | |
| 112 | - appendPath:"<c:out value='${brdMstrVO.bbsId}'/>",
| |
| 113 | - editorId:"${_EDITOR_ID}",
| |
| 114 | - fileAtchPosblAt:"${brdMstrVO.fileAtchPosblAt}",
| |
| 115 | - maxMegaFileSize:${brdMstrVO.posblAtchFileSize},
| |
| 116 | - atchFileId:"${board.atchFileId}"
| |
| 117 | - }; | |
| 118 | - | |
| 119 | - fnCtgryInit('<c:out value='${board.ctgryPathById}'/>');
| |
| 120 | - fn_egov_bbs_editor(adfile_config); | |
| 121 | -}); | |
| 122 | -</script> | |
| 123 | - | |
| 124 | - <form:form commandName="board" name="board" method="post" action="${_ACTION}" enctype="multipart/form-data" onsubmit="return fn_egov_regist()">
| |
| 125 | - <input name="pageIndex" type="hidden" value="<c:out value='${searchVO.pageIndex}'/>"/>
| |
| 126 | - <input type="hidden" name="cal_url" value="<c:url value='/sym/cmm/EgovNormalCalPopup.do'/>" /> | |
| 127 | - <input type="hidden" id="posblAtchFileNumber_${_EDITOR_ID}" name="posblAtchFileNumber_${_EDITOR_ID}" value="${brdMstrVO.posblAtchFileNumber}" />
| |
| 128 | - <input type="hidden" id="posblAtchFileSize_${_EDITOR_ID}" name="posblAtchFileSize_${_EDITOR_ID}" value="${brdMstrVO.posblAtchFileSize * 1024 * 1024}" />
| |
| 129 | - <input type="hidden" id="fileGroupId" name="fileGroupId" value="${board.atchFileId}"/>
| |
| 130 | - <input type="hidden" name="bbsId" value="<c:out value='${brdMstrVO.bbsId}'/>" />
| |
| 131 | - <input name="menuId" type="hidden" value="<c:out value='${searchVO.menuId}'/>" />
| |
| 132 | - <input type="hidden" name="registAction" value="<c:out value='${searchVO.registAction}'/>"/>
| |
| 133 | - <input type="hidden" name="tmplatImportAt" value="<c:out value='${searchVO.tmplatImportAt}'/>"/>
| |
| 134 | - | |
| 135 | - <form:hidden path="nttNo"/> | |
| 136 | - <form:hidden path="ctgryId"/> | |
| 137 | - <%-- | |
| 138 | - <form:hidden path="ordrCode"/> | |
| 139 | - <form:hidden path="ordrCodeDp"/> | |
| 140 | - --%> | |
| 141 | - <form:hidden path="atchFileId"/> | |
| 142 | - | |
| 143 | - <c:choose> | |
| 144 | - <c:when test="${brdMstrVO.bbsAttrbCode eq 'BBSA11' and searchVO.registAction eq 'reply'}">
| |
| 145 | - <!-- 게시물--> | |
| 146 | - <section class="board-view-wrap"> | |
| 147 | - <!-- 제목 --> | |
| 148 | - <article class="board-title-wrap"> | |
| 149 | - <div class="main-common-title3"> | |
| 150 | - <h2 class="title"><c:out value="${board.nttSj}" /></h2>
| |
| 151 | - </div> | |
| 152 | - <div class="board-info-wrap"> | |
| 153 | - <dl class="item"> | |
| 154 | - <dt class="title">등록일</dt> | |
| 155 | - <dd class="desc"><fmt:formatDate value="${board.frstRegisterPnttm}" pattern="yyyy.MM.dd"/></dd>
| |
| 156 | - </dl> | |
| 157 | - </div> | |
| 158 | - </article> | |
| 159 | - <!-- 내용 --> | |
| 160 | - <article class="board-content-wrap"> | |
| 161 | - <div class="board-editor-content"> | |
| 162 | - <!-- 에디터영역 --> | |
| 163 | - <div id="froala_editor" class="froala-read-only"> | |
| 164 | - <c:out value="${board.nttCn}" escapeXml="false" />
| |
| 165 | - </div> | |
| 166 | - </div> | |
| 167 | - </article> | |
| 168 | - </section> | |
| 169 | - <hr class="line-hr mb-20"> | |
| 170 | - | |
| 171 | - <!-- 첨부파일 --> | |
| 172 | - <c:if test="${not empty board.atchFileId}">
| |
| 173 | - <c:import url="/cmm/fms/selectFileInfs.do" charEncoding="utf-8"> | |
| 174 | - <c:param name="param_atchFileId" value="${board.atchFileId}" />
| |
| 175 | - <c:param name="imagePath" value="${_IMG }"/>
| |
| 176 | - </c:import> | |
| 177 | - </c:if> | |
| 178 | - | |
| 179 | - <select name="processSttusCode" id="ftext" class="select"> | |
| 180 | - <c:forEach var="resultState" items="${qaCodeList}" varStatus="status">
| |
| 181 | - <option value='<c:out value="${resultState.code}"/>' <c:if test="${board.processSttusCode eq resultState.code}">selected="selected"</c:if>><c:out value="${resultState.codeNm}"/></option>
| |
| 182 | - </c:forEach> | |
| 183 | - </select> | |
| 184 | - <br/><br/> | |
| 185 | - <textarea name="estnData" rows="10"><c:out value="${board.estnParseData.cn}" escapeXml="false"/></textarea>
| |
| 186 | - </c:when> | |
| 187 | - <c:otherwise> | |
| 188 | - <tr> | |
| 189 | - <th><spring:message code="cop.nttSj" /></th> | |
| 190 | - <td><form:input path="nttSj" cssClass="tit" /></td> | |
| 191 | - </tr> | |
| 192 | - <c:if test="${!empty brdMstrVO.ctgrymasterId and searchVO.registAction ne 'reply'}">
| |
| 193 | - <tr> | |
| 194 | - <th><spring:message code="cop.category.view" /></th> | |
| 195 | - <td class="ctgry"> | |
| 196 | - <c:forEach var="ctgryLevel" begin="1" end="${boardCateLevel}" step="1" varStatus="status">
| |
| 197 | - <c:choose> | |
| 198 | - <c:when test="${status.first}">
| |
| 199 | - <select name="regCateList" id="ctgry${ctgryLevel}" onchange="fnCtgryChange(${ctgryLevel})">
| |
| 200 | - <option value=""><spring:message code="cop.select" /></option> | |
| 201 | - <c:forEach var="cate" items="${boardCateList}">
| |
| 202 | - <c:if test="${cate.ctgryLevel eq 1 }">
| |
| 203 | - <option value="${cate.ctgryId}"><c:out value="${cate.ctgryNm}"/></option>
| |
| 204 | - </c:if> | |
| 205 | - </c:forEach> | |
| 206 | - </select> | |
| 207 | - </c:when> | |
| 208 | - <c:otherwise> | |
| 209 | - <label for="ctgry${ctgryLevel}" style="visibility:hidden;"><spring:message code="cop.category.view" />${ctgryLevel}</label>
| |
| 210 | - <select name="regCateList" id="ctgry${ctgryLevel}" onchange="fnCtgryChange(${ctgryLevel})"><option value=""><spring:message code="cop.select" /></option></select>
| |
| 211 | - </c:otherwise> | |
| 212 | - </c:choose> | |
| 213 | - </c:forEach> | |
| 214 | - </td> | |
| 215 | - </tr> | |
| 216 | - </c:if> | |
| 217 | - <%-- <tr> | |
| 218 | - <th>공지여부</th> | |
| 219 | - <td class="box_radio"> | |
| 220 | - <label class="on"><input type="radio" class="radio hdn" name="type"/>예</label> | |
| 221 | - <label><input type="radio" class="radio hdn" name="type"/>아니오</label> | |
| 222 | - </td> | |
| 223 | - </tr> --%> | |
| 224 | - <c:if test="${brdMstrVO.othbcUseAt eq 'Y'}">
| |
| 225 | - <tr> | |
| 226 | - <th><spring:message code="cop.publicAt" /></th> | |
| 227 | - <td class="box_radio"> | |
| 228 | - <label <c:if test="${board.othbcAt ne 'N' }">class="on"</c:if>><input type="radio" name="othbcAt" id="othbcAt1" class="radio hdn" <c:if test="${board.othbcAt ne 'N' }">checked="checked"</c:if> value="Y"/><spring:message code="cop.public"/></label>
| |
| 229 | - <label <c:if test="${board.othbcAt eq 'N' }">class="on"</c:if>><input type="radio" name="othbcAt" id="othbcAt2" class="radio hdn" <c:if test="${board.othbcAt eq 'N' }">checked="checked"</c:if> value="N"/><spring:message code="cop.private"/></label>
| |
| 230 | - </td> | |
| 231 | - </tr> | |
| 232 | - </c:if> | |
| 233 | - | |
| 234 | - <tr> | |
| 235 | - <td colspan="2"> | |
| 236 | - <form:textarea path="nttCn" rows="10" cssClass="cont"/><form:errors path="nttCn" /> | |
| 237 | - </td> | |
| 238 | - </tr> | |
| 239 | - </c:otherwise> | |
| 240 | - </c:choose> | |
| 241 | - | |
| 242 | - | |
| 243 | - <c:if test="${brdMstrVO.fileAtchPosblAt eq 'Y' and searchVO.registAction ne 'reply'}">
| |
| 244 | - <tr> | |
| 245 | - <td colspan="2"> | |
| 246 | - ${brdMstrVO.bbsAttrbCode eq 'BBSA11' and searchVO.registAction eq 'reply' ? 'Y' : 'N'}
| |
| 247 | - <c:import url="/cmm/fms/selectFileInfsForUpdate.do" charEncoding="utf-8"> | |
| 248 | - <c:param name="editorId" value="${_EDITOR_ID}"/>
| |
| 249 | - <%-- <c:param name="estnAt" value="${brdMstrVO.bbsAttrbCode eq 'BBSA11' and searchVO.registAction eq 'reply' ? 'Y' : 'N'}" /> --%>
| |
| 250 | - <c:param name="estnAt" value="N" /> | |
| 251 | - <c:param name="param_atchFileId" value="${board.atchFileId}" />
| |
| 252 | - <c:param name="imagePath" value="${_IMG }"/>
| |
| 253 | - <c:param name="regAt" value="Y"/> | |
| 254 | - </c:import> | |
| 255 | - </td> | |
| 256 | - </tr> | |
| 257 | - </c:if> | |
| 258 | - <%-- | |
| 259 | - <div id="bbs_wrap"> | |
| 260 | - <table class="bbs_type"> | |
| 261 | - <colgroup> | |
| 262 | - <col style="width:20%"/> | |
| 263 | - <col style="width:80%"/> | |
| 264 | - </colgroup> | |
| 265 | - <tbody> | |
| 266 | - <c:choose> | |
| 267 | - <c:when test="${brdMstrVO.bbsAttrbCode eq 'BBSA11' and searchVO.registAction eq 'reply'}">
| |
| 268 | - | |
| 269 | - <tr> | |
| 270 | - <td colspan="2"><c:out value="${board.nttSj}"/></td>
| |
| 271 | - </tr> | |
| 272 | - <tr> | |
| 273 | - <td colspan="2"><c:out value="${board.nttCn}" escapeXml="false"/></td>
| |
| 274 | - </tr> | |
| 275 | - <tr> | |
| 276 | - <th> | |
| 277 | - <label for="ftext"><spring:message code="cop.processSttus" /></label> | |
| 278 | - </th> | |
| 279 | - <td> | |
| 280 | - <select name="processSttusCode" id="ftext" class="select"> | |
| 281 | - <c:forEach var="resultState" items="${qaCodeList}" varStatus="status">
| |
| 282 | - <option value='<c:out value="${resultState.code}"/>' <c:if test="${board.processSttusCode eq resultState.code}">selected="selected"</c:if>><c:out value="${resultState.codeNm}"/></option>
| |
| 283 | - </c:forEach> | |
| 284 | - </select> | |
| 285 | - </td> | |
| 286 | - </tr> | |
| 287 | - </c:when> | |
| 288 | - <c:otherwise> | |
| 289 | - | |
| 290 | - </c:otherwise> | |
| 291 | - </c:choose> | |
| 292 | - | |
| 293 | - </tbody> | |
| 294 | - </table> | |
| 295 | - </div> | |
| 296 | - --%> | |
| 297 | - <div class="btn_c"> | |
| 298 | - <c:choose> | |
| 299 | - <c:when test="${searchVO.registAction eq 'regist' and SE_CODE >= brdMstrVO.registAuthor}"><span class="bbtn_bg1"><button type="submit"><spring:message code="button.create"/></button></span></c:when>
| |
| 300 | - <c:when test="${searchVO.registAction eq 'updt' and SE_CODE >= brdMstrVO.registAuthor}"><span class="bbtn_bg1"><button type="submit"><spring:message code="button.update"/></button></span></c:when>
| |
| 301 | - <c:when test="${searchVO.registAction eq 'reply' and SE_CODE >= brdMstrVO.registAuthor}"><span class="bbtn_bg1"><button type="submit"><spring:message code="button.reply"/></button></span></c:when>
| |
| 302 | - </c:choose> | |
| 303 | - | |
| 304 | - <c:url var="selectBoardListUrl" value="${_PREFIX}/selectBoardList.do">
| |
| 305 | - <c:param name="menuId" value="${searchVO.menuId}" />
| |
| 306 | - <c:param name="bbsId" value="${brdMstrVO.bbsId}" />
| |
| 307 | - <c:param name="pageIndex" value="${searchVO.pageIndex}" />
| |
| 308 | - <c:if test="${not empty searchVO.searchCate}"><c:param name="searchCate" value="${searchVO.searchCate}" /></c:if>
| |
| 309 | - <c:if test="${not empty searchVO.searchCnd}"><c:param name="searchCnd" value="${searchVO.searchCnd}" /></c:if>
| |
| 310 | - <c:if test="${not empty searchVO.searchWrd}"><c:param name="searchWrd" value="${searchVO.searchWrd}" /></c:if>
| |
| 311 | - <c:if test="${not empty searchVO.tmplatImportAt}"><c:param name="tmplatImportAt" value="${searchVO.tmplatImportAt}"/></c:if>
| |
| 312 | - </c:url> | |
| 313 | - <span class="bbtn_bg2"><a href="<c:out value="${selectBoardListUrl}"/>">목록</a></span>
| |
| 314 | - </div> | |
| 315 | - </form:form> | |
| 316 | -</div> | |
| 317 | - | |
| 318 | -<c:choose> | |
| 319 | - <c:when test="${searchVO.tmplatImportAt ne 'N'}">
| |
| 320 | - <c:import url="/msi/tmplatBottom.do" charEncoding="utf-8"/> | |
| 321 | - </c:when> | |
| 322 | - <c:otherwise> | |
| 323 | - </body> | |
| 324 | - </html> | |
| 325 | - </c:otherwise> | |
| 326 | -</c:choose>(파일 끝에 줄바꿈 문자 없음) |
--- base/src/main/webapp/WEB-INF/jsp/egovframework/str/cre/bbs/sourc/BBSSRC_0000000000003/EgovCommentList.jsp
... | ... | @@ -1,177 +0,0 @@ |
| 1 | -<%@ page language="java" contentType="text/html; charset=utf-8" pageEncoding="utf-8"%> | |
| 2 | -<%@ page import="egovframework.com.cmm.service.EgovProperties" %> | |
| 3 | -<%@ taglib prefix="c" uri="http://java.sun.com/jsp/jstl/core" %> | |
| 4 | -<%@ taglib prefix="ui" uri="http://egovframework.gov/ctl/ui"%> | |
| 5 | -<%@ taglib uri="http://java.sun.com/jsp/jstl/functions" prefix="fn" %> | |
| 6 | -<%@ taglib prefix="spring" uri="http://www.springframework.org/tags"%> | |
| 7 | -<%@ taglib prefix="form" uri="http://www.springframework.org/tags/form" %> | |
| 8 | -<%@ taglib prefix="fmt" uri="http://java.sun.com/jsp/jstl/fmt" %> | |
| 9 | -<%@ taglib prefix="validator" uri="http://www.springmodules.org/tags/commons-validator" %> | |
| 10 | -<%pageContext.setAttribute("crlf", "\r\n"); %>
| |
| 11 | -<c:set var="_C_JS" value="/template/common/js"/> | |
| 12 | -<c:set var="_C_IMG" value="/template/common/images"/> | |
| 13 | -<c:set var="_IMG" value="${BbsFileStoreWebPathByWebFile}${brdMstrVO.tmplatId }/images"/>
| |
| 14 | - | |
| 15 | -<c:set var="_PREFIX" value="/cop/bbs"/> | |
| 16 | - | |
| 17 | -<c:set var="SE_CODE" value="01" /> | |
| 18 | -<c:if test="${not empty USER_INFO.id}">
| |
| 19 | - <c:set var="SE_CODE" value="${USER_INFO.userSe}" />
| |
| 20 | -</c:if> | |
| 21 | - | |
| 22 | -<% /*URL 정의*/ %> | |
| 23 | -<c:url var="_BASE_PARAM" value=""> | |
| 24 | - <c:param name="nttNo" value="${param.nttNo}" />
| |
| 25 | - <c:param name="bbsId" value="${param.bbsId}" />
| |
| 26 | - <c:if test="${not empty param.pageIndex}"><c:param name="pageIndex" value="${param.pageIndex}" /></c:if>
| |
| 27 | - <c:if test="${not empty param.searchCate}"><c:param name="searchCate" value="${param.searchCate}" /></c:if>
| |
| 28 | - <c:if test="${not empty param.searchCnd}"><c:param name="searchCnd" value="${param.searchCnd}" /></c:if>
| |
| 29 | - <c:if test="${not empty param.searchWrd}"><c:param name="searchWrd" value="${param.searchWrd}" /></c:if>
| |
| 30 | - <c:if test="${not empty param.tmplatImportAt}"><c:param name="tmplatImportAt" value="${param.tmplatImportAt}"/></c:if>
| |
| 31 | - <c:param name="menuId" value="${param.menuId}"/>
| |
| 32 | - <c:param name="trgetId" value="${param.trgetId}" />
| |
| 33 | - <c:forEach var="searchCate" items="${searchVO.searchCateList}" varStatus="statusCate">
| |
| 34 | - <c:if test="${not empty searchCate}">
| |
| 35 | - <c:param name="searchCateList" value="${searchCate}" />
| |
| 36 | - </c:if> | |
| 37 | - </c:forEach> | |
| 38 | -</c:url> | |
| 39 | -<% /*URL 정의*/ %> | |
| 40 | - | |
| 41 | -<script type="text/javascript" src="<c:url value="/validator.do"/>"></script> | |
| 42 | -<validator:javascript formName="comment" staticJavascript="false" xhtml="true" cdata="false"/> | |
| 43 | -<script type="text/javascript"> | |
| 44 | -function fn_egov_insert_commentList(frm) {
| |
| 45 | - if (!validateComment(frm)){
| |
| 46 | - return false; | |
| 47 | - } | |
| 48 | - | |
| 49 | - if (!confirm('<spring:message code="common.regist.msg" />')) {
| |
| 50 | - return false; | |
| 51 | - } | |
| 52 | -} | |
| 53 | - | |
| 54 | -function fn_egov_deleteCommentList(url) {
| |
| 55 | - | |
| 56 | - if (confirm('<spring:message code="common.delete.msg" />')) {
| |
| 57 | - document.location.href = url; | |
| 58 | - } | |
| 59 | -} | |
| 60 | - | |
| 61 | -function addComment(commentNo, num, ordrCode, ordrCodeDp) {
| |
| 62 | - jQuery(".commentPopup").hide();
| |
| 63 | - jQuery(".commentPopup").html("");
| |
| 64 | - jQuery("#replyComment"+num).html(
| |
| 65 | - "<div class='comment'>"+ | |
| 66 | - "<div class='comment_inp'>"+ | |
| 67 | - "<form name='commentVO' action='${_PREFIX}/insertReplyComment.do' method='post' onsubmit='return fn_egov_insert_commentList(this);'>"+
| |
| 68 | - "<input type='hidden' name='tmplatImportAt' value='<c:out value="${param.tmplatImportAt}"/>'/>" +
| |
| 69 | - <c:if test="${not empty param.pageIndex}">"<input type='hidden' name='pageIndex' value='<c:out value="${param.pageIndex}"/>'/>" + </c:if>
| |
| 70 | - "<input type='hidden' name='bbsId' value='<c:out value="${param.bbsId}"/>' />" +
| |
| 71 | - "<input name='menuId' type='hidden' value='<c:out value="${param.menuId}"/>' />" +
| |
| 72 | - "<input name='trgetId' type='hidden' value='<c:out value="${param.trgetId}"/>' />" +
| |
| 73 | - "<input name='searchCnd' type='hidden' value='<c:out value="${param.searchCnd}"/>'/>" +
| |
| 74 | - "<input name='searchWrd' type='hidden' value='<c:out value="${param.searchWrd}"/>'/>" +
| |
| 75 | - "<input name='searchCate' type='hidden' value='<c:out value="${param.searchCate}"/>'/>" +
| |
| 76 | - "<input name='subPageIndex' type='hidden' value='<c:out value="${searchVO.subPageIndex}"/>' />" +
| |
| 77 | - "<input name='modified' type='hidden' value='false'/>" + | |
| 78 | - "<input name='confirmPassword' type='hidden'/>" + | |
| 79 | - "<input type='hidden' name='nttNo' value='<c:out value="${param.nttNo}"/>'/>"+
| |
| 80 | - "<input type='hidden' name='commentNo' value='" + commentNo + "'/>"+ | |
| 81 | - "<input type='hidden' name='ordrCode' value='" + ordrCode + "'/>"+ | |
| 82 | - "<input type='hidden' name='ordrCodeDp' value='" + ordrCodeDp + "'/>"+ | |
| 83 | - "<textarea name='commentCn' rows='0' cols='0' maxlength='2000' placeholder='<spring:message code="cop.comment"/>을 입력하세요.'></textarea>"+ | |
| 84 | - "<span class='bbtn_input'><input type='submit' value='<spring:message code="button.create"/>'/></span>" + | |
| 85 | - "</form>"+ | |
| 86 | - "</div>"+ | |
| 87 | - "<p><spring:message code='cop.comment.msg' /></p>"+ | |
| 88 | - "</div>" | |
| 89 | - | |
| 90 | - ); | |
| 91 | - jQuery("#replyComment"+num).show();
| |
| 92 | - return false; | |
| 93 | -} | |
| 94 | -</script> | |
| 95 | - <div class="bbs_reply"> | |
| 96 | - <c:forEach var="result" items="${resultList}" varStatus="status">
| |
| 97 | - <div class="reply type<c:out value="${result.ordrCodeDp+1 }"/>">
| |
| 98 | - <strong><c:out value="${result.wrterNm}" /></strong>
| |
| 99 | - <span class="date"><fmt:formatDate value="${result.frstRegisterPnttm}" pattern="yyyy-MM-dd"/>
| |
| 100 | - <c:if test="${SE_CODE >= brdMstrVO.registAuthor}">
| |
| 101 | - <a href="#reply_txt" onclick="return addComment(${result.commentNo}, ${status.count}, '${result.ordrCode }', ${result.ordrCodeDp });"><img src="${_IMG}/btn_reply_re.gif" alt="<spring:message code="button.reply"/>" /></a>
| |
| 102 | - </c:if> | |
| 103 | - <c:if test="${not empty USER_INFO.id and result.frstRegisterId eq USER_INFO.id}">
| |
| 104 | - <c:url var="delUrl" value="${_PREFIX}/deleteComment.do${_BASE_PARAM}">
| |
| 105 | - <c:param name="commentNo" value="${result.commentNo}" />
| |
| 106 | - <c:param name="subPageIndex" value="${searchVO.subPageIndex}" />
| |
| 107 | - <c:param name="modified" value="true" /> | |
| 108 | - </c:url> | |
| 109 | - <a href="<c:out value="${delUrl}"/>" onclick="fn_egov_deleteCommentList(this.href);return false;"><img src="${_IMG}/btn_delete.gif" alt="<spring:message code="button.delete"/>" /></a>
| |
| 110 | - </c:if> | |
| 111 | - </span> | |
| 112 | - <p class="reply_cont"> | |
| 113 | - <c:set var="cn" value="${fn:escapeXml(result.commentCn)}"/>
| |
| 114 | - <c:set var="cn" value="${fn:replace(cn , crlf , '<br/>')}"/>
| |
| 115 | - <c:out value="${cn}" escapeXml="false" />
| |
| 116 | - </p> | |
| 117 | - </div> | |
| 118 | - <div id="replyComment${status.count }" style="display:none" class="commentPopup"></div>
| |
| 119 | - </c:forEach> | |
| 120 | - </div> | |
| 121 | - <c:if test="${fn:length(resultList) ne 0}">
| |
| 122 | - <div id="paging"> | |
| 123 | - <c:url var="pageUrl" value="${_PREFIX}/selectBoardArticle.do${_BASE_PARAM}">
| |
| 124 | - </c:url> | |
| 125 | - <c:set var="pagingParam"><c:out value="${pageUrl}"/></c:set>
| |
| 126 | - <ui:pagination paginationInfo="${paginationInfo}" type="smart_001_sub" jsFunction="${pagingParam}" />
| |
| 127 | - </div> | |
| 128 | - </c:if> | |
| 129 | - | |
| 130 | - <div class="comment"> | |
| 131 | - <c:choose> | |
| 132 | - <c:when test="${not empty USER_INFO.id and SE_CODE >= brdMstrVO.registAuthor}">
| |
| 133 | - <div class="comment_inp"> | |
| 134 | - <form name="comment" id="comment" method="post" action="<c:url value='${_PREFIX}/insertComment.do'/>" onsubmit="return fn_egov_insert_commentList(this);">
| |
| 135 | - <c:if test="${not empty param.pageIndex}"><input type="hidden" name="pageIndex" value="<c:out value='${param.pageIndex}'/>"/></c:if>
| |
| 136 | - <input type="hidden" name="bbsId" value="<c:out value='${param.bbsId}'/>" />
| |
| 137 | - <input type="hidden" name="nttNo" value="<c:out value='${param.nttNo}'/>" />
| |
| 138 | - | |
| 139 | - <input name="searchCnd" type="hidden" value="<c:out value="${param.searchCnd}"/>"/>
| |
| 140 | - <input name="searchWrd" type="hidden" value="<c:out value="${param.searchWrd}"/>"/>
| |
| 141 | - <input name="searchCate" type="hidden" value="<c:out value="${param.searchCate}"/>"/>
| |
| 142 | - <input name="tmplatImportAt" type="hidden" value="<c:out value="${param.tmplatImportAt}"/>"/>
| |
| 143 | - | |
| 144 | - <input type="hidden" name="menuId" value="<c:out value='${param.menuId}'/>"/>
| |
| 145 | - <c:forEach var="searchCate" items="${searchVO.searchCateList}" varStatus="statusCate">
| |
| 146 | - <c:if test="${not empty searchCate}">
| |
| 147 | - <input name="searchCateList" type="hidden" value="<c:out value="${searchCate}"/>"/>
| |
| 148 | - </c:if> | |
| 149 | - </c:forEach> | |
| 150 | - | |
| 151 | - <input name="commentNo" type="hidden" value="<c:out value='${searchVO.commentNo}'/>"/>
| |
| 152 | - <input name="modified" type="hidden" value="false"/> | |
| 153 | - <input name="confirmPassword" type="hidden"/> | |
| 154 | - | |
| 155 | - <strong><spring:message code="cop.comment.write"/></strong> | |
| 156 | - <textarea name="commentCn" rows="0" cols="0" maxlength="2000" placeholder="<spring:message code="cop.comment"/>을 입력하세요."></textarea> | |
| 157 | - <span class="bbtn_input"><input type="submit" value="<spring:message code="button.create"/>" /></span> | |
| 158 | - <p><spring:message code='cop.comment.msg' /></p> | |
| 159 | - </form> | |
| 160 | - </div> | |
| 161 | - </c:when> | |
| 162 | - <c:otherwise> | |
| 163 | - <div class="comment_inp"> | |
| 164 | - <strong><spring:message code="cop.comment.write"/></strong> | |
| 165 | - <textarea name="commentCn" rows="0" cols="0" readonly="readonly"><spring:message code="cop.comment"/>을 작성하시려면 로그인이 필요합니다.</textarea> | |
| 166 | - <span class="bbtn_input"><a href="#"><spring:message code="button.create"/></a></span> | |
| 167 | - <p><spring:message code='cop.comment.msg' /></p> | |
| 168 | - </div> | |
| 169 | - </c:otherwise> | |
| 170 | - </c:choose> | |
| 171 | - </div> | |
| 172 | - | |
| 173 | - <c:if test="${not empty subMsg}">
| |
| 174 | - <script type="text/javascript"> | |
| 175 | - alert("<c:out value='${subMsg}'/>");
| |
| 176 | - </script> | |
| 177 | - </c:if>(파일 끝에 줄바꿈 문자 없음) |
--- base/src/main/webapp/WEB-INF/jsp/egovframework/str/cre/bbs/sourc/BBSSRC_0000000000003/EgovNoticeInqire.jsp
... | ... | @@ -1,176 +0,0 @@ |
| 1 | -<%@ page language="java" contentType="text/html; charset=utf-8" pageEncoding="utf-8"%> | |
| 2 | -<%@ page import="egovframework.com.cmm.service.EgovProperties"%> | |
| 3 | -<%@ taglib prefix="c" uri="http://java.sun.com/jsp/jstl/core"%> | |
| 4 | -<%@ taglib prefix="ui" uri="http://egovframework.gov/ctl/ui"%> | |
| 5 | -<%@ taglib uri="http://java.sun.com/jsp/jstl/functions" prefix="fn"%> | |
| 6 | -<%@ taglib prefix="spring" uri="http://www.springframework.org/tags"%> | |
| 7 | -<%@ taglib prefix="form" uri="http://www.springframework.org/tags/form"%> | |
| 8 | -<%@ taglib prefix="fmt" uri="http://java.sun.com/jsp/jstl/fmt" %> | |
| 9 | -<c:set var="IS_MOBILE"><%=egovframework.com.utl.fcc.service.EgovHttpUtil.getIsMobile(request)%></c:set> | |
| 10 | -<c:set var="TEMPLATE_PATH" value="${IS_MOBILE ? 'mbl' : 'web'}"/>
| |
| 11 | -<c:set var="_WEB_FULL_PATH" value="http://${siteInfo.siteUrl}"/>
| |
| 12 | -<c:set var="_IMG" value="${BbsFileStoreWebPathByWebFile}${brdMstrVO.tmplatId }/images"/>
| |
| 13 | -<c:set var="_C_CSS" value="/template/common/css"/> | |
| 14 | -<c:set var="_C_JS" value="${_WEB_FULL_PATH}/template/common/js"/>
| |
| 15 | -<c:set var="_C_IMG" value="/template/common/images"/> | |
| 16 | -<c:set var="CML" value="/template/lms"/> | |
| 17 | -<c:set var="_PREFIX" value="/cop/bbs"/> | |
| 18 | - | |
| 19 | -<% /*URL 정의*/ %> | |
| 20 | -<c:url var="_BASE_PARAM" value=""> | |
| 21 | - <c:param name="pageIndex" value="${searchVO.pageIndex}" />
| |
| 22 | - <c:param name="bbsId" value="${board.bbsId}" />
| |
| 23 | - <c:param name="menuId" value="${searchVO.menuId}"/>
| |
| 24 | - <c:if test="${not empty searchVO.searchCate}"><c:param name="searchCate" value="${searchVO.searchCate}" /></c:if>
| |
| 25 | - <c:if test="${not empty searchVO.searchCnd}"><c:param name="searchCnd" value="${searchVO.searchCnd}" /></c:if>
| |
| 26 | - <c:if test="${not empty searchVO.searchWrd}"><c:param name="searchWrd" value="${searchVO.searchWrd}" /></c:if>
| |
| 27 | - <c:if test="${not empty searchVO.viewType}"><c:param name="viewType" value="${searchVO.viewType}"/></c:if>
| |
| 28 | - <c:forEach var="searchCate" items="${searchVO.searchCateList}" varStatus="statusCate">
| |
| 29 | - <c:if test="${not empty searchCate}">
| |
| 30 | - <c:param name="searchCateList" value="${searchCate}" />
| |
| 31 | - </c:if> | |
| 32 | - </c:forEach> | |
| 33 | -</c:url> | |
| 34 | -<% /*URL 정의*/ %> | |
| 35 | - | |
| 36 | -<c:import url="/msi/tmplatHead.do" charEncoding="utf-8"> | |
| 37 | - <c:param name="BBS_TMPLATID" value="${brdMstrVO.tmplatId }"/>
| |
| 38 | - <c:param name="tableCssAt" value="Y"/> | |
| 39 | - <c:param name="contTitleAt" value="N"/> | |
| 40 | -</c:import> | |
| 41 | - | |
| 42 | -<c:set var="SE_CODE" value="01" /> | |
| 43 | -<c:if test="${not empty USER_INFO.id}">
| |
| 44 | - <c:set var="SE_CODE" value="${USER_INFO.userSe}" />
| |
| 45 | -</c:if> | |
| 46 | - | |
| 47 | -<script src="${_C_JS}/board.js" ></script>
| |
| 48 | -<script> | |
| 49 | - $(document).ready(function(){
| |
| 50 | - //글등록 | |
| 51 | - $('.btnModalOpen').click(function() {
| |
| 52 | - var href = $(this).data("href");
| |
| 53 | - $(".btnModalConfirm").click(function(){
| |
| 54 | - location.href = href; | |
| 55 | - }); | |
| 56 | - return false; | |
| 57 | - }); | |
| 58 | - }); | |
| 59 | -</script> | |
| 60 | -<style> | |
| 61 | -#froala_editor{font-family:'나눔고딕',NanumGothic,NanumGothicWeb, sans-serif;}
| |
| 62 | -</style> | |
| 63 | - | |
| 64 | - <div class="page-content-wrap"> | |
| 65 | - <section class="page-content-header"> | |
| 66 | - <div class="textbook-contents-view"> | |
| 67 | - <div class="left-area"> | |
| 68 | - <div class="textbook-img" style="background-image:url(<c:url value='/cmm/fms/getImage.do'/>?siteId=<c:out value="${brdMstrVO.siteId}"/>&appendPath=<c:out value="${searchVO.bbsId}"/>&atchFileNm=<c:out value="${board.atchFileNm}"/>);" title="태국어 문형사전"></div>
| |
| 69 | - </div> | |
| 70 | - | |
| 71 | - <div class="right-area"> | |
| 72 | - <div class="textbook-inner"> | |
| 73 | - <div class="textbook-flag"> | |
| 74 | - <c:set var="imgSrc"> | |
| 75 | - <c:import url="/lms/common/flag.do" charEncoding="utf-8"> | |
| 76 | - <c:param name="ctgryId" value="${board.ctgryId}"/>
| |
| 77 | - </c:import> | |
| 78 | - </c:set> | |
| 79 | - <span class="flag-img"><img src="${CML}/imgs/common/flag_lg/${imgSrc}" alt="국기"></span>
| |
| 80 | - <span class="text"><c:out value="${board.ctgryNm}"/> 교재</span>
| |
| 81 | - </div> | |
| 82 | - <div class="book-name"> | |
| 83 | - <c:if test="${board.tmp03 eq 'Y'}">
| |
| 84 | - <span class="type">e-book</span> | |
| 85 | - </c:if> | |
| 86 | - <c:out value="${board.nttSj}"/>
| |
| 87 | - </div> | |
| 88 | - <dl class="book-info"> | |
| 89 | - <dt class="info-title">출판사</dt> | |
| 90 | - <dd class="info-name"><c:out value="${board.tmp01}"/></dd>
| |
| 91 | - </dl> | |
| 92 | - <dl class="book-info"> | |
| 93 | - <dt class="info-title">저자</dt> | |
| 94 | - <dd class="info-name"><c:out value="${board.tmp02}"/></dd>
| |
| 95 | - </dl> | |
| 96 | - </div> | |
| 97 | - <div class="textbook-button"> | |
| 98 | - <div class="util-wrap"> | |
| 99 | - <button class="btn-share btnModalOpen" data-modal-type="share" onclick="location.href='http://${siteInfo.siteUrl}/cop/bbs/selectBoardArticle.do?${pageContext.request.queryString}'" data-title="<c:out value="${board.nttSj}"/>" title="공유하기"></button>
| |
| 100 | - <c:choose> | |
| 101 | - <c:when test="${not empty USER_INFO.id}">
| |
| 102 | - <c:set var="wishAt" value=""/> | |
| 103 | - <c:forEach var="wishList" items="${wishList}" varStatus="status">
| |
| 104 | - <c:if test="${wishList.trgetId eq board.nttNo}">
| |
| 105 | - <c:set var="wishAt" value="on"/> | |
| 106 | - </c:if> | |
| 107 | - </c:forEach> | |
| 108 | - <button class="btn-wishlist ${wishAt}" title="관심수강 담기" data-code="BOOK_LIKE" data-id="${board.nttNo}"></button>
| |
| 109 | - </c:when> | |
| 110 | - <c:otherwise> | |
| 111 | - <button class="btn-wishlist btnModalOpen" | |
| 112 | - data-modal-type="confirm" | |
| 113 | - data-modal-header="알림" | |
| 114 | - data-modal-text="회원가입이 필요한 서비스입니다." | |
| 115 | - data-modal-subtext="로그인 후 이용이 가능합니다. 회원가입 화면으로 이동하시겠습니까?" | |
| 116 | - data-modal-rightbtn="확인" | |
| 117 | - onclick="location.href='/uss/umt/cmm/EgovStplatCnfirmMber.do'" | |
| 118 | - title="관심수강 담기"> | |
| 119 | - </button> | |
| 120 | - </c:otherwise> | |
| 121 | - </c:choose> | |
| 122 | - </div> | |
| 123 | - <a href="<c:out value="${board.tmp05}"/>" class="btn-full btn-point" target="_blank">구매하기</a>
| |
| 124 | - </div> | |
| 125 | - <div class="textbook-keyword"> | |
| 126 | - <div class="keyword-title">키워드</div> | |
| 127 | - <ul class="keyword-item"> | |
| 128 | - <c:set var="keyword" value="${fn:split(board.tmp04,',')}"/>
| |
| 129 | - <c:forEach var="result" items="${keyword}" varStatus="status">
| |
| 130 | - <li class="item">${result}</li>
| |
| 131 | - </c:forEach> | |
| 132 | - </ul> | |
| 133 | - </div> | |
| 134 | - </div> | |
| 135 | - </div> | |
| 136 | - </section> | |
| 137 | - | |
| 138 | - <section class="page-content-body"> | |
| 139 | - <article class="content-wrap mb-70"> | |
| 140 | - <div class="content-header mb-35"> | |
| 141 | - <div class="title-wrap" id="froala_editor"> | |
| 142 | - <h3 class="title mb-10">책정보</h3> | |
| 143 | - <p class="desc"><c:out value="${board.nttCn}" escapeXml="false"/></p>
| |
| 144 | - </div> | |
| 145 | - </div> | |
| 146 | - </article> | |
| 147 | - <article class="content-wrap"> | |
| 148 | - <!-- 교재 및 부교재 --> | |
| 149 | - <div class="content-header"> | |
| 150 | - <div class="title-wrap"> | |
| 151 | - <div class="title">다른 <c:out value="${board.ctgryNm}"/> 교재</div>
| |
| 152 | - </div> | |
| 153 | - </div> | |
| 154 | - <div class="content-body"> | |
| 155 | - <ul class="book-list-wrap flex-row"> | |
| 156 | - <c:import url="/msi/ctn/boardService.do" charEncoding="utf-8"> | |
| 157 | - <c:param name="tmplatCours" value="${_IMG}"/>
| |
| 158 | - <c:param name="viewType" value="gallery" /> | |
| 159 | - <c:param name="linkMenuId" value="${searchVO.menuId}" />
| |
| 160 | - <c:param name="tableId" value="${board.bbsId}" />
| |
| 161 | - <c:param name="itemCount" value="7" /> | |
| 162 | - <c:param name="nttNo" value="${board.nttNo}" />
| |
| 163 | - <c:param name="ctgrymasterId" value="${brdMstrVO.ctgrymasterId}" />
| |
| 164 | - <c:param name="searchCateList" value="${board.ctgryId}"/>
| |
| 165 | - </c:import> | |
| 166 | - </ul> | |
| 167 | - </div> | |
| 168 | - </article> | |
| 169 | - | |
| 170 | - </section> | |
| 171 | - </div> | |
| 172 | - | |
| 173 | -<c:import url="/msi/tmplatBottom.do" charEncoding="utf-8"> | |
| 174 | - <c:param name="modalAt" value="Y"/> | |
| 175 | - <c:param name="shareAt" value="Y"/> | |
| 176 | -</c:import>(파일 끝에 줄바꿈 문자 없음) |
--- base/src/main/webapp/WEB-INF/jsp/egovframework/str/cre/bbs/sourc/BBSSRC_0000000000003/EgovNoticeList.jsp
... | ... | @@ -1,662 +0,0 @@ |
| 1 | -<%@ page language="java" contentType="text/html; charset=utf-8" pageEncoding="utf-8"%> | |
| 2 | -<%@ page import="egovframework.com.cmm.service.EgovProperties"%> | |
| 3 | -<%@ taglib prefix="c" uri="http://java.sun.com/jsp/jstl/core"%> | |
| 4 | -<%@ taglib prefix="ui" uri="http://egovframework.gov/ctl/ui"%> | |
| 5 | -<%@ taglib uri="http://java.sun.com/jsp/jstl/functions" prefix="fn"%> | |
| 6 | -<%@ taglib prefix="spring" uri="http://www.springframework.org/tags"%> | |
| 7 | -<%@ taglib prefix="form" uri="http://www.springframework.org/tags/form"%> | |
| 8 | -<%@ taglib prefix="fmt" uri="http://java.sun.com/jsp/jstl/fmt" %> | |
| 9 | -<c:set var="IS_MOBILE"><%=egovframework.com.utl.fcc.service.EgovHttpUtil.getIsMobile(request)%></c:set> | |
| 10 | -<c:set var="TEMPLATE_PATH" value="${IS_MOBILE ? 'mbl' : 'web'}"/>
| |
| 11 | -<c:set var="_WEB_FULL_PATH" value="http://${siteInfo.siteUrl}"/>
| |
| 12 | -<c:set var="_IMG" value="${BbsFileStoreWebPathByWebFile}${brdMstrVO.tmplatId }/images"/>
| |
| 13 | -<c:set var="_C_CSS" value="/template/common/css"/> | |
| 14 | -<c:set var="_C_JS" value="/template/common/js"/> | |
| 15 | -<c:set var="_C_IMG" value="/template/common/images"/> | |
| 16 | -<c:set var="CML" value="/template/lms"/> | |
| 17 | - | |
| 18 | -<c:set var="_PREFIX" value="/cop/bbs"/> | |
| 19 | - | |
| 20 | -<% /*URL 정의*/ %> | |
| 21 | -<c:url var="_BASE_PARAM" value=""> | |
| 22 | - <c:param name="menuId" value="${searchVO.menuId}"/>
| |
| 23 | - <c:param name="bbsId" value="${searchVO.bbsId}" />
| |
| 24 | - <c:if test="${fn:length(searchVO.searchCateList) ne 0}">
| |
| 25 | - <c:forEach var="searchCate" items="${searchVO.searchCateList}" varStatus="statusCate">
| |
| 26 | - <c:if test="${not empty searchCate}">
| |
| 27 | - <c:param name="searchCateList" value="${searchCate}" />
| |
| 28 | - </c:if> | |
| 29 | - </c:forEach> | |
| 30 | - </c:if> | |
| 31 | - <c:if test="${not empty searchVO.searchCate}"><c:param name="searchCate" value="${searchVO.searchCate}" /></c:if>
| |
| 32 | - <c:if test="${not empty searchVO.searchCnd}"><c:param name="searchCnd" value="${searchVO.searchCnd}" /></c:if>
| |
| 33 | - <c:if test="${not empty searchVO.searchWrd}"><c:param name="searchWrd" value="${searchVO.searchWrd}" /></c:if>
| |
| 34 | - <c:if test="${not empty searchVO.tmplatImportAt}"><c:param name="tmplatImportAt" value="${searchVO.tmplatImportAt}"/></c:if>
| |
| 35 | -</c:url> | |
| 36 | -<% /*URL 정의*/ %> | |
| 37 | - | |
| 38 | -<c:choose> | |
| 39 | -<c:when test="${searchVO.tmplatImportAt ne 'N'}">
| |
| 40 | - | |
| 41 | -<c:import url="/msi/tmplatHead.do" charEncoding="utf-8"> | |
| 42 | - <c:param name="BBS_TMPLATID" value="${brdMstrVO.tmplatId }"/>
| |
| 43 | - <c:param name="listAt" value="Y"/> | |
| 44 | -</c:import> | |
| 45 | - | |
| 46 | -<c:set var="SE_CODE" value="01" /> | |
| 47 | -<c:if test="${not empty USER_INFO.id}">
| |
| 48 | - <c:set var="SE_CODE" value="${USER_INFO.userSe}" />
| |
| 49 | -</c:if> | |
| 50 | - | |
| 51 | -<script src="${_C_JS}/board.js" ></script>
| |
| 52 | -<c:choose> | |
| 53 | -<%-- 교재/사전(공통) --%> | |
| 54 | -<c:when test="${searchVO.menuId eq 'MNU_0000000000000008'}">
| |
| 55 | -<script> | |
| 56 | -<c:if test="${!empty brdMstrVO.ctgrymasterId}">
| |
| 57 | - var boardCateLevel = ${boardCateLevel};
| |
| 58 | - var boardCateList = new Array(${fn:length(boardCateList)});
| |
| 59 | - <c:forEach var="cate" items="${boardCateList}" varStatus="status">
| |
| 60 | - boardCateList[${status.index}] = new ctgryObj('<c:out value='${cate.upperCtgryId}'/>', '<c:out value='${cate.ctgryId}'/>', '<c:out value='${cate.ctgryNm}'/>', <c:out value='${cate.ctgryLevel}'/>);
| |
| 61 | - </c:forEach> | |
| 62 | -</c:if> | |
| 63 | - | |
| 64 | -function fn_egov_addNotice(url) {
| |
| 65 | - <c:choose> | |
| 66 | - <c:when test="${not empty USER_INFO.id}">
| |
| 67 | - location.href = url; | |
| 68 | - </c:when> | |
| 69 | - <c:otherwise> | |
| 70 | - if (confirm('로그인 하시겠습니까?')) {
| |
| 71 | - location.href = "<%=egovframework.com.sec.ram.security.userdetails.util.EgovUserDetailsHelper.getRedirectLoginUrl()%>"; | |
| 72 | - } | |
| 73 | - </c:otherwise> | |
| 74 | - </c:choose> | |
| 75 | -} | |
| 76 | - | |
| 77 | -$(document).ready(function(){
| |
| 78 | - $('#btnBbsWrite').click(function() {fn_egov_addNotice(this.href);return false;});
| |
| 79 | - fnCtgryInit('<c:out value="${searchVO.searchCateList}"/>');
| |
| 80 | - | |
| 81 | - //페이징 버튼 | |
| 82 | - $(".start, .prev, .next, .end").click(function(){
| |
| 83 | - var url = $(this).data("url");
| |
| 84 | - | |
| 85 | - location.href = url; | |
| 86 | - }); | |
| 87 | - | |
| 88 | - $(".btn-gallery, .btn-list").click(function(){
| |
| 89 | - var type = $(this).data("type");
| |
| 90 | - | |
| 91 | - $("#viewType").val(type);
| |
| 92 | - $("#frm").submit();
| |
| 93 | - }); | |
| 94 | - | |
| 95 | - //글등록 | |
| 96 | - $('.btnModalOpen').click(function() {
| |
| 97 | - var href = $(this).data("href");
| |
| 98 | - $(".btnModalConfirm").click(function(){
| |
| 99 | - location.href = href; | |
| 100 | - }); | |
| 101 | - return false; | |
| 102 | - }); | |
| 103 | - | |
| 104 | - //언어 카테고리 | |
| 105 | - $(".tab-list > a").click(function(){
| |
| 106 | - var id = $(this).data("id");
| |
| 107 | - | |
| 108 | - $("input[name=searchCateList]").val(id);
| |
| 109 | - $("#frm").submit();
| |
| 110 | - return false; | |
| 111 | - }); | |
| 112 | - | |
| 113 | - //더보기 | |
| 114 | - $(".btn_more").click(function(){
| |
| 115 | - var curPage = $(this).data("page"),
| |
| 116 | - bbsId = $("input[name=bbsId]").val(),
| |
| 117 | - menuId = $("input[name=menuId]").val(),
| |
| 118 | - searchCate = $("input[name=searchCate]").val(),
| |
| 119 | - searchCateList = $("input[name=searchCateList]").val(),
| |
| 120 | - page = curPage + 1, | |
| 121 | - lastPage = $("#lastPage").val();
| |
| 122 | - | |
| 123 | - if(lastPage == curPage){
| |
| 124 | - alert("마지막 페이지 입니다.");
| |
| 125 | - }else{
| |
| 126 | - $.ajax({
| |
| 127 | - type : "post" | |
| 128 | - , url : "/msi/ctn/moreBoardList.do" | |
| 129 | - , data : {bbsId : bbsId, menuId : menuId, searchCate : searchCate, searchCateList : searchCateList, pageIndex : page}
| |
| 130 | - , dataType : "html" | |
| 131 | - , success : function(data){
| |
| 132 | - $("#box_book").append(data);
| |
| 133 | - $(".btn_more").data("page", page);
| |
| 134 | - if(lastPage == page){
| |
| 135 | - $(".btn_more").hide();
| |
| 136 | - } | |
| 137 | - }, error : function(){
| |
| 138 | - alert("데이터 불러 들이는데 실패했습니다.");
| |
| 139 | - } | |
| 140 | - }); | |
| 141 | - } | |
| 142 | - }); | |
| 143 | -}); | |
| 144 | -</script> | |
| 145 | - | |
| 146 | - <div class="textbook-top-wrap"> | |
| 147 | - <div class="textbook-slide-wrap textbookSlide" data-slick="true"> | |
| 148 | - <!-- 슬라이드 --> | |
| 149 | - <c:forEach var="result" items="${noticeList}" varStatus="status">
| |
| 150 | - <c:url var="viewUrl" value="${_PREFIX}/selectBoardArticle.do${_BASE_PARAM}">
| |
| 151 | - <c:param name="nttNo" value="${result.nttNo}" />
| |
| 152 | - <c:param name="pageIndex" value="${searchVO.pageIndex}" />
| |
| 153 | - </c:url> | |
| 154 | - <div class="textbook-contents-wrap"> | |
| 155 | - <div class="textbook-img" onclick="location.href='${viewUrl }'" style="cursor: pointer;background-image:url(<c:url value='/cmm/fms/getImage.do'/>?siteId=<c:out value="${brdMstrVO.siteId}"/>&appendPath=<c:out value="${searchVO.bbsId}"/>&atchFileNm=<c:out value="${result.atchFileNm}"/>);"></div>
| |
| 156 | - <a href="${viewUrl }">
| |
| 157 | - <div class="textbook-inner"> | |
| 158 | - <div class="textbook-flag"> | |
| 159 | - <c:set var="imgSrc"> | |
| 160 | - <c:import url="/lms/common/flag.do" charEncoding="utf-8"> | |
| 161 | - <c:param name="ctgryId" value="${result.ctgryId}"/>
| |
| 162 | - </c:import> | |
| 163 | - </c:set> | |
| 164 | - <span class="flag-img"> | |
| 165 | - <img src="${CML}/imgs/common/flag_lg/${imgSrc}" alt="국기">
| |
| 166 | - </span> | |
| 167 | - <span class="text"><c:out value="${result.ctgryNm}"/> 교재</span>
| |
| 168 | - </div> | |
| 169 | - <div class="book-name"><c:out value="${result.nttSj}"/></div>
| |
| 170 | - <dl class="book-info"> | |
| 171 | - <dt class="info-title">출판사</dt> | |
| 172 | - <dd class="info-name"><c:out value="${result.tmp01}"/></dd>
| |
| 173 | - </dl> | |
| 174 | - <dl class="book-info"> | |
| 175 | - <dt class="info-title">저자</dt> | |
| 176 | - <dd class="info-name"><c:out value="${result.tmp02}"/></dd>
| |
| 177 | - </dl> | |
| 178 | - <div class="desc dotdotdot"> | |
| 179 | - <c:out value="${result.nttCn}" escapeXml="false"/>
| |
| 180 | - </div> | |
| 181 | - </div> | |
| 182 | - </a> | |
| 183 | - </div> | |
| 184 | - </c:forEach> | |
| 185 | - </div> | |
| 186 | - <div class="textbook-app-wrap"> | |
| 187 | - <div class="appInfo"> | |
| 188 | - <div class="appLeft"> | |
| 189 | - <img class="appLogo" src="${CML}/imgs/page/subtop/img_subtop_textbook_appLogo.jpg" alt="HUFS App Logo" />
| |
| 190 | - <a class="btn_googlePlay" href="https://play.google.com/store/apps/details?id=com.hufs.essentialdictionary" target="_blank"></a> | |
| 191 | - <a class="btn_appStore" href="https://apps.apple.com/us/app/%ED%8A%B9%EC%88%98%EC%99%B8%EA%B5%AD%EC%96%B4-%ED%95%84%EC%88%98%EC%96%B4%ED%9C%98%EC%82%AC%EC%A0%84/id1489668996?l=ko&ls=1" target="_blank"></a> | |
| 192 | - </div> | |
| 193 | - <div class="appRight"> | |
| 194 | - <h3>특수외국어 필수어휘학습사전</h3> | |
| 195 | - <strong>특수외국어 교육진흥원<span>무료</span></strong> | |
| 196 | - <p>11개 언어에 대해 단어보기, 단어학습, 단어퀴즈 등<br /> 다양한 형태로 학습 방법을 제공합니다.</p> | |
| 197 | - <div class="img-wrap"> | |
| 198 | - <div><img src="${CML}/imgs/page/textbook/img_app_01.png" alt="img_app_01" /></div>
| |
| 199 | - <div><img src="${CML}/imgs/page/textbook/img_app_02.png" alt="img_app_02" /></div>
| |
| 200 | - <div><img src="${CML}/imgs/page/textbook/img_app_03.png" alt="img_app_03" /></div>
| |
| 201 | - </div> | |
| 202 | - </div> | |
| 203 | - </div> | |
| 204 | - </div> | |
| 205 | - </div> | |
| 206 | - <div class="textbook-banner-wrap"> | |
| 207 | - <!-- 배너 --> | |
| 208 | - <a href="/lms/common/app.do"> | |
| 209 | - <p>특수외국어 초급교재 및 필수어휘학습사전 <strong>무료 다운로드</strong></p> | |
| 210 | - <p class="textbook-banner">11개 특수외국어 필수어휘 학습사전 및 초급교재 샘플을 무료로 제공합니다.</p> | |
| 211 | - <img src="${CML}/imgs/page/textbook/btn_banner_more.png" alt="MORE">
| |
| 212 | - </a> | |
| 213 | - </div> | |
| 214 | - | |
| 215 | - <section class="section-gap"> | |
| 216 | - <!-- 특수외국어 출간교재 --> | |
| 217 | - <div class="main-common-title"> | |
| 218 | - <h2 class="title">특수외국어 출간교재</h2> | |
| 219 | - <p class="sub-title">특수외국어 표준 교육과정을 바탕으로 한 기초 교재부터 e-book까지 제공합니다.</p> | |
| 220 | - </div> | |
| 221 | - | |
| 222 | - <form id="frm" name="frm" method="post" action="<c:url value='${_PREFIX}/selectBoardList.do'/>">
| |
| 223 | - <input type="hidden" name="bbsId" value="<c:out value='${searchVO.bbsId}'/>" />
| |
| 224 | - <input name="menuId" type="hidden" value="<c:out value='${searchVO.menuId}'/>" />
| |
| 225 | - <input name="searchCate" type="hidden" value="<c:out value='${searchVO.searchCate}'/>" />
| |
| 226 | - <input name="searchCateList" type="hidden" value="<c:out value='${searchVO.searchCateList[0]}'/>" />
| |
| 227 | - <input name="pageIndex" type="hidden" value="<c:out value='${searchVO.pageIndex}'/>" />
| |
| 228 | - <input id="lastPage" type="hidden" value="${paginationInfo.totalPageCount}" />
| |
| 229 | - <div class="box-wrap mb-55"> | |
| 230 | - <h3 class="title-subhead"><c:out value="${brdMstrVO.bbsNm}"/> 검색</h3>
| |
| 231 | - <div class="flex-row-ten"> | |
| 232 | - <div class="flex-ten-col-4"> | |
| 233 | - <div class="ell"> | |
| 234 | - <input name="searchWrd" value="<c:out value="${searchVO.searchWrd}"/>" type="text" placeholder="교재/사전명"/>
| |
| 235 | - </div> | |
| 236 | - </div> | |
| 237 | - <div class="flex-ten-col-2"> | |
| 238 | - <div class="ell"> | |
| 239 | - <input name="searchTmp01" value="<c:out value="${searchVO.searchTmp01}"/>" type="text" placeholder="출판사 명">
| |
| 240 | - </div> | |
| 241 | - </div> | |
| 242 | - <div class="flex-ten-col-2"> | |
| 243 | - <div class="ell"> | |
| 244 | - <input name="searchTmp02" value="<c:out value="${searchVO.searchTmp02}"/>" type="text" placeholder="저자명">
| |
| 245 | - </div> | |
| 246 | - </div> | |
| 247 | - <div class="flex-ten-col-2 flex align-items-center"> | |
| 248 | - <label class="checkbox"> | |
| 249 | - <input type="checkbox" name="tmp03" value="Y" <c:if test="${searchVO.tmp03 eq 'Y'}">checked="checked"</c:if>>
| |
| 250 | - <span class="custom-checked"></span> | |
| 251 | - <span class="text">e-book</span> | |
| 252 | - </label> | |
| 253 | - </div> | |
| 254 | - </div> | |
| 255 | - <button class="btn-sm font-400 btn-point mt-20" type="submit">검색</button> | |
| 256 | - </div> | |
| 257 | - </form> | |
| 258 | - | |
| 259 | - <!-- tab style --> | |
| 260 | - <ul class="tab-wrap line-style line"> | |
| 261 | - <li class="tab-list <c:if test="${empty searchVO.searchCateList[0]}">on</c:if>">
| |
| 262 | - <a href="#" data-id="">전체</a> | |
| 263 | - </li> | |
| 264 | - <li class="tab-list <c:if test="${searchVO.searchCateList[0] eq 'MN'}">on</c:if>">
| |
| 265 | - <a href="#" data-id="MN">몽골어</a> | |
| 266 | - </li> | |
| 267 | - <li class="tab-list <c:if test="${searchVO.searchCateList[0] eq 'SW'}">on</c:if>">
| |
| 268 | - <a href="#" data-id="SW">스와힐리어</a> | |
| 269 | - </li> | |
| 270 | - <li class="tab-list <c:if test="${searchVO.searchCateList[0] eq 'UZ'}">on</c:if>">
| |
| 271 | - <a href="#" data-id="UZ">우즈베크어</a> | |
| 272 | - </li> | |
| 273 | - <li class="tab-list <c:if test="${searchVO.searchCateList[0] eq 'FA'}">on</c:if>">
| |
| 274 | - <a href="#" data-id="FA">이란어</a> | |
| 275 | - </li> | |
| 276 | - <li class="tab-list <c:if test="${searchVO.searchCateList[0] eq 'MI'}">on</c:if>">
| |
| 277 | - <a href="#" data-id="MI">말레이인도네시아어</a> | |
| 278 | - </li> | |
| 279 | - <li class="tab-list <c:if test="${searchVO.searchCateList[0] eq 'TR'}">on</c:if>">
| |
| 280 | - <a href="#" data-id="TR">터키어</a> | |
| 281 | - </li> | |
| 282 | - <li class="tab-list <c:if test="${searchVO.searchCateList[0] eq 'TH'}">on</c:if>">
| |
| 283 | - <a href="#" data-id="TH">태국어</a> | |
| 284 | - </li> | |
| 285 | - <li class="tab-list <c:if test="${searchVO.searchCateList[0] eq 'PT'}">on</c:if>">
| |
| 286 | - <a href="#" data-id="PT">포르투갈/브라질어</a> | |
| 287 | - </li> | |
| 288 | - <li class="tab-list <c:if test="${searchVO.searchCateList[0] eq 'HU'}">on</c:if>">
| |
| 289 | - <a href="#" data-id="HU">헝가리어</a> | |
| 290 | - </li> | |
| 291 | - <li class="tab-list <c:if test="${searchVO.searchCateList[0] eq 'PL'}">on</c:if>">
| |
| 292 | - <a href="#" data-id="PL">폴란드어</a> | |
| 293 | - </li> | |
| 294 | - <li class="tab-list <c:if test="${searchVO.searchCateList[0] eq 'HI'}">on</c:if>">
| |
| 295 | - <a href="#" data-id="HI">힌디어</a> | |
| 296 | - </li> | |
| 297 | - </ul> | |
| 298 | - <div class="page-content-header mb-0"> | |
| 299 | - <!-- 교재 리스트 --> | |
| 300 | - <div id="box_book"> | |
| 301 | - <c:forEach var="result" items="${resultList}" varStatus="status">
| |
| 302 | - <c:url var="viewUrl" value="${_PREFIX}/selectBoardArticle.do${_BASE_PARAM}">
| |
| 303 | - <c:param name="nttNo" value="${result.nttNo}" />
| |
| 304 | - <c:param name="pageIndex" value="${searchVO.pageIndex}" />
| |
| 305 | - </c:url> | |
| 306 | - <div class="textbook-contents-view"> | |
| 307 | - <div class="left-area"> | |
| 308 | - <div class="textbook-img" style="background-image:url(<c:url value='/cmm/fms/getImage.do'/>?siteId=<c:out value="${brdMstrVO.siteId}"/>&appendPath=<c:out value="${searchVO.bbsId}"/>&atchFileNm=<c:out value="${result.atchFileNm}"/>&width=393&height=235);"></div>
| |
| 309 | - </div> | |
| 310 | - <div class="right-area"> | |
| 311 | - <div class="textbook-inner"> | |
| 312 | - <a href="${viewUrl}">
| |
| 313 | - <div class="textbook-flag"> | |
| 314 | - <c:set var="imgSrc"> | |
| 315 | - <c:import url="/lms/common/flag.do" charEncoding="utf-8"> | |
| 316 | - <c:param name="ctgryId" value="${result.ctgryId}"/>
| |
| 317 | - </c:import> | |
| 318 | - </c:set> | |
| 319 | - <span class="flag-img"><img src="${CML}/imgs/common/flag_lg/${imgSrc}" alt="국기"></span>
| |
| 320 | - <span class="text"><c:out value="${result.ctgryNm}"/> 교재</span>
| |
| 321 | - </div> | |
| 322 | - <div class="book-name"> | |
| 323 | - <c:if test="${result.tmp03 eq 'Y'}">
| |
| 324 | - <span class="type">e-book</span> | |
| 325 | - </c:if> | |
| 326 | - <c:out value="${result.nttSj}"/>
| |
| 327 | - </div> | |
| 328 | - <dl class="book-info"> | |
| 329 | - <dt class="info-title">출판사</dt> | |
| 330 | - <dd class="info-name"><c:out value="${result.tmp01}"/></dd>
| |
| 331 | - </dl> | |
| 332 | - <dl class="book-info"> | |
| 333 | - <dt class="info-title">저자</dt> | |
| 334 | - <dd class="info-name"><c:out value="${result.tmp02}"/></dd>
| |
| 335 | - </dl> | |
| 336 | - <div class="desc dotdotdot"> | |
| 337 | - <c:out value="${result.nttCn}" escapeXml="false"/>
| |
| 338 | - </div> | |
| 339 | - </a> | |
| 340 | - </div> | |
| 341 | - <div class="textbook-button"> | |
| 342 | - <a href="${viewUrl}" class="btn-full btn-outline" target="_blank">상세보기</a>
| |
| 343 | - <a href="<c:out value="${result.tmp05}"/>" class="btn-full btn-point" target="_blank">구매하기</a>
| |
| 344 | - <div class="util-wrap"> | |
| 345 | - <button class="btn-share btnModalOpen" data-modal-type="share" onclick="location.href='http://${siteInfo.siteUrl}${viewUrl}'" data-title="<c:out value="${result.nttSj}"/>" title="공유하기"></button>
| |
| 346 | - <c:choose> | |
| 347 | - <c:when test="${not empty USER_INFO.id}">
| |
| 348 | - <c:set var="wishAt" value=""/> | |
| 349 | - <c:forEach var="wishList" items="${wishList}" varStatus="status">
| |
| 350 | - <c:if test="${wishList.trgetId eq result.nttNo}">
| |
| 351 | - <c:set var="wishAt" value="on"/> | |
| 352 | - </c:if> | |
| 353 | - </c:forEach> | |
| 354 | - <button class="btn-wishlist ${wishAt}" title="관심수강 담기" data-code="BOOK_LIKE" data-id="${result.nttNo}"></button>
| |
| 355 | - </c:when> | |
| 356 | - <c:otherwise> | |
| 357 | - <button class="btn-wishlist btnModalOpen" | |
| 358 | - data-modal-type="confirm" | |
| 359 | - data-modal-header="알림" | |
| 360 | - data-modal-text="회원가입이 필요한 서비스입니다." | |
| 361 | - data-modal-subtext="로그인 후 이용이 가능합니다. 회원가입 화면으로 이동하시겠습니까?" | |
| 362 | - data-modal-rightbtn="확인" | |
| 363 | - onclick="location.href='/uss/umt/cmm/EgovStplatCnfirmMber.do'" | |
| 364 | - title="관심수강 담기"> | |
| 365 | - </button> | |
| 366 | - </c:otherwise> | |
| 367 | - </c:choose> | |
| 368 | - </div> | |
| 369 | - </div> | |
| 370 | - </div> | |
| 371 | - </div> | |
| 372 | - </c:forEach> | |
| 373 | - </div> | |
| 374 | - <div class="mt-50 center-align"> | |
| 375 | - <button type="button" class="cursor-pointer btn_more" data-page="1"><img class="vertical-top" src="${CML}/imgs/common/btn_board_contents_more.jpg" alt="더보기"></button>
| |
| 376 | - </div> | |
| 377 | - </section> | |
| 378 | -</c:when> | |
| 379 | -<c:otherwise> | |
| 380 | - <script type="text/javascript"> | |
| 381 | - $(document).ready(function(){
| |
| 382 | - //검색 | |
| 383 | - $(".goods-search-btn").click(function(){
| |
| 384 | - $("input[name=searchWrd]").val($("#searchWrd").val());
| |
| 385 | - $("input[name=searchBgnDe]").val($("#searchBgnDe").val());
| |
| 386 | - $("input[name=searchEndDe]").val($("#searchEndDe").val());
| |
| 387 | - $("#frm").submit();
| |
| 388 | - }); | |
| 389 | - }); | |
| 390 | - </script> | |
| 391 | - <!-- 콘텐츠바디 --> | |
| 392 | - <section class="page-content-body"> | |
| 393 | - <article class="content-wrap"> | |
| 394 | - <!-- 게시판 검색영역 --> | |
| 395 | - <div class="box-wrap mb-40"> | |
| 396 | - <h3 class="title-subhead">교재 검색</h3> | |
| 397 | - <div class="flex-row-ten"> | |
| 398 | - <form id="frm" name="frm" method="post" action="<c:url value='${_PREFIX}/selectBoardList.do'/>">
| |
| 399 | - <input type="hidden" name="bbsId" value="<c:out value='${searchVO.bbsId}'/>" />
| |
| 400 | - <input name="menuId" type="hidden" value="<c:out value='${searchVO.menuId}'/>" />
| |
| 401 | - <input name="searchCate" type="hidden" value="<c:out value='${searchVO.searchCate}'/>" />
| |
| 402 | - <input name="searchCnd" type="hidden" value="0" /> | |
| 403 | - <input name="searchWrd" type="hidden" value="<c:out value="${searchVO.searchWrd}"/>"/>
| |
| 404 | - <input name="searchBgnDe" type="hidden" value="<c:out value="${searchVO.searchBgnDe}"/>"/>
| |
| 405 | - <input name="searchEndDe" type="hidden" value="<c:out value="${searchVO.searchEndDe}"/>"/>
| |
| 406 | - </form> | |
| 407 | - <div class="flex-ten-col-4"> | |
| 408 | - <div class="desc"> | |
| 409 | - <input type="text" id="searchBgnDe" class="ell date datepicker type2" placeholder="등록일" value="<c:out value="${searchVO.searchBgnDe}"/>">
| |
| 410 | - <i>~</i> | |
| 411 | - <input type="text" id="searchEndDe" class="ell date datepicker type2" placeholder="등록일" value="<c:out value="${searchVO.searchEndDe}"/>">
| |
| 412 | - </div> | |
| 413 | - | |
| 414 | - </div> | |
| 415 | - <div class="flex-ten-col-2"> | |
| 416 | - <div class="ell"> | |
| 417 | - <select name="searchCate" id="searchCate" class="select2" data-select="style3" data-placeholder="교재명"> | |
| 418 | - <option value=""></option> | |
| 419 | - <option value="0">교재명</option> | |
| 420 | - </select> | |
| 421 | - </div> | |
| 422 | - </div> | |
| 423 | - <div class="flex-ten-col-4"> | |
| 424 | - <div class="ell"> | |
| 425 | - <input id="searchWrd" type="text" placeholder="제목을 입력해보세요."> | |
| 426 | - </div> | |
| 427 | - </div> | |
| 428 | - </div> | |
| 429 | - | |
| 430 | - <button class="btn-sm font-400 btn-point mt-20 goods-search-btn">검색</button> | |
| 431 | - </div> | |
| 432 | - </article> | |
| 433 | - <article class="content-wrap"> | |
| 434 | - <!-- 게시판 --> | |
| 435 | - <div class="content-body"> | |
| 436 | - <!-- 테이블영역--> | |
| 437 | - <table class="common-table-wrap table-type-board"> | |
| 438 | - <colgroup> | |
| 439 | - <col style='width:7%'> | |
| 440 | - <col style='width:12%'> | |
| 441 | - <col style='width:12%'> | |
| 442 | - <col> | |
| 443 | - <col style='width:12%'> | |
| 444 | - <col style='width:12%'> | |
| 445 | - <col style='width:100px'> | |
| 446 | - </colgroup> | |
| 447 | - <thead> | |
| 448 | - <tr class='bg-light-gray font-700'> | |
| 449 | - <th scope='col'>No</th> | |
| 450 | - <th scope='col'>책표지</th> | |
| 451 | - <th scope='col'>언어</th> | |
| 452 | - <th scope='col'>교재명</th> | |
| 453 | - <th scope='col'>출판사</th> | |
| 454 | - <th scope='col'>저자</th> | |
| 455 | - <th scope='col'>등록일</th> | |
| 456 | - </tr> | |
| 457 | - </thead> | |
| 458 | - <tbody> | |
| 459 | - <c:forEach var="result" items="${resultList}" varStatus="status">
| |
| 460 | - | |
| 461 | - <tr class=""> | |
| 462 | - <td scope='row'>${status.count}</td>
| |
| 463 | - <td class='book-img-wrap'><img class='vertical-mid' src='${CML}/imgs/common/${result.atchFileNm}'></td>
| |
| 464 | - <td>${result.ctgryNm}</td>
| |
| 465 | - <td><a href="/cop/bbs/selectBoardArticle.do?nttNo=${result.nttNo}&menuId=MNU_0000000000000008&bbsId=BBSMSTR_000000000005&pageIndex=${searchVO.pageIndex}" target="_blank">${result.nttSj}</a></td>
| |
| 466 | - <td>${result.tmp01}</td>
| |
| 467 | - <td>${result.tmp02}</td>
| |
| 468 | - <td><fmt:formatDate value="${result.frstRegisterPnttm}" pattern="yyyy-MM-dd"/></td>
| |
| 469 | - </tr> | |
| 470 | - </c:forEach> | |
| 471 | - <c:if test="${fn:length(resultList) == 0}">
| |
| 472 | - <tr class="empty"><td colspan="7"><spring:message code="common.nodata.msg" /></td></tr> | |
| 473 | - </c:if> | |
| 474 | - </tbody> | |
| 475 | - </table> | |
| 476 | - <div class="right-align mt-20"> | |
| 477 | - <c:url var="addBoardArticleUrl" value="${_PREFIX}/addBoardArticle.do${_BASE_PARAM}">
| |
| 478 | - <c:param name="registAction" value="regist" /> | |
| 479 | - </c:url> | |
| 480 | - <a href="${addBoardArticleUrl}" class="btn-point btn-sm">교재 신규등록</a>
| |
| 481 | - </div> | |
| 482 | - <div class="pagination center-align"> | |
| 483 | - <div class="pagination-inner-wrap overflow-hidden inline-block"> | |
| 484 | - <c:url var="startUrl" value="${_PREFIX}/selectBoardList.do${_BASE_PARAM}">
| |
| 485 | - <c:param name="pageIndex" value="1" /> | |
| 486 | - </c:url> | |
| 487 | - <button class="start" data-url="${startUrl}"></button>
| |
| 488 | - | |
| 489 | - <c:url var="prevUrl" value="${_PREFIX}/selectBoardList.do${_BASE_PARAM}">
| |
| 490 | - <c:param name="pageIndex" value="${searchVO.pageIndex > 1 ? searchVO.pageIndex - 1 : 1}"/>
| |
| 491 | - </c:url> | |
| 492 | - <button class="prev" data-url="${prevUrl}"></button>
| |
| 493 | - | |
| 494 | - <ul class="paginate-list f-l overflow-hidden"> | |
| 495 | - <c:url var="pageUrl" value="${_PREFIX}/selectBoardList.do${_BASE_PARAM}"/>
| |
| 496 | - <c:set var="pagingParam"><c:out value="${pageUrl}"/></c:set>
| |
| 497 | - <ui:pagination paginationInfo="${paginationInfo}" type="smart_school" jsFunction="${pagingParam}" />
| |
| 498 | - </ul> | |
| 499 | - | |
| 500 | - <c:url var="nextUrl" value="${_PREFIX}/selectBoardList.do${_BASE_PARAM}">
| |
| 501 | - <c:param name="pageIndex" value="${searchVO.pageIndex < paginationInfo.totalPageCount ? searchVO.pageIndex + 1 : searchVO.pageIndex}" />
| |
| 502 | - </c:url> | |
| 503 | - <button class="next" data-url="${nextUrl}"></button>
| |
| 504 | - | |
| 505 | - <c:url var="endUrl" value="${_PREFIX}/selectBoardList.do${_BASE_PARAM}">
| |
| 506 | - <c:param name="pageIndex" value="${paginationInfo.totalPageCount}"/>
| |
| 507 | - </c:url> | |
| 508 | - <button class="end" data-url="${endUrl}"></button>
| |
| 509 | - </div> | |
| 510 | - </div> | |
| 511 | - </div> | |
| 512 | - </article> | |
| 513 | - </section> | |
| 514 | - </div> | |
| 515 | -</div> | |
| 516 | -</div> | |
| 517 | -</div> | |
| 518 | -</c:otherwise> | |
| 519 | -</c:choose> | |
| 520 | - | |
| 521 | -<c:import url="/msi/tmplatBottom.do" charEncoding="utf-8"> | |
| 522 | - <c:param name="modalAt" value="Y"/> | |
| 523 | - <c:param name="shareAt" value="Y"/> | |
| 524 | -</c:import> | |
| 525 | - | |
| 526 | -</c:when> | |
| 527 | -<c:otherwise> | |
| 528 | - | |
| 529 | -<!DOCTYPE html> | |
| 530 | -<html lang="ko"> | |
| 531 | -<head> | |
| 532 | - <!--================================================= | |
| 533 | - 메타 태그 | |
| 534 | - ==================================================--> | |
| 535 | - <meta charset="UTF-8"> | |
| 536 | - <meta http-equiv="X-UA-Compatible" content="ie=edge"> | |
| 537 | - | |
| 538 | - <title></title> | |
| 539 | - | |
| 540 | - <meta name="title" content=""> | |
| 541 | - <meta name="description" content=""> | |
| 542 | - <meta name="keywords" content=""> | |
| 543 | - | |
| 544 | - <meta property="og:type" content="website"> | |
| 545 | - <meta property="og:title" content=""> | |
| 546 | - <meta property="og:description" content=""> | |
| 547 | - <meta property="og:image" content=""> | |
| 548 | - <meta property="og:url" content=""> | |
| 549 | - | |
| 550 | - <!--================================================= | |
| 551 | - 파비콘 | |
| 552 | - ==================================================--> | |
| 553 | - <link rel="shortcut icon" href=""> | |
| 554 | - | |
| 555 | - <!--================================================= | |
| 556 | - 공통 스타일시트 | |
| 557 | - ==================================================--> | |
| 558 | - <link href="/template/lms/font/font.css" rel="stylesheet"><!-- 나눔스퀘어 --> | |
| 559 | - <link href="https://fonts.googleapis.com/css?family=Poppins:300,400,500,600,700&display=swap" rel="stylesheet"> <!-- Poppins --> | |
| 560 | - <link href="https://cdnjs.cloudflare.com/ajax/libs/font-awesome/4.4.0/css/font-awesome.min.css" rel="stylesheet" type="text/css"> | |
| 561 | - <link rel="stylesheet" href="/template/lms/lib/froala_editor/froala_editor.pkgd.min.css"><!-- froala_editor --> | |
| 562 | - <link rel="stylesheet" href="/template/lms/lib/slick/slick.css"><!-- slick --> | |
| 563 | - <link rel="stylesheet" href="/template/lms/lib/jquery_ui/jquery-ui.css"> | |
| 564 | - <link rel="stylesheet" href="/template/lms/lib/daterangepicker/daterangepicker.css"> | |
| 565 | - <!--daterangepicker --> | |
| 566 | - | |
| 567 | - <link rel="stylesheet" href="/template/lms/css/common/base.css?v=1"> | |
| 568 | - <link rel="stylesheet" href="/template/lms/css/common/common.css?v=1"> | |
| 569 | - <link rel="stylesheet" href="/template/lms/css/common/board.css?v=1"> | |
| 570 | - | |
| 571 | - <!--================================================= | |
| 572 | - 페이지별 스타일시트 | |
| 573 | - ==================================================--> | |
| 574 | - <link rel="stylesheet" href="/template/lms/css/textbook/textbook.css?v=2"> | |
| 575 | - <link rel="stylesheet" href="/template/lms/css/textbook/textbook.1.1.css?v=2"> | |
| 576 | - <link rel="stylesheet" href="/template/lms/css/common/modal.css?v=2"> | |
| 577 | - | |
| 578 | - <!--================================================= | |
| 579 | - 공통 스크립트 | |
| 580 | - ==================================================--> | |
| 581 | - <script src="/template/lms/lib/jquery-3.3.1/jquery-3.3.1.min.js"></script><!-- 제이쿼리 --> | |
| 582 | - <script src="/template/lms/lib/select2/select2.min.js"></script><!-- select2 --> | |
| 583 | - <script src="/template/lms/lib/slick/slick.js"></script><!-- slick --> | |
| 584 | - <script src="/template/lms/lib/slick/slick.min.js"></script><!-- slick --> | |
| 585 | - <script src="/template/lms/lib/jquery_ui/jquery-ui.js"></script> | |
| 586 | - <script src="/template/lms/lib/froala_editor/froala_editor.pkgd.min.js"></script><!-- froala_editor --> | |
| 587 | - <script src="/template/lms/lib/dotdotdot/jquery.dotdotdot.min.js"></script><!-- dotdotdot(말줄임) --> | |
| 588 | - <script src="/template/lms/lib/daterangepicker/daterangepicker.js"></script> | |
| 589 | - <!--daterangepicker --> | |
| 590 | - | |
| 591 | - <script src="/template/lms/js/common.js?v=1"></script> | |
| 592 | - <!--================================================= | |
| 593 | - 페이지별 스크립트 | |
| 594 | - ==================================================--> | |
| 595 | - <script src="/template/lms/js/textbook/textbook.js?v=1"></script> | |
| 596 | -</head> | |
| 597 | - | |
| 598 | -<body> | |
| 599 | -<script> | |
| 600 | -$(document).ready(function(){
| |
| 601 | - $(".add_book").click(function(){
| |
| 602 | - var id = $(this).data("id"),
| |
| 603 | - sj = $(this).data("sj"),
| |
| 604 | - publish = $(this).data("publish");
| |
| 605 | - | |
| 606 | - | |
| 607 | - window.opener.addbook(id, sj, publish); | |
| 608 | - window.close(); | |
| 609 | - return false; | |
| 610 | - }); | |
| 611 | -}); | |
| 612 | -</script> | |
| 613 | -<section class="area"> | |
| 614 | - <section class="section-gap"> | |
| 615 | - <div class="page-content-header mb-0"> | |
| 616 | - <!-- 교재 리스트 --> | |
| 617 | - <c:forEach var="result" items="${resultList}" varStatus="status">
| |
| 618 | - <div class="textbook-contents-view"> | |
| 619 | - <div class="left-area"> | |
| 620 | - <div class="textbook-img" style="background-image:url(<c:url value='/cmm/fms/getImage.do'/>?siteId=<c:out value="${brdMstrVO.siteId}"/>&appendPath=<c:out value="${searchVO.bbsId}"/>&atchFileNm=<c:out value="${result.atchFileNm}"/>);"></div>
| |
| 621 | - </div> | |
| 622 | - <div class="right-area"> | |
| 623 | - <div class="textbook-inner"> | |
| 624 | - <a href="#" class="add_book" data-id="${result.nttNo}" data-sj="${result.nttSj}" data-publish="${result.tmp01}">
| |
| 625 | - <div class="textbook-flag"> | |
| 626 | - <c:set var="imgSrc"> | |
| 627 | - <c:import url="/lms/common/flag.do" charEncoding="utf-8"> | |
| 628 | - <c:param name="ctgryId" value="${result.ctgryId}"/>
| |
| 629 | - </c:import> | |
| 630 | - </c:set> | |
| 631 | - <span class="flag-img"><img src="${CML}/imgs/common/flag_lg/${imgSrc}" alt="국기"></span>
| |
| 632 | - <span class="text"><c:out value="${result.ctgryNm}"/> 교재</span>
| |
| 633 | - </div> | |
| 634 | - <div class="book-name"> | |
| 635 | - <c:if test="${result.tmp03 eq 'Y'}">
| |
| 636 | - <span class="type">e-book</span> | |
| 637 | - </c:if> | |
| 638 | - <c:out value="${result.nttSj}"/>
| |
| 639 | - </div> | |
| 640 | - <dl class="book-info"> | |
| 641 | - <dt class="info-title">출판사</dt> | |
| 642 | - <dd class="info-name"><c:out value="${result.tmp01}"/></dd>
| |
| 643 | - </dl> | |
| 644 | - <dl class="book-info"> | |
| 645 | - <dt class="info-title">저자</dt> | |
| 646 | - <dd class="info-name"><c:out value="${result.tmp02}"/></dd>
| |
| 647 | - </dl> | |
| 648 | - <div class="desc dotdotdot"> | |
| 649 | - <c:out value="${result.nttCn}" escapeXml="false"/>
| |
| 650 | - </div> | |
| 651 | - </a> | |
| 652 | - </div> | |
| 653 | - </div> | |
| 654 | - </div> | |
| 655 | - </c:forEach> | |
| 656 | - </div> | |
| 657 | - </section> | |
| 658 | - </section> | |
| 659 | -</body> | |
| 660 | -</html> | |
| 661 | -</c:otherwise> | |
| 662 | -</c:choose> |
--- base/src/main/webapp/WEB-INF/jsp/egovframework/str/cre/bbs/sourc/BBSSRC_0000000000003/EgovNoticeRegist.jsp
... | ... | @@ -1,378 +0,0 @@ |
| 1 | -<%@ page language="java" contentType="text/html; charset=utf-8" pageEncoding="utf-8"%> | |
| 2 | -<%@ taglib prefix="c" uri="http://java.sun.com/jsp/jstl/core" %> | |
| 3 | -<%@ taglib prefix="ui" uri="http://egovframework.gov/ctl/ui"%> | |
| 4 | -<%@ taglib uri="http://java.sun.com/jsp/jstl/functions" prefix="fn" %> | |
| 5 | -<%@ taglib prefix="spring" uri="http://www.springframework.org/tags"%> | |
| 6 | -<%@ taglib prefix="form" uri="http://www.springframework.org/tags/form" %> | |
| 7 | -<%@ page import="egovframework.com.sec.ram.security.userdetails.util.EgovUserDetailsHelper"%> | |
| 8 | -<c:set var="_C_CSS" value="/template/common/css"/> | |
| 9 | -<c:set var="_C_JS" value="/template/common/js"/> | |
| 10 | -<c:set var="_IMG" value="${BbsFileStoreWebPathByWebFile}${brdMstrVO.tmplatId }/images"/>
| |
| 11 | -<c:set var="_C_LIB" value="/lib"/> | |
| 12 | - | |
| 13 | -<c:set var="CML" value="/template/lms"/> | |
| 14 | - | |
| 15 | -<c:set var="_PREFIX" value="/cop/bbs"/> | |
| 16 | -<c:set var="_EDITOR_ID" value="nttCn"/> | |
| 17 | -<c:set var="_ACTION" value=""/> | |
| 18 | - | |
| 19 | -<c:choose> | |
| 20 | - <c:when test="${searchVO.registAction eq 'regist' }">
| |
| 21 | - <c:set var="_ACTION" value="${pageContext.request.contextPath}${_PREFIX}/insertBoardArticle.do"/>
| |
| 22 | - </c:when> | |
| 23 | - <c:when test="${searchVO.registAction eq 'updt' }">
| |
| 24 | - <c:set var="_ACTION" value="${pageContext.request.contextPath}${_PREFIX}/updateBoardArticle.do"/>
| |
| 25 | - </c:when> | |
| 26 | - <c:when test="${searchVO.registAction eq 'reply' }">
| |
| 27 | - <c:set var="_ACTION" value="${pageContext.request.contextPath}${_PREFIX}/replyBoardArticle.do"/>
| |
| 28 | - </c:when> | |
| 29 | -</c:choose> | |
| 30 | - | |
| 31 | - | |
| 32 | -<c:set var="SE_CODE" value="01" /> | |
| 33 | -<c:if test="${not empty USER_INFO.id}">
| |
| 34 | - <c:set var="SE_CODE" value="${USER_INFO.userSe}" />
| |
| 35 | -</c:if> | |
| 36 | - | |
| 37 | -<c:import url="/msi/tmplatHead.do" charEncoding="utf-8"> | |
| 38 | - <c:param name="BBS_TMPLATID" value="${brdMstrVO.tmplatId }"/>
| |
| 39 | - <c:param name="tableCssAt" value="Y"/> | |
| 40 | -</c:import> | |
| 41 | - | |
| 42 | -<script src="${_C_LIB}/tinymce/js/tinymce/jquery.tinymce.min.js"></script>
| |
| 43 | -<script src="${_C_LIB}/tinymce/js/tinymce/tinymce.min.js"></script>
| |
| 44 | - | |
| 45 | - | |
| 46 | -<script src="${_C_LIB}/upload/upload.js?v=1" ></script>
| |
| 47 | -<script src="${_C_JS}/board.js?v=1" ></script>
| |
| 48 | - | |
| 49 | -<link rel="stylesheet" href="${_C_LIB}/jquery-ui-1.12.1.custom/jquery-ui.css">
| |
| 50 | -<script src="${_C_LIB}/jquery/jquery.ui.widget.js"></script>
| |
| 51 | -<script src="${_C_LIB}/upload/jquery.iframe-transport.js"></script>
| |
| 52 | -<script src="${_C_LIB}/upload/jquery.fileupload.js"></script>
| |
| 53 | -<script src="${_C_LIB}/upload/jquery.fileupload-process.js"></script>
| |
| 54 | -<script src="${_C_LIB}/upload/jquery.fileupload-image.js"></script>
| |
| 55 | -<script src="${_C_LIB}/upload/jquery.fileupload-audio.js"></script>
| |
| 56 | -<script src="${_C_LIB}/upload/jquery.fileupload-video.js"></script>
| |
| 57 | -<script src="${_C_LIB}/upload/jquery.fileupload-validate.js"></script>
| |
| 58 | -<script src="${_C_LIB}/upload/jquery.fileupload-ui.js"></script>
| |
| 59 | - | |
| 60 | -<script src="${_C_JS}/board.js" ></script>
| |
| 61 | -<script> | |
| 62 | -function fn_egov_regist() {
| |
| 63 | - | |
| 64 | - tinyMCE.triggerSave(); | |
| 65 | - | |
| 66 | - <c:if test="${searchVO.registAction ne 'reply'}">
| |
| 67 | - if($.trim($('#${_EDITOR_ID}').val()) == "") {
| |
| 68 | - alert('<spring:message code="cop.nttCn" />은(는) 필수 입력값입니다');
| |
| 69 | - tinyMCE.activeEditor.focus(); | |
| 70 | - return false; | |
| 71 | - } | |
| 72 | - </c:if> | |
| 73 | - | |
| 74 | - $('#fileGroupId').val($('#fileGroupId_${_EDITOR_ID}').val());
| |
| 75 | - | |
| 76 | - <c:if test="${!empty brdMstrVO.ctgrymasterId and searchVO.registAction ne 'reply'}">
| |
| 77 | - for(var cmIdx = 1 ; cmIdx <= boardCateLevel ; cmIdx++){
| |
| 78 | - var cmObj = document.getElementById("ctgry" + cmIdx);
| |
| 79 | - if(cmObj != null) {
| |
| 80 | - if(fn_egov_SelectBoxValue("ctgry" + cmIdx) != '') {
| |
| 81 | - document.board.ctgryId.value = fn_egov_SelectBoxValue("ctgry" + cmIdx);
| |
| 82 | - } | |
| 83 | - } | |
| 84 | - } | |
| 85 | - </c:if> | |
| 86 | - | |
| 87 | - <c:choose> | |
| 88 | - <c:when test="${searchVO.registAction eq 'updt'}">
| |
| 89 | - if (!confirm('<spring:message code="common.update.msg" />')) {
| |
| 90 | - return false | |
| 91 | - } | |
| 92 | - </c:when> | |
| 93 | - <c:otherwise> | |
| 94 | - if (!confirm('<spring:message code="common.regist.msg" />')) {
| |
| 95 | - return false; | |
| 96 | - } | |
| 97 | - </c:otherwise> | |
| 98 | - </c:choose> | |
| 99 | -} | |
| 100 | - | |
| 101 | -<c:if test="${!empty brdMstrVO.ctgrymasterId and searchVO.registAction ne 'reply'}">
| |
| 102 | - var boardCateLevel = <c:out value='${boardCateLevel}'/>;
| |
| 103 | - var boardCateList = new Array(${fn:length(boardCateList)});
| |
| 104 | - <c:forEach var="cate" items="${boardCateList}" varStatus="status">
| |
| 105 | - boardCateList[${status.index}] = new ctgryObj('<c:out value='${cate.upperCtgryId}'/>', '<c:out value='${cate.ctgryId}'/>', '<c:out value='${cate.ctgryNm}'/>', <c:out value='${cate.ctgryLevel}'/>);
| |
| 106 | - </c:forEach> | |
| 107 | -</c:if> | |
| 108 | - | |
| 109 | - | |
| 110 | -$(document).ready( function() {
| |
| 111 | - var adfile_config = {
| |
| 112 | - siteId:"<c:out value='${brdMstrVO.siteId}'/>",
| |
| 113 | - pathKey:"Board", | |
| 114 | - appendPath:"<c:out value='${brdMstrVO.bbsId}'/>",
| |
| 115 | - editorId:"${_EDITOR_ID}",
| |
| 116 | - fileAtchPosblAt:"${brdMstrVO.fileAtchPosblAt}",
| |
| 117 | - maxMegaFileSize:${brdMstrVO.posblAtchFileSize},
| |
| 118 | - atchFileId:"${board.atchFileId}"
| |
| 119 | - }; | |
| 120 | - | |
| 121 | - fnCtgryInit('<c:out value='${board.ctgryPathById}'/>');
| |
| 122 | - fn_egov_bbs_editor(adfile_config); | |
| 123 | -}); | |
| 124 | -</script> | |
| 125 | - | |
| 126 | -<link rel="stylesheet" href="${CML}/css/common/base.css?v=1">
| |
| 127 | - <link rel="stylesheet" href="${CML}/css/common/common_staff.css?v=1">
| |
| 128 | - <link rel="stylesheet" href="${CML}/css/common/board_staff.css?v=1">
| |
| 129 | - | |
| 130 | - <!--================================================= | |
| 131 | - 페이지별 스타일시트 | |
| 132 | - ==================================================--> | |
| 133 | - <link rel="stylesheet" href="${CML}/css/common/table_staff.css?v=2">
| |
| 134 | - | |
| 135 | - <form:form commandName="board" name="board" method="post" action="${_ACTION}" enctype="multipart/form-data" onsubmit="return fn_egov_regist()">
| |
| 136 | - <input name="pageIndex" type="hidden" value="<c:out value='${searchVO.pageIndex}'/>"/>
| |
| 137 | - <input type="hidden" name="cal_url" value="<c:url value='/sym/cmm/EgovNormalCalPopup.do'/>" /> | |
| 138 | - <input type="hidden" id="posblAtchFileNumber_${_EDITOR_ID}" name="posblAtchFileNumber_${_EDITOR_ID}" value="${brdMstrVO.posblAtchFileNumber}" />
| |
| 139 | - <input type="hidden" id="posblAtchFileSize_${_EDITOR_ID}" name="posblAtchFileSize_${_EDITOR_ID}" value="${brdMstrVO.posblAtchFileSize * 1024 * 1024}" />
| |
| 140 | - <input type="hidden" id="fileGroupId" name="fileGroupId" value="${board.atchFileId}"/>
| |
| 141 | - <input type="hidden" name="bbsId" value="<c:out value='${brdMstrVO.bbsId}'/>" />
| |
| 142 | - <input name="menuId" type="hidden" value="<c:out value='${searchVO.menuId}'/>" />
| |
| 143 | - <input type="hidden" name="registAction" value="<c:out value='${searchVO.registAction}'/>"/>
| |
| 144 | - <input type="hidden" name="tmplatImportAt" value="<c:out value='${searchVO.tmplatImportAt}'/>"/>
| |
| 145 | - | |
| 146 | - <form:hidden path="nttNo"/> | |
| 147 | - <form:hidden path="ctgryId"/> | |
| 148 | - <%-- | |
| 149 | - <form:hidden path="ordrCode"/> | |
| 150 | - <form:hidden path="ordrCodeDp"/> | |
| 151 | - --%> | |
| 152 | - <form:hidden path="atchFileId"/> | |
| 153 | - | |
| 154 | - <c:choose> | |
| 155 | - <c:when test="${brdMstrVO.bbsAttrbCode eq 'BBSA11' and searchVO.registAction eq 'reply'}">
| |
| 156 | - | |
| 157 | - </c:when> | |
| 158 | - <c:otherwise> | |
| 159 | - <section class="page-content-body"> | |
| 160 | - <article class="content-wrap"> | |
| 161 | - | |
| 162 | - <table class="common-table-wrap table-style2 mb-20"> | |
| 163 | - <tbody> | |
| 164 | - <tr> | |
| 165 | - <th class="title">교재명</th> | |
| 166 | - <td> | |
| 167 | - <div class="flex-row"> | |
| 168 | - <div class="flex-col-12"> | |
| 169 | - <input type="text" id="nttSj" name="nttSj" class="table-input" value="" placeholder="교재명을 입력해주세요."> | |
| 170 | - </div> | |
| 171 | - </div> | |
| 172 | - </td> | |
| 173 | - </tr> | |
| 174 | - <tr> | |
| 175 | - <th class="title">언어</th> | |
| 176 | - <td> | |
| 177 | - <c:forEach var="ctgryLevel" begin="1" end="${boardCateLevel}" step="1" varStatus="status">
| |
| 178 | - <c:choose> | |
| 179 | - <c:when test="${status.first}">
| |
| 180 | - <select name="regCateList" id="ctgry${ctgryLevel}" class="table-select select2">
| |
| 181 | - <option value=""><spring:message code="cop.select" /></option> | |
| 182 | - <c:forEach var="cate" items="${boardCateList}">
| |
| 183 | - <c:if test="${cate.ctgryLevel eq 1 }">
| |
| 184 | - <option value="${cate.ctgryId}">${cate.ctgryNm}</option>
| |
| 185 | - </c:if> | |
| 186 | - </c:forEach> | |
| 187 | - </select> | |
| 188 | - </c:when> | |
| 189 | - <c:otherwise></c:otherwise> | |
| 190 | - </c:choose> | |
| 191 | - </c:forEach> | |
| 192 | - </td> | |
| 193 | - </tr> | |
| 194 | - <tr> | |
| 195 | - <th class="title">출판사</th> | |
| 196 | - <td> | |
| 197 | - <div class="flex-row"> | |
| 198 | - <div class="flex-col-12"> | |
| 199 | - <input type="text" name="tmp01" id="tmp01" class="table-input" value="" placeholder="출판사를 입력해주세요."/> | |
| 200 | - </div> | |
| 201 | - </div> | |
| 202 | - </td> | |
| 203 | - </tr> | |
| 204 | - | |
| 205 | - <tr> | |
| 206 | - <th class="title">저자</th> | |
| 207 | - <td> | |
| 208 | - <div class="flex-row"> | |
| 209 | - <div class="flex-col-12"> | |
| 210 | - <input type="text" id="tmp02" name="tmp02" class="table-input" value="" placeholder="저자를 입력해주세요."> | |
| 211 | - </div> | |
| 212 | - </div> | |
| 213 | - </td> | |
| 214 | - </tr> | |
| 215 | - <tr> | |
| 216 | - <th class="title">책표지</th> | |
| 217 | - <td> | |
| 218 | - <div class="flex-row"> | |
| 219 | - <div class="flex-col-12"> | |
| 220 | - <input name="file_1" id="egovComFileUploader" type="file" class="inp" /><br/> | |
| 221 | - <span>권장사이즈 395 * 240</span> | |
| 222 | - <c:import url="/cmm/fms/selectImageFileInfs.do" charEncoding="utf-8"> | |
| 223 | - <c:param name="atchFileId" value="${board.atchFileId}" />
| |
| 224 | - <c:param name="mngAt" value="Y"/> | |
| 225 | - <c:param name="bbsId" value="${brdMstrVO.bbsId}"/>
| |
| 226 | - <c:param name="siteId" value="${brdMstrVO.siteId}"/>
| |
| 227 | - <c:param name="width" value="395"/> | |
| 228 | - <c:param name="height" value="240"/> | |
| 229 | - </c:import> | |
| 230 | - </div> | |
| 231 | - </div> | |
| 232 | - </td> | |
| 233 | - </tr> | |
| 234 | - <tr> | |
| 235 | - <th class="title">구매URL</th> | |
| 236 | - <td> | |
| 237 | - <div class="flex-row"> | |
| 238 | - <div class="flex-col-12"> | |
| 239 | - <input type="text" id="tmp05" name="tmp05" class="table-input" value="" placeholder="구매URL를 입력해주세요."> | |
| 240 | - </div> | |
| 241 | - </div> | |
| 242 | - </td> | |
| 243 | - </tr> | |
| 244 | - <tr> | |
| 245 | - <th class="title">키워드</th> | |
| 246 | - <td> | |
| 247 | - <div class="flex-row"> | |
| 248 | - <div class="flex-col-12"> | |
| 249 | - <input type="text" id="tmp04" name="tmp04" class="table-input" value="" placeholder="키워드를 입력해주세요."> | |
| 250 | - </div> | |
| 251 | - </div> | |
| 252 | - </td> | |
| 253 | - </tr> | |
| 254 | - <tr> | |
| 255 | - <th class="title">E-Book 여부</th> | |
| 256 | - <td> | |
| 257 | - <div class="flex-row"> | |
| 258 | - <div class="flex-col-auto"> | |
| 259 | - <label class="checkbox circle"> | |
| 260 | - <input type="radio" name="tmp03" value="Y" class="table-checkbox" checked> | |
| 261 | - <span class="custom-checked"></span> | |
| 262 | - <span class="text">예</span> | |
| 263 | - </label> | |
| 264 | - </div> | |
| 265 | - <div class="flex-col-auto"> | |
| 266 | - <label class="checkbox circle"> | |
| 267 | - <input type="radio" name="tmp03" value="N" class="table-checkbox"> | |
| 268 | - <span class="custom-checked"></span> | |
| 269 | - <span class="text">아니오</span> | |
| 270 | - </label> | |
| 271 | - </div> | |
| 272 | - </div> | |
| 273 | - </td> | |
| 274 | - </tr> | |
| 275 | - <tr> | |
| 276 | - <th class="title">학습자료로 공개</th> | |
| 277 | - <td> | |
| 278 | - <div class="flex-row"> | |
| 279 | - <div class="flex-col-auto"> | |
| 280 | - <label class="checkbox circle"> | |
| 281 | - <input type="radio" name="tmp06" value="Y" class="table-checkbox" checked> | |
| 282 | - <span class="custom-checked"></span> | |
| 283 | - <span class="text">공개</span> | |
| 284 | - </label> | |
| 285 | - </div> | |
| 286 | - <div class="flex-col-auto"> | |
| 287 | - <label class="checkbox circle"> | |
| 288 | - <input type="radio" name="tmp06" value="N" class="table-checkbox"> | |
| 289 | - <span class="custom-checked"></span> | |
| 290 | - <span class="text">비공개</span> | |
| 291 | - </label> | |
| 292 | - </div> | |
| 293 | - </div> | |
| 294 | - </td> | |
| 295 | - </tr> | |
| 296 | - <tr> | |
| 297 | - <th class="title">메인노출 여부</th> | |
| 298 | - <td> | |
| 299 | - <div class="flex-row"> | |
| 300 | - <div class="flex-col-auto"> | |
| 301 | - <label class="checkbox circle"> | |
| 302 | - <input type="radio" name="noticeAt" value="Y" class="table-checkbox" checked> | |
| 303 | - <span class="custom-checked"></span> | |
| 304 | - <span class="text">예</span> | |
| 305 | - </label> | |
| 306 | - </div> | |
| 307 | - <div class="flex-col-auto"> | |
| 308 | - <label class="checkbox circle"> | |
| 309 | - <input type="radio" name="noticeAt" value="N" class="table-checkbox"> | |
| 310 | - <span class="custom-checked"></span> | |
| 311 | - <span class="text">아니오</span> | |
| 312 | - </label> | |
| 313 | - </div> | |
| 314 | - </div> | |
| 315 | - </td> | |
| 316 | - </tr> | |
| 317 | - </tbody> | |
| 318 | - </table> | |
| 319 | - <div> | |
| 320 | - <form:textarea path="nttCn" rows="20" cssClass="cont"/><form:errors path="nttCn" /> | |
| 321 | - </div> | |
| 322 | - </article> | |
| 323 | - </section> | |
| 324 | - </c:otherwise> | |
| 325 | - </c:choose> | |
| 326 | - | |
| 327 | - | |
| 328 | - <c:if test="${brdMstrVO.fileAtchPosblAt eq 'Y' and searchVO.registAction ne 'reply'}">
| |
| 329 | - <div class="mt-20"> | |
| 330 | - <c:import url="/cmm/fms/selectFileInfsForUpdate.do" charEncoding="utf-8"> | |
| 331 | - <c:param name="editorId" value="${_EDITOR_ID}"/>
| |
| 332 | - <c:param name="estnAt" value="${brdMstrVO.bbsAttrbCode eq 'BBSA11' and searchVO.registAction eq 'reply' ? 'Y' : 'N'}" />
| |
| 333 | - <c:param name="param_atchFileId" value="${board.atchFileId}" />
| |
| 334 | - <c:param name="imagePath" value="${_IMG }"/>
| |
| 335 | - <c:param name="regAt" value="Y"/> | |
| 336 | - <c:param name="commonAt" value="Y"/> | |
| 337 | - </c:import> | |
| 338 | - </div> | |
| 339 | - </c:if> | |
| 340 | - | |
| 341 | - <!-- 하단버튼 --> | |
| 342 | - <div class="page-btn-wrap mt-20"> | |
| 343 | - <div class="left-area"> | |
| 344 | - <c:url var="selectBoardListUrl" value="${_PREFIX}/selectBoardList.do">
| |
| 345 | - <c:param name="menuId" value="${searchVO.menuId}" />
| |
| 346 | - <c:param name="bbsId" value="${brdMstrVO.bbsId}" />
| |
| 347 | - <c:param name="pageIndex" value="${searchVO.pageIndex}" />
| |
| 348 | - <c:if test="${not empty searchVO.searchCate}"><c:param name="searchCate" value="${searchVO.searchCate}" /></c:if>
| |
| 349 | - <c:if test="${not empty searchVO.searchCnd}"><c:param name="searchCnd" value="${searchVO.searchCnd}" /></c:if>
| |
| 350 | - <c:if test="${not empty searchVO.searchWrd}"><c:param name="searchWrd" value="${searchVO.searchWrd}" /></c:if>
| |
| 351 | - <c:if test="${not empty searchVO.tmplatImportAt}"><c:param name="tmplatImportAt" value="${searchVO.tmplatImportAt}"/></c:if>
| |
| 352 | - </c:url> | |
| 353 | - <a href="${selectBoardListUrl}" class="btn-sm btn-outline-gray font-basic">목록으로</a>
| |
| 354 | - </div> | |
| 355 | - <div class="right-area"> | |
| 356 | - <!-- <button href="#" class="btn-sm btn-outline-gray font-basic">취소</button> --> | |
| 357 | - <button href="#" class="btn-sm btn-point"> | |
| 358 | - <c:choose> | |
| 359 | - <c:when test="${searchVO.registAction eq 'regist' and SE_CODE >= brdMstrVO.registAuthor}"><spring:message code="button.create"/></c:when>
| |
| 360 | - <c:when test="${searchVO.registAction eq 'updt' and SE_CODE >= brdMstrVO.registAuthor}"><spring:message code="button.update"/></c:when>
| |
| 361 | - <c:when test="${searchVO.registAction eq 'reply' and SE_CODE >= brdMstrVO.registAuthor}"><spring:message code="button.reply"/></c:when>
| |
| 362 | - </c:choose> | |
| 363 | - </button> | |
| 364 | - </div> | |
| 365 | - | |
| 366 | - </div> | |
| 367 | - </form:form> | |
| 368 | -</div> | |
| 369 | - | |
| 370 | -<c:choose> | |
| 371 | - <c:when test="${searchVO.tmplatImportAt ne 'N'}">
| |
| 372 | - <c:import url="/msi/tmplatBottom.do" charEncoding="utf-8"/> | |
| 373 | - </c:when> | |
| 374 | - <c:otherwise> | |
| 375 | - </body> | |
| 376 | - </html> | |
| 377 | - </c:otherwise> | |
| 378 | -</c:choose>(파일 끝에 줄바꿈 문자 없음) |
--- base/src/main/webapp/WEB-INF/jsp/egovframework/str/cre/bbs/sourc/BBSSRC_0000000000004/EgovCommentList.jsp
... | ... | @@ -1,177 +0,0 @@ |
| 1 | -<%@ page language="java" contentType="text/html; charset=utf-8" pageEncoding="utf-8"%> | |
| 2 | -<%@ page import="egovframework.com.cmm.service.EgovProperties" %> | |
| 3 | -<%@ taglib prefix="c" uri="http://java.sun.com/jsp/jstl/core" %> | |
| 4 | -<%@ taglib prefix="ui" uri="http://egovframework.gov/ctl/ui"%> | |
| 5 | -<%@ taglib uri="http://java.sun.com/jsp/jstl/functions" prefix="fn" %> | |
| 6 | -<%@ taglib prefix="spring" uri="http://www.springframework.org/tags"%> | |
| 7 | -<%@ taglib prefix="form" uri="http://www.springframework.org/tags/form" %> | |
| 8 | -<%@ taglib prefix="fmt" uri="http://java.sun.com/jsp/jstl/fmt" %> | |
| 9 | -<%@ taglib prefix="validator" uri="http://www.springmodules.org/tags/commons-validator" %> | |
| 10 | -<%pageContext.setAttribute("crlf", "\r\n"); %>
| |
| 11 | -<c:set var="_C_JS" value="/template/common/js"/> | |
| 12 | -<c:set var="_C_IMG" value="/template/common/images"/> | |
| 13 | -<c:set var="_IMG" value="${BbsFileStoreWebPathByWebFile}${brdMstrVO.tmplatId }/images"/>
| |
| 14 | - | |
| 15 | -<c:set var="_PREFIX" value="/cop/bbs"/> | |
| 16 | - | |
| 17 | -<c:set var="SE_CODE" value="01" /> | |
| 18 | -<c:if test="${not empty USER_INFO.id}">
| |
| 19 | - <c:set var="SE_CODE" value="${USER_INFO.userSe}" />
| |
| 20 | -</c:if> | |
| 21 | - | |
| 22 | -<% /*URL 정의*/ %> | |
| 23 | -<c:url var="_BASE_PARAM" value=""> | |
| 24 | - <c:param name="nttNo" value="${param.nttNo}" />
| |
| 25 | - <c:param name="bbsId" value="${param.bbsId}" />
| |
| 26 | - <c:if test="${not empty param.pageIndex}"><c:param name="pageIndex" value="${param.pageIndex}" /></c:if>
| |
| 27 | - <c:if test="${not empty param.searchCate}"><c:param name="searchCate" value="${param.searchCate}" /></c:if>
| |
| 28 | - <c:if test="${not empty param.searchCnd}"><c:param name="searchCnd" value="${param.searchCnd}" /></c:if>
| |
| 29 | - <c:if test="${not empty param.searchWrd}"><c:param name="searchWrd" value="${param.searchWrd}" /></c:if>
| |
| 30 | - <c:if test="${not empty param.tmplatImportAt}"><c:param name="tmplatImportAt" value="${param.tmplatImportAt}"/></c:if>
| |
| 31 | - <c:param name="menuId" value="${param.menuId}"/>
| |
| 32 | - <c:param name="trgetId" value="${param.trgetId}" />
| |
| 33 | - <c:forEach var="searchCate" items="${searchVO.searchCateList}" varStatus="statusCate">
| |
| 34 | - <c:if test="${not empty searchCate}">
| |
| 35 | - <c:param name="searchCateList" value="${searchCate}" />
| |
| 36 | - </c:if> | |
| 37 | - </c:forEach> | |
| 38 | -</c:url> | |
| 39 | -<% /*URL 정의*/ %> | |
| 40 | - | |
| 41 | -<script type="text/javascript" src="<c:url value="/validator.do"/>"></script> | |
| 42 | -<validator:javascript formName="comment" staticJavascript="false" xhtml="true" cdata="false"/> | |
| 43 | -<script type="text/javascript"> | |
| 44 | -function fn_egov_insert_commentList(frm) {
| |
| 45 | - if (!validateComment(frm)){
| |
| 46 | - return false; | |
| 47 | - } | |
| 48 | - | |
| 49 | - if (!confirm('<spring:message code="common.regist.msg" />')) {
| |
| 50 | - return false; | |
| 51 | - } | |
| 52 | -} | |
| 53 | - | |
| 54 | -function fn_egov_deleteCommentList(url) {
| |
| 55 | - | |
| 56 | - if (confirm('<spring:message code="common.delete.msg" />')) {
| |
| 57 | - document.location.href = url; | |
| 58 | - } | |
| 59 | -} | |
| 60 | - | |
| 61 | -function addComment(commentNo, num, ordrCode, ordrCodeDp) {
| |
| 62 | - jQuery(".commentPopup").hide();
| |
| 63 | - jQuery(".commentPopup").html("");
| |
| 64 | - jQuery("#replyComment"+num).html(
| |
| 65 | - "<div class='comment'>"+ | |
| 66 | - "<div class='comment_inp'>"+ | |
| 67 | - "<form name='commentVO' action='${_PREFIX}/insertReplyComment.do' method='post' onsubmit='return fn_egov_insert_commentList(this);'>"+
| |
| 68 | - "<input type='hidden' name='tmplatImportAt' value='<c:out value="${param.tmplatImportAt}"/>'/>" +
| |
| 69 | - <c:if test="${not empty param.pageIndex}">"<input type='hidden' name='pageIndex' value='<c:out value="${param.pageIndex}"/>'/>" + </c:if>
| |
| 70 | - "<input type='hidden' name='bbsId' value='<c:out value="${param.bbsId}"/>' />" +
| |
| 71 | - "<input name='menuId' type='hidden' value='<c:out value="${param.menuId}"/>' />" +
| |
| 72 | - "<input name='trgetId' type='hidden' value='<c:out value="${param.trgetId}"/>' />" +
| |
| 73 | - "<input name='searchCnd' type='hidden' value='<c:out value="${param.searchCnd}"/>'/>" +
| |
| 74 | - "<input name='searchWrd' type='hidden' value='<c:out value="${param.searchWrd}"/>'/>" +
| |
| 75 | - "<input name='searchCate' type='hidden' value='<c:out value="${param.searchCate}"/>'/>" +
| |
| 76 | - "<input name='subPageIndex' type='hidden' value='<c:out value="${searchVO.subPageIndex}"/>' />" +
| |
| 77 | - "<input name='modified' type='hidden' value='false'/>" + | |
| 78 | - "<input name='confirmPassword' type='hidden'/>" + | |
| 79 | - "<input type='hidden' name='nttNo' value='<c:out value="${param.nttNo}"/>'/>"+
| |
| 80 | - "<input type='hidden' name='commentNo' value='" + commentNo + "'/>"+ | |
| 81 | - "<input type='hidden' name='ordrCode' value='" + ordrCode + "'/>"+ | |
| 82 | - "<input type='hidden' name='ordrCodeDp' value='" + ordrCodeDp + "'/>"+ | |
| 83 | - "<textarea name='commentCn' rows='0' cols='0' maxlength='2000' placeholder='<spring:message code="cop.comment"/>을 입력하세요.'></textarea>"+ | |
| 84 | - "<span class='bbtn_input'><input type='submit' value='<spring:message code="button.create"/>'/></span>" + | |
| 85 | - "</form>"+ | |
| 86 | - "</div>"+ | |
| 87 | - "<p><spring:message code='cop.comment.msg' /></p>"+ | |
| 88 | - "</div>" | |
| 89 | - | |
| 90 | - ); | |
| 91 | - jQuery("#replyComment"+num).show();
| |
| 92 | - return false; | |
| 93 | -} | |
| 94 | -</script> | |
| 95 | - <div class="bbs_reply"> | |
| 96 | - <c:forEach var="result" items="${resultList}" varStatus="status">
| |
| 97 | - <div class="reply type<c:out value="${result.ordrCodeDp+1 }"/>">
| |
| 98 | - <strong><c:out value="${result.wrterNm}" /></strong>
| |
| 99 | - <span class="date"><fmt:formatDate value="${result.frstRegisterPnttm}" pattern="yyyy-MM-dd"/>
| |
| 100 | - <c:if test="${SE_CODE >= brdMstrVO.registAuthor}">
| |
| 101 | - <a href="#reply_txt" onclick="return addComment(${result.commentNo}, ${status.count}, '${result.ordrCode }', ${result.ordrCodeDp });"><img src="${_IMG}/btn_reply_re.gif" alt="<spring:message code="button.reply"/>" /></a>
| |
| 102 | - </c:if> | |
| 103 | - <c:if test="${not empty USER_INFO.id and result.frstRegisterId eq USER_INFO.id}">
| |
| 104 | - <c:url var="delUrl" value="${_PREFIX}/deleteComment.do${_BASE_PARAM}">
| |
| 105 | - <c:param name="commentNo" value="${result.commentNo}" />
| |
| 106 | - <c:param name="subPageIndex" value="${searchVO.subPageIndex}" />
| |
| 107 | - <c:param name="modified" value="true" /> | |
| 108 | - </c:url> | |
| 109 | - <a href="<c:out value="${delUrl}"/>" onclick="fn_egov_deleteCommentList(this.href);return false;"><img src="${_IMG}/btn_delete.gif" alt="<spring:message code="button.delete"/>" /></a>
| |
| 110 | - </c:if> | |
| 111 | - </span> | |
| 112 | - <p class="reply_cont"> | |
| 113 | - <c:set var="cn" value="${fn:escapeXml(result.commentCn)}"/>
| |
| 114 | - <c:set var="cn" value="${fn:replace(cn , crlf , '<br/>')}"/>
| |
| 115 | - <c:out value="${cn}" escapeXml="false" />
| |
| 116 | - </p> | |
| 117 | - </div> | |
| 118 | - <div id="replyComment${status.count }" style="display:none" class="commentPopup"></div>
| |
| 119 | - </c:forEach> | |
| 120 | - </div> | |
| 121 | - <c:if test="${fn:length(resultList) ne 0}">
| |
| 122 | - <div id="paging"> | |
| 123 | - <c:url var="pageUrl" value="${_PREFIX}/selectBoardArticle.do${_BASE_PARAM}">
| |
| 124 | - </c:url> | |
| 125 | - <c:set var="pagingParam"><c:out value="${pageUrl}"/></c:set>
| |
| 126 | - <ui:pagination paginationInfo="${paginationInfo}" type="smart_001_sub" jsFunction="${pagingParam}" />
| |
| 127 | - </div> | |
| 128 | - </c:if> | |
| 129 | - | |
| 130 | - <div class="comment"> | |
| 131 | - <c:choose> | |
| 132 | - <c:when test="${not empty USER_INFO.id and SE_CODE >= brdMstrVO.registAuthor}">
| |
| 133 | - <div class="comment_inp"> | |
| 134 | - <form name="comment" id="comment" method="post" action="<c:url value='${_PREFIX}/insertComment.do'/>" onsubmit="return fn_egov_insert_commentList(this);">
| |
| 135 | - <c:if test="${not empty param.pageIndex}"><input type="hidden" name="pageIndex" value="<c:out value='${param.pageIndex}'/>"/></c:if>
| |
| 136 | - <input type="hidden" name="bbsId" value="<c:out value='${param.bbsId}'/>" />
| |
| 137 | - <input type="hidden" name="nttNo" value="<c:out value='${param.nttNo}'/>" />
| |
| 138 | - | |
| 139 | - <input name="searchCnd" type="hidden" value="<c:out value="${param.searchCnd}"/>"/>
| |
| 140 | - <input name="searchWrd" type="hidden" value="<c:out value="${param.searchWrd}"/>"/>
| |
| 141 | - <input name="searchCate" type="hidden" value="<c:out value="${param.searchCate}"/>"/>
| |
| 142 | - <input name="tmplatImportAt" type="hidden" value="<c:out value="${param.tmplatImportAt}"/>"/>
| |
| 143 | - | |
| 144 | - <input type="hidden" name="menuId" value="<c:out value='${param.menuId}'/>"/>
| |
| 145 | - <c:forEach var="searchCate" items="${searchVO.searchCateList}" varStatus="statusCate">
| |
| 146 | - <c:if test="${not empty searchCate}">
| |
| 147 | - <input name="searchCateList" type="hidden" value="<c:out value="${searchCate}"/>"/>
| |
| 148 | - </c:if> | |
| 149 | - </c:forEach> | |
| 150 | - | |
| 151 | - <input name="commentNo" type="hidden" value="<c:out value='${searchVO.commentNo}'/>"/>
| |
| 152 | - <input name="modified" type="hidden" value="false"/> | |
| 153 | - <input name="confirmPassword" type="hidden"/> | |
| 154 | - | |
| 155 | - <strong><spring:message code="cop.comment.write"/></strong> | |
| 156 | - <textarea name="commentCn" rows="0" cols="0" maxlength="2000" placeholder="<spring:message code="cop.comment"/>을 입력하세요."></textarea> | |
| 157 | - <span class="bbtn_input"><input type="submit" value="<spring:message code="button.create"/>" /></span> | |
| 158 | - <p><spring:message code='cop.comment.msg' /></p> | |
| 159 | - </form> | |
| 160 | - </div> | |
| 161 | - </c:when> | |
| 162 | - <c:otherwise> | |
| 163 | - <div class="comment_inp"> | |
| 164 | - <strong><spring:message code="cop.comment.write"/></strong> | |
| 165 | - <textarea name="commentCn" rows="0" cols="0" readonly="readonly"><spring:message code="cop.comment"/>을 작성하시려면 로그인이 필요합니다.</textarea> | |
| 166 | - <span class="bbtn_input"><a href="#"><spring:message code="button.create"/></a></span> | |
| 167 | - <p><spring:message code='cop.comment.msg' /></p> | |
| 168 | - </div> | |
| 169 | - </c:otherwise> | |
| 170 | - </c:choose> | |
| 171 | - </div> | |
| 172 | - | |
| 173 | - <c:if test="${not empty subMsg}">
| |
| 174 | - <script type="text/javascript"> | |
| 175 | - alert("<c:out value='${subMsg}'/>");
| |
| 176 | - </script> | |
| 177 | - </c:if>(파일 끝에 줄바꿈 문자 없음) |
--- base/src/main/webapp/WEB-INF/jsp/egovframework/str/cre/bbs/sourc/BBSSRC_0000000000004/EgovNoticeInqire.jsp
... | ... | @@ -1,165 +0,0 @@ |
| 1 | -<%@ page language="java" contentType="text/html; charset=utf-8" pageEncoding="utf-8"%> | |
| 2 | -<%@ page import="egovframework.com.cmm.service.EgovProperties"%> | |
| 3 | -<%@ taglib prefix="c" uri="http://java.sun.com/jsp/jstl/core"%> | |
| 4 | -<%@ taglib prefix="ui" uri="http://egovframework.gov/ctl/ui"%> | |
| 5 | -<%@ taglib uri="http://java.sun.com/jsp/jstl/functions" prefix="fn"%> | |
| 6 | -<%@ taglib prefix="spring" uri="http://www.springframework.org/tags"%> | |
| 7 | -<%@ taglib prefix="form" uri="http://www.springframework.org/tags/form"%> | |
| 8 | -<%@ taglib prefix="fmt" uri="http://java.sun.com/jsp/jstl/fmt" %> | |
| 9 | -<c:set var="IS_MOBILE"><%=egovframework.com.utl.fcc.service.EgovHttpUtil.getIsMobile(request)%></c:set> | |
| 10 | -<c:set var="TEMPLATE_PATH" value="${IS_MOBILE ? 'mbl' : 'web'}"/>
| |
| 11 | -<c:set var="_WEB_FULL_PATH" value="http://${siteInfo.siteUrl}"/>
| |
| 12 | -<c:set var="_IMG" value="${BbsFileStoreWebPathByWebFile}${brdMstrVO.tmplatId }/images"/>
| |
| 13 | -<c:set var="_C_CSS" value="/template/common/css"/> | |
| 14 | -<c:set var="_C_JS" value="${_WEB_FULL_PATH}/template/common/js"/>
| |
| 15 | -<c:set var="_C_IMG" value="/template/common/images"/> | |
| 16 | - | |
| 17 | -<c:set var="_PREFIX" value="/cop/bbs"/> | |
| 18 | - | |
| 19 | -<% /*URL 정의*/ %> | |
| 20 | -<c:url var="_BASE_PARAM" value=""> | |
| 21 | - <c:param name="pageIndex" value="${searchVO.pageIndex}" />
| |
| 22 | - <c:param name="bbsId" value="${board.bbsId}" />
| |
| 23 | - <c:param name="menuId" value="${searchVO.menuId}"/>
| |
| 24 | - <c:if test="${not empty searchVO.searchCate}"><c:param name="searchCate" value="${searchVO.searchCate}" /></c:if>
| |
| 25 | - <c:if test="${not empty searchVO.searchCnd}"><c:param name="searchCnd" value="${searchVO.searchCnd}" /></c:if>
| |
| 26 | - <c:if test="${not empty searchVO.searchWrd}"><c:param name="searchWrd" value="${searchVO.searchWrd}" /></c:if>
| |
| 27 | - <c:if test="${not empty searchVO.tmplatImportAt}"><c:param name="tmplatImportAt" value="${searchVO.tmplatImportAt}"/></c:if>
| |
| 28 | - <c:if test="${not empty searchVO.viewType}"><c:param name="viewType" value="${searchVO.viewType}"/></c:if>
| |
| 29 | - <c:forEach var="searchCate" items="${searchVO.searchCateList}" varStatus="statusCate">
| |
| 30 | - <c:if test="${not empty searchCate}">
| |
| 31 | - <c:param name="searchCateList" value="${searchCate}" />
| |
| 32 | - </c:if> | |
| 33 | - </c:forEach> | |
| 34 | -</c:url> | |
| 35 | -<% /*URL 정의*/ %> | |
| 36 | - | |
| 37 | -<c:import url="/msi/tmplatHead.do" charEncoding="utf-8"> | |
| 38 | - <c:param name="BBS_TMPLATID" value="${brdMstrVO.tmplatId }"/>
| |
| 39 | - <c:param name="tableCssAt" value="Y"/> | |
| 40 | - <c:param name="contTitleAt" value="N"/> | |
| 41 | -</c:import> | |
| 42 | - | |
| 43 | -<c:set var="SE_CODE" value="01" /> | |
| 44 | -<c:if test="${not empty USER_INFO.id}">
| |
| 45 | - <c:set var="SE_CODE" value="${USER_INFO.userSe}" />
| |
| 46 | -</c:if> | |
| 47 | - | |
| 48 | -<script src="${_C_JS}/board.js" ></script>
| |
| 49 | -<script> | |
| 50 | - $(document).ready(function(){
| |
| 51 | - $('#btnBbsDelete').click(function() {
| |
| 52 | - var href = $(this).data("href");
| |
| 53 | - $(".btnModalConfirm").click(function(){
| |
| 54 | - location.href = href; | |
| 55 | - }); | |
| 56 | - return false; | |
| 57 | - }); | |
| 58 | - }); | |
| 59 | -</script> | |
| 60 | - | |
| 61 | -<!-- 게시물--> | |
| 62 | -<section class="board-view-wrap"> | |
| 63 | - <!-- 제목 --> | |
| 64 | - <article class="board-title-wrap"> | |
| 65 | - <div class="main-common-title3"> | |
| 66 | - <h2 class="title"><c:out value="${board.nttSj}" /></h2>
| |
| 67 | - </div> | |
| 68 | - <div class="board-info-wrap"> | |
| 69 | - <dl class="item"> | |
| 70 | - <dt class="title">등록일</dt> | |
| 71 | - <dd class="desc"><fmt:formatDate value="${board.frstRegisterPnttm}" pattern="yyyy.MM.dd"/></dd>
| |
| 72 | - </dl> | |
| 73 | - </div> | |
| 74 | - </article> | |
| 75 | - <!-- 내용 --> | |
| 76 | - <article class="board-content-wrap"> | |
| 77 | - <div class="board-editor-content"> | |
| 78 | - <!-- 에디터영역 --> | |
| 79 | - <div id="froala_editor" class="froala-read-only"> | |
| 80 | - <c:out value="${board.nttCn}" escapeXml="false" />
| |
| 81 | - </div> | |
| 82 | - </div> | |
| 83 | - </article> | |
| 84 | -</section> | |
| 85 | -<hr class="line-hr mb-20"> | |
| 86 | - | |
| 87 | -<!-- 첨부파일 --> | |
| 88 | -<c:if test="${not empty board.atchFileId}">
| |
| 89 | - <c:import url="/cmm/fms/selectFileInfs.do" charEncoding="utf-8"> | |
| 90 | - <c:param name="param_atchFileId" value="${board.atchFileId}" />
| |
| 91 | - <c:param name="imagePath" value="${_IMG }"/>
| |
| 92 | - </c:import> | |
| 93 | -</c:if> | |
| 94 | - | |
| 95 | -<%-- 답변 글 --%> | |
| 96 | -<c:if test="${brdMstrVO.bbsAttrbCode eq 'BBSA11' and board.processSttusCode eq 'QA03'}">
| |
| 97 | - <%-- | |
| 98 | - <c:if test="${not empty board.estnAtchFileId}">
| |
| 99 | - <dl class="file_view"> | |
| 100 | - <dt><spring:message code="cop.atchFileList" /></dt> | |
| 101 | - <dd> | |
| 102 | - <c:if test="${not empty board.estnAtchFileId}">
| |
| 103 | - <c:import url="/cmm/fms/selectFileInfs.do" charEncoding="utf-8"> | |
| 104 | - <c:param name="param_atchFileId" value="${board.estnAtchFileId}" />
| |
| 105 | - <c:param name="imagePath" value="${_IMG }"/>
| |
| 106 | - </c:import> | |
| 107 | - </c:if> | |
| 108 | - </dd> | |
| 109 | - </dl> | |
| 110 | - </c:if> | |
| 111 | - --%> | |
| 112 | - <c:if test="${not empty board.estnData}">
| |
| 113 | - | |
| 114 | - <div class="view_cont"> | |
| 115 | - <c:out value="${board.estnParseData.cn}" escapeXml="false" />
| |
| 116 | - </div> | |
| 117 | - | |
| 118 | - <hr class="line-hr mb-20"> | |
| 119 | - </c:if> | |
| 120 | -</c:if> | |
| 121 | - | |
| 122 | -<!-- 하단버튼 --> | |
| 123 | -<div class="page-btn-wrap mt-10"> | |
| 124 | - <div class="left-area"> | |
| 125 | - <a href="<c:url value="${_PREFIX}/selectBoardList.do${_BASE_PARAM}"/>" class="btn-sm btn-outline-gray font-basic">목록</a>
| |
| 126 | - </div> | |
| 127 | - | |
| 128 | - <c:if test="${not empty USER_INFO.id}">
| |
| 129 | - <div class="right-area"> | |
| 130 | - <c:if test="${brdMstrVO.replyPosblAt eq 'Y' and SE_CODE >= brdMstrVO.answerAuthor}">
| |
| 131 | - <c:url var="addReplyBoardArticleUrl" value="${_PREFIX}/addReplyBoardArticle.do${_BASE_PARAM}">
| |
| 132 | - <c:param name="nttNo" value="${board.nttNo}" />
| |
| 133 | - <c:param name="registAction" value="reply" /> | |
| 134 | - </c:url> | |
| 135 | - <a href="<c:out value="${addReplyBoardArticleUrl}"/>" class="btn-sm btn-outline-gray font-basic" title="<spring:message code="button.reply"/>(<c:out value="${brdMstrVO.bbsNm }"/>)"><spring:message code="button.reply"/></a>
| |
| 136 | - </c:if> | |
| 137 | - <c:if test="${board.frstRegisterId eq USER_INFO.id or SE_CODE >= 10}">
| |
| 138 | - <%-- | |
| 139 | - <c:url var="forUpdateBoardArticleUrl" value="${_PREFIX}/forUpdateBoardArticle.do${_BASE_PARAM}">
| |
| 140 | - <c:param name="nttNo" value="${board.nttNo}" />
| |
| 141 | - <c:param name="registAction" value="updt" /> | |
| 142 | - </c:url> | |
| 143 | - <span class="bbtn"><a href="<c:out value="${forUpdateBoardArticleUrl}"/>" title="<spring:message code="button.update"/>(<c:out value="${brdMstrVO.bbsNm }"/>)"><spring:message code="button.update"/></a></span>
| |
| 144 | - --%> | |
| 145 | - <c:url var="deleteBoardArticleUrl" value="${_PREFIX}/deleteBoardArticle.do${_BASE_PARAM}">
| |
| 146 | - <c:param name="nttNo" value="${board.nttNo}" />
| |
| 147 | - </c:url> | |
| 148 | - <button id="btnBbsDelete" onclick="location.href='<c:out value="${deleteBoardArticleUrl}"/>'" class="btn-sm btn-outline-gray font-basic btnModalOpen" data-modal-type="confirm" data-modal-header="알림" data-modal-text="삭제된 글은 복구가 불가능합니다. <br>글을 삭제하시겠습니까?" data-modal-rightbtn="확인">삭제</button>
| |
| 149 | - </c:if> | |
| 150 | - | |
| 151 | - </div> | |
| 152 | - </c:if> | |
| 153 | -</div> | |
| 154 | - | |
| 155 | -<c:choose> | |
| 156 | - <c:when test="${searchVO.tmplatImportAt ne 'N'}">
| |
| 157 | - <c:import url="/msi/tmplatBottom.do" charEncoding="utf-8"> | |
| 158 | - <c:param name="modalAt" value="Y"/> | |
| 159 | - </c:import> | |
| 160 | - </c:when> | |
| 161 | - <c:otherwise> | |
| 162 | - </body> | |
| 163 | - </html> | |
| 164 | - </c:otherwise> | |
| 165 | -</c:choose>(파일 끝에 줄바꿈 문자 없음) |
--- base/src/main/webapp/WEB-INF/jsp/egovframework/str/cre/bbs/sourc/BBSSRC_0000000000004/EgovNoticeList.jsp
... | ... | @@ -1,268 +0,0 @@ |
| 1 | -<%@ page language="java" contentType="text/html; charset=utf-8" pageEncoding="utf-8"%> | |
| 2 | -<%@ page import="egovframework.com.cmm.service.EgovProperties"%> | |
| 3 | -<%@ taglib prefix="c" uri="http://java.sun.com/jsp/jstl/core"%> | |
| 4 | -<%@ taglib prefix="ui" uri="http://egovframework.gov/ctl/ui"%> | |
| 5 | -<%@ taglib uri="http://java.sun.com/jsp/jstl/functions" prefix="fn"%> | |
| 6 | -<%@ taglib prefix="spring" uri="http://www.springframework.org/tags"%> | |
| 7 | -<%@ taglib prefix="form" uri="http://www.springframework.org/tags/form"%> | |
| 8 | -<%@ taglib prefix="fmt" uri="http://java.sun.com/jsp/jstl/fmt" %> | |
| 9 | -<c:set var="IS_MOBILE"><%=egovframework.com.utl.fcc.service.EgovHttpUtil.getIsMobile(request)%></c:set> | |
| 10 | -<c:set var="TEMPLATE_PATH" value="${IS_MOBILE ? 'mbl' : 'web'}"/>
| |
| 11 | -<c:set var="_WEB_FULL_PATH" value="http://${siteInfo.siteUrl}"/>
| |
| 12 | -<c:set var="_IMG" value="${BbsFileStoreWebPathByWebFile}${brdMstrVO.tmplatId }/images"/>
| |
| 13 | -<c:set var="_C_CSS" value="/template/common/css"/> | |
| 14 | -<c:set var="_C_JS" value="/template/common/js"/> | |
| 15 | -<c:set var="_C_IMG" value="/template/common/images"/> | |
| 16 | -<c:set var="CML" value="/template/lms"/> | |
| 17 | - | |
| 18 | -<c:set var="_PREFIX" value="/cop/bbs"/> | |
| 19 | - | |
| 20 | -<% /*URL 정의*/ %> | |
| 21 | -<c:url var="_BASE_PARAM" value=""> | |
| 22 | - <c:param name="menuId" value="${searchVO.menuId}"/>
| |
| 23 | - <c:param name="bbsId" value="${searchVO.bbsId}" />
| |
| 24 | - <c:if test="${fn:length(searchVO.searchCateList) ne 0}">
| |
| 25 | - <c:forEach var="searchCate" items="${searchVO.searchCateList}" varStatus="statusCate">
| |
| 26 | - <c:if test="${not empty searchCate}">
| |
| 27 | - <c:param name="searchCateList" value="${searchCate}" />
| |
| 28 | - </c:if> | |
| 29 | - </c:forEach> | |
| 30 | - </c:if> | |
| 31 | - <c:if test="${not empty searchVO.searchCate}"><c:param name="searchCate" value="${searchVO.searchCate}" /></c:if>
| |
| 32 | - <c:if test="${not empty searchVO.searchCnd}"><c:param name="searchCnd" value="${searchVO.searchCnd}" /></c:if>
| |
| 33 | - <c:if test="${not empty searchVO.searchWrd}"><c:param name="searchWrd" value="${searchVO.searchWrd}" /></c:if>
| |
| 34 | - <c:if test="${not empty searchVO.tmplatImportAt}"><c:param name="tmplatImportAt" value="${searchVO.tmplatImportAt}"/></c:if>
| |
| 35 | - <c:if test="${not empty searchVO.viewType}"><c:param name="viewType" value="${searchVO.viewType}"/></c:if>
| |
| 36 | -</c:url> | |
| 37 | -<% /*URL 정의*/ %> | |
| 38 | - | |
| 39 | -<c:choose> | |
| 40 | - <c:when test="${searchVO.tmplatImportAt ne 'N'}">
| |
| 41 | - <c:import url="/msi/tmplatHead.do" charEncoding="utf-8"> | |
| 42 | - <c:param name="BBS_TMPLATID" value="${brdMstrVO.tmplatId }"/>
| |
| 43 | - </c:import> | |
| 44 | - </c:when> | |
| 45 | - <c:otherwise> | |
| 46 | - | |
| 47 | - </c:otherwise> | |
| 48 | -</c:choose> | |
| 49 | - | |
| 50 | -<c:set var="SE_CODE" value="01" /> | |
| 51 | -<c:if test="${not empty USER_INFO.id}">
| |
| 52 | - <c:set var="SE_CODE" value="${USER_INFO.userSe}" />
| |
| 53 | -</c:if> | |
| 54 | - | |
| 55 | -<script type="text/javascript" src="${_C_JS}/board.js" ></script>
| |
| 56 | -<script type="text/javascript"> | |
| 57 | -$(document).ready(function(){
| |
| 58 | - $('#btnBbsWrite').click(function() {fn_egov_addNotice(this.href);return false;});
| |
| 59 | - | |
| 60 | - //페이징 버튼 | |
| 61 | - $(".start, .prev, .next, .end").click(function(){
| |
| 62 | - var url = $(this).data("url");
| |
| 63 | - | |
| 64 | - location.href = url; | |
| 65 | - }); | |
| 66 | - | |
| 67 | - //검색 | |
| 68 | - $(".goods-search-btn").click(function(){
| |
| 69 | - $("input[name=searchWrd]").val($("#searchWrd").val());
| |
| 70 | - $("input[name=searchBgnDe]").val($("#searchBgnDe").val());
| |
| 71 | - $("input[name=searchEndDe]").val($("#searchEndDe").val());
| |
| 72 | - $("#frm").submit();
| |
| 73 | - }); | |
| 74 | -}); | |
| 75 | -</script> | |
| 76 | - | |
| 77 | -<c:choose> | |
| 78 | - <c:when test="${searchVO.menuId eq 'MNU_0000000000000104'}">
| |
| 79 | - <section class="page-content-body"> | |
| 80 | - <article class="content-wrap"> | |
| 81 | - <div class="box-wrap mb-40"> | |
| 82 | - <h3 class="title-subhead">K-MOOC 검색</h3> | |
| 83 | - <div class="flex-row-ten"> | |
| 84 | - <form id="frm" name="frm" method="post" action="<c:url value='${_PREFIX}/selectBoardList.do'/>">
| |
| 85 | - <input type="hidden" name="bbsId" value="<c:out value='${searchVO.bbsId}'/>" />
| |
| 86 | - <input name="menuId" type="hidden" value="<c:out value='${searchVO.menuId}'/>" />
| |
| 87 | - <input name="searchCate" type="hidden" value="<c:out value='${searchVO.searchCate}'/>" />
| |
| 88 | - <input name="searchCnd" type="hidden" value="0" /> | |
| 89 | - <input name="searchWrd" type="hidden" value="<c:out value="${searchVO.searchWrd}"/>"/>
| |
| 90 | - <input name="searchBgnDe" type="hidden" value="<c:out value="${searchVO.searchBgnDe}"/>"/>
| |
| 91 | - <input name="searchEndDe" type="hidden" value="<c:out value="${searchVO.searchEndDe}"/>"/>
| |
| 92 | - </form> | |
| 93 | - | |
| 94 | - <div class="flex-ten-col-4"> | |
| 95 | - <div class="desc"> | |
| 96 | - <input type="text" id="searchBgnDe" class="ell date datepicker type2" placeholder="등록일" value="<c:out value="${searchVO.searchBgnDe}"/>">
| |
| 97 | - <i>~</i> | |
| 98 | - <input type="text" id="searchEndDe" class="ell date datepicker type2" placeholder="등록일" value="<c:out value="${searchVO.searchEndDe}"/>">
| |
| 99 | - </div> | |
| 100 | - | |
| 101 | - </div> | |
| 102 | - <div class="flex-ten-col-2"> | |
| 103 | - <div class="ell"> | |
| 104 | - <select name="" id="" class="select2" data-select="style3" data-placeholder="제목"> | |
| 105 | - <option value=""></option> | |
| 106 | - <option value="0">제목</option> | |
| 107 | - </select> | |
| 108 | - </div> | |
| 109 | - </div> | |
| 110 | - <div class="flex-ten-col-4"> | |
| 111 | - <div class="ell"> | |
| 112 | - <input type="text" id="searchWrd" placeholder="제목을 입력해보세요." value="<c:out value="${searchVO.searchWrd}"/>">
| |
| 113 | - </div> | |
| 114 | - </div> | |
| 115 | - | |
| 116 | - </div> | |
| 117 | - | |
| 118 | - <button class="btn-sm font-400 btn-point mt-20 goods-search-btn">검색</button> | |
| 119 | - </div> | |
| 120 | - </article> | |
| 121 | - <article class="content-wrap"> | |
| 122 | - <div class="flex-row board-video-thumb-wrap"> | |
| 123 | - <c:forEach var="result" items="${resultList}" varStatus="status">
| |
| 124 | - <div class="flex-col-4"> | |
| 125 | - <a href="<c:out value="${result.tmp05}"/>" target="_blank">
| |
| 126 | - <c:set var="imgSrc"> | |
| 127 | - <c:choose> | |
| 128 | - <c:when test="${empty result.atchFileNm}">${CML}/imgs/common/img_no_image.svg</c:when>
| |
| 129 | - <c:otherwise> | |
| 130 | - <c:url value='/cmm/fms/getImage.do'/>?thumbYn=Y&siteId=<c:out value="${brdMstrVO.siteId}"/>&appendPath=<c:out value="${searchVO.bbsId}"/>&atchFileNm=<c:out value="${result.atchFileNm}"/>
| |
| 131 | - </c:otherwise> | |
| 132 | - </c:choose> | |
| 133 | - </c:set> | |
| 134 | - <div class="board-video-img" style="background-image:url(${imgSrc});">
| |
| 135 | - <span class="text-hide">동영상썸네일</span> | |
| 136 | - </div> | |
| 137 | - <p class="board-video-title ell"><c:out value="${result.nttSj}"/></p>
| |
| 138 | - <ul class="card-items-wrap"> | |
| 139 | - <li class="card-items icon-campus"><c:out value="${result.tmp03}"/></li>
| |
| 140 | - <li class="card-items icon-date"><c:out value="${result.tmp01}"/> ~ <c:out value="${result.tmp02}"/></li>
| |
| 141 | - </ul> | |
| 142 | - </a> | |
| 143 | - </div> | |
| 144 | - </c:forEach> | |
| 145 | - </div> | |
| 146 | - <div class="right-align mt-20"> | |
| 147 | - <c:url var="addBoardArticleUrl" value="${_PREFIX}/addBoardArticle.do${_BASE_PARAM}">
| |
| 148 | - <c:param name="registAction" value="regist" /> | |
| 149 | - </c:url> | |
| 150 | - <a href="${addBoardArticleUrl}" class="btn-point btn-sm btn-new-crcl">신규강좌 등록</a>
| |
| 151 | - </div> | |
| 152 | - <div class="pagination center-align mt-10"> | |
| 153 | - <div class="pagination-inner-wrap overflow-hidden inline-block"> | |
| 154 | - <c:url var="startUrl" value="${_PREFIX}/selectBoardList.do${_BASE_PARAM}">
| |
| 155 | - <c:param name="pageIndex" value="1" /> | |
| 156 | - </c:url> | |
| 157 | - <button class="start" data-url="${startUrl}"></button>
| |
| 158 | - | |
| 159 | - <c:url var="prevUrl" value="${_PREFIX}/selectBoardList.do${_BASE_PARAM}">
| |
| 160 | - <c:param name="pageIndex" value="${searchVO.pageIndex > 1 ? searchVO.pageIndex - 1 : 1}"/>
| |
| 161 | - </c:url> | |
| 162 | - <button class="prev" data-url="${prevUrl}"></button>
| |
| 163 | - | |
| 164 | - <ul class="paginate-list f-l overflow-hidden"> | |
| 165 | - <c:url var="pageUrl" value="${_PREFIX}/selectBoardList.do${_BASE_PARAM}"/>
| |
| 166 | - <c:set var="pagingParam"><c:out value="${pageUrl}"/></c:set>
| |
| 167 | - <ui:pagination paginationInfo="${paginationInfo}" type="smart_school" jsFunction="${pagingParam}" />
| |
| 168 | - </ul> | |
| 169 | - | |
| 170 | - <c:url var="nextUrl" value="${_PREFIX}/selectBoardList.do${_BASE_PARAM}">
| |
| 171 | - <c:param name="pageIndex" value="${searchVO.pageIndex < paginationInfo.totalPageCount ? searchVO.pageIndex + 1 : searchVO.pageIndex}" />
| |
| 172 | - </c:url> | |
| 173 | - <button class="next" data-url="${nextUrl}"></button>
| |
| 174 | - | |
| 175 | - <c:url var="endUrl" value="${_PREFIX}/selectBoardList.do${_BASE_PARAM}">
| |
| 176 | - <c:param name="pageIndex" value="${paginationInfo.totalPageCount}"/>
| |
| 177 | - </c:url> | |
| 178 | - <button class="end" data-url="${endUrl}"></button>
| |
| 179 | - </div> | |
| 180 | - </div> | |
| 181 | - </div> | |
| 182 | - </article> | |
| 183 | - </section> | |
| 184 | - </c:when> | |
| 185 | - <c:otherwise> | |
| 186 | - <section class="section-gap special-common"> | |
| 187 | - <div class="area"> | |
| 188 | - <img src="/template/lms/imgs/page/special/img_top_banner.jpg" alt="K-MOOC는 온라인을 통해서 누구나, 어디서나 원하는 강좌를 무료로 들을 수 있는 온라인 공개강좌 서비스로 2015년에 시작된 한국형 무크입니다." /> | |
| 189 | - <div class="board-video-search-wrap mt-45"> | |
| 190 | - <p class="title">한국외국어대학교 K-MOOC 온라인 강좌</p> | |
| 191 | - <div class="search-input-wrap"> | |
| 192 | - <!-- 게시판 검색영역 --> | |
| 193 | - <form id="frm" name="frm" method="post" action="<c:url value='${_PREFIX}/selectBoardList.do'/>">
| |
| 194 | - <input type="hidden" name="bbsId" value="<c:out value='${searchVO.bbsId}'/>" />
| |
| 195 | - <input name="menuId" type="hidden" value="<c:out value='${searchVO.menuId}'/>" />
| |
| 196 | - <input name="searchCate" type="hidden" value="<c:out value='${searchVO.searchCate}'/>" />
| |
| 197 | - <input name="searchCnd" type="hidden" value="0" /> | |
| 198 | - <input name="searchWrd" type="hidden" value="<c:out value="${searchVO.searchWrd}"/>"/>
| |
| 199 | - </form> | |
| 200 | - <input id="searchWrd" value="<c:out value="${searchVO.searchWrd}"/>" type="text" class="search-input" placeholder="강좌 검색"/>
| |
| 201 | - <div class="goods-search-btn"> | |
| 202 | - <img src="${CML}/imgs/common/icon_notice_search.svg" alt="검색">
| |
| 203 | - </div> | |
| 204 | - </div> | |
| 205 | - </div> | |
| 206 | - <div class="flex-row board-video-thumb-wrap"> | |
| 207 | - <c:forEach var="result" items="${resultList}" varStatus="status">
| |
| 208 | - <div class="flex-col-4"> | |
| 209 | - <a href="<c:out value="${result.tmp05}"/>" target="_blank">
| |
| 210 | - <c:set var="imgSrc"> | |
| 211 | - <c:choose> | |
| 212 | - <c:when test="${empty result.atchFileNm}">${CML}/imgs/common/img_no_image.svg</c:when>
| |
| 213 | - <c:otherwise> | |
| 214 | - <c:url value='/cmm/fms/getImage.do'/>?thumbYn=Y&siteId=<c:out value="${brdMstrVO.siteId}"/>&appendPath=<c:out value="${searchVO.bbsId}"/>&atchFileNm=<c:out value="${result.atchFileNm}"/>&width=393&height=240
| |
| 215 | - </c:otherwise> | |
| 216 | - </c:choose> | |
| 217 | - </c:set> | |
| 218 | - <div class="board-video-img" style="background-image:url(${imgSrc});">
| |
| 219 | - <span class="text-hide">동영상썸네일</span> | |
| 220 | - </div> | |
| 221 | - <p class="board-video-title ell"><c:out value="${result.nttSj}"/></p>
| |
| 222 | - <ul class="card-items-wrap"> | |
| 223 | - <li class="card-items icon-campus"><c:out value="${result.tmp03}"/></li>
| |
| 224 | - <li class="card-items icon-date"><c:out value="${result.tmp01}"/> ~ <c:out value="${result.tmp02}"/></li>
| |
| 225 | - </ul> | |
| 226 | - </a> | |
| 227 | - </div> | |
| 228 | - </c:forEach> | |
| 229 | - </div> | |
| 230 | - | |
| 231 | - <div class="pagination center-align"> | |
| 232 | - <div class="pagination-inner-wrap overflow-hidden inline-block"> | |
| 233 | - <c:url var="startUrl" value="${_PREFIX}/selectBoardList.do${_BASE_PARAM}">
| |
| 234 | - <c:param name="pageIndex" value="1" /> | |
| 235 | - </c:url> | |
| 236 | - <button class="start" data-url="${startUrl}"></button>
| |
| 237 | - | |
| 238 | - <c:url var="prevUrl" value="${_PREFIX}/selectBoardList.do${_BASE_PARAM}">
| |
| 239 | - <c:param name="pageIndex" value="${searchVO.pageIndex > 1 ? searchVO.pageIndex - 1 : 1}"/>
| |
| 240 | - </c:url> | |
| 241 | - <button class="prev" data-url="${prevUrl}"></button>
| |
| 242 | - | |
| 243 | - <ul class="paginate-list f-l overflow-hidden"> | |
| 244 | - <c:url var="pageUrl" value="${_PREFIX}/selectBoardList.do${_BASE_PARAM}"/>
| |
| 245 | - <c:set var="pagingParam"><c:out value="${pageUrl}"/></c:set>
| |
| 246 | - <ui:pagination paginationInfo="${paginationInfo}" type="smart_school" jsFunction="${pagingParam}" />
| |
| 247 | - </ul> | |
| 248 | - | |
| 249 | - <c:url var="nextUrl" value="${_PREFIX}/selectBoardList.do${_BASE_PARAM}">
| |
| 250 | - <c:param name="pageIndex" value="${searchVO.pageIndex < paginationInfo.totalPageCount ? searchVO.pageIndex + 1 : searchVO.pageIndex}" />
| |
| 251 | - </c:url> | |
| 252 | - <button class="next" data-url="${nextUrl}"></button>
| |
| 253 | - | |
| 254 | - <c:url var="endUrl" value="${_PREFIX}/selectBoardList.do${_BASE_PARAM}">
| |
| 255 | - <c:param name="pageIndex" value="${paginationInfo.totalPageCount}"/>
| |
| 256 | - </c:url> | |
| 257 | - <button class="end" data-url="${endUrl}"></button>
| |
| 258 | - </div> | |
| 259 | - </div> | |
| 260 | - </div> | |
| 261 | - </section> | |
| 262 | - </c:otherwise> | |
| 263 | -</c:choose> | |
| 264 | - | |
| 265 | - | |
| 266 | -<c:import url="/msi/tmplatBottom.do" charEncoding="utf-8"> | |
| 267 | - <c:param name="modalAt" value="Y"/> | |
| 268 | -</c:import>(파일 끝에 줄바꿈 문자 없음) |
--- base/src/main/webapp/WEB-INF/jsp/egovframework/str/cre/bbs/sourc/BBSSRC_0000000000004/EgovNoticeRegist.jsp
... | ... | @@ -1,348 +0,0 @@ |
| 1 | -<%@ page language="java" contentType="text/html; charset=utf-8" pageEncoding="utf-8"%> | |
| 2 | -<%@ taglib prefix="c" uri="http://java.sun.com/jsp/jstl/core" %> | |
| 3 | -<%@ taglib prefix="ui" uri="http://egovframework.gov/ctl/ui"%> | |
| 4 | -<%@ taglib uri="http://java.sun.com/jsp/jstl/functions" prefix="fn" %> | |
| 5 | -<%@ taglib prefix="spring" uri="http://www.springframework.org/tags"%> | |
| 6 | -<%@ taglib prefix="form" uri="http://www.springframework.org/tags/form" %> | |
| 7 | -<%@ page import="egovframework.com.sec.ram.security.userdetails.util.EgovUserDetailsHelper"%> | |
| 8 | -<c:set var="_C_CSS" value="/template/common/css"/> | |
| 9 | -<c:set var="_C_JS" value="/template/common/js"/> | |
| 10 | -<c:set var="_IMG" value="${BbsFileStoreWebPathByWebFile}${brdMstrVO.tmplatId }/images"/>
| |
| 11 | -<c:set var="_C_LIB" value="/lib"/> | |
| 12 | - | |
| 13 | -<c:set var="CML" value="/template/lms"/> | |
| 14 | - | |
| 15 | -<c:set var="_PREFIX" value="/cop/bbs"/> | |
| 16 | -<c:set var="_EDITOR_ID" value="nttCn"/> | |
| 17 | -<c:set var="_ACTION" value=""/> | |
| 18 | - | |
| 19 | -<c:choose> | |
| 20 | - <c:when test="${searchVO.registAction eq 'regist' }">
| |
| 21 | - <c:set var="_ACTION" value="${pageContext.request.contextPath}${_PREFIX}/insertBoardArticle.do"/>
| |
| 22 | - </c:when> | |
| 23 | - <c:when test="${searchVO.registAction eq 'updt' }">
| |
| 24 | - <c:set var="_ACTION" value="${pageContext.request.contextPath}${_PREFIX}/updateBoardArticle.do"/>
| |
| 25 | - </c:when> | |
| 26 | - <c:when test="${searchVO.registAction eq 'reply' }">
| |
| 27 | - <c:set var="_ACTION" value="${pageContext.request.contextPath}${_PREFIX}/replyBoardArticle.do"/>
| |
| 28 | - </c:when> | |
| 29 | -</c:choose> | |
| 30 | - | |
| 31 | - | |
| 32 | -<c:set var="SE_CODE" value="01" /> | |
| 33 | -<c:if test="${not empty USER_INFO.id}">
| |
| 34 | - <c:set var="SE_CODE" value="${USER_INFO.userSe}" />
| |
| 35 | -</c:if> | |
| 36 | - | |
| 37 | -<c:import url="/msi/tmplatHead.do" charEncoding="utf-8"> | |
| 38 | - <c:param name="BBS_TMPLATID" value="${brdMstrVO.tmplatId }"/>
| |
| 39 | - <c:param name="tableCssAt" value="Y"/> | |
| 40 | -</c:import> | |
| 41 | - | |
| 42 | -<script src="${_C_LIB}/tinymce/js/tinymce/jquery.tinymce.min.js"></script>
| |
| 43 | -<script src="${_C_LIB}/tinymce/js/tinymce/tinymce.min.js"></script>
| |
| 44 | - | |
| 45 | - | |
| 46 | -<script src="${_C_LIB}/upload/upload.js?v=1" ></script>
| |
| 47 | -<script src="${_C_JS}/board.js?v=1" ></script>
| |
| 48 | - | |
| 49 | -<link rel="stylesheet" href="${_C_LIB}/jquery-ui-1.12.1.custom/jquery-ui.css">
| |
| 50 | -<script src="${_C_LIB}/jquery/jquery.ui.widget.js"></script>
| |
| 51 | -<script src="${_C_LIB}/upload/jquery.iframe-transport.js"></script>
| |
| 52 | -<script src="${_C_LIB}/upload/jquery.fileupload.js"></script>
| |
| 53 | -<script src="${_C_LIB}/upload/jquery.fileupload-process.js"></script>
| |
| 54 | -<script src="${_C_LIB}/upload/jquery.fileupload-image.js"></script>
| |
| 55 | -<script src="${_C_LIB}/upload/jquery.fileupload-audio.js"></script>
| |
| 56 | -<script src="${_C_LIB}/upload/jquery.fileupload-video.js"></script>
| |
| 57 | -<script src="${_C_LIB}/upload/jquery.fileupload-validate.js"></script>
| |
| 58 | -<script src="${_C_LIB}/upload/jquery.fileupload-ui.js"></script>
| |
| 59 | - | |
| 60 | -<script src="${_C_JS}/board.js" ></script>
| |
| 61 | -<script> | |
| 62 | -function fn_egov_regist() {
| |
| 63 | - | |
| 64 | - tinyMCE.triggerSave(); | |
| 65 | - | |
| 66 | - <c:if test="${searchVO.registAction ne 'reply'}">
| |
| 67 | - if($.trim($('#${_EDITOR_ID}').val()) == "") {
| |
| 68 | - alert('<spring:message code="cop.nttCn" />은(는) 필수 입력값입니다');
| |
| 69 | - tinyMCE.activeEditor.focus(); | |
| 70 | - return false; | |
| 71 | - } | |
| 72 | - </c:if> | |
| 73 | - | |
| 74 | - $('#fileGroupId').val($('#fileGroupId_${_EDITOR_ID}').val());
| |
| 75 | - | |
| 76 | - <c:if test="${!empty brdMstrVO.ctgrymasterId and searchVO.registAction ne 'reply'}">
| |
| 77 | - for(var cmIdx = 1 ; cmIdx <= boardCateLevel ; cmIdx++){
| |
| 78 | - var cmObj = document.getElementById("ctgry" + cmIdx);
| |
| 79 | - if(cmObj != null) {
| |
| 80 | - if(fn_egov_SelectBoxValue("ctgry" + cmIdx) != '') {
| |
| 81 | - document.board.ctgryId.value = fn_egov_SelectBoxValue("ctgry" + cmIdx);
| |
| 82 | - } | |
| 83 | - } | |
| 84 | - } | |
| 85 | - </c:if> | |
| 86 | - | |
| 87 | - <c:choose> | |
| 88 | - <c:when test="${searchVO.registAction eq 'updt'}">
| |
| 89 | - if (!confirm('<spring:message code="common.update.msg" />')) {
| |
| 90 | - return false | |
| 91 | - } | |
| 92 | - </c:when> | |
| 93 | - <c:otherwise> | |
| 94 | - if (!confirm('<spring:message code="common.regist.msg" />')) {
| |
| 95 | - return false; | |
| 96 | - } | |
| 97 | - </c:otherwise> | |
| 98 | - </c:choose> | |
| 99 | -} | |
| 100 | - | |
| 101 | -<c:if test="${!empty brdMstrVO.ctgrymasterId and searchVO.registAction ne 'reply'}">
| |
| 102 | - var boardCateLevel = <c:out value='${boardCateLevel}'/>;
| |
| 103 | - var boardCateList = new Array(${fn:length(boardCateList)});
| |
| 104 | - <c:forEach var="cate" items="${boardCateList}" varStatus="status">
| |
| 105 | - boardCateList[${status.index}] = new ctgryObj('<c:out value='${cate.upperCtgryId}'/>', '<c:out value='${cate.ctgryId}'/>', '<c:out value='${cate.ctgryNm}'/>', <c:out value='${cate.ctgryLevel}'/>);
| |
| 106 | - </c:forEach> | |
| 107 | -</c:if> | |
| 108 | - | |
| 109 | - | |
| 110 | -$(document).ready( function() {
| |
| 111 | - var adfile_config = {
| |
| 112 | - siteId:"<c:out value='${brdMstrVO.siteId}'/>",
| |
| 113 | - pathKey:"Board", | |
| 114 | - appendPath:"<c:out value='${brdMstrVO.bbsId}'/>",
| |
| 115 | - editorId:"${_EDITOR_ID}",
| |
| 116 | - fileAtchPosblAt:"${brdMstrVO.fileAtchPosblAt}",
| |
| 117 | - maxMegaFileSize:${brdMstrVO.posblAtchFileSize},
| |
| 118 | - atchFileId:"${board.atchFileId}"
| |
| 119 | - }; | |
| 120 | - | |
| 121 | - fnCtgryInit('<c:out value='${board.ctgryPathById}'/>');
| |
| 122 | - fn_egov_bbs_editor(adfile_config); | |
| 123 | -}); | |
| 124 | -</script> | |
| 125 | - | |
| 126 | -<link rel="stylesheet" href="${CML}/css/common/base.css?v=1">
| |
| 127 | - <link rel="stylesheet" href="${CML}/css/common/common_staff.css?v=1">
| |
| 128 | - <link rel="stylesheet" href="${CML}/css/common/board_staff.css?v=1">
| |
| 129 | - | |
| 130 | - <!--================================================= | |
| 131 | - 페이지별 스타일시트 | |
| 132 | - ==================================================--> | |
| 133 | - <link rel="stylesheet" href="${CML}/css/common/table_staff.css?v=2">
| |
| 134 | - | |
| 135 | - <form:form commandName="board" name="board" method="post" action="${_ACTION}" enctype="multipart/form-data" onsubmit="return fn_egov_regist()">
| |
| 136 | - <input name="pageIndex" type="hidden" value="<c:out value='${searchVO.pageIndex}'/>"/>
| |
| 137 | - <input type="hidden" name="cal_url" value="<c:url value='/sym/cmm/EgovNormalCalPopup.do'/>" /> | |
| 138 | - <input type="hidden" id="posblAtchFileNumber_${_EDITOR_ID}" name="posblAtchFileNumber_${_EDITOR_ID}" value="${brdMstrVO.posblAtchFileNumber}" />
| |
| 139 | - <input type="hidden" id="posblAtchFileSize_${_EDITOR_ID}" name="posblAtchFileSize_${_EDITOR_ID}" value="${brdMstrVO.posblAtchFileSize * 1024 * 1024}" />
| |
| 140 | - <input type="hidden" id="fileGroupId" name="fileGroupId" value="${board.atchFileId}"/>
| |
| 141 | - <input type="hidden" name="bbsId" value="<c:out value='${brdMstrVO.bbsId}'/>" />
| |
| 142 | - <input name="menuId" type="hidden" value="<c:out value='${searchVO.menuId}'/>" />
| |
| 143 | - <input type="hidden" name="registAction" value="<c:out value='${searchVO.registAction}'/>"/>
| |
| 144 | - <input type="hidden" name="tmplatImportAt" value="<c:out value='${searchVO.tmplatImportAt}'/>"/>
| |
| 145 | - | |
| 146 | - <form:hidden path="nttNo"/> | |
| 147 | - <form:hidden path="ctgryId"/> | |
| 148 | - <%-- | |
| 149 | - <form:hidden path="ordrCode"/> | |
| 150 | - <form:hidden path="ordrCodeDp"/> | |
| 151 | - --%> | |
| 152 | - <form:hidden path="atchFileId"/> | |
| 153 | - | |
| 154 | - <c:choose> | |
| 155 | - <c:when test="${brdMstrVO.bbsAttrbCode eq 'BBSA11' and searchVO.registAction eq 'reply'}">
| |
| 156 | - | |
| 157 | - </c:when> | |
| 158 | - <c:otherwise> | |
| 159 | - <section class="page-content-body"> | |
| 160 | - <article class="content-wrap"> | |
| 161 | - | |
| 162 | - <table class="common-table-wrap table-style2 mb-20"> | |
| 163 | - <tbody> | |
| 164 | - <tr> | |
| 165 | - <th class="title">강좌명</th> | |
| 166 | - <td> | |
| 167 | - <div class="flex-row"> | |
| 168 | - <div class="flex-col-12"> | |
| 169 | - <input type="text" id="nttSj" name="nttSj" class="table-input" value="" placeholder="강좌명을 입력해주세요."> | |
| 170 | - </div> | |
| 171 | - </div> | |
| 172 | - </td> | |
| 173 | - </tr> | |
| 174 | - <tr> | |
| 175 | - <th class="title">강좌표기</th> | |
| 176 | - <td> | |
| 177 | - <div class="flex-row"> | |
| 178 | - <div class="flex-col-12"> | |
| 179 | - <input name="file_1" id="egovComFileUploader" type="file" class="inp" /><br/> | |
| 180 | - <span>권장사이즈 395 * 240</span> | |
| 181 | - <c:import url="/cmm/fms/selectImageFileInfs.do" charEncoding="utf-8"> | |
| 182 | - <c:param name="atchFileId" value="${board.atchFileId}" />
| |
| 183 | - <c:param name="mngAt" value="Y"/> | |
| 184 | - <c:param name="bbsId" value="${brdMstrVO.bbsId}"/>
| |
| 185 | - <c:param name="siteId" value="${brdMstrVO.siteId}"/>
| |
| 186 | - <c:param name="width" value="395"/> | |
| 187 | - <c:param name="height" value="240"/> | |
| 188 | - </c:import> | |
| 189 | - </div> | |
| 190 | - </div> | |
| 191 | - </td> | |
| 192 | - </tr> | |
| 193 | - <tr> | |
| 194 | - <th class="title">강좌기간</th> | |
| 195 | - <td> | |
| 196 | - <div class="flex-row"> | |
| 197 | - <div class="flex-col-12"> | |
| 198 | - <input type="text" name = "tmp01" id="searchBgnDe" class="ell date datepicker type2" placeholder="시작일" value="<c:out value="${searchVO.searchBgnDe}"/>">
| |
| 199 | - <i>~</i> | |
| 200 | - <input type="text" name = "tmp02" id="searchEndDe" class="ell date datepicker type2" placeholder="종료일" value="<c:out value="${searchVO.searchEndDe}"/>">
| |
| 201 | - </div> | |
| 202 | - </div> | |
| 203 | - </td> | |
| 204 | - </tr> | |
| 205 | - | |
| 206 | - <tr> | |
| 207 | - <th class="title">강좌운영기관</th> | |
| 208 | - <td> | |
| 209 | - <div class="flex-row"> | |
| 210 | - <div class="flex-col-12"> | |
| 211 | - <input type="text" id="tmp03" name="tmp03" class="table-input" value="" placeholder="기관을 입력해주세요."> | |
| 212 | - </div> | |
| 213 | - </div> | |
| 214 | - </td> | |
| 215 | - </tr> | |
| 216 | - <tr> | |
| 217 | - <th class="title">K_MOOC URL</th> | |
| 218 | - <td> | |
| 219 | - <div class="flex-row"> | |
| 220 | - <div class="flex-col-12"> | |
| 221 | - <input type="text" id="tmp05" name="tmp05" class="table-input" value="" placeholder="URL을 입력해주세요."> | |
| 222 | - </div> | |
| 223 | - </div> | |
| 224 | - </td> | |
| 225 | - </tr> | |
| 226 | - <tr> | |
| 227 | - <th class="title">학습자료로 공개여부</th> | |
| 228 | - <td> | |
| 229 | - <div class="flex-row"> | |
| 230 | - <div class="flex-col-auto"> | |
| 231 | - <label class="checkbox circle"> | |
| 232 | - <input type="radio" name="tmp06" value="Y" class="table-checkbox" checked> | |
| 233 | - <span class="custom-checked"></span> | |
| 234 | - <span class="text">공개</span> | |
| 235 | - </label> | |
| 236 | - </div> | |
| 237 | - <div class="flex-col-auto"> | |
| 238 | - <label class="checkbox circle"> | |
| 239 | - <input type="radio" name="tmp06" value="N" class="table-checkbox"> | |
| 240 | - <span class="custom-checked"></span> | |
| 241 | - <span class="text">비공개</span> | |
| 242 | - </label> | |
| 243 | - </div> | |
| 244 | - </div> | |
| 245 | - </td> | |
| 246 | - </tr> | |
| 247 | - </tbody> | |
| 248 | - </table> | |
| 249 | - <div> | |
| 250 | - <form:textarea path="nttCn" rows="20" cssClass="cont"/><form:errors path="nttCn" /> | |
| 251 | - </div> | |
| 252 | - </article> | |
| 253 | - </section> | |
| 254 | - </c:otherwise> | |
| 255 | - </c:choose> | |
| 256 | - | |
| 257 | - | |
| 258 | - <c:if test="${brdMstrVO.fileAtchPosblAt eq 'Y' and searchVO.registAction ne 'reply'}">
| |
| 259 | - <div class="mt-20"> | |
| 260 | - <c:import url="/cmm/fms/selectFileInfsForUpdate.do" charEncoding="utf-8"> | |
| 261 | - <c:param name="editorId" value="${_EDITOR_ID}"/>
| |
| 262 | - <c:param name="estnAt" value="${brdMstrVO.bbsAttrbCode eq 'BBSA11' and searchVO.registAction eq 'reply' ? 'Y' : 'N'}" />
| |
| 263 | - <c:param name="param_atchFileId" value="${board.atchFileId}" />
| |
| 264 | - <c:param name="imagePath" value="${_IMG }"/>
| |
| 265 | - <c:param name="regAt" value="Y"/> | |
| 266 | - <c:param name="commonAt" value="Y"/> | |
| 267 | - </c:import> | |
| 268 | - </div> | |
| 269 | - </c:if> | |
| 270 | - <%-- | |
| 271 | - <div id="bbs_wrap"> | |
| 272 | - <table class="bbs_type"> | |
| 273 | - <colgroup> | |
| 274 | - <col style="width:20%"/> | |
| 275 | - <col style="width:80%"/> | |
| 276 | - </colgroup> | |
| 277 | - <tbody> | |
| 278 | - <c:choose> | |
| 279 | - <c:when test="${brdMstrVO.bbsAttrbCode eq 'BBSA11' and searchVO.registAction eq 'reply'}">
| |
| 280 | - | |
| 281 | - <tr> | |
| 282 | - <td colspan="2"><c:out value="${board.nttSj}"/></td>
| |
| 283 | - </tr> | |
| 284 | - <tr> | |
| 285 | - <td colspan="2"><c:out value="${board.nttCn}" escapeXml="false"/></td>
| |
| 286 | - </tr> | |
| 287 | - <tr> | |
| 288 | - <th> | |
| 289 | - <label for="ftext"><spring:message code="cop.processSttus" /></label> | |
| 290 | - </th> | |
| 291 | - <td> | |
| 292 | - <select name="processSttusCode" id="ftext" class="select"> | |
| 293 | - <c:forEach var="resultState" items="${qaCodeList}" varStatus="status">
| |
| 294 | - <option value='<c:out value="${resultState.code}"/>' <c:if test="${board.processSttusCode eq resultState.code}">selected="selected"</c:if>><c:out value="${resultState.codeNm}"/></option>
| |
| 295 | - </c:forEach> | |
| 296 | - </select> | |
| 297 | - </td> | |
| 298 | - </tr> | |
| 299 | - </c:when> | |
| 300 | - <c:otherwise> | |
| 301 | - | |
| 302 | - </c:otherwise> | |
| 303 | - </c:choose> | |
| 304 | - | |
| 305 | - </tbody> | |
| 306 | - </table> | |
| 307 | - </div> | |
| 308 | - --%> | |
| 309 | - | |
| 310 | - | |
| 311 | - <!-- 하단버튼 --> | |
| 312 | - <div class="page-btn-wrap mt-20"> | |
| 313 | - <div class="left-area"> | |
| 314 | - <c:url var="selectBoardListUrl" value="${_PREFIX}/selectBoardList.do">
| |
| 315 | - <c:param name="menuId" value="${searchVO.menuId}" />
| |
| 316 | - <c:param name="bbsId" value="${brdMstrVO.bbsId}" />
| |
| 317 | - <c:param name="pageIndex" value="${searchVO.pageIndex}" />
| |
| 318 | - <c:if test="${not empty searchVO.searchCate}"><c:param name="searchCate" value="${searchVO.searchCate}" /></c:if>
| |
| 319 | - <c:if test="${not empty searchVO.searchCnd}"><c:param name="searchCnd" value="${searchVO.searchCnd}" /></c:if>
| |
| 320 | - <c:if test="${not empty searchVO.searchWrd}"><c:param name="searchWrd" value="${searchVO.searchWrd}" /></c:if>
| |
| 321 | - <c:if test="${not empty searchVO.tmplatImportAt}"><c:param name="tmplatImportAt" value="${searchVO.tmplatImportAt}"/></c:if>
| |
| 322 | - </c:url> | |
| 323 | - <a href="${selectBoardListUrl}" class="btn-sm btn-outline-gray font-basic">목록으로</a>
| |
| 324 | - </div> | |
| 325 | - <div class="right-area"> | |
| 326 | - <!-- <button href="#" class="btn-sm btn-outline-gray font-basic">취소</button> --> | |
| 327 | - <button href="#" class="btn-sm btn-point"> | |
| 328 | - <c:choose> | |
| 329 | - <c:when test="${searchVO.registAction eq 'regist' and SE_CODE >= brdMstrVO.registAuthor}"><spring:message code="button.create"/></c:when>
| |
| 330 | - <c:when test="${searchVO.registAction eq 'updt' and SE_CODE >= brdMstrVO.registAuthor}"><spring:message code="button.update"/></c:when>
| |
| 331 | - <c:when test="${searchVO.registAction eq 'reply' and SE_CODE >= brdMstrVO.registAuthor}"><spring:message code="button.reply"/></c:when>
| |
| 332 | - </c:choose> | |
| 333 | - </button> | |
| 334 | - </div> | |
| 335 | - | |
| 336 | - </div> | |
| 337 | - </form:form> | |
| 338 | -</div> | |
| 339 | - | |
| 340 | -<c:choose> | |
| 341 | - <c:when test="${searchVO.tmplatImportAt ne 'N'}">
| |
| 342 | - <c:import url="/msi/tmplatBottom.do" charEncoding="utf-8"/> | |
| 343 | - </c:when> | |
| 344 | - <c:otherwise> | |
| 345 | - </body> | |
| 346 | - </html> | |
| 347 | - </c:otherwise> | |
| 348 | -</c:choose>(파일 끝에 줄바꿈 문자 없음) |
--- base/src/main/webapp/WEB-INF/jsp/egovframework/str/cre/bbs/sourc/BBSSRC_0000000000005/EgovCommentList.jsp
... | ... | @@ -1,177 +0,0 @@ |
| 1 | -<%@ page language="java" contentType="text/html; charset=utf-8" pageEncoding="utf-8"%> | |
| 2 | -<%@ page import="egovframework.com.cmm.service.EgovProperties" %> | |
| 3 | -<%@ taglib prefix="c" uri="http://java.sun.com/jsp/jstl/core" %> | |
| 4 | -<%@ taglib prefix="ui" uri="http://egovframework.gov/ctl/ui"%> | |
| 5 | -<%@ taglib uri="http://java.sun.com/jsp/jstl/functions" prefix="fn" %> | |
| 6 | -<%@ taglib prefix="spring" uri="http://www.springframework.org/tags"%> | |
| 7 | -<%@ taglib prefix="form" uri="http://www.springframework.org/tags/form" %> | |
| 8 | -<%@ taglib prefix="fmt" uri="http://java.sun.com/jsp/jstl/fmt" %> | |
| 9 | -<%@ taglib prefix="validator" uri="http://www.springmodules.org/tags/commons-validator" %> | |
| 10 | -<%pageContext.setAttribute("crlf", "\r\n"); %>
| |
| 11 | -<c:set var="_C_JS" value="/template/common/js"/> | |
| 12 | -<c:set var="_C_IMG" value="/template/common/images"/> | |
| 13 | -<c:set var="_IMG" value="${BbsFileStoreWebPathByWebFile}${brdMstrVO.tmplatId }/images"/>
| |
| 14 | - | |
| 15 | -<c:set var="_PREFIX" value="/cop/bbs"/> | |
| 16 | - | |
| 17 | -<c:set var="SE_CODE" value="01" /> | |
| 18 | -<c:if test="${not empty USER_INFO.id}">
| |
| 19 | - <c:set var="SE_CODE" value="${USER_INFO.userSe}" />
| |
| 20 | -</c:if> | |
| 21 | - | |
| 22 | -<% /*URL 정의*/ %> | |
| 23 | -<c:url var="_BASE_PARAM" value=""> | |
| 24 | - <c:param name="nttNo" value="${param.nttNo}" />
| |
| 25 | - <c:param name="bbsId" value="${param.bbsId}" />
| |
| 26 | - <c:if test="${not empty param.pageIndex}"><c:param name="pageIndex" value="${param.pageIndex}" /></c:if>
| |
| 27 | - <c:if test="${not empty param.searchCate}"><c:param name="searchCate" value="${param.searchCate}" /></c:if>
| |
| 28 | - <c:if test="${not empty param.searchCnd}"><c:param name="searchCnd" value="${param.searchCnd}" /></c:if>
| |
| 29 | - <c:if test="${not empty param.searchWrd}"><c:param name="searchWrd" value="${param.searchWrd}" /></c:if>
| |
| 30 | - <c:if test="${not empty param.tmplatImportAt}"><c:param name="tmplatImportAt" value="${param.tmplatImportAt}"/></c:if>
| |
| 31 | - <c:param name="menuId" value="${param.menuId}"/>
| |
| 32 | - <c:param name="trgetId" value="${param.trgetId}" />
| |
| 33 | - <c:forEach var="searchCate" items="${searchVO.searchCateList}" varStatus="statusCate">
| |
| 34 | - <c:if test="${not empty searchCate}">
| |
| 35 | - <c:param name="searchCateList" value="${searchCate}" />
| |
| 36 | - </c:if> | |
| 37 | - </c:forEach> | |
| 38 | -</c:url> | |
| 39 | -<% /*URL 정의*/ %> | |
| 40 | - | |
| 41 | -<script type="text/javascript" src="<c:url value="/validator.do"/>"></script> | |
| 42 | -<validator:javascript formName="comment" staticJavascript="false" xhtml="true" cdata="false"/> | |
| 43 | -<script type="text/javascript"> | |
| 44 | -function fn_egov_insert_commentList(frm) {
| |
| 45 | - if (!validateComment(frm)){
| |
| 46 | - return false; | |
| 47 | - } | |
| 48 | - | |
| 49 | - if (!confirm('<spring:message code="common.regist.msg" />')) {
| |
| 50 | - return false; | |
| 51 | - } | |
| 52 | -} | |
| 53 | - | |
| 54 | -function fn_egov_deleteCommentList(url) {
| |
| 55 | - | |
| 56 | - if (confirm('<spring:message code="common.delete.msg" />')) {
| |
| 57 | - document.location.href = url; | |
| 58 | - } | |
| 59 | -} | |
| 60 | - | |
| 61 | -function addComment(commentNo, num, ordrCode, ordrCodeDp) {
| |
| 62 | - jQuery(".commentPopup").hide();
| |
| 63 | - jQuery(".commentPopup").html("");
| |
| 64 | - jQuery("#replyComment"+num).html(
| |
| 65 | - "<div class='comment'>"+ | |
| 66 | - "<div class='comment_inp'>"+ | |
| 67 | - "<form name='commentVO' action='${_PREFIX}/insertReplyComment.do' method='post' onsubmit='return fn_egov_insert_commentList(this);'>"+
| |
| 68 | - "<input type='hidden' name='tmplatImportAt' value='<c:out value="${param.tmplatImportAt}"/>'/>" +
| |
| 69 | - <c:if test="${not empty param.pageIndex}">"<input type='hidden' name='pageIndex' value='<c:out value="${param.pageIndex}"/>'/>" + </c:if>
| |
| 70 | - "<input type='hidden' name='bbsId' value='<c:out value="${param.bbsId}"/>' />" +
| |
| 71 | - "<input name='menuId' type='hidden' value='<c:out value="${param.menuId}"/>' />" +
| |
| 72 | - "<input name='trgetId' type='hidden' value='<c:out value="${param.trgetId}"/>' />" +
| |
| 73 | - "<input name='searchCnd' type='hidden' value='<c:out value="${param.searchCnd}"/>'/>" +
| |
| 74 | - "<input name='searchWrd' type='hidden' value='<c:out value="${param.searchWrd}"/>'/>" +
| |
| 75 | - "<input name='searchCate' type='hidden' value='<c:out value="${param.searchCate}"/>'/>" +
| |
| 76 | - "<input name='subPageIndex' type='hidden' value='<c:out value="${searchVO.subPageIndex}"/>' />" +
| |
| 77 | - "<input name='modified' type='hidden' value='false'/>" + | |
| 78 | - "<input name='confirmPassword' type='hidden'/>" + | |
| 79 | - "<input type='hidden' name='nttNo' value='<c:out value="${param.nttNo}"/>'/>"+
| |
| 80 | - "<input type='hidden' name='commentNo' value='" + commentNo + "'/>"+ | |
| 81 | - "<input type='hidden' name='ordrCode' value='" + ordrCode + "'/>"+ | |
| 82 | - "<input type='hidden' name='ordrCodeDp' value='" + ordrCodeDp + "'/>"+ | |
| 83 | - "<textarea name='commentCn' rows='0' cols='0' maxlength='2000' placeholder='<spring:message code="cop.comment"/>을 입력하세요.'></textarea>"+ | |
| 84 | - "<span class='bbtn_input'><input type='submit' value='<spring:message code="button.create"/>'/></span>" + | |
| 85 | - "</form>"+ | |
| 86 | - "</div>"+ | |
| 87 | - "<p><spring:message code='cop.comment.msg' /></p>"+ | |
| 88 | - "</div>" | |
| 89 | - | |
| 90 | - ); | |
| 91 | - jQuery("#replyComment"+num).show();
| |
| 92 | - return false; | |
| 93 | -} | |
| 94 | -</script> | |
| 95 | - <div class="bbs_reply"> | |
| 96 | - <c:forEach var="result" items="${resultList}" varStatus="status">
| |
| 97 | - <div class="reply type<c:out value="${result.ordrCodeDp+1 }"/>">
| |
| 98 | - <strong><c:out value="${result.wrterNm}" /></strong>
| |
| 99 | - <span class="date"><fmt:formatDate value="${result.frstRegisterPnttm}" pattern="yyyy-MM-dd"/>
| |
| 100 | - <c:if test="${SE_CODE >= brdMstrVO.registAuthor}">
| |
| 101 | - <a href="#reply_txt" onclick="return addComment(${result.commentNo}, ${status.count}, '${result.ordrCode }', ${result.ordrCodeDp });"><img src="${_IMG}/btn_reply_re.gif" alt="<spring:message code="button.reply"/>" /></a>
| |
| 102 | - </c:if> | |
| 103 | - <c:if test="${not empty USER_INFO.id and result.frstRegisterId eq USER_INFO.id}">
| |
| 104 | - <c:url var="delUrl" value="${_PREFIX}/deleteComment.do${_BASE_PARAM}">
| |
| 105 | - <c:param name="commentNo" value="${result.commentNo}" />
| |
| 106 | - <c:param name="subPageIndex" value="${searchVO.subPageIndex}" />
| |
| 107 | - <c:param name="modified" value="true" /> | |
| 108 | - </c:url> | |
| 109 | - <a href="<c:out value="${delUrl}"/>" onclick="fn_egov_deleteCommentList(this.href);return false;"><img src="${_IMG}/btn_delete.gif" alt="<spring:message code="button.delete"/>" /></a>
| |
| 110 | - </c:if> | |
| 111 | - </span> | |
| 112 | - <p class="reply_cont"> | |
| 113 | - <c:set var="cn" value="${fn:escapeXml(result.commentCn)}"/>
| |
| 114 | - <c:set var="cn" value="${fn:replace(cn , crlf , '<br/>')}"/>
| |
| 115 | - <c:out value="${cn}" escapeXml="false" />
| |
| 116 | - </p> | |
| 117 | - </div> | |
| 118 | - <div id="replyComment${status.count }" style="display:none" class="commentPopup"></div>
| |
| 119 | - </c:forEach> | |
| 120 | - </div> | |
| 121 | - <c:if test="${fn:length(resultList) ne 0}">
| |
| 122 | - <div id="paging"> | |
| 123 | - <c:url var="pageUrl" value="${_PREFIX}/selectBoardArticle.do${_BASE_PARAM}">
| |
| 124 | - </c:url> | |
| 125 | - <c:set var="pagingParam"><c:out value="${pageUrl}"/></c:set>
| |
| 126 | - <ui:pagination paginationInfo="${paginationInfo}" type="smart_001_sub" jsFunction="${pagingParam}" />
| |
| 127 | - </div> | |
| 128 | - </c:if> | |
| 129 | - | |
| 130 | - <div class="comment"> | |
| 131 | - <c:choose> | |
| 132 | - <c:when test="${not empty USER_INFO.id and SE_CODE >= brdMstrVO.registAuthor}">
| |
| 133 | - <div class="comment_inp"> | |
| 134 | - <form name="comment" id="comment" method="post" action="<c:url value='${_PREFIX}/insertComment.do'/>" onsubmit="return fn_egov_insert_commentList(this);">
| |
| 135 | - <c:if test="${not empty param.pageIndex}"><input type="hidden" name="pageIndex" value="<c:out value='${param.pageIndex}'/>"/></c:if>
| |
| 136 | - <input type="hidden" name="bbsId" value="<c:out value='${param.bbsId}'/>" />
| |
| 137 | - <input type="hidden" name="nttNo" value="<c:out value='${param.nttNo}'/>" />
| |
| 138 | - | |
| 139 | - <input name="searchCnd" type="hidden" value="<c:out value="${param.searchCnd}"/>"/>
| |
| 140 | - <input name="searchWrd" type="hidden" value="<c:out value="${param.searchWrd}"/>"/>
| |
| 141 | - <input name="searchCate" type="hidden" value="<c:out value="${param.searchCate}"/>"/>
| |
| 142 | - <input name="tmplatImportAt" type="hidden" value="<c:out value="${param.tmplatImportAt}"/>"/>
| |
| 143 | - | |
| 144 | - <input type="hidden" name="menuId" value="<c:out value='${param.menuId}'/>"/>
| |
| 145 | - <c:forEach var="searchCate" items="${searchVO.searchCateList}" varStatus="statusCate">
| |
| 146 | - <c:if test="${not empty searchCate}">
| |
| 147 | - <input name="searchCateList" type="hidden" value="<c:out value="${searchCate}"/>"/>
| |
| 148 | - </c:if> | |
| 149 | - </c:forEach> | |
| 150 | - | |
| 151 | - <input name="commentNo" type="hidden" value="<c:out value='${searchVO.commentNo}'/>"/>
| |
| 152 | - <input name="modified" type="hidden" value="false"/> | |
| 153 | - <input name="confirmPassword" type="hidden"/> | |
| 154 | - | |
| 155 | - <strong><spring:message code="cop.comment.write"/></strong> | |
| 156 | - <textarea name="commentCn" rows="0" cols="0" maxlength="2000" placeholder="<spring:message code="cop.comment"/>을 입력하세요."></textarea> | |
| 157 | - <span class="bbtn_input"><input type="submit" value="<spring:message code="button.create"/>" /></span> | |
| 158 | - <p><spring:message code='cop.comment.msg' /></p> | |
| 159 | - </form> | |
| 160 | - </div> | |
| 161 | - </c:when> | |
| 162 | - <c:otherwise> | |
| 163 | - <div class="comment_inp"> | |
| 164 | - <strong><spring:message code="cop.comment.write"/></strong> | |
| 165 | - <textarea name="commentCn" rows="0" cols="0" readonly="readonly"><spring:message code="cop.comment"/>을 작성하시려면 로그인이 필요합니다.</textarea> | |
| 166 | - <span class="bbtn_input"><a href="#"><spring:message code="button.create"/></a></span> | |
| 167 | - <p><spring:message code='cop.comment.msg' /></p> | |
| 168 | - </div> | |
| 169 | - </c:otherwise> | |
| 170 | - </c:choose> | |
| 171 | - </div> | |
| 172 | - | |
| 173 | - <c:if test="${not empty subMsg}">
| |
| 174 | - <script type="text/javascript"> | |
| 175 | - alert("<c:out value='${subMsg}'/>");
| |
| 176 | - </script> | |
| 177 | - </c:if>(파일 끝에 줄바꿈 문자 없음) |
--- base/src/main/webapp/WEB-INF/jsp/egovframework/str/cre/bbs/sourc/BBSSRC_0000000000005/EgovNoticeInqire.jsp
... | ... | @@ -1,167 +0,0 @@ |
| 1 | -<%@ page language="java" contentType="text/html; charset=utf-8" pageEncoding="utf-8"%> | |
| 2 | -<%@ page import="egovframework.com.cmm.service.EgovProperties"%> | |
| 3 | -<%@ taglib prefix="c" uri="http://java.sun.com/jsp/jstl/core"%> | |
| 4 | -<%@ taglib prefix="ui" uri="http://egovframework.gov/ctl/ui"%> | |
| 5 | -<%@ taglib uri="http://java.sun.com/jsp/jstl/functions" prefix="fn"%> | |
| 6 | -<%@ taglib prefix="spring" uri="http://www.springframework.org/tags"%> | |
| 7 | -<%@ taglib prefix="form" uri="http://www.springframework.org/tags/form"%> | |
| 8 | -<%@ taglib prefix="fmt" uri="http://java.sun.com/jsp/jstl/fmt" %> | |
| 9 | -<c:set var="IS_MOBILE"><%=egovframework.com.utl.fcc.service.EgovHttpUtil.getIsMobile(request)%></c:set> | |
| 10 | -<c:set var="TEMPLATE_PATH" value="${IS_MOBILE ? 'mbl' : 'web'}"/>
| |
| 11 | -<c:set var="_WEB_FULL_PATH" value="http://${siteInfo.siteUrl}"/>
| |
| 12 | -<c:set var="_IMG" value="${BbsFileStoreWebPathByWebFile}${brdMstrVO.tmplatId }/images"/>
| |
| 13 | -<c:set var="_C_CSS" value="/template/common/css"/> | |
| 14 | -<c:set var="_C_JS" value="${_WEB_FULL_PATH}/template/common/js"/>
| |
| 15 | -<c:set var="_C_IMG" value="/template/common/images"/> | |
| 16 | - | |
| 17 | -<c:set var="_PREFIX" value="/cop/bbs"/> | |
| 18 | - | |
| 19 | -<% /*URL 정의*/ %> | |
| 20 | -<c:url var="_BASE_PARAM" value=""> | |
| 21 | - <c:param name="pageIndex" value="${searchVO.pageIndex}" />
| |
| 22 | - <c:param name="bbsId" value="${board.bbsId}" />
| |
| 23 | - <c:param name="menuId" value="${searchVO.menuId}"/>
| |
| 24 | - <c:if test="${not empty searchVO.searchCate}"><c:param name="searchCate" value="${searchVO.searchCate}" /></c:if>
| |
| 25 | - <c:if test="${not empty searchVO.searchCnd}"><c:param name="searchCnd" value="${searchVO.searchCnd}" /></c:if>
| |
| 26 | - <c:if test="${not empty searchVO.searchWrd}"><c:param name="searchWrd" value="${searchVO.searchWrd}" /></c:if>
| |
| 27 | - <c:if test="${not empty searchVO.tmplatImportAt}"><c:param name="tmplatImportAt" value="${searchVO.tmplatImportAt}"/></c:if>
| |
| 28 | - <c:if test="${not empty searchVO.viewType}"><c:param name="viewType" value="${searchVO.viewType}"/></c:if>
| |
| 29 | - <c:forEach var="searchCate" items="${searchVO.searchCateList}" varStatus="statusCate">
| |
| 30 | - <c:if test="${not empty searchCate}">
| |
| 31 | - <c:param name="searchCateList" value="${searchCate}" />
| |
| 32 | - </c:if> | |
| 33 | - </c:forEach> | |
| 34 | -</c:url> | |
| 35 | -<% /*URL 정의*/ %> | |
| 36 | - | |
| 37 | -<c:import url="/msi/tmplatHead.do" charEncoding="utf-8"> | |
| 38 | - <c:param name="BBS_TMPLATID" value="${brdMstrVO.tmplatId }"/>
| |
| 39 | - <c:param name="tableCssAt" value="Y"/> | |
| 40 | - <c:param name="contTitleAt" value="N"/> | |
| 41 | -</c:import> | |
| 42 | - | |
| 43 | -<c:set var="SE_CODE" value="01" /> | |
| 44 | -<c:if test="${not empty USER_INFO.id}">
| |
| 45 | - <c:set var="SE_CODE" value="${USER_INFO.userSe}" />
| |
| 46 | -</c:if> | |
| 47 | - | |
| 48 | -<script src="${_C_JS}/board.js" ></script>
| |
| 49 | -<script> | |
| 50 | - $(document).ready(function(){
| |
| 51 | - $('#btnBbsDelete').click(function() {
| |
| 52 | - var href = $(this).data("href");
| |
| 53 | - $(".btnModalConfirm").click(function(){
| |
| 54 | - location.href = href; | |
| 55 | - }); | |
| 56 | - return false; | |
| 57 | - }); | |
| 58 | - }); | |
| 59 | -</script> | |
| 60 | - | |
| 61 | -<!-- 게시물--> | |
| 62 | -<section class="board-view-wrap"> | |
| 63 | - <!-- 제목 --> | |
| 64 | - <article class="board-title-wrap"> | |
| 65 | - <div class="main-common-title3"> | |
| 66 | - <h2 class="title"><c:out value="${board.nttSj}" /></h2>
| |
| 67 | - </div> | |
| 68 | - <div class="board-info-wrap"> | |
| 69 | - <dl class="item"> | |
| 70 | - <dt class="title">등록일</dt> | |
| 71 | - <dd class="desc"><fmt:formatDate value="${board.frstRegisterPnttm}" pattern="yyyy.MM.dd"/></dd>
| |
| 72 | - </dl> | |
| 73 | - </div> | |
| 74 | - </article> | |
| 75 | - <!-- 내용 --> | |
| 76 | - <article class="board-content-wrap"> | |
| 77 | - <div class="board-editor-content"> | |
| 78 | - <!-- 에디터영역 --> | |
| 79 | - <div id="froala_editor" class="froala-read-only"> | |
| 80 | - <c:out value="${board.nttCn}" escapeXml="false" />
| |
| 81 | - </div> | |
| 82 | - </div> | |
| 83 | - </article> | |
| 84 | -</section> | |
| 85 | -<hr class="line-hr mb-20"> | |
| 86 | - | |
| 87 | -<!-- 첨부파일 --> | |
| 88 | -<c:if test="${not empty board.atchFileId}">
| |
| 89 | - <c:import url="/cmm/fms/selectFileInfs.do" charEncoding="utf-8"> | |
| 90 | - <c:param name="param_atchFileId" value="${board.atchFileId}" />
| |
| 91 | - <c:param name="imagePath" value="${_IMG }"/>
| |
| 92 | - </c:import> | |
| 93 | -</c:if> | |
| 94 | - | |
| 95 | -<%-- 답변 글 --%> | |
| 96 | -<c:if test="${brdMstrVO.bbsAttrbCode eq 'BBSA11' and board.processSttusCode eq 'QA03'}">
| |
| 97 | - <%-- | |
| 98 | - <c:if test="${not empty board.estnAtchFileId}">
| |
| 99 | - <dl class="file_view"> | |
| 100 | - <dt><spring:message code="cop.atchFileList" /></dt> | |
| 101 | - <dd> | |
| 102 | - <c:if test="${not empty board.estnAtchFileId}">
| |
| 103 | - <c:import url="/cmm/fms/selectFileInfs.do" charEncoding="utf-8"> | |
| 104 | - <c:param name="param_atchFileId" value="${board.estnAtchFileId}" />
| |
| 105 | - <c:param name="imagePath" value="${_IMG }"/>
| |
| 106 | - </c:import> | |
| 107 | - </c:if> | |
| 108 | - </dd> | |
| 109 | - </dl> | |
| 110 | - </c:if> | |
| 111 | - --%> | |
| 112 | - <c:if test="${not empty board.estnData}">
| |
| 113 | - | |
| 114 | - <div class="view_cont"> | |
| 115 | - <c:out value="${board.estnParseData.cn}" escapeXml="false" />
| |
| 116 | - </div> | |
| 117 | - | |
| 118 | - <hr class="line-hr mb-20"> | |
| 119 | - </c:if> | |
| 120 | -</c:if> | |
| 121 | - | |
| 122 | - | |
| 123 | - | |
| 124 | -<!-- 하단버튼 --> | |
| 125 | -<div class="page-btn-wrap mt-10"> | |
| 126 | - <div class="left-area"> | |
| 127 | - <a href="<c:url value="${_PREFIX}/selectBoardList.do${_BASE_PARAM}"/>" class="btn-sm btn-outline-gray font-basic">목록</a>
| |
| 128 | - </div> | |
| 129 | - | |
| 130 | - <c:if test="${not empty USER_INFO.id}">
| |
| 131 | - <div class="right-area"> | |
| 132 | - <c:if test="${brdMstrVO.replyPosblAt eq 'Y' and SE_CODE >= brdMstrVO.answerAuthor}">
| |
| 133 | - <c:url var="addReplyBoardArticleUrl" value="${_PREFIX}/addReplyBoardArticle.do${_BASE_PARAM}">
| |
| 134 | - <c:param name="nttNo" value="${board.nttNo}" />
| |
| 135 | - <c:param name="registAction" value="reply" /> | |
| 136 | - </c:url> | |
| 137 | - <a href="<c:out value="${addReplyBoardArticleUrl}"/>" class="btn-sm btn-outline-gray font-basic" title="<spring:message code="button.reply"/>(<c:out value="${brdMstrVO.bbsNm }"/>)"><spring:message code="button.reply"/></a>
| |
| 138 | - </c:if> | |
| 139 | - <c:if test="${board.frstRegisterId eq USER_INFO.id or SE_CODE >= 10}">
| |
| 140 | - <%-- | |
| 141 | - <c:url var="forUpdateBoardArticleUrl" value="${_PREFIX}/forUpdateBoardArticle.do${_BASE_PARAM}">
| |
| 142 | - <c:param name="nttNo" value="${board.nttNo}" />
| |
| 143 | - <c:param name="registAction" value="updt" /> | |
| 144 | - </c:url> | |
| 145 | - <span class="bbtn"><a href="<c:out value="${forUpdateBoardArticleUrl}"/>" title="<spring:message code="button.update"/>(<c:out value="${brdMstrVO.bbsNm }"/>)"><spring:message code="button.update"/></a></span>
| |
| 146 | - --%> | |
| 147 | - <c:url var="deleteBoardArticleUrl" value="${_PREFIX}/deleteBoardArticle.do${_BASE_PARAM}">
| |
| 148 | - <c:param name="nttNo" value="${board.nttNo}" />
| |
| 149 | - </c:url> | |
| 150 | - <button id="btnBbsDelete" onclick="location.href='<c:out value="${deleteBoardArticleUrl}"/>'" class="btn-sm btn-outline-gray font-basic btnModalOpen" data-modal-type="confirm" data-modal-header="알림" data-modal-text="삭제된 글은 복구가 불가능합니다. <br>글을 삭제하시겠습니까?" data-modal-rightbtn="확인">삭제</button>
| |
| 151 | - </c:if> | |
| 152 | - | |
| 153 | - </div> | |
| 154 | - </c:if> | |
| 155 | -</div> | |
| 156 | - | |
| 157 | -<c:choose> | |
| 158 | - <c:when test="${searchVO.tmplatImportAt ne 'N'}">
| |
| 159 | - <c:import url="/msi/tmplatBottom.do" charEncoding="utf-8"> | |
| 160 | - <c:param name="modalAt" value="Y"/> | |
| 161 | - </c:import> | |
| 162 | - </c:when> | |
| 163 | - <c:otherwise> | |
| 164 | - </body> | |
| 165 | - </html> | |
| 166 | - </c:otherwise> | |
| 167 | -</c:choose>(파일 끝에 줄바꿈 문자 없음) |
--- base/src/main/webapp/WEB-INF/jsp/egovframework/str/cre/bbs/sourc/BBSSRC_0000000000005/EgovNoticeList.jsp
... | ... | @@ -1,154 +0,0 @@ |
| 1 | -<%@ page language="java" contentType="text/html; charset=utf-8" pageEncoding="utf-8"%> | |
| 2 | -<%@ page import="egovframework.com.cmm.service.EgovProperties"%> | |
| 3 | -<%@ taglib prefix="c" uri="http://java.sun.com/jsp/jstl/core"%> | |
| 4 | -<%@ taglib prefix="ui" uri="http://egovframework.gov/ctl/ui"%> | |
| 5 | -<%@ taglib uri="http://java.sun.com/jsp/jstl/functions" prefix="fn"%> | |
| 6 | -<%@ taglib prefix="spring" uri="http://www.springframework.org/tags"%> | |
| 7 | -<%@ taglib prefix="form" uri="http://www.springframework.org/tags/form"%> | |
| 8 | -<%@ taglib prefix="fmt" uri="http://java.sun.com/jsp/jstl/fmt" %> | |
| 9 | -<c:set var="IS_MOBILE"><%=egovframework.com.utl.fcc.service.EgovHttpUtil.getIsMobile(request)%></c:set> | |
| 10 | -<c:set var="TEMPLATE_PATH" value="${IS_MOBILE ? 'mbl' : 'web'}"/>
| |
| 11 | -<c:set var="_WEB_FULL_PATH" value="http://${siteInfo.siteUrl}"/>
| |
| 12 | -<c:set var="_IMG" value="${BbsFileStoreWebPathByWebFile}${brdMstrVO.tmplatId }/images"/>
| |
| 13 | -<c:set var="_C_CSS" value="/template/common/css"/> | |
| 14 | -<c:set var="_C_JS" value="/template/common/js"/> | |
| 15 | -<c:set var="_C_IMG" value="/template/common/images"/> | |
| 16 | -<c:set var="CML" value="/template/lms"/> | |
| 17 | - | |
| 18 | -<c:set var="_PREFIX" value="/cop/bbs"/> | |
| 19 | - | |
| 20 | -<% /*URL 정의*/ %> | |
| 21 | -<c:url var="_BASE_PARAM" value=""> | |
| 22 | - <c:param name="menuId" value="${searchVO.menuId}"/>
| |
| 23 | - <c:param name="bbsId" value="${searchVO.bbsId}" />
| |
| 24 | - <c:if test="${fn:length(searchVO.searchCateList) ne 0}">
| |
| 25 | - <c:forEach var="searchCate" items="${searchVO.searchCateList}" varStatus="statusCate">
| |
| 26 | - <c:if test="${not empty searchCate}">
| |
| 27 | - <c:param name="searchCateList" value="${searchCate}" />
| |
| 28 | - </c:if> | |
| 29 | - </c:forEach> | |
| 30 | - </c:if> | |
| 31 | - <c:if test="${not empty searchVO.searchCate}"><c:param name="searchCate" value="${searchVO.searchCate}" /></c:if>
| |
| 32 | - <c:if test="${not empty searchVO.searchCnd}"><c:param name="searchCnd" value="${searchVO.searchCnd}" /></c:if>
| |
| 33 | - <c:if test="${not empty searchVO.searchWrd}"><c:param name="searchWrd" value="${searchVO.searchWrd}" /></c:if>
| |
| 34 | - <c:if test="${not empty searchVO.tmplatImportAt}"><c:param name="tmplatImportAt" value="${searchVO.tmplatImportAt}"/></c:if>
| |
| 35 | - <c:if test="${not empty searchVO.viewType}"><c:param name="viewType" value="${searchVO.viewType}"/></c:if>
| |
| 36 | -</c:url> | |
| 37 | -<% /*URL 정의*/ %> | |
| 38 | - | |
| 39 | -<c:choose> | |
| 40 | - <c:when test="${searchVO.tmplatImportAt ne 'N'}">
| |
| 41 | - <c:import url="/msi/tmplatHead.do" charEncoding="utf-8"> | |
| 42 | - <c:param name="BBS_TMPLATID" value="${brdMstrVO.tmplatId }"/>
| |
| 43 | - </c:import> | |
| 44 | - </c:when> | |
| 45 | - <c:otherwise> | |
| 46 | - | |
| 47 | - </c:otherwise> | |
| 48 | -</c:choose> | |
| 49 | - | |
| 50 | -<c:set var="SE_CODE" value="01" /> | |
| 51 | -<c:if test="${not empty USER_INFO.id}">
| |
| 52 | - <c:set var="SE_CODE" value="${USER_INFO.userSe}" />
| |
| 53 | -</c:if> | |
| 54 | - | |
| 55 | -<script type="text/javascript" src="${_C_JS}/board.js" ></script>
| |
| 56 | -<script type="text/javascript"> | |
| 57 | -$(document).ready(function(){
| |
| 58 | - $('#btnBbsWrite').click(function() {fn_egov_addNotice(this.href);return false;});
| |
| 59 | - | |
| 60 | - //페이징 버튼 | |
| 61 | - $(".start, .prev, .next, .end").click(function(){
| |
| 62 | - var url = $(this).data("url");
| |
| 63 | - | |
| 64 | - location.href = url; | |
| 65 | - }); | |
| 66 | - | |
| 67 | - //검색 | |
| 68 | - $(".goods-search-btn").click(function(){
| |
| 69 | - $("input[name=searchWrd]").val($("#searchWrd").val());
| |
| 70 | - $("#frm").submit();
| |
| 71 | - }); | |
| 72 | -}); | |
| 73 | -</script> | |
| 74 | - | |
| 75 | -<section class="section-gap special-common"> | |
| 76 | -<div class="area"> | |
| 77 | - <img src="/template/lms/imgs/page/special/img_top_banner.jpg" alt="K-MOOC는 온라인을 통해서 누구나, 어디서나 원하는 강좌를 무료로 들을 수 있는 온라인 공개강좌 서비스로 2015년에 시작된 한국형 무크입니다." /> | |
| 78 | - <div class="board-video-search-wrap mt-45"> | |
| 79 | - <p class="title">한국외국어대학교 K-MOOC 온라인 강좌</p> | |
| 80 | - <div class="search-input-wrap"> | |
| 81 | - <!-- 게시판 검색영역 --> | |
| 82 | - <form id="frm" name="frm" method="post" action="<c:url value='${_PREFIX}/selectBoardList.do'/>">
| |
| 83 | - <input type="hidden" name="bbsId" value="<c:out value='${searchVO.bbsId}'/>" />
| |
| 84 | - <input name="menuId" type="hidden" value="<c:out value='${searchVO.menuId}'/>" />
| |
| 85 | - <input name="searchCate" type="hidden" value="<c:out value='${searchVO.searchCate}'/>" />
| |
| 86 | - <input name="searchCnd" type="hidden" value="0" /> | |
| 87 | - <input name="searchWrd" type="hidden" value="<c:out value="${searchVO.searchWrd}"/>"/>
| |
| 88 | - </form> | |
| 89 | - <input id="searchWrd" value="<c:out value="${searchVO.searchWrd}"/>" type="text" class="search-input" placeholder="강좌 검색"/>
| |
| 90 | - <div class="goods-search-btn"> | |
| 91 | - <img src="${CML}/imgs/common/icon_notice_search.svg" alt="검색">
| |
| 92 | - </div> | |
| 93 | - </div> | |
| 94 | - </div> | |
| 95 | - <div class="flex-row board-video-thumb-wrap"> | |
| 96 | - <c:forEach var="result" items="${resultList}" varStatus="status">
| |
| 97 | - <div class="flex-col-4"> | |
| 98 | - <a href="<c:out value="${result.tmp05}"/>" target="_blank">
| |
| 99 | - <c:set var="imgSrc"> | |
| 100 | - <c:choose> | |
| 101 | - <c:when test="${empty result.atchFileNm}">${CML}/imgs/common/img_no_image.svg</c:when>
| |
| 102 | - <c:otherwise> | |
| 103 | - <c:url value='/cmm/fms/getImage.do'/>?thumbYn=Y&siteId=<c:out value="${brdMstrVO.siteId}"/>&appendPath=<c:out value="${searchVO.bbsId}"/>&atchFileNm=<c:out value="${result.atchFileNm}"/>
| |
| 104 | - </c:otherwise> | |
| 105 | - </c:choose> | |
| 106 | - </c:set> | |
| 107 | - <div class="board-video-img" style="background-image:url(${imgSrc});">
| |
| 108 | - <span class="text-hide">동영상썸네일</span> | |
| 109 | - </div> | |
| 110 | - <p class="board-video-title ell"><c:out value="${result.nttSj}"/></p>
| |
| 111 | - <ul class="card-items-wrap"> | |
| 112 | - <li class="card-items icon-campus"><c:out value="${result.tmp03}"/></li>
| |
| 113 | - <li class="card-items icon-date"><c:out value="${result.tmp01}"/> ~ <c:out value="${result.tmp02}"/></li>
| |
| 114 | - </ul> | |
| 115 | - </a> | |
| 116 | - </div> | |
| 117 | - </c:forEach> | |
| 118 | - </div> | |
| 119 | - | |
| 120 | - <div class="pagination center-align"> | |
| 121 | - <div class="pagination-inner-wrap overflow-hidden inline-block"> | |
| 122 | - <c:url var="startUrl" value="${_PREFIX}/selectBoardList.do${_BASE_PARAM}">
| |
| 123 | - <c:param name="pageIndex" value="1" /> | |
| 124 | - </c:url> | |
| 125 | - <button class="start" data-url="${startUrl}"></button>
| |
| 126 | - | |
| 127 | - <c:url var="prevUrl" value="${_PREFIX}/selectBoardList.do${_BASE_PARAM}">
| |
| 128 | - <c:param name="pageIndex" value="${searchVO.pageIndex > 1 ? searchVO.pageIndex - 1 : 1}"/>
| |
| 129 | - </c:url> | |
| 130 | - <button class="prev" data-url="${prevUrl}"></button>
| |
| 131 | - | |
| 132 | - <ul class="paginate-list f-l overflow-hidden"> | |
| 133 | - <c:url var="pageUrl" value="${_PREFIX}/selectBoardList.do${_BASE_PARAM}"/>
| |
| 134 | - <c:set var="pagingParam"><c:out value="${pageUrl}"/></c:set>
| |
| 135 | - <ui:pagination paginationInfo="${paginationInfo}" type="smart_school" jsFunction="${pagingParam}" />
| |
| 136 | - </ul> | |
| 137 | - | |
| 138 | - <c:url var="nextUrl" value="${_PREFIX}/selectBoardList.do${_BASE_PARAM}">
| |
| 139 | - <c:param name="pageIndex" value="${searchVO.pageIndex < paginationInfo.totalPageCount ? searchVO.pageIndex + 1 : searchVO.pageIndex}" />
| |
| 140 | - </c:url> | |
| 141 | - <button class="next" data-url="${nextUrl}"></button>
| |
| 142 | - | |
| 143 | - <c:url var="endUrl" value="${_PREFIX}/selectBoardList.do${_BASE_PARAM}">
| |
| 144 | - <c:param name="pageIndex" value="${paginationInfo.totalPageCount}"/>
| |
| 145 | - </c:url> | |
| 146 | - <button class="end" data-url="${endUrl}"></button>
| |
| 147 | - </div> | |
| 148 | - </div> | |
| 149 | - </div> | |
| 150 | -</section> | |
| 151 | - | |
| 152 | -<c:import url="/msi/tmplatBottom.do" charEncoding="utf-8"> | |
| 153 | - <c:param name="modalAt" value="Y"/> | |
| 154 | -</c:import>(파일 끝에 줄바꿈 문자 없음) |
--- base/src/main/webapp/WEB-INF/jsp/egovframework/str/cre/bbs/sourc/BBSSRC_0000000000005/EgovNoticeRegist.jsp
... | ... | @@ -1,326 +0,0 @@ |
| 1 | -<%@ page language="java" contentType="text/html; charset=utf-8" pageEncoding="utf-8"%> | |
| 2 | -<%@ taglib prefix="c" uri="http://java.sun.com/jsp/jstl/core" %> | |
| 3 | -<%@ taglib prefix="ui" uri="http://egovframework.gov/ctl/ui"%> | |
| 4 | -<%@ taglib uri="http://java.sun.com/jsp/jstl/functions" prefix="fn" %> | |
| 5 | -<%@ taglib prefix="spring" uri="http://www.springframework.org/tags"%> | |
| 6 | -<%@ taglib prefix="form" uri="http://www.springframework.org/tags/form" %> | |
| 7 | -<%@ page import="egovframework.com.sec.ram.security.userdetails.util.EgovUserDetailsHelper"%> | |
| 8 | -<c:set var="_C_CSS" value="/template/common/css"/> | |
| 9 | -<c:set var="_C_JS" value="/template/common/js"/> | |
| 10 | -<c:set var="_IMG" value="${BbsFileStoreWebPathByWebFile}${brdMstrVO.tmplatId }/images"/>
| |
| 11 | -<c:set var="_C_LIB" value="/lib"/> | |
| 12 | - | |
| 13 | -<c:set var="_PREFIX" value="/cop/bbs"/> | |
| 14 | -<c:set var="_EDITOR_ID" value="nttCn"/> | |
| 15 | -<c:set var="_ACTION" value=""/> | |
| 16 | - | |
| 17 | -<c:choose> | |
| 18 | - <c:when test="${searchVO.registAction eq 'regist' }">
| |
| 19 | - <c:set var="_ACTION" value="${pageContext.request.contextPath}${_PREFIX}/insertBoardArticle.do"/>
| |
| 20 | - </c:when> | |
| 21 | - <c:when test="${searchVO.registAction eq 'updt' }">
| |
| 22 | - <c:set var="_ACTION" value="${pageContext.request.contextPath}${_PREFIX}/updateBoardArticle.do"/>
| |
| 23 | - </c:when> | |
| 24 | - <c:when test="${searchVO.registAction eq 'reply' }">
| |
| 25 | - <c:set var="_ACTION" value="${pageContext.request.contextPath}${_PREFIX}/replyBoardArticle.do"/>
| |
| 26 | - </c:when> | |
| 27 | -</c:choose> | |
| 28 | - | |
| 29 | - | |
| 30 | -<c:set var="SE_CODE" value="01" /> | |
| 31 | -<c:if test="${not empty USER_INFO.id}">
| |
| 32 | - <c:set var="SE_CODE" value="${USER_INFO.userSe}" />
| |
| 33 | -</c:if> | |
| 34 | - | |
| 35 | -<c:import url="/msi/tmplatHead.do" charEncoding="utf-8"> | |
| 36 | - <c:param name="BBS_TMPLATID" value="${brdMstrVO.tmplatId }"/>
| |
| 37 | - <c:param name="tableCssAt" value="Y"/> | |
| 38 | -</c:import> | |
| 39 | - | |
| 40 | -<script src="${_C_LIB}/tinymce/js/tinymce/jquery.tinymce.min.js"></script>
| |
| 41 | -<script src="${_C_LIB}/tinymce/js/tinymce/tinymce.min.js"></script>
| |
| 42 | - | |
| 43 | - | |
| 44 | -<script src="${_C_LIB}/upload/upload.js?v=1" ></script>
| |
| 45 | -<script src="${_C_JS}/board.js?v=1" ></script>
| |
| 46 | - | |
| 47 | -<link rel="stylesheet" href="${_C_LIB}/jquery-ui-1.12.1.custom/jquery-ui.css">
| |
| 48 | -<script src="${_C_LIB}/jquery/jquery.ui.widget.js"></script>
| |
| 49 | -<script src="${_C_LIB}/upload/jquery.iframe-transport.js"></script>
| |
| 50 | -<script src="${_C_LIB}/upload/jquery.fileupload.js"></script>
| |
| 51 | -<script src="${_C_LIB}/upload/jquery.fileupload-process.js"></script>
| |
| 52 | -<script src="${_C_LIB}/upload/jquery.fileupload-image.js"></script>
| |
| 53 | -<script src="${_C_LIB}/upload/jquery.fileupload-audio.js"></script>
| |
| 54 | -<script src="${_C_LIB}/upload/jquery.fileupload-video.js"></script>
| |
| 55 | -<script src="${_C_LIB}/upload/jquery.fileupload-validate.js"></script>
| |
| 56 | -<script src="${_C_LIB}/upload/jquery.fileupload-ui.js"></script>
| |
| 57 | - | |
| 58 | -<script src="${_C_JS}/board.js" ></script>
| |
| 59 | -<script> | |
| 60 | -function fn_egov_regist() {
| |
| 61 | - | |
| 62 | - tinyMCE.triggerSave(); | |
| 63 | - | |
| 64 | - <c:if test="${searchVO.registAction ne 'reply'}">
| |
| 65 | - if($.trim($('#${_EDITOR_ID}').val()) == "") {
| |
| 66 | - alert('<spring:message code="cop.nttCn" />은(는) 필수 입력값입니다');
| |
| 67 | - tinyMCE.activeEditor.focus(); | |
| 68 | - return false; | |
| 69 | - } | |
| 70 | - </c:if> | |
| 71 | - | |
| 72 | - $('#fileGroupId').val($('#fileGroupId_${_EDITOR_ID}').val());
| |
| 73 | - | |
| 74 | - <c:if test="${!empty brdMstrVO.ctgrymasterId and searchVO.registAction ne 'reply'}">
| |
| 75 | - for(var cmIdx = 1 ; cmIdx <= boardCateLevel ; cmIdx++){
| |
| 76 | - var cmObj = document.getElementById("ctgry" + cmIdx);
| |
| 77 | - if(cmObj != null) {
| |
| 78 | - if(fn_egov_SelectBoxValue("ctgry" + cmIdx) != '') {
| |
| 79 | - document.board.ctgryId.value = fn_egov_SelectBoxValue("ctgry" + cmIdx);
| |
| 80 | - } | |
| 81 | - } | |
| 82 | - } | |
| 83 | - </c:if> | |
| 84 | - | |
| 85 | - <c:choose> | |
| 86 | - <c:when test="${searchVO.registAction eq 'updt'}">
| |
| 87 | - if (!confirm('<spring:message code="common.update.msg" />')) {
| |
| 88 | - return false | |
| 89 | - } | |
| 90 | - </c:when> | |
| 91 | - <c:otherwise> | |
| 92 | - if (!confirm('<spring:message code="common.regist.msg" />')) {
| |
| 93 | - return false; | |
| 94 | - } | |
| 95 | - </c:otherwise> | |
| 96 | - </c:choose> | |
| 97 | -} | |
| 98 | - | |
| 99 | -<c:if test="${!empty brdMstrVO.ctgrymasterId and searchVO.registAction ne 'reply'}">
| |
| 100 | - var boardCateLevel = <c:out value='${boardCateLevel}'/>;
| |
| 101 | - var boardCateList = new Array(${fn:length(boardCateList)});
| |
| 102 | - <c:forEach var="cate" items="${boardCateList}" varStatus="status">
| |
| 103 | - boardCateList[${status.index}] = new ctgryObj('<c:out value='${cate.upperCtgryId}'/>', '<c:out value='${cate.ctgryId}'/>', '<c:out value='${cate.ctgryNm}'/>', <c:out value='${cate.ctgryLevel}'/>);
| |
| 104 | - </c:forEach> | |
| 105 | -</c:if> | |
| 106 | - | |
| 107 | - | |
| 108 | -$(document).ready( function() {
| |
| 109 | - var adfile_config = {
| |
| 110 | - siteId:"<c:out value='${brdMstrVO.siteId}'/>",
| |
| 111 | - pathKey:"Board", | |
| 112 | - appendPath:"<c:out value='${brdMstrVO.bbsId}'/>",
| |
| 113 | - editorId:"${_EDITOR_ID}",
| |
| 114 | - fileAtchPosblAt:"${brdMstrVO.fileAtchPosblAt}",
| |
| 115 | - maxMegaFileSize:${brdMstrVO.posblAtchFileSize},
| |
| 116 | - atchFileId:"${board.atchFileId}"
| |
| 117 | - }; | |
| 118 | - | |
| 119 | - fnCtgryInit('<c:out value='${board.ctgryPathById}'/>');
| |
| 120 | - fn_egov_bbs_editor(adfile_config); | |
| 121 | -}); | |
| 122 | -</script> | |
| 123 | - | |
| 124 | - <form:form commandName="board" name="board" method="post" action="${_ACTION}" enctype="multipart/form-data" onsubmit="return fn_egov_regist()">
| |
| 125 | - <input name="pageIndex" type="hidden" value="<c:out value='${searchVO.pageIndex}'/>"/>
| |
| 126 | - <input type="hidden" name="cal_url" value="<c:url value='/sym/cmm/EgovNormalCalPopup.do'/>" /> | |
| 127 | - <input type="hidden" id="posblAtchFileNumber_${_EDITOR_ID}" name="posblAtchFileNumber_${_EDITOR_ID}" value="${brdMstrVO.posblAtchFileNumber}" />
| |
| 128 | - <input type="hidden" id="posblAtchFileSize_${_EDITOR_ID}" name="posblAtchFileSize_${_EDITOR_ID}" value="${brdMstrVO.posblAtchFileSize * 1024 * 1024}" />
| |
| 129 | - <input type="hidden" id="fileGroupId" name="fileGroupId" value="${board.atchFileId}"/>
| |
| 130 | - <input type="hidden" name="bbsId" value="<c:out value='${brdMstrVO.bbsId}'/>" />
| |
| 131 | - <input name="menuId" type="hidden" value="<c:out value='${searchVO.menuId}'/>" />
| |
| 132 | - <input type="hidden" name="registAction" value="<c:out value='${searchVO.registAction}'/>"/>
| |
| 133 | - <input type="hidden" name="tmplatImportAt" value="<c:out value='${searchVO.tmplatImportAt}'/>"/>
| |
| 134 | - | |
| 135 | - <form:hidden path="nttNo"/> | |
| 136 | - <form:hidden path="ctgryId"/> | |
| 137 | - <%-- | |
| 138 | - <form:hidden path="ordrCode"/> | |
| 139 | - <form:hidden path="ordrCodeDp"/> | |
| 140 | - --%> | |
| 141 | - <form:hidden path="atchFileId"/> | |
| 142 | - | |
| 143 | - <c:choose> | |
| 144 | - <c:when test="${brdMstrVO.bbsAttrbCode eq 'BBSA11' and searchVO.registAction eq 'reply'}">
| |
| 145 | - <!-- 게시물--> | |
| 146 | - <section class="board-view-wrap"> | |
| 147 | - <!-- 제목 --> | |
| 148 | - <article class="board-title-wrap"> | |
| 149 | - <div class="main-common-title3"> | |
| 150 | - <h2 class="title"><c:out value="${board.nttSj}" /></h2>
| |
| 151 | - </div> | |
| 152 | - <div class="board-info-wrap"> | |
| 153 | - <dl class="item"> | |
| 154 | - <dt class="title">등록일</dt> | |
| 155 | - <dd class="desc"><fmt:formatDate value="${board.frstRegisterPnttm}" pattern="yyyy.MM.dd"/></dd>
| |
| 156 | - </dl> | |
| 157 | - </div> | |
| 158 | - </article> | |
| 159 | - <!-- 내용 --> | |
| 160 | - <article class="board-content-wrap"> | |
| 161 | - <div class="board-editor-content"> | |
| 162 | - <!-- 에디터영역 --> | |
| 163 | - <div id="froala_editor" class="froala-read-only"> | |
| 164 | - <c:out value="${board.nttCn}" escapeXml="false" />
| |
| 165 | - </div> | |
| 166 | - </div> | |
| 167 | - </article> | |
| 168 | - </section> | |
| 169 | - <hr class="line-hr mb-20"> | |
| 170 | - | |
| 171 | - <!-- 첨부파일 --> | |
| 172 | - <c:if test="${not empty board.atchFileId}">
| |
| 173 | - <c:import url="/cmm/fms/selectFileInfs.do" charEncoding="utf-8"> | |
| 174 | - <c:param name="param_atchFileId" value="${board.atchFileId}" />
| |
| 175 | - <c:param name="imagePath" value="${_IMG }"/>
| |
| 176 | - </c:import> | |
| 177 | - </c:if> | |
| 178 | - | |
| 179 | - <select name="processSttusCode" id="ftext" class="select"> | |
| 180 | - <c:forEach var="resultState" items="${qaCodeList}" varStatus="status">
| |
| 181 | - <option value='<c:out value="${resultState.code}"/>' <c:if test="${board.processSttusCode eq resultState.code}">selected="selected"</c:if>><c:out value="${resultState.codeNm}"/></option>
| |
| 182 | - </c:forEach> | |
| 183 | - </select> | |
| 184 | - <br/><br/> | |
| 185 | - <textarea name="estnData" rows="10"><c:out value="${board.estnParseData.cn}" escapeXml="false"/></textarea>
| |
| 186 | - </c:when> | |
| 187 | - <c:otherwise> | |
| 188 | - <tr> | |
| 189 | - <th><spring:message code="cop.nttSj" /></th> | |
| 190 | - <td><form:input path="nttSj" cssClass="tit" /></td> | |
| 191 | - </tr> | |
| 192 | - <c:if test="${!empty brdMstrVO.ctgrymasterId and searchVO.registAction ne 'reply'}">
| |
| 193 | - <tr> | |
| 194 | - <th><spring:message code="cop.category.view" /></th> | |
| 195 | - <td class="ctgry"> | |
| 196 | - <c:forEach var="ctgryLevel" begin="1" end="${boardCateLevel}" step="1" varStatus="status">
| |
| 197 | - <c:choose> | |
| 198 | - <c:when test="${status.first}">
| |
| 199 | - <select name="regCateList" id="ctgry${ctgryLevel}" onchange="fnCtgryChange(${ctgryLevel})">
| |
| 200 | - <option value=""><spring:message code="cop.select" /></option> | |
| 201 | - <c:forEach var="cate" items="${boardCateList}">
| |
| 202 | - <c:if test="${cate.ctgryLevel eq 1 }">
| |
| 203 | - <option value="${cate.ctgryId}"><c:out value="${cate.ctgryNm}"/></option>
| |
| 204 | - </c:if> | |
| 205 | - </c:forEach> | |
| 206 | - </select> | |
| 207 | - </c:when> | |
| 208 | - <c:otherwise> | |
| 209 | - <label for="ctgry${ctgryLevel}" style="visibility:hidden;"><spring:message code="cop.category.view" />${ctgryLevel}</label>
| |
| 210 | - <select name="regCateList" id="ctgry${ctgryLevel}" onchange="fnCtgryChange(${ctgryLevel})"><option value=""><spring:message code="cop.select" /></option></select>
| |
| 211 | - </c:otherwise> | |
| 212 | - </c:choose> | |
| 213 | - </c:forEach> | |
| 214 | - </td> | |
| 215 | - </tr> | |
| 216 | - </c:if> | |
| 217 | - <%-- <tr> | |
| 218 | - <th>공지여부</th> | |
| 219 | - <td class="box_radio"> | |
| 220 | - <label class="on"><input type="radio" class="radio hdn" name="type"/>예</label> | |
| 221 | - <label><input type="radio" class="radio hdn" name="type"/>아니오</label> | |
| 222 | - </td> | |
| 223 | - </tr> --%> | |
| 224 | - <c:if test="${brdMstrVO.othbcUseAt eq 'Y'}">
| |
| 225 | - <tr> | |
| 226 | - <th><spring:message code="cop.publicAt" /></th> | |
| 227 | - <td class="box_radio"> | |
| 228 | - <label <c:if test="${board.othbcAt ne 'N' }">class="on"</c:if>><input type="radio" name="othbcAt" id="othbcAt1" class="radio hdn" <c:if test="${board.othbcAt ne 'N' }">checked="checked"</c:if> value="Y"/><spring:message code="cop.public"/></label>
| |
| 229 | - <label <c:if test="${board.othbcAt eq 'N' }">class="on"</c:if>><input type="radio" name="othbcAt" id="othbcAt2" class="radio hdn" <c:if test="${board.othbcAt eq 'N' }">checked="checked"</c:if> value="N"/><spring:message code="cop.private"/></label>
| |
| 230 | - </td> | |
| 231 | - </tr> | |
| 232 | - </c:if> | |
| 233 | - | |
| 234 | - <tr> | |
| 235 | - <td colspan="2"> | |
| 236 | - <form:textarea path="nttCn" rows="10" cssClass="cont"/><form:errors path="nttCn" /> | |
| 237 | - </td> | |
| 238 | - </tr> | |
| 239 | - </c:otherwise> | |
| 240 | - </c:choose> | |
| 241 | - | |
| 242 | - | |
| 243 | - <c:if test="${brdMstrVO.fileAtchPosblAt eq 'Y' and searchVO.registAction ne 'reply'}">
| |
| 244 | - <tr> | |
| 245 | - <td colspan="2"> | |
| 246 | - ${brdMstrVO.bbsAttrbCode eq 'BBSA11' and searchVO.registAction eq 'reply' ? 'Y' : 'N'}
| |
| 247 | - <c:import url="/cmm/fms/selectFileInfsForUpdate.do" charEncoding="utf-8"> | |
| 248 | - <c:param name="editorId" value="${_EDITOR_ID}"/>
| |
| 249 | - <%-- <c:param name="estnAt" value="${brdMstrVO.bbsAttrbCode eq 'BBSA11' and searchVO.registAction eq 'reply' ? 'Y' : 'N'}" /> --%>
| |
| 250 | - <c:param name="estnAt" value="N" /> | |
| 251 | - <c:param name="param_atchFileId" value="${board.atchFileId}" />
| |
| 252 | - <c:param name="imagePath" value="${_IMG }"/>
| |
| 253 | - <c:param name="regAt" value="Y"/> | |
| 254 | - </c:import> | |
| 255 | - </td> | |
| 256 | - </tr> | |
| 257 | - </c:if> | |
| 258 | - <%-- | |
| 259 | - <div id="bbs_wrap"> | |
| 260 | - <table class="bbs_type"> | |
| 261 | - <colgroup> | |
| 262 | - <col style="width:20%"/> | |
| 263 | - <col style="width:80%"/> | |
| 264 | - </colgroup> | |
| 265 | - <tbody> | |
| 266 | - <c:choose> | |
| 267 | - <c:when test="${brdMstrVO.bbsAttrbCode eq 'BBSA11' and searchVO.registAction eq 'reply'}">
| |
| 268 | - | |
| 269 | - <tr> | |
| 270 | - <td colspan="2"><c:out value="${board.nttSj}"/></td>
| |
| 271 | - </tr> | |
| 272 | - <tr> | |
| 273 | - <td colspan="2"><c:out value="${board.nttCn}" escapeXml="false"/></td>
| |
| 274 | - </tr> | |
| 275 | - <tr> | |
| 276 | - <th> | |
| 277 | - <label for="ftext"><spring:message code="cop.processSttus" /></label> | |
| 278 | - </th> | |
| 279 | - <td> | |
| 280 | - <select name="processSttusCode" id="ftext" class="select"> | |
| 281 | - <c:forEach var="resultState" items="${qaCodeList}" varStatus="status">
| |
| 282 | - <option value='<c:out value="${resultState.code}"/>' <c:if test="${board.processSttusCode eq resultState.code}">selected="selected"</c:if>><c:out value="${resultState.codeNm}"/></option>
| |
| 283 | - </c:forEach> | |
| 284 | - </select> | |
| 285 | - </td> | |
| 286 | - </tr> | |
| 287 | - </c:when> | |
| 288 | - <c:otherwise> | |
| 289 | - | |
| 290 | - </c:otherwise> | |
| 291 | - </c:choose> | |
| 292 | - | |
| 293 | - </tbody> | |
| 294 | - </table> | |
| 295 | - </div> | |
| 296 | - --%> | |
| 297 | - <div class="btn_c"> | |
| 298 | - <c:choose> | |
| 299 | - <c:when test="${searchVO.registAction eq 'regist' and SE_CODE >= brdMstrVO.registAuthor}"><span class="bbtn_bg1"><button type="submit"><spring:message code="button.create"/></button></span></c:when>
| |
| 300 | - <c:when test="${searchVO.registAction eq 'updt' and SE_CODE >= brdMstrVO.registAuthor}"><span class="bbtn_bg1"><button type="submit"><spring:message code="button.update"/></button></span></c:when>
| |
| 301 | - <c:when test="${searchVO.registAction eq 'reply' and SE_CODE >= brdMstrVO.registAuthor}"><span class="bbtn_bg1"><button type="submit"><spring:message code="button.reply"/></button></span></c:when>
| |
| 302 | - </c:choose> | |
| 303 | - | |
| 304 | - <c:url var="selectBoardListUrl" value="${_PREFIX}/selectBoardList.do">
| |
| 305 | - <c:param name="menuId" value="${searchVO.menuId}" />
| |
| 306 | - <c:param name="bbsId" value="${brdMstrVO.bbsId}" />
| |
| 307 | - <c:param name="pageIndex" value="${searchVO.pageIndex}" />
| |
| 308 | - <c:if test="${not empty searchVO.searchCate}"><c:param name="searchCate" value="${searchVO.searchCate}" /></c:if>
| |
| 309 | - <c:if test="${not empty searchVO.searchCnd}"><c:param name="searchCnd" value="${searchVO.searchCnd}" /></c:if>
| |
| 310 | - <c:if test="${not empty searchVO.searchWrd}"><c:param name="searchWrd" value="${searchVO.searchWrd}" /></c:if>
| |
| 311 | - <c:if test="${not empty searchVO.tmplatImportAt}"><c:param name="tmplatImportAt" value="${searchVO.tmplatImportAt}"/></c:if>
| |
| 312 | - </c:url> | |
| 313 | - <span class="bbtn_bg2"><a href="<c:out value="${selectBoardListUrl}"/>">목록</a></span>
| |
| 314 | - </div> | |
| 315 | - </form:form> | |
| 316 | -</div> | |
| 317 | - | |
| 318 | -<c:choose> | |
| 319 | - <c:when test="${searchVO.tmplatImportAt ne 'N'}">
| |
| 320 | - <c:import url="/msi/tmplatBottom.do" charEncoding="utf-8"/> | |
| 321 | - </c:when> | |
| 322 | - <c:otherwise> | |
| 323 | - </body> | |
| 324 | - </html> | |
| 325 | - </c:otherwise> | |
| 326 | -</c:choose>(파일 끝에 줄바꿈 문자 없음) |
--- base/src/main/webapp/WEB-INF/jsp/egovframework/str/cre/bbs/sourc/BBSSRC_0000000000010/EgovNoticeList.jsp
... | ... | @@ -1,245 +0,0 @@ |
| 1 | -<%@ page language="java" contentType="text/html; charset=utf-8" pageEncoding="utf-8"%> | |
| 2 | -<%@ page import="egovframework.com.cmm.service.EgovProperties"%> | |
| 3 | -<%@ taglib prefix="c" uri="http://java.sun.com/jsp/jstl/core"%> | |
| 4 | -<%@ taglib prefix="ui" uri="http://egovframework.gov/ctl/ui"%> | |
| 5 | -<%@ taglib uri="http://java.sun.com/jsp/jstl/functions" prefix="fn"%> | |
| 6 | -<%@ taglib prefix="spring" uri="http://www.springframework.org/tags"%> | |
| 7 | -<%@ taglib prefix="form" uri="http://www.springframework.org/tags/form"%> | |
| 8 | -<%@ taglib prefix="fmt" uri="http://java.sun.com/jsp/jstl/fmt" %> | |
| 9 | - | |
| 10 | -<c:set var="IS_MOBILE"><%=egovframework.com.utl.fcc.service.EgovHttpUtil.getIsMobile(request)%></c:set> | |
| 11 | -<c:set var="TEMPLATE_PATH" value="${IS_MOBILE ? 'mbl' : 'web'}"/>
| |
| 12 | -<c:set var="_WEB_FULL_PATH" value="http://${siteInfo.siteUrl}"/>
| |
| 13 | -<c:set var="_IMG" value="${BbsFileStoreWebPathByWebFile}${brdMstrVO.tmplatId }/images"/>
| |
| 14 | -<c:set var="_C_CSS" value="/template/common/css"/> | |
| 15 | -<c:set var="_C_JS" value="/template/common/js"/> | |
| 16 | -<c:set var="_C_IMG" value="/template/common/images"/> | |
| 17 | -<c:set var="CML" value="/template/lms"/> | |
| 18 | - | |
| 19 | - | |
| 20 | - | |
| 21 | -<c:set var="_PREFIX" value="/cop/bbs"/> | |
| 22 | - | |
| 23 | -<c:choose> | |
| 24 | - <c:when test="${boardVO.tmplatImportAt ne 'N'}">
| |
| 25 | - <c:import url="/msi/tmplatHead.do" charEncoding="utf-8"> | |
| 26 | - <c:param name="BBS_TMPLATID" value="${brdMstrVO.tmplatId }"/>
| |
| 27 | - </c:import> | |
| 28 | - </c:when> | |
| 29 | - <c:otherwise> | |
| 30 | - | |
| 31 | - </c:otherwise> | |
| 32 | -</c:choose> | |
| 33 | - | |
| 34 | -<link rel="stylesheet" href="${CML}/css/materials/staff_materials.css?v=2">
| |
| 35 | - | |
| 36 | -<c:set var="SE_CODE" value="01" /> | |
| 37 | -<c:if test="${not empty USER_INFO.id}">
| |
| 38 | - <c:set var="SE_CODE" value="${USER_INFO.userSe}" />
| |
| 39 | -</c:if> | |
| 40 | - | |
| 41 | -<script type="text/javascript" src="${_C_JS}/board.js" ></script>
| |
| 42 | -<script type="text/javascript"> | |
| 43 | -$(document).ready(function(){
| |
| 44 | - | |
| 45 | - //페이징 | |
| 46 | - /* $(document).on("click", ".addPage", function() {
| |
| 47 | - var pageIndex = parseInt($(this).attr("data-pageindex"));
| |
| 48 | - var clickflag = $(this).attr("data-clickflag");
| |
| 49 | - var params = jQuery("form[name=frm]").serialize() + "&pageIndex=" + pageIndex + "&myCurriculumPageAt=Y&ajaxFlag=myStudent";
| |
| 50 | - | |
| 51 | - //데이터가 더 이상 없을 때 flag 처리 | |
| 52 | - if(clickflag == "F") {
| |
| 53 | - alert("더 이상 데이터가 없습니다.");
| |
| 54 | - return; | |
| 55 | - } | |
| 56 | - | |
| 57 | - //여러번 호출 방지를 위한 flag 처리 | |
| 58 | - if(clickflag == "N") {
| |
| 59 | - alert("빠른 시간에 여러번 호출이 불가능 합니다.");
| |
| 60 | - return; | |
| 61 | - } | |
| 62 | - | |
| 63 | - //여러번 호출 방지를 위한 flag 처리 | |
| 64 | - $(".addPage").attr("data-clickflag", "N");
| |
| 65 | - | |
| 66 | - $.ajax({
| |
| 67 | - type:"post", | |
| 68 | - dataType:"html", | |
| 69 | - url:"/lms/crm/CurriculumListAjax.do", | |
| 70 | - data:params, | |
| 71 | - success: function(data) {
| |
| 72 | - //tr 태그 추가 | |
| 73 | - $(".list_table tbody").append(data);
| |
| 74 | - | |
| 75 | - if($.trim(data) == "" || $.trim(data) == null) {
| |
| 76 | - alert("더 이상 데이터가 없습니다.");
| |
| 77 | - $(".addPage").attr("data-clickflag", "F");
| |
| 78 | - return; | |
| 79 | - } | |
| 80 | - | |
| 81 | - //페이징 index 증가 | |
| 82 | - pageIndex++; | |
| 83 | - $(".addPage").attr("data-pageindex", pageIndex);
| |
| 84 | - | |
| 85 | - //여러번 호출 방지를 위한 flag 처리 | |
| 86 | - $(".addPage").attr("data-clickflag", "Y");
| |
| 87 | - }, | |
| 88 | - error:function() {
| |
| 89 | - alert("관리자에게 문의 바랍니다.");
| |
| 90 | - } | |
| 91 | - }); | |
| 92 | - | |
| 93 | - }); */ | |
| 94 | - | |
| 95 | - //검색 | |
| 96 | - $(".goods-search-btn").click(function(){
| |
| 97 | - $("input[name=searchCate]").val($("#searchCate").val());
| |
| 98 | - $("input[name=searchWrd]").val($("#searchWrd").val());
| |
| 99 | - $("#frm").submit();
| |
| 100 | - }); | |
| 101 | - | |
| 102 | -}); | |
| 103 | -</script> | |
| 104 | - | |
| 105 | -<section class="page-content-body"> | |
| 106 | - <article class="content-wrap"> | |
| 107 | - <div class="box-wrap mb-40"> | |
| 108 | - <h3 class="title-subhead">학습자료 검색</h3> | |
| 109 | - <div class="flex-row-ten"> | |
| 110 | - <form id="frm" name="frm" method="post" action="<c:url value='${_PREFIX}/selectBoardList.do'/>">
| |
| 111 | - <input type="hidden" name="bbsId" value="<c:out value='${param.bbsId}'/>" />
| |
| 112 | - <input name="menuId" type="hidden" value="<c:out value='${param.menuId}'/>" />
| |
| 113 | - <input name="searchCate" type="hidden" value="<c:out value='${param.searchCate}'/>" />
| |
| 114 | - <input name="searchCnd" type="hidden" value="0" /> | |
| 115 | - <input name="searchWrd" type="hidden" value="<c:out value="${param.searchWrd}"/>"/>
| |
| 116 | - </form> | |
| 117 | - <div class="flex-ten-col-3 mb-20"> | |
| 118 | - <div class="ell"> | |
| 119 | - <select class="select2" name="searchCate" id="searchCate" data-select="style3"> | |
| 120 | - <option value="">언어 전체</option> | |
| 121 | - <c:forEach var="result" items="${languageList}" varStatus="status">
| |
| 122 | - <c:if test="${not empty result.upperCtgryId}">
| |
| 123 | - <option value="${result.ctgryId}" <c:if test="${param.searchCate eq result.ctgryId}">selected</c:if>>${result.ctgryNm}</option>
| |
| 124 | - </c:if> | |
| 125 | - </c:forEach> | |
| 126 | - </select> | |
| 127 | - </div> | |
| 128 | - </div> | |
| 129 | - <div class="flex-ten-col-7 mb-20"> | |
| 130 | - <div class="ell"> | |
| 131 | - <input type="text" id="searchWrd" placeholder="자료명를 입력해보세요." value="<c:out value="${param.searchWrd}"/>">
| |
| 132 | - </div> | |
| 133 | - </div> | |
| 134 | - <div class="flex-ten-col-10 flex align-items-center"> | |
| 135 | - <%-- | |
| 136 | - <label class="checkbox"> | |
| 137 | - <input type="checkbox"> | |
| 138 | - <span class="custom-checked"></span> | |
| 139 | - <span class="text">파일</span> | |
| 140 | - </label> | |
| 141 | - <label class="checkbox"> | |
| 142 | - <input type="checkbox"> | |
| 143 | - <span class="custom-checked"></span> | |
| 144 | - <span class="text">사진</span> | |
| 145 | - </label> | |
| 146 | - <label class="checkbox"> | |
| 147 | - <input type="checkbox"> | |
| 148 | - <span class="custom-checked"></span> | |
| 149 | - <span class="text">동영상</span> | |
| 150 | - </label> | |
| 151 | - --%> | |
| 152 | - <label class="checkbox"> | |
| 153 | - <input type="checkbox"> | |
| 154 | - <span class="custom-checked"></span> | |
| 155 | - <span class="text">온라인 · 사전</span> | |
| 156 | - </label> | |
| 157 | - <label class="checkbox"> | |
| 158 | - <input type="checkbox"> | |
| 159 | - <span class="custom-checked"></span> | |
| 160 | - <span class="text">K-MOOC</span> | |
| 161 | - </label> | |
| 162 | - </div> | |
| 163 | - </div> | |
| 164 | - | |
| 165 | - <button class="btn-sm font-400 btn-point mt-20 goods-search-btn">검색</button> | |
| 166 | - </div> | |
| 167 | - </article> | |
| 168 | - <article class="content-wrap"> | |
| 169 | - <div class="textbook-banner-wrap"> | |
| 170 | - <!-- 배너 --> | |
| 171 | - <a href="/lms/common/app.do"> | |
| 172 | - <p>내 손안의 작은 사전, <strong>특수외국어 필수어휘사전 App 출시</strong></p> | |
| 173 | - <p class="textbook-banner">11개 특수외국어 필수어휘사전 및 초급교재 샘플자료를 무료로 제공합니다.</p> | |
| 174 | - <img src="${CML}/imgs/page/textbook/btn_banner_more.png" alt="MORE">
| |
| 175 | - </a> | |
| 176 | - </div> | |
| 177 | - </article> | |
| 178 | - <article class="content-wrap"> | |
| 179 | - <!-- 게시판 --> | |
| 180 | - <div class="materials-files-wrap"> | |
| 181 | - <div class="flex-row"> | |
| 182 | - <c:forEach var="result" items="${resultList}" varStatus="status">
| |
| 183 | - <c:choose> | |
| 184 | - <c:when test="${result.bbsId eq 'BBSMSTR_000000000005'}">
| |
| 185 | - <c:url var="viewUrl" value="/cop/bbs/selectBoardArticle.do"> | |
| 186 | - <c:param name="nttNo" value="${result.nttNo}" />
| |
| 187 | - <c:param name="menuId" value="MNU_0000000000000008" /> | |
| 188 | - <c:param name="bbsId" value="BBSMSTR_000000000005" /> | |
| 189 | - </c:url> | |
| 190 | - </c:when> | |
| 191 | - <c:when test="${result.bbsId eq 'BBSMSTR_000000000007'}">
| |
| 192 | - <c:url var="viewUrl" value="${result.tmp05}">
| |
| 193 | - </c:url> | |
| 194 | - </c:when> | |
| 195 | - </c:choose> | |
| 196 | - <div class="flex-col-6"> | |
| 197 | - <a href="${viewUrl}" class="card-st2-wrap" target="_blank">
| |
| 198 | - <c:set var="imgSrc"> | |
| 199 | - <c:choose> | |
| 200 | - <c:when test="${empty result.atchFileNm}">${CML}/imgs/common/img_no_image.svg</c:when>
| |
| 201 | - <c:otherwise> | |
| 202 | - <c:url value='/cmm/fms/getImage.do'> | |
| 203 | - <c:param name="thumbYn" value="Y" /> | |
| 204 | - <c:param name="siteId" value="SITE_000000000000001" /> | |
| 205 | - <c:param name="appendPath" value="${result.bbsId}" />
| |
| 206 | - <c:param name="atchFileNm" value="${result.atchFileNm}" />
| |
| 207 | - </c:url> | |
| 208 | - </c:otherwise> | |
| 209 | - </c:choose> | |
| 210 | - </c:set> | |
| 211 | - <div class="card-st2-img" style="background-image:url(${imgSrc})"></div>
| |
| 212 | - <div class="card-title-wrap"> | |
| 213 | - <span class="card-category font-darkgreen"> | |
| 214 | - <c:choose> | |
| 215 | - <c:when test="${result.bbsId eq 'BBSMSTR_000000000005'}">
| |
| 216 | - <c:out value="${result.tmp04 }"/>
| |
| 217 | - </c:when> | |
| 218 | - <c:when test="${result.bbsId eq 'BBSMSTR_000000000007'}">
| |
| 219 | - <c:out value="K-MOOC"/> | |
| 220 | - </c:when> | |
| 221 | - <c:otherwise> | |
| 222 | - - | |
| 223 | - </c:otherwise> | |
| 224 | - </c:choose> | |
| 225 | - </span> | |
| 226 | - <div class="card-title dotdotdot">${result.nttSj }</div>
| |
| 227 | - | |
| 228 | - <c:if test="${result.bbsId ne 'BBSMSTR_000000000007'}"><span class="card-subtitle">저자 ${result.tmp02 }</span></c:if>
| |
| 229 | - </div> | |
| 230 | - </a> | |
| 231 | - </div> | |
| 232 | - </c:forEach> | |
| 233 | - </div> | |
| 234 | - <%-- <div class="mt-50 center-align"> | |
| 235 | - <button type="button" class="cursor-pointer addPage" data-pageindex="1" data-clickflag="Y"> | |
| 236 | - <img class="vertical-top addPage" src="${CML}/imgs/common/btn_board_contents_more.jpg" alt="더보기">
| |
| 237 | - </button> | |
| 238 | - </div> --%> | |
| 239 | - </div> | |
| 240 | - </article> | |
| 241 | - </section> | |
| 242 | - | |
| 243 | -<c:import url="/msi/tmplatBottom.do" charEncoding="utf-8"> | |
| 244 | - <c:param name="modalAt" value="Y"/> | |
| 245 | -</c:import>(파일 끝에 줄바꿈 문자 없음) |
--- base/src/main/webapp/WEB-INF/reports/report_pdf.jrxml
... | ... | @@ -1,174 +0,0 @@ |
| 1 | -<?xml version="1.0" encoding="UTF-8"?> | |
| 2 | -<jasperReport xmlns="http://jasperreports.sourceforge.net/jasperreports" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:schemaLocation="http://jasperreports.sourceforge.net/jasperreports http://jasperreports.sourceforge.net/xsd/jasperreport.xsd" name="report_pdf" language="groovy" pageWidth="595" pageHeight="842" columnWidth="555" leftMargin="20" rightMargin="20" topMargin="20" bottomMargin="20" uuid="3e833d42-ed38-4358-8eb8-ed3e5f56e42e"> | |
| 3 | - <property name="ireport.zoom" value="1.5"/> | |
| 4 | - <property name="ireport.x" value="0"/> | |
| 5 | - <property name="ireport.y" value="0"/> | |
| 6 | - <style name="common" isDefault="true" fontName="백묵 굴림" fontSize="11" pdfFontName="gulim.ttf" pdfEncoding="Identity-H" isPdfEmbedded="false"/> | |
| 7 | - <field name="complNo" class="java.lang.String"/> | |
| 8 | - <field name="adhrncNm" class="java.lang.String"/> | |
| 9 | - <field name="schulNm" class="java.lang.String"/> | |
| 10 | - <field name="prgNm" class="java.lang.String"/> | |
| 11 | - <field name="operBgnde" class="java.util.Date"/> | |
| 12 | - <field name="operEndde" class="java.util.Date"/> | |
| 13 | - <field name="complDe" class="java.util.Date"/> | |
| 14 | - <field name="operInsttNm" class="java.lang.String"/> | |
| 15 | - <field name="operIstdrNm" class="java.lang.String"/> | |
| 16 | - <field name="imgUrl" class="java.lang.String"/> | |
| 17 | - <background> | |
| 18 | - <band splitType="Stretch"/> | |
| 19 | - </background> | |
| 20 | - <title> | |
| 21 | - <band splitType="Stretch"/> | |
| 22 | - </title> | |
| 23 | - <pageHeader> | |
| 24 | - <band height="11" splitType="Stretch"/> | |
| 25 | - </pageHeader> | |
| 26 | - <columnHeader> | |
| 27 | - <band splitType="Stretch"/> | |
| 28 | - </columnHeader> | |
| 29 | - <detail> | |
| 30 | - <band height="776" splitType="Stretch"> | |
| 31 | - <rectangle> | |
| 32 | - <reportElement uuid="f811a262-0343-4703-be02-135bd126cad8" x="0" y="16" width="555" height="760"/> | |
| 33 | - </rectangle> | |
| 34 | - <image> | |
| 35 | - <reportElement uuid="18047727-8961-4c2b-be28-74939b5831a8" x="398" y="500" width="83" height="81"/> | |
| 36 | - <imageExpression><![CDATA[$F{imgUrl}]]></imageExpression> | |
| 37 | - </image> | |
| 38 | - <staticText> | |
| 39 | - <reportElement uuid="c095dc52-309b-4365-9008-480c7cd8ff97" x="104" y="203" width="100" height="20"/> | |
| 40 | - <textElement verticalAlignment="Middle"/> | |
| 41 | - <text><![CDATA[이 름 :]]></text> | |
| 42 | - </staticText> | |
| 43 | - <staticText> | |
| 44 | - <reportElement uuid="27be23aa-729b-42fb-8594-0a22c3c6957b" x="104" y="223" width="100" height="20"/> | |
| 45 | - <textElement verticalAlignment="Middle"/> | |
| 46 | - <text><![CDATA[소 속 :]]></text> | |
| 47 | - </staticText> | |
| 48 | - <staticText> | |
| 49 | - <reportElement uuid="c29bacc0-0965-4450-9d93-333b55346eb3" x="104" y="243" width="100" height="20"/> | |
| 50 | - <textElement verticalAlignment="Middle"/> | |
| 51 | - <text><![CDATA[프 로 그 램 :]]></text> | |
| 52 | - </staticText> | |
| 53 | - <staticText> | |
| 54 | - <reportElement uuid="2ab45a39-99a5-48f1-950a-33dc5802201f" x="104" y="263" width="100" height="20"/> | |
| 55 | - <textElement verticalAlignment="Middle"/> | |
| 56 | - <text><![CDATA[기 간 :]]></text> | |
| 57 | - </staticText> | |
| 58 | - <textField> | |
| 59 | - <reportElement uuid="6b024df3-5e96-41dd-b6bb-c5f32486f927" x="232" y="203" width="100" height="20"/> | |
| 60 | - <textElement verticalAlignment="Middle"/> | |
| 61 | - <textFieldExpression><![CDATA[$F{adhrncNm}]]></textFieldExpression> | |
| 62 | - </textField> | |
| 63 | - <textField> | |
| 64 | - <reportElement uuid="dc912670-5b38-44c6-8a0f-c0cb5408333e" x="232" y="223" width="100" height="20"/> | |
| 65 | - <textElement verticalAlignment="Middle"/> | |
| 66 | - <textFieldExpression><![CDATA[$F{schulNm}]]></textFieldExpression> | |
| 67 | - </textField> | |
| 68 | - <textField> | |
| 69 | - <reportElement uuid="b2233d35-fdcc-45fd-9607-315f75c50321" x="232" y="243" width="100" height="20"/> | |
| 70 | - <textElement verticalAlignment="Middle"/> | |
| 71 | - <textFieldExpression><![CDATA[$F{prgNm}]]></textFieldExpression> | |
| 72 | - </textField> | |
| 73 | - <textField pattern="yyyy년 MM월 dd일"> | |
| 74 | - <reportElement uuid="81de5356-3877-447a-8538-c0cfb013b89f" x="232" y="263" width="100" height="20"/> | |
| 75 | - <textElement verticalAlignment="Middle"/> | |
| 76 | - <textFieldExpression><![CDATA[$F{operBgnde}]]></textFieldExpression> | |
| 77 | - </textField> | |
| 78 | - <textField pattern="yyyy년 MM월 dd일"> | |
| 79 | - <reportElement uuid="43e01492-ca80-4615-bd69-b94a2be42aa6" x="357" y="263" width="137" height="20"/> | |
| 80 | - <textElement verticalAlignment="Middle"/> | |
| 81 | - <textFieldExpression><![CDATA[$F{operEndde}]]></textFieldExpression> | |
| 82 | - </textField> | |
| 83 | - <staticText> | |
| 84 | - <reportElement uuid="4fa18453-ffbb-4baf-bd31-4e812b2ae331" x="0" y="424" width="555" height="20"/> | |
| 85 | - <textElement textAlignment="Center" verticalAlignment="Middle"> | |
| 86 | - <font isBold="true"/> | |
| 87 | - </textElement> | |
| 88 | - <text><![CDATA[위의 사실을 증명 합니다.]]></text> | |
| 89 | - </staticText> | |
| 90 | - <textField pattern="yyyy년 MM월 dd일"> | |
| 91 | - <reportElement uuid="89d3c15b-b5fa-4002-b15e-6fde8862b31b" x="0" y="474" width="555" height="20"/> | |
| 92 | - <textElement textAlignment="Center" verticalAlignment="Middle"> | |
| 93 | - <font size="12"/> | |
| 94 | - </textElement> | |
| 95 | - <textFieldExpression><![CDATA[$F{complDe}]]></textFieldExpression> | |
| 96 | - </textField> | |
| 97 | - <staticText> | |
| 98 | - <reportElement uuid="bc8e17b0-2f9d-4ac2-aaa7-8c57ea67ff4b" x="332" y="263" width="25" height="20"/> | |
| 99 | - <textElement textAlignment="Center" verticalAlignment="Middle"/> | |
| 100 | - <text><![CDATA[~]]></text> | |
| 101 | - </staticText> | |
| 102 | - <staticText> | |
| 103 | - <reportElement uuid="e29ccec7-ef2e-4fcb-b138-7749dec11623" x="104" y="337" width="51" height="20"/> | |
| 104 | - <textElement verticalAlignment="Middle"> | |
| 105 | - <font size="10" isBold="true"/> | |
| 106 | - </textElement> | |
| 107 | - <text><![CDATA[위 사람은]]></text> | |
| 108 | - </staticText> | |
| 109 | - <staticText> | |
| 110 | - <reportElement uuid="64dc68d7-1859-4d40-9872-27192e5d29a3" x="255" y="337" width="30" height="20"/> | |
| 111 | - <textElement verticalAlignment="Middle"> | |
| 112 | - <font size="10" isBold="true"/> | |
| 113 | - </textElement> | |
| 114 | - <text><![CDATA[부터]]></text> | |
| 115 | - </staticText> | |
| 116 | - <textField pattern="yyyy년 MM월 dd일"> | |
| 117 | - <reportElement uuid="1b200ece-5720-4689-add3-12d8dc3576c1" x="155" y="337" width="100" height="20"/> | |
| 118 | - <textElement verticalAlignment="Middle"> | |
| 119 | - <font size="10" isBold="true"/> | |
| 120 | - </textElement> | |
| 121 | - <textFieldExpression><![CDATA[$F{operBgnde}]]></textFieldExpression> | |
| 122 | - </textField> | |
| 123 | - <textField pattern="yyyy년 MM월 dd일"> | |
| 124 | - <reportElement uuid="1a3c2cda-ae3a-48c1-b3b5-a633eec11391" x="285" y="337" width="99" height="20"/> | |
| 125 | - <textElement verticalAlignment="Middle"> | |
| 126 | - <font size="10" isBold="true"/> | |
| 127 | - </textElement> | |
| 128 | - <textFieldExpression><![CDATA[$F{operEndde}]]></textFieldExpression> | |
| 129 | - </textField> | |
| 130 | - <staticText> | |
| 131 | - <reportElement uuid="31b767eb-e2b6-469c-afcf-0a89a96cf6e8" x="384" y="337" width="110" height="20"/> | |
| 132 | - <textElement verticalAlignment="Middle"> | |
| 133 | - <font size="10" isBold="true"/> | |
| 134 | - </textElement> | |
| 135 | - <text><![CDATA[까지 실시된체험학습]]></text> | |
| 136 | - </staticText> | |
| 137 | - <staticText> | |
| 138 | - <reportElement uuid="4e5d3b1f-bd2f-4ff4-8b4f-4a1c548e8809" x="104" y="363" width="377" height="20"/> | |
| 139 | - <textElement textAlignment="Center" verticalAlignment="Middle"> | |
| 140 | - <font size="10" isBold="true"/> | |
| 141 | - </textElement> | |
| 142 | - <text><![CDATA[프로그램을 성실히 수료하였음을 증명함.]]></text> | |
| 143 | - </staticText> | |
| 144 | - <staticText> | |
| 145 | - <reportElement uuid="ddc045bf-ef35-43ae-b976-0c9f9bcdc880" x="0" y="73" width="555" height="66"/> | |
| 146 | - <textElement textAlignment="Center" verticalAlignment="Middle"> | |
| 147 | - <font size="36" isBold="true"/> | |
| 148 | - </textElement> | |
| 149 | - <text><![CDATA[수 료 증]]></text> | |
| 150 | - </staticText> | |
| 151 | - <textField isBlankWhenNull="false"> | |
| 152 | - <reportElement uuid="95cad347-8abd-4a64-a64d-9dd43a0934fb" x="12" y="31" width="154" height="20"/> | |
| 153 | - <textElement verticalAlignment="Middle"/> | |
| 154 | - <textFieldExpression><![CDATA["제 "+$F{complNo}+"호"]]></textFieldExpression> | |
| 155 | - </textField> | |
| 156 | - <textField> | |
| 157 | - <reportElement uuid="b4e1f2be-df86-4b3c-9f45-154ea3e7ad2f" x="0" y="527" width="555" height="20"/> | |
| 158 | - <textElement textAlignment="Center" verticalAlignment="Middle"> | |
| 159 | - <font size="14" isBold="true"/> | |
| 160 | - </textElement> | |
| 161 | - <textFieldExpression><![CDATA[$F{operInsttNm} + " " + $F{operIstdrNm}]]></textFieldExpression> | |
| 162 | - </textField> | |
| 163 | - </band> | |
| 164 | - </detail> | |
| 165 | - <columnFooter> | |
| 166 | - <band height="15" splitType="Stretch"/> | |
| 167 | - </columnFooter> | |
| 168 | - <pageFooter> | |
| 169 | - <band splitType="Stretch"/> | |
| 170 | - </pageFooter> | |
| 171 | - <summary> | |
| 172 | - <band splitType="Stretch"/> | |
| 173 | - </summary> | |
| 174 | -</jasperReport> |
--- base/src/main/webapp/goUrl.jsp
... | ... | @@ -1,17 +0,0 @@ |
| 1 | -<%@ page language="java" contentType="text/html; charset=utf-8" pageEncoding="utf-8"%> | |
| 2 | -<%@ taglib prefix="c" uri="http://java.sun.com/jsp/jstl/core"%> | |
| 3 | -<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd"> | |
| 4 | -<html xmlns="http://www.w3.org/1999/xhtml" xml:lang="ko" lang="ko"> | |
| 5 | -<head> | |
| 6 | -<title>세종진로진학</title> | |
| 7 | -<meta http-equiv="Content-Type" content="text/html; charset=utf-8" /> | |
| 8 | -<c:if test="${not empty param.sLink}">
| |
| 9 | - <meta http-equiv="refresh" content="0; url=${param.sLink}"/>
| |
| 10 | -</c:if> | |
| 11 | -</head> | |
| 12 | -<body> | |
| 13 | - <c:if test="${empty param.sLink}">
| |
| 14 | - <span>사이트를 선택하세요</span> | |
| 15 | - </c:if> | |
| 16 | -</body> | |
| 17 | -</html> |
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?