|
@@ -91,7 +91,7 @@ public class ExamStudentController extends ControllerSupport {
|
|
|
* @return
|
|
|
*/
|
|
|
@ApiOperation(value = "查询学生的所有考试")
|
|
|
- @GetMapping("/byStudentId/{studentId}")
|
|
|
+ @GetMapping("byStudentId/{studentId}")
|
|
|
public List<ExamStudentEntity> getExamStudentListByStudentId(@PathVariable Long studentId) {
|
|
|
|
|
|
return examStudentRepo.findByStudentId(studentId);
|
|
@@ -107,8 +107,8 @@ public class ExamStudentController extends ControllerSupport {
|
|
|
* @return
|
|
|
*/
|
|
|
@ApiOperation(value = "查询考试学生带条件和分页", notes = "带条件带分页")
|
|
|
- @GetMapping("/all/{curPage}/{pageSize}")
|
|
|
- public PageInfo<ExamStudentDomain> getExamStudentList(
|
|
|
+ @GetMapping("examStudentPage/{curPage}/{pageSize}")
|
|
|
+ public PageInfo<ExamStudentDomain> getExamStudentPage(
|
|
|
@ModelAttribute ExamStudentDomain examCriteria, @PathVariable Integer curPage,
|
|
|
@PathVariable Integer pageSize) {
|
|
|
User accessUser = getAccessUser();
|
|
@@ -343,7 +343,7 @@ public class ExamStudentController extends ControllerSupport {
|
|
|
*/
|
|
|
@ApiOperation(value = "按考试删除考试学生", notes = "按考试删除")
|
|
|
@Transactional
|
|
|
- @DeleteMapping("/exam/{examId}")
|
|
|
+ @DeleteMapping("exam/{examId}")
|
|
|
public Long deleteExamStudents(@PathVariable Long examId) {
|
|
|
examStudentService.deleteExamStudentsByExamId(examId);
|
|
|
return examId;
|