<%@ page language="java" contentType="text/html; charset=UTF-8" pageEncoding="UTF-8"%> <%@ page import="com.pms.common.utils.*"%> <%@ taglib prefix="fmt" uri="http://java.sun.com/jsp/jstl/fmt"%> <%@ page import="java.util.*" %> <%@include file= "/init.jsp" %> <% // 권한 체크: AUTHORITY_MASTER의 OBJID가 41000668인 그룹에 속한 사용자 또는 관리자인지 확인 boolean hasStatusChangeAuth = false; String menuName = "개발관리_E-BOM 등록"; // 기본값 try { // 관리자는 자동으로 권한 부여 if(isAdmin) { hasStatusChangeAuth = true; } else { org.apache.ibatis.session.SqlSession sqlSession = com.pms.common.SqlMapConfig.getInstance().getSqlSession(); java.util.Map authParam = new java.util.HashMap(); authParam.put("userId", connectUserId); authParam.put("masterObjid", "41000668"); Integer authCount = (Integer)sqlSession.selectOne("common.checkUserAuthority", authParam); hasStatusChangeAuth = (authCount != null && authCount > 0); sqlSession.close(); } // 메뉴 이름 조회 (공통 유틸 사용) String menuObjId = request.getParameter("menuObjId"); menuName = CommonUtils.getMenuName(menuObjId, menuName); } catch(Exception e) { e.printStackTrace(); } %> <%=Constants.SYSTEM_NAME%>

<%=menuName%>

~
<%@include file= "/WEB-INF/view/common/common_gridArea.jsp" %>