공지사항,일정관리 관련 java,xml,jsp파일 추가

main
이범준 11 months ago
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;
}
}

@ -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 @Controller
@RequestMapping(name="우편통합", value=Epst01Controller.CLASS_URL) @RequestMapping(name="우편통합", value=Epst01Controller.CLASS_URL)
class Epst01Controller extends cokr.xit.fims.epst.web.Epst01Controller { class Epst01Controller extends cokr.xit.fims.epst.web.Epst01Controller {

@ -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>
일정관리 메인

@ -48,10 +48,10 @@
<button type="button" id="btnGoToCvlcptDscsn" class="btn btn-outline-dark"> <button type="button" id="btnGoToCvlcptDscsn" class="btn btn-outline-dark">
종합민원관리 종합민원관리
</button> </button>
<button type="button" class="btn btn-outline-dark"> <button type="button" id="btnGoToSchdl" class="btn btn-outline-dark">
일정관리 일정관리
</button> </button>
<button type="button" class="btn btn-outline-dark"> <button type="button" id="btnGoToNtc" class="btn btn-outline-dark">
공지사항 공지사항
</button> </button>
<button type="button" id="btnDownloadMenual--top" class="btn btn-primary" <button type="button" id="btnDownloadMenual--top" class="btn btn-primary"
@ -322,6 +322,10 @@ function doFastSearch(){
/*--------------------- 종합민원관리 클릭 이벤트 ---------------------*/ /*--------------------- 종합민원관리 클릭 이벤트 ---------------------*/
mappingButtonAndMenu("btnGoToCvlcptDscsn","민원상담"); mappingButtonAndMenu("btnGoToCvlcptDscsn","민원상담");
/*--------------------- 일정관리 클릭 이벤트 ---------------------*/
mappingButtonAndMenu("btnGoToNtc","공지사항");
/*--------------------- 공지사항 클릭 이벤트 ---------------------*/
mappingButtonAndMenu("btnGoToSchdl","일정관리");
/*--------------------- 사용자 메뉴얼 클릭 이벤트 ---------------------*/ /*--------------------- 사용자 메뉴얼 클릭 이벤트 ---------------------*/
$("#btnDownloadMenual--top").on( "click", function() { $("#btnDownloadMenual--top").on( "click", function() {

Loading…
Cancel
Save