소스정리

main
이범준 5 months ago
parent 1a1c168fb0
commit 6bea84b159

@ -7,4 +7,4 @@ import cokr.xit.base.user.Sigungu;
import cokr.xit.base.user.web.SigunguDepartmentController;
@Controller
public class SggDeptController extends SigunguDepartmentController<Sigungu, Department> {}
public class FimsSggDeptController extends SigunguDepartmentController<Sigungu, Department> {}

@ -9,11 +9,12 @@ import org.springframework.web.bind.annotation.RequestMapping;
import org.springframework.web.servlet.ModelAndView;
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.fims.mngt.Ntc;
import cokr.xit.fims.mngt.NtcQuery;
import cokr.xit.fims.mngt.service.NtcService;
import cokr.xit.fims.mngt.service.bean.FimsOgdpBean;
import cokr.xit.foundation.data.DataObject;
/** .<br />
@ -40,8 +41,9 @@ public class Mngt01Controller extends ApplicationController {
@Resource(name="ntcService")
private NtcService ntcService;
@Resource(name="fimsOgdpBean")
private FimsOgdpBean fimsOgdpBean;
@Resource(name="sigunguDepartmentService")
private SigunguDepartmentService sggDeptService;
/** .
* @return fims/mngt/mngt01010-main
@ -96,7 +98,7 @@ public class Mngt01Controller extends ApplicationController {
}
mav.addObject("ntcInfo", json ? info : toJson(info));
List<DataObject> allSggList = fimsOgdpBean.selectAllSggList();
List<DataObject> allSggList = sggDeptService.getSigunguList(new SigunguQuery());
mav.addObject("sggList", allSggList);
return mav;

@ -9,6 +9,8 @@ import org.springframework.web.bind.annotation.RequestMapping;
import org.springframework.web.servlet.ModelAndView;
import cokr.xit.applib.ogdp.OgdpQuery;
import cokr.xit.base.user.SigunguQuery;
import cokr.xit.base.user.service.SigunguDepartmentService;
import cokr.xit.base.web.ApplicationController;
import cokr.xit.fims.cmmn.CmmnQuery;
import cokr.xit.fims.mngt.FimsDepartment;
@ -34,6 +36,8 @@ public class Mngt04Controller extends ApplicationController {
;
}
@Resource(name="sigunguDepartmentService")
private SigunguDepartmentService sggDeptService;
/** 소속 정보 서비스 */
@Resource(name = "fimsOgdpBean")
@ -50,7 +54,7 @@ public class Mngt04Controller extends ApplicationController {
mav.setViewName("fims/mngt/mngt04010-main");
mav.addObject("pageName", "mngt04010");
List<DataObject> allSggList = fimsOgdpBean.selectAllSggList();
List<DataObject> allSggList = sggDeptService.getSigunguList(new SigunguQuery());
mav.addObject("sggList", allSggList);

Loading…
Cancel
Save