|
@@ -57,7 +57,7 @@ public class ESubjectBadstudentController {
|
57
|
57
|
Integer classid = invigilate.getClassid();
|
58
|
58
|
Integer page = invigilate.getPage();
|
59
|
59
|
Integer pageSize = invigilate.getPageSize();
|
60
|
|
- N_Utils.validation(new Object[]{teacherid, "教师id", 1, esid, "考试科目id", page, "页码", 1, pageSize, "显示条数", 1});
|
|
60
|
+ N_Utils.validation(new Object[]{teacherid, "教师id", 1, esid, "考试科目id", 1, page, "页码", 1, pageSize, "显示条数", 1});
|
61
|
61
|
Map map = eSubjectBadstudentService.getJkDetail(esid, teacherid);
|
62
|
62
|
String classids = map.get("classids").toString();
|
63
|
63
|
PageHelper.startPage(page, pageSize);
|
|
@@ -81,11 +81,10 @@ public class ESubjectBadstudentController {
|
81
|
81
|
Integer classid = invigilate.getClassid();
|
82
|
82
|
Integer page = invigilate.getPage();
|
83
|
83
|
Integer pageSize = invigilate.getPageSize();
|
84
|
|
- N_Utils.validation(new Object[]{esid, "考试科目id", page, "页码", 1, pageSize, "显示条数", 1});
|
|
84
|
+ N_Utils.validation(new Object[]{esid, "考试科目id", 1, page, "页码", 1, pageSize, "显示条数", 1});
|
85
|
85
|
Map map = eSubjectBadstudentService.getJkDetail(esid, 0);
|
86
|
|
- String classids = map.get("classids").toString();
|
87
|
86
|
PageHelper.startPage(page, pageSize);
|
88
|
|
- List<Map> list = eSubjectBadstudentService.listStu(esid, classids, classid, invigilate.getCreatename());
|
|
87
|
+ List<Map> list = eSubjectBadstudentService.listStu(esid, null, classid, invigilate.getCreatename());
|
89
|
88
|
PageResult pageResult = PageUtil.getPageResult(new PageInfo<>(list));
|
90
|
89
|
map.put("pageResult", pageResult);
|
91
|
90
|
return new ResultVo(0, "获取成功", map);
|