|
@@ -81,6 +81,10 @@ public class StudentController extends BaseController {
|
|
|
@PreAuthorize("@pcs.hasPermissions('student/detail')")
|
|
|
public HttpResponseResult<StudentVo> detail(@PathVariable("id") Long id) {
|
|
|
StudentVo detail = studentService.detail(id);
|
|
|
+ if (detail != null && detail.getTenantGroupId() != null) {
|
|
|
+ TenantGroup group = tenantGroupService.getById(detail.getTenantGroupId());
|
|
|
+ detail.setTenantGroupName(group == null ? "" : group.getName());
|
|
|
+ }
|
|
|
return succeed(detail);
|
|
|
}
|
|
|
|