diff --git a/src/main/java/cokr/xit/fims/cvlc/web/Cvlc05Controller.java b/src/main/java/cokr/xit/fims/cvlc/web/Cvlc05Controller.java index e759f6b9..bfd830c1 100644 --- a/src/main/java/cokr/xit/fims/cvlc/web/Cvlc05Controller.java +++ b/src/main/java/cokr/xit/fims/cvlc/web/Cvlc05Controller.java @@ -10,11 +10,14 @@ import org.springframework.web.bind.annotation.RequestMapping; import org.springframework.web.servlet.ModelAndView; import cokr.xit.base.code.CommonCode; +import cokr.xit.base.user.ManagedUser; +import cokr.xit.base.user.dao.UserMapper; import cokr.xit.base.web.ApplicationController; import cokr.xit.fims.crdn.CrdnQuery; import cokr.xit.fims.crdn.dao.GlobalStngMapper; import cokr.xit.fims.cvlc.CrdnCvlcpt; import cokr.xit.fims.cvlc.service.CrdnCvlcptService; +import cokr.xit.foundation.UserInfo; import cokr.xit.foundation.data.DataObject; /**민원신고답변 문구 관리 서비스 웹 컨트롤러.
@@ -29,6 +32,9 @@ public class Cvlc05Controller extends ApplicationController { @Resource(name="globalStngMapper") private GlobalStngMapper globalStngMapper; + @Resource(name="userMapper") + private UserMapper userMapper; + /** 민원신고 답변 문구 관리 메인화면을 연다. * @return fims/cvlc/cvlc05010-main */ @@ -38,6 +44,10 @@ public class Cvlc05Controller extends ApplicationController { mav.addObject("pageName", "cvlc05010-main"); mav.addObject("module", "type='module'"); + mav.addObject("currentUserName", UserInfo.current().getName()); + ManagedUser currentUser = userMapper.getUser(UserInfo.current().getAccount(), UserInfo.current().getInstitute()); + mav.addObject("currentUserTelno", currentUser.getPhoneNo()); + Map> commonCodes = getCodesOf("FIM054"); mav.addObject("FIM054List", commonCodes.get("FIM054")); diff --git a/src/main/webapp/WEB-INF/jsp/fims/crdn/crdn02020-main.jsp b/src/main/webapp/WEB-INF/jsp/fims/crdn/crdn02020-main.jsp index 03def8aa..528a5813 100644 --- a/src/main/webapp/WEB-INF/jsp/fims/crdn/crdn02020-main.jsp +++ b/src/main/webapp/WEB-INF/jsp/fims/crdn/crdn02020-main.jsp @@ -149,7 +149,7 @@ - + @@ -276,6 +288,7 @@