|
|
@ -11,6 +11,8 @@ import cokr.xit.fims.cmmn.CmmnQuery;
|
|
|
|
import cokr.xit.fims.mngt.VltnQuery;
|
|
|
|
import cokr.xit.fims.mngt.VltnQuery;
|
|
|
|
import cokr.xit.fims.mngt.service.TaskService;
|
|
|
|
import cokr.xit.fims.mngt.service.TaskService;
|
|
|
|
import cokr.xit.fims.mngt.service.VltnService;
|
|
|
|
import cokr.xit.fims.mngt.service.VltnService;
|
|
|
|
|
|
|
|
import cokr.xit.fims.mngt.service.bean.FactionBean;
|
|
|
|
|
|
|
|
import cokr.xit.foundation.UserInfo;
|
|
|
|
import cokr.xit.foundation.data.DataObject;
|
|
|
|
import cokr.xit.foundation.data.DataObject;
|
|
|
|
|
|
|
|
|
|
|
|
/**시군구관리 서비스 웹 컨트롤러.<br />
|
|
|
|
/**시군구관리 서비스 웹 컨트롤러.<br />
|
|
|
@ -37,13 +39,35 @@ public class Mngt03Controller extends ApplicationController {
|
|
|
|
@Resource(name = "vltnService")
|
|
|
|
@Resource(name = "vltnService")
|
|
|
|
private VltnService vltnService;
|
|
|
|
private VltnService vltnService;
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
@Resource(name = "factionBean")
|
|
|
|
|
|
|
|
private FactionBean factionBean;
|
|
|
|
|
|
|
|
|
|
|
|
/** 시군구관리 메인화면을 연다.
|
|
|
|
/** 시군구관리 메인화면을 연다.
|
|
|
|
* @return fims/mngt/mngt03010-main
|
|
|
|
* @return fims/mngt/mngt03010-main
|
|
|
|
*/
|
|
|
|
*/
|
|
|
|
public ModelAndView sggMngtMain() {
|
|
|
|
public ModelAndView sggMngtMain(String sggCd) {
|
|
|
|
ModelAndView mav = new ModelAndView();
|
|
|
|
ModelAndView mav = new ModelAndView();
|
|
|
|
mav.setViewName("fims/mngt/mngt03010-main");
|
|
|
|
|
|
|
|
mav.addObject("pageName", "mngt03010-main");
|
|
|
|
UserInfo userInfo = currentUser();
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
if(userInfo.getInstitute().equals("default")) {
|
|
|
|
|
|
|
|
if(ifEmpty(sggCd, ()->"").equals("")) {
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
mav.setViewName("fims/mngt/mngt03011-main");
|
|
|
|
|
|
|
|
mav.addObject("pageName", "mngt03011-main");
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
} else {
|
|
|
|
|
|
|
|
mav.setViewName("fims/mngt/mngt03010-main");
|
|
|
|
|
|
|
|
mav.addObject("pageName", "mngt03010-main");
|
|
|
|
|
|
|
|
mav.addObject("sggCd", sggCd);
|
|
|
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
} else {
|
|
|
|
|
|
|
|
mav.setViewName("fims/mngt/mngt03010-main");
|
|
|
|
|
|
|
|
mav.addObject("pageName", "mngt03010-main");
|
|
|
|
|
|
|
|
factionBean.initUserInfo(userInfo);
|
|
|
|
|
|
|
|
mav.addObject("sggCd", userInfo.getInfo().get("sggCd"));
|
|
|
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
|
|
return mav;
|
|
|
|
return mav;
|
|
|
|
}
|
|
|
|
}
|
|
|
|