diff --git a/src/main/java/cokr/xit/fims/mngt/Ntc.java b/src/main/java/cokr/xit/fims/mngt/Ntc.java new file mode 100644 index 00000000..63f989fe --- /dev/null +++ b/src/main/java/cokr/xit/fims/mngt/Ntc.java @@ -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 { + +} diff --git a/src/main/java/cokr/xit/fims/mngt/NtcQuery.java b/src/main/java/cokr/xit/fims/mngt/NtcQuery.java new file mode 100644 index 00000000..14dc1d43 --- /dev/null +++ b/src/main/java/cokr/xit/fims/mngt/NtcQuery.java @@ -0,0 +1,19 @@ +package cokr.xit.fims.mngt; + +import cokr.xit.fims.cmmn.CmmnQuery; + +/**공지사항 정보 조회 요청 +* +*

상세 설명: +* +*

+* ============ 변경 이력 ============
+* 2024-01-02	leebj 최초 작성
+* ================================
+* 
+*/ +public class NtcQuery extends CmmnQuery { + + private static final long serialVersionUID = 1L; + +} diff --git a/src/main/java/cokr/xit/fims/mngt/Schdl.java b/src/main/java/cokr/xit/fims/mngt/Schdl.java new file mode 100644 index 00000000..d513de62 --- /dev/null +++ b/src/main/java/cokr/xit/fims/mngt/Schdl.java @@ -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 { + +} diff --git a/src/main/java/cokr/xit/fims/mngt/SchdlQuery.java b/src/main/java/cokr/xit/fims/mngt/SchdlQuery.java new file mode 100644 index 00000000..f499c19f --- /dev/null +++ b/src/main/java/cokr/xit/fims/mngt/SchdlQuery.java @@ -0,0 +1,19 @@ +package cokr.xit.fims.mngt; + +import cokr.xit.fims.cmmn.CmmnQuery; + +/**일정관리 정보 조회 요청 +* +*

상세 설명: +* +*

+* ============ 변경 이력 ============
+* 2024-01-02	leebj 최초 작성
+* ================================
+* 
+*/ +public class SchdlQuery extends CmmnQuery { + + private static final long serialVersionUID = 1L; + +} diff --git a/src/main/java/cokr/xit/fims/mngt/dao/NtcMapper.java b/src/main/java/cokr/xit/fims/mngt/dao/NtcMapper.java new file mode 100644 index 00000000..1af42c4b --- /dev/null +++ b/src/main/java/cokr/xit/fims/mngt/dao/NtcMapper.java @@ -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 { + +} diff --git a/src/main/java/cokr/xit/fims/mngt/dao/SchdlMapper.java b/src/main/java/cokr/xit/fims/mngt/dao/SchdlMapper.java new file mode 100644 index 00000000..8afead52 --- /dev/null +++ b/src/main/java/cokr/xit/fims/mngt/dao/SchdlMapper.java @@ -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 { + +} diff --git a/src/main/java/cokr/xit/fims/mngt/service/NtcService.java b/src/main/java/cokr/xit/fims/mngt/service/NtcService.java new file mode 100644 index 00000000..c19438f3 --- /dev/null +++ b/src/main/java/cokr/xit/fims/mngt/service/NtcService.java @@ -0,0 +1,5 @@ +package cokr.xit.fims.mngt.service; + +public interface NtcService { + +} diff --git a/src/main/java/cokr/xit/fims/mngt/service/SchdlService.java b/src/main/java/cokr/xit/fims/mngt/service/SchdlService.java new file mode 100644 index 00000000..2c8857e5 --- /dev/null +++ b/src/main/java/cokr/xit/fims/mngt/service/SchdlService.java @@ -0,0 +1,5 @@ +package cokr.xit.fims.mngt.service; + +public interface SchdlService { + +} diff --git a/src/main/java/cokr/xit/fims/mngt/service/bean/NtcBean.java b/src/main/java/cokr/xit/fims/mngt/service/bean/NtcBean.java new file mode 100644 index 00000000..d16e7af9 --- /dev/null +++ b/src/main/java/cokr/xit/fims/mngt/service/bean/NtcBean.java @@ -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; + +} diff --git a/src/main/java/cokr/xit/fims/mngt/service/bean/NtcServiceBean.java b/src/main/java/cokr/xit/fims/mngt/service/bean/NtcServiceBean.java new file mode 100644 index 00000000..5e2759a8 --- /dev/null +++ b/src/main/java/cokr/xit/fims/mngt/service/bean/NtcServiceBean.java @@ -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; + +} diff --git a/src/main/java/cokr/xit/fims/mngt/service/bean/SchdlBean.java b/src/main/java/cokr/xit/fims/mngt/service/bean/SchdlBean.java new file mode 100644 index 00000000..115de778 --- /dev/null +++ b/src/main/java/cokr/xit/fims/mngt/service/bean/SchdlBean.java @@ -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; + +} diff --git a/src/main/java/cokr/xit/fims/mngt/service/bean/SchdlServiceBean.java b/src/main/java/cokr/xit/fims/mngt/service/bean/SchdlServiceBean.java new file mode 100644 index 00000000..486460a8 --- /dev/null +++ b/src/main/java/cokr/xit/fims/mngt/service/bean/SchdlServiceBean.java @@ -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; + +} diff --git a/src/main/java/cokr/xit/fims/mngt/web/Mngt01Controller.java b/src/main/java/cokr/xit/fims/mngt/web/Mngt01Controller.java new file mode 100644 index 00000000..c4789133 --- /dev/null +++ b/src/main/java/cokr/xit/fims/mngt/web/Mngt01Controller.java @@ -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; + +/**공지사항 서비스 웹 컨트롤러.
+ * {웹 컨텍스트}/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; + } + +} diff --git a/src/main/java/cokr/xit/fims/mngt/web/Mngt02Controller.java b/src/main/java/cokr/xit/fims/mngt/web/Mngt02Controller.java new file mode 100644 index 00000000..67f795e8 --- /dev/null +++ b/src/main/java/cokr/xit/fims/mngt/web/Mngt02Controller.java @@ -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; + +/**일정관리 서비스 웹 컨트롤러.
+ * {웹 컨텍스트}/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; + } + +} diff --git a/src/main/java/cokr/xit/fims/task/web/CmnController.java b/src/main/java/cokr/xit/fims/task/web/CmnController.java index 0a779c09..297ea6eb 100644 --- a/src/main/java/cokr/xit/fims/task/web/CmnController.java +++ b/src/main/java/cokr/xit/fims/task/web/CmnController.java @@ -563,6 +563,30 @@ public class CmnController { } } + @Controller + @RequestMapping(name="공지사항 관리", value=Mngt01Controller.CLASS_URL) + class Mngt01Controller extends cokr.xit.fims.mngt.web.Mngt01Controller { + + @Override + @RequestMapping(name="공지사항 메인", value=METHOD_URL.ntcMain) + public ModelAndView ntcMain() { + return super.ntcMain(); + } + + } + + @Controller + @RequestMapping(name="일정관리", value=Mngt02Controller.CLASS_URL) + class Mngt02Controller extends cokr.xit.fims.mngt.web.Mngt02Controller { + + @Override + @RequestMapping(name="일정관리 메인", value=METHOD_URL.schdlMain) + public ModelAndView schdlMain() { + return super.schdlMain(); + } + + } + @Controller @RequestMapping(name="우편통합", value=Epst01Controller.CLASS_URL) class Epst01Controller extends cokr.xit.fims.epst.web.Epst01Controller { diff --git a/src/main/resources/sql/mapper/fims/mngt/ntc-mapper.xml b/src/main/resources/sql/mapper/fims/mngt/ntc-mapper.xml new file mode 100644 index 00000000..e6b979d7 --- /dev/null +++ b/src/main/resources/sql/mapper/fims/mngt/ntc-mapper.xml @@ -0,0 +1,4 @@ + + + + \ No newline at end of file diff --git a/src/main/resources/sql/mapper/fims/mngt/schdl-mapper.xml b/src/main/resources/sql/mapper/fims/mngt/schdl-mapper.xml new file mode 100644 index 00000000..f114e8dc --- /dev/null +++ b/src/main/resources/sql/mapper/fims/mngt/schdl-mapper.xml @@ -0,0 +1,4 @@ + + + + \ No newline at end of file diff --git a/src/main/webapp/WEB-INF/jsp/fims/mngt/mngt01010-main.jsp b/src/main/webapp/WEB-INF/jsp/fims/mngt/mngt01010-main.jsp new file mode 100644 index 00000000..29cda737 --- /dev/null +++ b/src/main/webapp/WEB-INF/jsp/fims/mngt/mngt01010-main.jsp @@ -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"%> +공지사항 +공지사항 메인 \ No newline at end of file diff --git a/src/main/webapp/WEB-INF/jsp/fims/mngt/mngt02010-main.jsp b/src/main/webapp/WEB-INF/jsp/fims/mngt/mngt02010-main.jsp new file mode 100644 index 00000000..ec06bbc7 --- /dev/null +++ b/src/main/webapp/WEB-INF/jsp/fims/mngt/mngt02010-main.jsp @@ -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"%> +일정관리 +일정관리 메인 \ No newline at end of file diff --git a/src/main/webapp/WEB-INF/jsp/include/top.jsp b/src/main/webapp/WEB-INF/jsp/include/top.jsp index 070ed57f..7655a5c8 100644 --- a/src/main/webapp/WEB-INF/jsp/include/top.jsp +++ b/src/main/webapp/WEB-INF/jsp/include/top.jsp @@ -48,10 +48,10 @@ - -