|
@@ -37,7 +37,7 @@ public class UserExamController extends JeecgController<UserExam, IUserExamServi
|
|
|
|
|
|
|
|
|
/**
|
|
|
- * 分页列表查询
|
|
|
+ * 考生查询自己的考试记录
|
|
|
*
|
|
|
* @param userExam
|
|
|
* @param pageNo
|
|
@@ -58,6 +58,25 @@ public class UserExamController extends JeecgController<UserExam, IUserExamServi
|
|
|
return Result.OK(pageList);
|
|
|
}
|
|
|
|
|
|
+ /**
|
|
|
+ * 阅卷查询考试记录,考试查看考情调用
|
|
|
+ *
|
|
|
+ * @param userExam
|
|
|
+ * @param pageNo
|
|
|
+ * @param pageSize
|
|
|
+ * @param req
|
|
|
+ * @return
|
|
|
+ */
|
|
|
+ @GetMapping(value = "/examRecordList")
|
|
|
+ public Result<IPage<UserExam>> examRecordList(UserExam userExam,
|
|
|
+ @RequestParam(name = "pageNo", defaultValue = "1") Integer pageNo,
|
|
|
+ @RequestParam(name = "pageSize", defaultValue = "10") Integer pageSize,
|
|
|
+ HttpServletRequest req) {
|
|
|
+ Page<UserExam> page = new Page<>(pageNo, pageSize);
|
|
|
+ IPage<UserExam> pageList = userExamService.selectPageList(page, userExam);
|
|
|
+ return Result.OK(pageList);
|
|
|
+ }
|
|
|
+
|
|
|
/**
|
|
|
* 添加
|
|
|
*
|