|
|
@ -9,11 +9,12 @@ import org.springframework.web.bind.annotation.RequestMapping;
|
|
|
|
import org.springframework.web.servlet.ModelAndView;
|
|
|
|
import org.springframework.web.servlet.ModelAndView;
|
|
|
|
|
|
|
|
|
|
|
|
import cokr.xit.base.user.ManagedUser;
|
|
|
|
import cokr.xit.base.user.ManagedUser;
|
|
|
|
|
|
|
|
import cokr.xit.base.user.SigunguQuery;
|
|
|
|
|
|
|
|
import cokr.xit.base.user.service.SigunguDepartmentService;
|
|
|
|
import cokr.xit.base.web.ApplicationController;
|
|
|
|
import cokr.xit.base.web.ApplicationController;
|
|
|
|
import cokr.xit.fims.mngt.Ntc;
|
|
|
|
import cokr.xit.fims.mngt.Ntc;
|
|
|
|
import cokr.xit.fims.mngt.NtcQuery;
|
|
|
|
import cokr.xit.fims.mngt.NtcQuery;
|
|
|
|
import cokr.xit.fims.mngt.service.NtcService;
|
|
|
|
import cokr.xit.fims.mngt.service.NtcService;
|
|
|
|
import cokr.xit.fims.mngt.service.bean.FimsOgdpBean;
|
|
|
|
|
|
|
|
import cokr.xit.foundation.data.DataObject;
|
|
|
|
import cokr.xit.foundation.data.DataObject;
|
|
|
|
|
|
|
|
|
|
|
|
/**공지사항 서비스 웹 컨트롤러.<br />
|
|
|
|
/**공지사항 서비스 웹 컨트롤러.<br />
|
|
|
@ -40,8 +41,9 @@ public class Mngt01Controller extends ApplicationController {
|
|
|
|
@Resource(name="ntcService")
|
|
|
|
@Resource(name="ntcService")
|
|
|
|
private NtcService ntcService;
|
|
|
|
private NtcService ntcService;
|
|
|
|
|
|
|
|
|
|
|
|
@Resource(name="fimsOgdpBean")
|
|
|
|
@Resource(name="sigunguDepartmentService")
|
|
|
|
private FimsOgdpBean fimsOgdpBean;
|
|
|
|
private SigunguDepartmentService sggDeptService;
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
/** 공지사항 메인화면을 연다.
|
|
|
|
/** 공지사항 메인화면을 연다.
|
|
|
|
* @return fims/mngt/mngt01010-main
|
|
|
|
* @return fims/mngt/mngt01010-main
|
|
|
@ -96,7 +98,7 @@ public class Mngt01Controller extends ApplicationController {
|
|
|
|
}
|
|
|
|
}
|
|
|
|
mav.addObject("ntcInfo", json ? info : toJson(info));
|
|
|
|
mav.addObject("ntcInfo", json ? info : toJson(info));
|
|
|
|
|
|
|
|
|
|
|
|
List<DataObject> allSggList = fimsOgdpBean.selectAllSggList();
|
|
|
|
List<DataObject> allSggList = sggDeptService.getSigunguList(new SigunguQuery());
|
|
|
|
mav.addObject("sggList", allSggList);
|
|
|
|
mav.addObject("sggList", allSggList);
|
|
|
|
|
|
|
|
|
|
|
|
return mav;
|
|
|
|
return mav;
|
|
|
|