新增领导班子、部门简介功能
This commit is contained in:
parent
89ba5746db
commit
2b0d07d4dc
@ -93,6 +93,11 @@ public class DepartmentBaseController extends DefaultBaseController {
|
||||
public List<DepartmentPO> listJur(){
|
||||
List<DepartmentPO> list = new ArrayList<>();
|
||||
List<RolePO> roles = securityComponent.getCurrentUser().getRoles();
|
||||
if("admin".equals(securityComponent.getCurrentUser().getUserUsername())){
|
||||
list = departmentBaseService.listByParentId(GENGID);
|
||||
return list;
|
||||
}
|
||||
|
||||
for (RolePO role : roles) {
|
||||
//市局角色
|
||||
if(ROLE_1_CODE.equals(role.getRoleCode())){
|
||||
|
Loading…
Reference in New Issue
Block a user