CodeController.main() 수정

master
xit 2 years ago
parent f4d2535964
commit 4aa2163f21

@ -37,7 +37,9 @@ public class CodeController extends AbstractController {
*/ */
@RequestMapping(name="공통코드 메인", value="/main.do") @RequestMapping(name="공통코드 메인", value="/main.do")
public ModelAndView main() { public ModelAndView main() {
return new ModelAndView("base/code/code-main"); ModelAndView mav = getGroupList(new CodeQuery().setPageNum(1));
mav.setViewName("base/code/code-main");
return mav.addObject("groupList", toJson(mav.getModel().remove("groupList")));
} }
/** . /** .

Loading…
Cancel
Save