Commit 803dd1e9 authored by 高宇's avatar 高宇

Merge remote-tracking branch 'origin/master'

parents ca63cdaf 5ddabadf
......@@ -81,14 +81,18 @@ public class RoleController extends BaseController {
if (record.getTenantId()!=null) {
Tenant tenant = tenantService.get(record.getTenantId());
record.setTenantName(tenant.getName());
if (record.getPid()!=null) {
Role role = roleService.get(record.getPid());
if (role!=null)
if (role != null)
record.setPidName(role.getName());
}
if (record.getDeptid()!=null) {
Dept dept = deptService.get(record.getDeptid());
if (dept!=null)
if (dept != null)
record.setDeptName(dept.getFullname());
}
}
}
return Rets.success(page);
}
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment