공지사항,일정관리 관련 java,xml,jsp파일 추가
parent
7cb913007e
commit
c9596346db
@ -0,0 +1,14 @@
|
||||
package cokr.xit.fims.mngt;
|
||||
|
||||
import cokr.xit.foundation.AbstractEntity;
|
||||
import lombok.Getter;
|
||||
import lombok.Setter;
|
||||
|
||||
/** 공지사항
|
||||
* @author leebj
|
||||
*/
|
||||
@Getter
|
||||
@Setter
|
||||
public class Ntc extends AbstractEntity {
|
||||
|
||||
}
|
@ -0,0 +1,19 @@
|
||||
package cokr.xit.fims.mngt;
|
||||
|
||||
import cokr.xit.fims.cmmn.CmmnQuery;
|
||||
|
||||
/**공지사항 정보 조회 요청
|
||||
*
|
||||
* <p>상세 설명:
|
||||
*
|
||||
* <pre>
|
||||
* ============ 변경 이력 ============
|
||||
* 2024-01-02 leebj 최초 작성
|
||||
* ================================
|
||||
* </pre>
|
||||
*/
|
||||
public class NtcQuery extends CmmnQuery {
|
||||
|
||||
private static final long serialVersionUID = 1L;
|
||||
|
||||
}
|
@ -0,0 +1,14 @@
|
||||
package cokr.xit.fims.mngt;
|
||||
|
||||
import cokr.xit.foundation.AbstractEntity;
|
||||
import lombok.Getter;
|
||||
import lombok.Setter;
|
||||
|
||||
/**일정관리
|
||||
* @author leebj
|
||||
*/
|
||||
@Getter
|
||||
@Setter
|
||||
public class Schdl extends AbstractEntity {
|
||||
|
||||
}
|
@ -0,0 +1,19 @@
|
||||
package cokr.xit.fims.mngt;
|
||||
|
||||
import cokr.xit.fims.cmmn.CmmnQuery;
|
||||
|
||||
/**일정관리 정보 조회 요청
|
||||
*
|
||||
* <p>상세 설명:
|
||||
*
|
||||
* <pre>
|
||||
* ============ 변경 이력 ============
|
||||
* 2024-01-02 leebj 최초 작성
|
||||
* ================================
|
||||
* </pre>
|
||||
*/
|
||||
public class SchdlQuery extends CmmnQuery {
|
||||
|
||||
private static final long serialVersionUID = 1L;
|
||||
|
||||
}
|
@ -0,0 +1,13 @@
|
||||
package cokr.xit.fims.mngt.dao;
|
||||
|
||||
import org.egovframe.rte.psl.dataaccess.mapper.Mapper;
|
||||
|
||||
import cokr.xit.foundation.component.AbstractMapper;
|
||||
|
||||
/**공지사항 DAO
|
||||
* @author leebj
|
||||
*/
|
||||
@Mapper("ntcMapper")
|
||||
public interface NtcMapper extends AbstractMapper {
|
||||
|
||||
}
|
@ -0,0 +1,13 @@
|
||||
package cokr.xit.fims.mngt.dao;
|
||||
|
||||
import org.egovframe.rte.psl.dataaccess.mapper.Mapper;
|
||||
|
||||
import cokr.xit.foundation.component.AbstractMapper;
|
||||
|
||||
/**일정관리 DAO
|
||||
* @author leebj
|
||||
*/
|
||||
@Mapper("schdlMapper")
|
||||
public interface SchdlMapper extends AbstractMapper {
|
||||
|
||||
}
|
@ -0,0 +1,5 @@
|
||||
package cokr.xit.fims.mngt.service;
|
||||
|
||||
public interface NtcService {
|
||||
|
||||
}
|
@ -0,0 +1,5 @@
|
||||
package cokr.xit.fims.mngt.service;
|
||||
|
||||
public interface SchdlService {
|
||||
|
||||
}
|
@ -0,0 +1,19 @@
|
||||
package cokr.xit.fims.mngt.service.bean;
|
||||
|
||||
import javax.annotation.Resource;
|
||||
|
||||
import org.springframework.stereotype.Component;
|
||||
|
||||
import cokr.xit.fims.mngt.dao.NtcMapper;
|
||||
import cokr.xit.foundation.AbstractComponent;
|
||||
|
||||
/** 공지사항 Bean
|
||||
* @author leebj
|
||||
*/
|
||||
@Component("ntcBean")
|
||||
public class NtcBean extends AbstractComponent {
|
||||
|
||||
@Resource(name="ntcMapper")
|
||||
private NtcMapper ntcMapper;
|
||||
|
||||
}
|
@ -0,0 +1,16 @@
|
||||
package cokr.xit.fims.mngt.service.bean;
|
||||
|
||||
import javax.annotation.Resource;
|
||||
|
||||
import org.springframework.stereotype.Service;
|
||||
|
||||
import cokr.xit.fims.mngt.service.NtcService;
|
||||
import cokr.xit.foundation.component.AbstractServiceBean;
|
||||
|
||||
@Service("ntcService")
|
||||
public class NtcServiceBean extends AbstractServiceBean implements NtcService {
|
||||
|
||||
@Resource(name="ntcBean")
|
||||
private NtcBean ntcBean;
|
||||
|
||||
}
|
@ -0,0 +1,19 @@
|
||||
package cokr.xit.fims.mngt.service.bean;
|
||||
|
||||
import javax.annotation.Resource;
|
||||
|
||||
import org.springframework.stereotype.Component;
|
||||
|
||||
import cokr.xit.fims.mngt.dao.SchdlMapper;
|
||||
import cokr.xit.foundation.AbstractComponent;
|
||||
|
||||
/** 일정관리 Bean
|
||||
* @author leebj
|
||||
*/
|
||||
@Component("schdlBean")
|
||||
public class SchdlBean extends AbstractComponent {
|
||||
|
||||
@Resource(name="schdlMapper")
|
||||
private SchdlMapper schdlMapper;
|
||||
|
||||
}
|
@ -0,0 +1,16 @@
|
||||
package cokr.xit.fims.mngt.service.bean;
|
||||
|
||||
import javax.annotation.Resource;
|
||||
|
||||
import org.springframework.stereotype.Service;
|
||||
|
||||
import cokr.xit.fims.mngt.service.SchdlService;
|
||||
import cokr.xit.foundation.component.AbstractServiceBean;
|
||||
|
||||
@Service("schdlService")
|
||||
public class SchdlServiceBean extends AbstractServiceBean implements SchdlService {
|
||||
|
||||
@Resource(name="schdlBean")
|
||||
private SchdlBean schdlBean;
|
||||
|
||||
}
|
@ -0,0 +1,38 @@
|
||||
package cokr.xit.fims.mngt.web;
|
||||
|
||||
import javax.annotation.Resource;
|
||||
|
||||
import org.springframework.web.servlet.ModelAndView;
|
||||
|
||||
import cokr.xit.base.web.ApplicationController;
|
||||
import cokr.xit.fims.mngt.service.NtcService;
|
||||
|
||||
/**공지사항 서비스 웹 컨트롤러.<br />
|
||||
* {웹 컨텍스트}/mngt/mngt01 로 접근할 수 있다.
|
||||
* @author leebj
|
||||
*/
|
||||
public class Mngt01Controller extends ApplicationController {
|
||||
|
||||
public static final String CLASS_URL = "/mngt/mngt01";
|
||||
|
||||
public class METHOD_URL {
|
||||
public static final String
|
||||
ntcMain = "/010/main.do"
|
||||
;
|
||||
}
|
||||
|
||||
@Resource(name="ntcService")
|
||||
private NtcService ntcService;
|
||||
|
||||
/** 공지사항 메인화면을 연다.
|
||||
* @return fims/mngt/mngt01010-main
|
||||
*/
|
||||
public ModelAndView ntcMain() {
|
||||
ModelAndView mav = new ModelAndView();
|
||||
mav.setViewName("fims/mngt/mngt01010-main");
|
||||
mav.addObject("pageName", "mngt01010-main");
|
||||
|
||||
return mav;
|
||||
}
|
||||
|
||||
}
|
@ -0,0 +1,38 @@
|
||||
package cokr.xit.fims.mngt.web;
|
||||
|
||||
import javax.annotation.Resource;
|
||||
|
||||
import org.springframework.web.servlet.ModelAndView;
|
||||
|
||||
import cokr.xit.base.web.ApplicationController;
|
||||
import cokr.xit.fims.mngt.service.SchdlService;
|
||||
|
||||
/**일정관리 서비스 웹 컨트롤러.<br />
|
||||
* {웹 컨텍스트}/mngt/mngt02 로 접근할 수 있다.
|
||||
* @author leebj
|
||||
*/
|
||||
public class Mngt02Controller extends ApplicationController {
|
||||
|
||||
public static final String CLASS_URL = "/mngt/mngt02";
|
||||
|
||||
public class METHOD_URL {
|
||||
public static final String
|
||||
schdlMain = "/010/main.do"
|
||||
;
|
||||
}
|
||||
|
||||
@Resource(name="schdlService")
|
||||
private SchdlService schdlService;
|
||||
|
||||
/** 일정관리 메인화면을 연다.
|
||||
* @return fims/mngt/mngt02010-main
|
||||
*/
|
||||
public ModelAndView schdlMain() {
|
||||
ModelAndView mav = new ModelAndView();
|
||||
mav.setViewName("fims/mngt/mngt02010-main");
|
||||
mav.addObject("pageName", "mngt02010-main");
|
||||
|
||||
return mav;
|
||||
}
|
||||
|
||||
}
|
@ -0,0 +1,4 @@
|
||||
<?xml version="1.0" encoding="UTF-8"?>
|
||||
<!DOCTYPE mapper PUBLIC "-//mybatis.org//DTD Mapper 3.0//EN" "http://mybatis.org/dtd/mybatis-3-mapper.dtd">
|
||||
<mapper namespace="cokr.xit.fims.mngt.dao.NtcMapper">
|
||||
</mapper>
|
@ -0,0 +1,4 @@
|
||||
<?xml version="1.0" encoding="UTF-8"?>
|
||||
<!DOCTYPE mapper PUBLIC "-//mybatis.org//DTD Mapper 3.0//EN" "http://mybatis.org/dtd/mybatis-3-mapper.dtd">
|
||||
<mapper namespace="cokr.xit.fims.mngt.dao.SchdlMapper">
|
||||
</mapper>
|
@ -0,0 +1,4 @@
|
||||
<%@ page language="java" contentType="text/html; charset=UTF-8" pageEncoding="UTF-8" isELIgnored="false" session="false"%>
|
||||
<%@ include file="/WEB-INF/jsp/include/taglib.jsp"%>
|
||||
<c:set var="pageKorName" scope="request">공지사항</c:set>
|
||||
공지사항 메인
|
@ -0,0 +1,4 @@
|
||||
<%@ page language="java" contentType="text/html; charset=UTF-8" pageEncoding="UTF-8" isELIgnored="false" session="false"%>
|
||||
<%@ include file="/WEB-INF/jsp/include/taglib.jsp"%>
|
||||
<c:set var="pageKorName" scope="request">일정관리</c:set>
|
||||
일정관리 메인
|
Loading…
Reference in New Issue