读取common.properties文件

来源:互联网 发布:apache 安装 编辑:程序博客网 时间:2024/04/25 18:01

ResourceBundle bundle_common = ResourceBundle.getBundle("common");


//xybDeptId为在config.properties配置的信用办部门id
if(bundle_common.getString("xybDeptId").equals(currentUser.getDpId())){//判断登录用户的部门是不是信用办
creditInformation.setDepartmentid(currentUser.getDpId());
}


0 0
原创粉丝点击