|
|
@ -2,6 +2,7 @@ package cn.teammodel.controller.admin.controller;
|
|
|
|
|
|
|
|
|
|
|
|
import cn.teammodel.common.R;
|
|
|
|
import cn.teammodel.common.R;
|
|
|
|
import cn.teammodel.controller.admin.service.TeacherService;
|
|
|
|
import cn.teammodel.controller.admin.service.TeacherService;
|
|
|
|
|
|
|
|
import cn.teammodel.model.dto.admin.exam.ExamRecordDto;
|
|
|
|
import cn.teammodel.model.dto.admin.exam.OverViewDto;
|
|
|
|
import cn.teammodel.model.dto.admin.exam.OverViewDto;
|
|
|
|
import cn.teammodel.model.dto.admin.teacher.TeacherDto;
|
|
|
|
import cn.teammodel.model.dto.admin.teacher.TeacherDto;
|
|
|
|
import io.swagger.annotations.Api;
|
|
|
|
import io.swagger.annotations.Api;
|
|
|
@ -47,5 +48,11 @@ public class TeacherController {
|
|
|
|
Map<String, Object> res = teacherService.getTeacherLearningCategory(teacherDto);
|
|
|
|
Map<String, Object> res = teacherService.getTeacherLearningCategory(teacherDto);
|
|
|
|
return R.success(res);
|
|
|
|
return R.success(res);
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
@PostMapping("getTeacherGradeCount")
|
|
|
|
|
|
|
|
@ApiOperation("获取年级人数以及分配情况")
|
|
|
|
|
|
|
|
public R<Map<String, Object>> getTeacherGradeCount(@Valid @RequestBody TeacherDto teacherDto, HttpServletRequest request) {
|
|
|
|
|
|
|
|
Map<String, Object> res = teacherService.getTeacherGradeCount(teacherDto,request);
|
|
|
|
|
|
|
|
return R.success(res);
|
|
|
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
|
|
}
|
|
|
|
}
|
|
|
|