Commit f1abdc01 authored by Ryan Loong's avatar Ryan Loong

update 临时恢复随机点名逻辑

parent 21f367c4
......@@ -40,7 +40,7 @@ public class StudentController {
@GetMapping("randomSelect")
public Object randomSelect(@RequestParam Integer classId, @Nullable @RequestParam Integer maxCall) {
return ResponseUtil.ok(studentInfoService.selectStudentInfo(classId, maxCall));
return ResponseUtil.ok(studentInfoService.randomSelectStudentInfo(classId, maxCall));
}
@GetMapping("pointList")
......@@ -48,7 +48,7 @@ public class StudentController {
if (Objects.nonNull(maxCall) && maxCall <= 0) {
return ResponseUtil.badArgumentValue();
}
return ResponseUtil.ok(studentInfoService.randomSelectStudentInfo(classId, maxCall));
return ResponseUtil.ok(studentInfoService.selectStudentInfo(classId, maxCall));
}
@PostMapping("add")
......
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