|
@@ -333,4 +333,16 @@ public class ClassroomController {
|
333
|
333
|
List<Map> list = classroomService.listStudent(room.getClassid(), room.getLsbid());
|
334
|
334
|
return new ResultVo(0, "获取班级学生列表成功", list);
|
335
|
335
|
}
|
|
336
|
+
|
|
337
|
+ @PostMapping("/list_estudent")
|
|
338
|
+ public ResultVo listEStudent(@RequestBody TClassroomPaper paper) {
|
|
339
|
+ Long paperid = paper.getPaperid();
|
|
340
|
+ Integer page = paper.getPage();
|
|
341
|
+ Integer pageSize = paper.getPageSize();
|
|
342
|
+ N_Utils.validation(new Object[]{paperid, "考试id", 1, page, "显示页码", 1, pageSize, "显示条数", 1});
|
|
343
|
+ PageHelper.startPage(page, pageSize);
|
|
344
|
+ List<Map> list = classroomPaperService.listEStudent(paperid);
|
|
345
|
+ PageResult pageResult = PageUtil.getPageResult(new PageInfo<>(list));
|
|
346
|
+ return new ResultVo(0, "获取考试按人统计列表成功", pageResult);
|
|
347
|
+ }
|
336
|
348
|
}
|