|
@@ -237,6 +237,7 @@ public class ExamRecordServiceImpl implements ExamRecordService {
|
|
|
@Override
|
|
|
public Page<ExamRecordInfo> getExamRecordDetailListForPage(ExamRecordQuery query) {
|
|
|
Check.isNull(query, "查询参数不能为空!");
|
|
|
+ Check.isNull(query.getExamId(), "请先选择考试批次!");
|
|
|
query.addRecordStatus(ExamRecordStatus.EXAM_END.name());
|
|
|
query.addRecordStatus(ExamRecordStatus.EXAM_OVERDUE.name());
|
|
|
return this.loadData(_getExamRecordDetailListForPage(query), query.getExamId());
|
|
@@ -245,6 +246,7 @@ public class ExamRecordServiceImpl implements ExamRecordService {
|
|
|
@Override
|
|
|
public Page<ExamRecordInfo> getExamRecordWaitingAuditList(ExamRecordQuery query) {
|
|
|
Check.isNull(query, "查询参数不能为空!");
|
|
|
+ Check.isNull(query.getExamId(), "请先选择考试批次!");
|
|
|
//默认条件
|
|
|
query.setIsAudit(false);
|
|
|
query.addRecordStatus(ExamRecordStatus.EXAM_END.name());
|
|
@@ -260,7 +262,6 @@ public class ExamRecordServiceImpl implements ExamRecordService {
|
|
|
query.addRecordStatus(ExamRecordStatus.EXAM_END.name());
|
|
|
query.addRecordStatus(ExamRecordStatus.EXAM_OVERDUE.name());
|
|
|
|
|
|
- Check.isNull(query, "查询参数不能为空!");
|
|
|
//查询条件
|
|
|
StringBuilder sqlBuilder = new StringBuilder();
|
|
|
//待审核(按原先的sql,多了一个ip字段)
|
|
@@ -289,6 +290,7 @@ public class ExamRecordServiceImpl implements ExamRecordService {
|
|
|
@Override
|
|
|
public Long getExamRecordWaitingAuditNextId(ExamRecordQuery query, Long examRecordDataId, String next) {
|
|
|
Check.isNull(query, "查询参数不能为空!");
|
|
|
+ Check.isNull(query.getExamId(), "请先选择考试批次!");
|
|
|
//默认条件
|
|
|
query.setIsWarn(true);
|
|
|
query.setIsAudit(false);
|
|
@@ -338,6 +340,7 @@ public class ExamRecordServiceImpl implements ExamRecordService {
|
|
|
//分页条件
|
|
|
int currentNum = (query.getPageNo() - 1) * query.getPageSize();
|
|
|
Check.isNull(query, "查询参数不能为空!");
|
|
|
+ Check.isNull(query.getExamId(), "请先选择考试批次!");
|
|
|
//查询条件
|
|
|
StringBuilder sqlBuilder = new StringBuilder();
|
|
|
sqlBuilder.append(EXAM_RECORD_SQL);
|