diff --git a/src/main/java/nlib/bbs/service/ArticleVO.java b/src/main/java/nlib/bbs/service/ArticleVO.java index bdc5cd13..dd82b9f7 100644 --- a/src/main/java/nlib/bbs/service/ArticleVO.java +++ b/src/main/java/nlib/bbs/service/ArticleVO.java @@ -1,384 +1,395 @@ -package nlib.bbs.service; - -import java.util.List; -import org.apache.commons.lang.StringEscapeUtils; -import com.fasterxml.jackson.annotation.JsonIgnore; -import nlib.cmm.service.PagingVO; -import nlib.util.StringUtil; - -/** - *
- * @Class Name : ArticleVO.java - * - * @Description : 게시물 공통 VO - * - * - * @프로젝트명: 지방문화원 통합자료관리시스템 구축사업 (2021) - * - *- * - * @ ------------ -------- --------------------------- - * @ 수정일 수정자 수정내용 - * @ ------------ -------- --------------------------- - * @ 2021. 09. 13. KNKIM 최초 생성 - * - * - * @author 이씨플라자 * DIGITALSHIP KNKIM - * @since 2021. 09. 13. - * @version 1.0 - * - */ -public class ArticleVO extends PagingVO { - - private String articleId; /* 게시글ID */ - private String mngOrgCd; /* 관리문화원코드 */ - private String mngOrgNm; /* 관리문화원명 */ - @JsonIgnore - private String bdType; /* 게시판유형 */ - @JsonIgnore - private String bdTypeName; /* 게시판유형명 */ - private String title; /* 제목 */ - private String content; /* 내용 */ - - // 공지사항관련 - private String notiYn; /* 공지여부 */ - private String openYn; /* 공개여부 */ - @JsonIgnore - private String postStartDate; /* 게시시작일자 */ - @JsonIgnore - private String postEndDate; /* 게시종료일자 */ - - // FAQ, QNA관련 - private String answer; /* 답변 */ - private String answerYn; /* 답변여부 */ - @JsonIgnore - private String useYn; /* 사용여부 */ - private String questionType; /* 질문유형 */ - private String questionTypeName; /* 질문유형명 */ - private String secretYn; /* 비밀글여부 */ - private String emailRecvYn; /* 답변이미엘수신여부 */ - private String email; /* 이메일 */ - private int viewCnt; /* 조회수 */ - private String bdAttachFileId; /* 첨부파일아이디 */ - private String attachYn; /* 첨부파일존재여부 */ - private List
+ * @Class Name : ArticleVO.java + * + * @Description : 게시물 공통 VO + * + * + * @프로젝트명: 지방문화원 통합자료관리시스템 구축사업 (2021) + * + *+ * + * @ ------------ -------- --------------------------- + * @ 수정일 수정자 수정내용 + * @ ------------ -------- --------------------------- + * @ 2021. 09. 13. KNKIM 최초 생성 + * + * + * @author 이씨플라자 * DIGITALSHIP KNKIM + * @since 2021. 09. 13. + * @version 1.0 + * + */ +public class ArticleVO extends PagingVO { + + private String articleId; /* 게시글ID */ + private String mngOrgCd; /* 관리문화원코드 */ + private String mngOrgNm; /* 관리문화원명 */ + @JsonIgnore + private String bdType; /* 게시판유형 */ + @JsonIgnore + private String bdTypeName; /* 게시판유형명 */ + private String title; /* 제목 */ + private String content; /* 내용 */ + + // 공지사항관련 + private String notiYn; /* 공지여부 */ + private String openYn; /* 공개여부 */ + @JsonIgnore + private String postStartDate; /* 게시시작일자 */ + @JsonIgnore + private String postEndDate; /* 게시종료일자 */ + + // FAQ, QNA관련 + private String answer; /* 답변 */ + private String answerYn; /* 답변여부 */ + @JsonIgnore + private String useYn; /* 사용여부 */ + private String questionType; /* 질문유형 */ + private String questionTypeName; /* 질문유형명 */ + private String secretYn; /* 비밀글여부 */ + private String emailRecvYn; /* 답변이미엘수신여부 */ + private String email; /* 이메일 */ + private int viewCnt; /* 조회수 */ + private String bdAttachFileId; /* 첨부파일아이디 */ + private String attachYn; /* 첨부파일존재여부 */ + private List
- * @Class Name : FaqController.java - * - * @Description : FAQ 컨트롤러 클래스 - * - * - * @프로젝트명: 지방문화원 통합자료관리시스템 구축사업 (2021) - * - *- * - * @ ------------ -------- --------------------------- - * @ 수정일 수정자 수정내용 - * @ ------------ -------- --------------------------- - * @ 2021. 09. 13. KNKIM 최초 생성 - * - * - * @author 이씨플라자 * DIGITALSHIP KNKIM - * @since 2021. 09. 13. - * @version 1.0 - * - */ -@Controller -public class FaqController extends NlibCommonController { - - private static final Logger log = LoggerFactory.getLogger(FaqController.class); - - static final int DEFUALT_PAGE_SIZE = NlibProperty.getInt("list.paging.page.size", 10); - - @Resource(name = "faqService") - private BoardService faqService; - - @Resource(name="codeService") - private CodeService codeService; - - /** - * 목록 화면을 표시한다. - * - * @param req - * @return - */ - @RequestMapping("/bbs/listFaqs.do") - public String listFaqs( - HttpServletRequest req, - @RequestParam Map