공지사항 조회 수정

main
이범준 2 months ago
parent 770f75db63
commit 448123aa56

@ -89,11 +89,6 @@ public class Mngt01Controller extends ApplicationController {
req.setUserSggCd(currentUser.getOrgID());
req.setUserCntnSeCd(currentUser.getCntnSeCd());
}
if(currentUser.getCntnSeCd().equals("01")) {
mav.addObject("isPublicOfficer", true);
} else {
mav.addObject("isPublicOfficer", false);
}
List<DataObject> list = ntcService.getNtcList(req);
@ -120,6 +115,13 @@ public class Mngt01Controller extends ApplicationController {
}
mav.addObject("ntcInfo", json ? info : toJson(info));
FimsUser currentUser = (FimsUser) currentUser().getUser();
if(currentUser.getCntnSeCd().equals("01")) {
mav.addObject("isPublicOfficer", true);
} else {
mav.addObject("isPublicOfficer", false);
}
List<DataObject> allSggList = sggDeptService.getSigunguList(new SigunguQuery());
mav.addObject("sggList", allSggList);

Loading…
Cancel
Save