Java Code Examples for org.jeecg.modules.system.entity.SysRole#getRoleName()
The following examples show how to use
org.jeecg.modules.system.entity.SysRole#getRoleName() .
You can vote up the ones you like or vote down the ones you don't like,
and go to the original project or source file by following the links above each example. You may check out the related API usage on the sidebar.
Example 1
Source File: SysUserRoleServiceImpl.java From jeecg-boot-with-activiti with MIT License | 5 votes |
/** * queryUserRole调用的方法 * @param roleList * @param roleId * @return */ private String searchByRoleId(List<SysRole> roleList, String roleId) { while(true) { for(SysRole role : roleList) { if(roleId.equals(role.getId())) { return role.getRoleName(); } } } }
Example 2
Source File: SysUserRoleServiceImpl.java From teaching with Apache License 2.0 | 5 votes |
/** * queryUserRole调用的方法 * @param roleList * @param roleId * @return */ private String searchByRoleId(List<SysRole> roleList, String roleId) { while(true) { for(SysRole role : roleList) { if(roleId.equals(role.getId())) { return role.getRoleName(); } } } }