|
@@ -359,6 +359,8 @@ public class EReportClassController {
|
359
|
359
|
N_Utils.validation(new Object[]{userid, "用户id", 1
|
360
|
360
|
, page, "显示页码", 1, pageSize, "显示条数", 1});
|
361
|
361
|
PageHelper.startPage(page, pageSize);
|
|
362
|
+ Integer schoolid = eReportClassService.getSchoolidByUserid(paramsVo.getUserid());
|
|
363
|
+ paramsVo.setSchoolid(schoolid);
|
362
|
364
|
List<Map> list = eReportClassService.listEndExamsForClassTeacher(paramsVo);
|
363
|
365
|
PageResult pageResult = PageUtil.getPageResult(new PageInfo<>(list));
|
364
|
366
|
return new ResultVo(0, "获取成功", pageResult);
|
|
@@ -455,6 +457,8 @@ public class EReportClassController {
|
455
|
457
|
N_Utils.validation(new Object[]{userid, "用户id", 1
|
456
|
458
|
, page, "显示页码", 1, pageSize, "显示条数", 1});
|
457
|
459
|
PageHelper.startPage(page, pageSize);
|
|
460
|
+ Integer schoolid = eReportClassService.getSchoolidByUserid(paramsVo.getUserid());
|
|
461
|
+ paramsVo.setSchoolid(schoolid);
|
458
|
462
|
List<Map> list = eReportClassService.listEndExamsForClass(paramsVo);
|
459
|
463
|
PageResult pageResult = PageUtil.getPageResult(new PageInfo<>(list));
|
460
|
464
|
return new ResultVo(0, "获取成功", pageResult);
|