권한관리, 기능분류 페이징 처리 수정
parent
3f48d4b8d9
commit
4ee0c9859d
@ -1,6 +1,18 @@
|
||||
package cokr.xit.fims.base;
|
||||
|
||||
import org.springframework.stereotype.Controller;
|
||||
import org.springframework.web.servlet.ModelAndView;
|
||||
|
||||
import cokr.xit.base.security.access.service.ActionQuery;
|
||||
|
||||
@Controller
|
||||
public class ActionGroupController extends cokr.xit.base.security.access.web.ActionGroupController {}
|
||||
public class ActionGroupController extends cokr.xit.base.security.access.web.ActionGroupController {
|
||||
|
||||
@Override
|
||||
public ModelAndView main() {
|
||||
ModelAndView mav = getActionGroupList(new ActionQuery().setFetchAll(true));
|
||||
mav.setViewName("base/actionGroup/actionGroup-main");
|
||||
return mav.addObject("groupList", toJson(mav.getModel().get("groupList")));
|
||||
}
|
||||
|
||||
}
|
@ -1,6 +1,18 @@
|
||||
package cokr.xit.fims.base;
|
||||
|
||||
import org.springframework.stereotype.Controller;
|
||||
import org.springframework.web.servlet.ModelAndView;
|
||||
|
||||
import cokr.xit.base.security.access.service.AuthorityQuery;
|
||||
|
||||
@Controller
|
||||
public class AuthorityController extends cokr.xit.base.security.access.web.AuthorityController {}
|
||||
public class AuthorityController extends cokr.xit.base.security.access.web.AuthorityController {
|
||||
|
||||
@Override
|
||||
public ModelAndView main() {
|
||||
ModelAndView mav = getAuthorityList(new AuthorityQuery().setFetchAll(true));
|
||||
mav.setViewName("base/authority/authority-main");
|
||||
return mav.addObject("authorityList", toJson(mav.getModel().remove("authorityList")));
|
||||
}
|
||||
|
||||
}
|
Loading…
Reference in New Issue