|
|
@@ -24,6 +24,8 @@ import com.xjrsoft.module.base.service.IBaseGradeService;
|
|
|
import com.xjrsoft.module.concat.service.IXjrUserService;
|
|
|
import com.xjrsoft.module.organization.entity.UserDeptRelation;
|
|
|
import com.xjrsoft.module.organization.service.IUserDeptRelationService;
|
|
|
+import com.xjrsoft.module.personnel.entity.FaceManagement;
|
|
|
+import com.xjrsoft.module.personnel.service.IFaceManagementService;
|
|
|
import com.xjrsoft.module.room.service.IRoomBedService;
|
|
|
import com.xjrsoft.module.student.dto.AddBaseStudentUserDto;
|
|
|
import com.xjrsoft.module.student.dto.BaseStudentUserPageDto;
|
|
|
@@ -70,6 +72,7 @@ public class StudentManagerController {
|
|
|
private final IXjrUserService xjrUserService;
|
|
|
private final IRoomBedService roomBedService;
|
|
|
private final IUserDeptRelationService userDeptRelationService;
|
|
|
+ private final IFaceManagementService faceManagementService;
|
|
|
@GetMapping(value = "/page")
|
|
|
@ApiOperation(value = "学生列表(分页)")
|
|
|
@SaCheckPermission("studentmanager:detail")
|
|
|
@@ -169,6 +172,12 @@ public class StudentManagerController {
|
|
|
userVo.setDepartmentIds(allDeptIdStr);
|
|
|
|
|
|
userVo.setGenderCn(GenderDictionaryEnum.getValue(userVo.getGender()));
|
|
|
+
|
|
|
+ //查询头像照片
|
|
|
+ FaceManagement faceManagement = faceManagementService.getOne(
|
|
|
+ new QueryWrapper<FaceManagement>().lambda()
|
|
|
+ .eq(FaceManagement::getUserId, userVo.getId())
|
|
|
+ );
|
|
|
return R.ok(userVo);
|
|
|
}
|
|
|
|