|
@@ -107,13 +107,13 @@ public class ExamStudentController extends ControllerSupport {
|
|
|
|
|
|
@ApiOperation(value = "查询考生的专业集合")
|
|
|
@GetMapping("courseLevelList/{studentId}")
|
|
|
- public List<CourseLevel> getCourseLevelByStudentId(@PathVariable Long studentId) {
|
|
|
+ public List<String> getCourseLevelByStudentId(@PathVariable Long studentId) {
|
|
|
List<String> courseLevelList = examStudentRepo.queryCourseLevelList(studentId);
|
|
|
- List<CourseLevel> ret = Lists.newArrayList();
|
|
|
+ List<String> ret = Lists.newArrayList();
|
|
|
for (String cur : courseLevelList) {
|
|
|
if (null != cur) {
|
|
|
CourseLevel courseLevel = CourseLevel.getCourseLevel(cur);
|
|
|
- ret.add(courseLevel);
|
|
|
+ ret.add(courseLevel.getName());
|
|
|
}
|
|
|
}
|
|
|
return ret;
|