diff --git a/data/fileupload/bbs/ancmnt/UR-1D9F07B0D8F84938887817B05FC83E90-4 b/data/fileupload/bbs/ancmnt/UR-1D9F07B0D8F84938887817B05FC83E90-4 new file mode 100644 index 00000000..b4f8308f Binary files /dev/null and b/data/fileupload/bbs/ancmnt/UR-1D9F07B0D8F84938887817B05FC83E90-4 differ diff --git a/src/main/java/nlib/bbs/service/AttachFileVO.java b/src/main/java/nlib/bbs/service/AttachFileVO.java new file mode 100644 index 00000000..169d94d9 --- /dev/null +++ b/src/main/java/nlib/bbs/service/AttachFileVO.java @@ -0,0 +1,167 @@ +package nlib.bbs.service; + +/** + *
+ * @Class Name : AttachFileVO.java + * + * @Description : 첨부파일 정보 VO + * + * + * @프로젝트명: 지방문화원 통합자료관리시스템 구축사업 (2021) + * + *+ * + * @ ------------ -------- --------------------------- + * @ 수정일 수정자 수정내용 + * @ ------------ -------- --------------------------- + * @ 2021. 9. 14. KNKIM 최초 생성 + * + * + * @author 이씨플라자 * DIGITALSHIP KNKIM + * @since 2021. 9. 14. + * @version 1.0 + * + */ +public class AttachFileVO { + + private String subPathKey; /* 첨부파일서브경로 */ + + private String fileMask; /* 첨부파일아이디 */ + private String fileId; /* 업무 아이디 */ + private int fileSeq; /* 파일 번호 */ + private String fileName; /* 파일 이름 */ + private int fileSize; /* 파일 사이즈 */ + private String fileTypeCd; /* 파일 유형(디지털화사용) */ + private int downloadCount; /* 파일 다운로드 횟수 */ + private String downloadExpireDate; /* 파일 만료 날짜 */ + private int downloadLimitCount; /* 파일 다운로드 제한 횟수 */ + + private String deleteYn; /* 삭제 여부 */ + private String streamingUrl; /* 스트리밍URL */ + private String content; /* 내용주기 */ + private String atchTypeCd; /* 첨부파일유형 */ + + private String regDd; /* 등록 날짜 */ + + + public String getFileMask() { + return fileMask; + } + + public void setFileMask(String fileMask) { + this.fileMask = fileMask; + } + + public String getFileId() { + return fileId; + } + + public void setFileId(String fileId) { + this.fileId = fileId; + } + + public String getFileName() { + return fileName; + } + + public void setFileName(String fileName) { + this.fileName = fileName; + } + + public String getFileTypeCd() { + return fileTypeCd; + } + + public void setFileTypeCd(String fileTypeCd) { + this.fileTypeCd = fileTypeCd; + } + + public String getDownloadExpireDate() { + return downloadExpireDate; + } + + public void setDownloadExpireDate(String downloadExpireDate) { + this.downloadExpireDate = downloadExpireDate; + } + + public String getDeleteYn() { + return deleteYn; + } + + public void setDeleteYn(String deleteYn) { + this.deleteYn = deleteYn; + } + + public String getStreamingUrl() { + return streamingUrl; + } + + public void setStreamingUrl(String streamingUrl) { + this.streamingUrl = streamingUrl; + } + + public String getContent() { + return content; + } + + public void setContent(String content) { + this.content = content; + } + + public String getAtchTypeCd() { + return atchTypeCd; + } + + public void setAtchTypeCd(String atchTypeCd) { + this.atchTypeCd = atchTypeCd; + } + + public String getRegDd() { + return regDd; + } + + public void setRegDd(String regDd) { + this.regDd = regDd; + } + + public int getFileSeq() { + return fileSeq; + } + + public void setFileSeq(int fileSeq) { + this.fileSeq = fileSeq; + } + + public int getFileSize() { + return fileSize; + } + + public void setFileSize(int fileSize) { + this.fileSize = fileSize; + } + + public int getDownloadCount() { + return downloadCount; + } + + public void setDownloadCount(int downloadCount) { + this.downloadCount = downloadCount; + } + + public int getDownloadLimitCount() { + return downloadLimitCount; + } + + public void setDownloadLimitCount(int downloadLimitCount) { + this.downloadLimitCount = downloadLimitCount; + } + + public String getSubPathKey() { + return subPathKey; + } + + public void setSubPathKey(String subPathKey) { + this.subPathKey = subPathKey; + } + +} diff --git a/src/main/java/nlib/bbs/service/impl/BoardServiceImpl.java b/src/main/java/nlib/bbs/service/impl/BoardServiceImpl.java new file mode 100644 index 00000000..84b4508b --- /dev/null +++ b/src/main/java/nlib/bbs/service/impl/BoardServiceImpl.java @@ -0,0 +1,68 @@ +package nlib.bbs.service.impl; + +import java.util.List; + +import javax.annotation.Resource; + +import org.slf4j.Logger; +import org.slf4j.LoggerFactory; +import org.springframework.stereotype.Service; + +import nlib.bbs.service.ArticleVO; +import nlib.bbs.service.BoardService; +import nlib.util.StringUtil; + +public abstract class BoardServiceImpl implements BoardService +{ + static Logger log = LoggerFactory.getLogger(BoardServiceImpl.class); + + public abstract BoardDAO getBoardDAO(); + + /* + * 게시글 목록을 조회한다. + */ + public List
+ * @Class Name : AttachFileVO.java + * + * @Description : 첨부파일 정보 VO + * + * + * @프로젝트명: 지방문화원 통합자료관리시스템 구축사업 (2021) + * + *+ * + * @ ------------ -------- --------------------------- + * @ 수정일 수정자 수정내용 + * @ ------------ -------- --------------------------- + * @ 2021. 9. 14. KNKIM 최초 생성 + * + * + * @author 이씨플라자 * DIGITALSHIP KNKIM + * @since 2021. 9. 14. + * @version 1.0 + * + */ +public class FileVO { + + private String subPathKey; /* 첨부파일서브경로 */ + private String fileMask; /* 첨부파일아이디 */ + private String fileId; /* 업무 아이디 */ + private int fileSeq; /* 파일 번호 */ + private String fileName; /* 파일 이름 */ + + public String getSubPathKey() { + return subPathKey; + } + public void setSubPathKey(String subPathKey) { + this.subPathKey = subPathKey; + } + public String getFileMask() { + return fileMask; + } + public void setFileMask(String fileMask) { + this.fileMask = fileMask; + } + public String getFileId() { + return fileId; + } + public void setFileId(String fileId) { + this.fileId = fileId; + } + public int getFileSeq() { + return fileSeq; + } + public void setFileSeq(int fileSeq) { + this.fileSeq = fileSeq; + } + public String getFileName() { + return fileName; + } + public void setFileName(String fileName) { + this.fileName = fileName; + } + +} diff --git a/src/main/webapp/WEB-INF/jsp/nlib/bbs/selectAncmntArticle.jsp b/src/main/webapp/WEB-INF/jsp/nlib/bbs/selectAncmntArticle.jsp new file mode 100644 index 00000000..cb35059b --- /dev/null +++ b/src/main/webapp/WEB-INF/jsp/nlib/bbs/selectAncmntArticle.jsp @@ -0,0 +1,155 @@ +<% +/** + *
+ * @Class Name : selectAncmntArticle.jsp + * + * @Description : 공지사항 상세내용을 조회한다. + * + * + * @프로젝트명: 지방문화원 통합자료관리시스템 구축사업 (2021) + * + *+ * + * @ ------------ -------- --------------------------- + * @ 수정일 수정자 수정내용 + * @ ------------ -------- --------------------------- + * @ 2021. 9. 14. KNKIM 최초 생성 + * + * + * @author 이씨플라자 * DIGITALSHIP KNKIM + * @since 2021. 9. 14. + * @version 1.0 + * + */ + %> +<%@ page language="java" contentType="text/html; charset=UTF-8" %> +<%@ taglib prefix="c" uri="http://java.sun.com/jsp/jstl/core" %> +<%@ taglib prefix="ui" uri="http://egovframework.gov/ctl/ui" %> +<%@ taglib prefix="fn" uri="http://java.sun.com/jsp/jstl/functions" %> +<%@ taglib prefix="fmt" uri="http://java.sun.com/jsp/jstl/fmt" %> +<%@ taglib prefix="spring" uri="http://www.springframework.org/tags" %> +<%@ taglib prefix="form" uri="http://www.springframework.org/tags/form" %> +<%@ taglib prefix="validator" uri="http://www.springmodules.org/tags/commons-validator" %> + +