diff --git a/src/main/java/kr/xit/framework/biz/cache/web/CacheController.java b/src/main/java/kr/xit/framework/biz/cache/web/CacheController.java index 50076135..33bb4d54 100644 --- a/src/main/java/kr/xit/framework/biz/cache/web/CacheController.java +++ b/src/main/java/kr/xit/framework/biz/cache/web/CacheController.java @@ -1,5 +1,7 @@ package kr.xit.framework.biz.cache.web; +import kr.xit.framework.biz.mng.bbs.dto.XitBasicBbsMngSearchVO; +import kr.xit.framework.support.util.ConvertUtils; import org.springframework.stereotype.Controller; import org.springframework.web.bind.annotation.GetMapping; import org.springframework.web.bind.annotation.RequestMapping; @@ -8,6 +10,8 @@ import org.springframework.web.servlet.ModelAndView; import kr.xit.framework.biz.cache.util.CacheServiceUtils; import kr.xit.framework.core.constants.FrameworkConstants; +import java.util.Map; + /** * 공통코드, 사용자코드 콘트롤러 * @@ -61,4 +65,15 @@ CacheController { mav.addObject("allMenuList", CacheServiceUtils.findMenuListByAuthorCode(authorCode)); return mav; } + + @GetMapping(value="/getNoticeList") + public ModelAndView getNoticeList() { + ModelAndView mav = new ModelAndView(FrameworkConstants.JSON_VIEW); + XitBasicBbsMngSearchVO searchVO = new XitBasicBbsMngSearchVO(); + searchVO.setBbsId("BBSMSTR_00001"); + searchVO.setFirstIndex(0); + mav.addObject("resultList1", CacheServiceUtils.findBaseBbsList(ConvertUtils.toObjectFromClass(searchVO, Map.class))); + return mav; + } + } diff --git a/src/main/webapp/WEB-INF/jsp/framework/biz/cmm/XitMain2.jsp b/src/main/webapp/WEB-INF/jsp/framework/biz/cmm/XitMain2.jsp index 077e1f2a..5c17f95d 100644 --- a/src/main/webapp/WEB-INF/jsp/framework/biz/cmm/XitMain2.jsp +++ b/src/main/webapp/WEB-INF/jsp/framework/biz/cmm/XitMain2.jsp @@ -125,71 +125,3 @@ - - - \ No newline at end of file diff --git a/src/main/webapp/WEB-INF/jsp/framework/layouts/tiles/biz/cmmn/BizIncludeBase.jsp b/src/main/webapp/WEB-INF/jsp/framework/layouts/tiles/biz/cmmn/BizIncludeBase.jsp index cabd01a0..d1d088c4 100644 --- a/src/main/webapp/WEB-INF/jsp/framework/layouts/tiles/biz/cmmn/BizIncludeBase.jsp +++ b/src/main/webapp/WEB-INF/jsp/framework/layouts/tiles/biz/cmmn/BizIncludeBase.jsp @@ -22,6 +22,8 @@ + + @@ -32,8 +34,7 @@ - -<%-- --%> + @@ -82,13 +83,6 @@