|
@@ -6,6 +6,7 @@ import com.xhkjedu.sexam.model.reportstu.ERstudent;
|
6
|
6
|
import com.xhkjedu.sexam.model.reportstu.ERstudentAction;
|
7
|
7
|
import com.xhkjedu.sexam.service.report.EReportClassService;
|
8
|
8
|
import com.xhkjedu.sexam.vo.report.ERankParamVo;
|
|
9
|
+import com.xhkjedu.sexam.vo.report.ReportParamsVo;
|
9
|
10
|
import com.xhkjedu.utils.N_Utils;
|
10
|
11
|
import com.xhkjedu.utils.PageUtil;
|
11
|
12
|
import com.xhkjedu.vo.PageResult;
|
|
@@ -277,4 +278,23 @@ public class EReportClassController {
|
277
|
278
|
List<Map> list = eReportClassService.listSjGkYxj(rank);
|
278
|
279
|
return new ResultVo(0, "获取成功", list);
|
279
|
280
|
}
|
|
281
|
+
|
|
282
|
+ /**
|
|
283
|
+ * @Description 教师权限班级已结束考试列表
|
|
284
|
+ * @Param [paramsVo]
|
|
285
|
+ * @Return com.xhkjedu.vo.ResultVo
|
|
286
|
+ * @Author wn
|
|
287
|
+ * @Date 2022/9/21 9:47
|
|
288
|
+ **/
|
|
289
|
+ @PostMapping("/ends")
|
|
290
|
+ public ResultVo listEndExamsForClass(@RequestBody ReportParamsVo paramsVo) {
|
|
291
|
+ Integer page = paramsVo.getPage();
|
|
292
|
+ Integer pageSize = paramsVo.getPageSize();
|
|
293
|
+ N_Utils.validation(new Object[]{paramsVo.getUserid(), "用户id", 1
|
|
294
|
+ , page, "显示页码", 1, pageSize, "显示条数", 1});
|
|
295
|
+ PageHelper.startPage(page, pageSize);
|
|
296
|
+ List<Map> list = eReportClassService.listEndExamsForClass(paramsVo.getUserid());
|
|
297
|
+ PageResult pageResult = PageUtil.getPageResult(new PageInfo<>(list));
|
|
298
|
+ return new ResultVo(0, "获取成功", pageResult);
|
|
299
|
+ }
|
280
|
300
|
}
|