|
@@ -20,9 +20,11 @@ import com.qmth.themis.business.base.BasePage;
|
|
import com.qmth.themis.business.bean.backend.ExamDeficiencyListBean;
|
|
import com.qmth.themis.business.bean.backend.ExamDeficiencyListBean;
|
|
import com.qmth.themis.business.bean.backend.ExamExceptionDetailListBean;
|
|
import com.qmth.themis.business.bean.backend.ExamExceptionDetailListBean;
|
|
import com.qmth.themis.business.bean.backend.ExamExceptionListBean;
|
|
import com.qmth.themis.business.bean.backend.ExamExceptionListBean;
|
|
|
|
+import com.qmth.themis.business.bean.backend.ExamReexamListBean;
|
|
import com.qmth.themis.business.bean.backend.ExamViewCountListBean;
|
|
import com.qmth.themis.business.bean.backend.ExamViewCountListBean;
|
|
import com.qmth.themis.business.cache.bean.ExamActivityCacheBean;
|
|
import com.qmth.themis.business.cache.bean.ExamActivityCacheBean;
|
|
import com.qmth.themis.business.cache.bean.ExamCacheBean;
|
|
import com.qmth.themis.business.cache.bean.ExamCacheBean;
|
|
|
|
+import com.qmth.themis.business.dao.TEExamReexamMapper;
|
|
import com.qmth.themis.business.dao.TEExamStudentMapper;
|
|
import com.qmth.themis.business.dao.TEExamStudentMapper;
|
|
import com.qmth.themis.business.dao.TIeInvigilateExceptionInfoMapper;
|
|
import com.qmth.themis.business.dao.TIeInvigilateExceptionInfoMapper;
|
|
import com.qmth.themis.business.dao.TOeExamRecordMapper;
|
|
import com.qmth.themis.business.dao.TOeExamRecordMapper;
|
|
@@ -49,6 +51,9 @@ public class TIeReportServiceImpl implements TIeReportService {
|
|
|
|
|
|
@Resource
|
|
@Resource
|
|
TIeInvigilateExceptionInfoMapper invigilateExceptionInfoMapper;
|
|
TIeInvigilateExceptionInfoMapper invigilateExceptionInfoMapper;
|
|
|
|
+
|
|
|
|
+ @Resource
|
|
|
|
+ TEExamReexamMapper examReexamMapper;
|
|
|
|
|
|
@Override
|
|
@Override
|
|
public Map<String, Object> examView(Long examId, Long examActivityId, String roomCode, String courseCode,
|
|
public Map<String, Object> examView(Long examId, Long examActivityId, String roomCode, String courseCode,
|
|
@@ -235,5 +240,24 @@ public class TIeReportServiceImpl implements TIeReportService {
|
|
return ret;
|
|
return ret;
|
|
}
|
|
}
|
|
|
|
|
|
|
|
+ @Override
|
|
|
|
+ public BasePage examReexamList(Long examId, Long examActivityId, String roomCode, String courseCode, String name,
|
|
|
|
+ String identity, int pageNumber, int pageSize) {
|
|
|
|
+ Page<ExamReexamListBean> ipage=new Page<>(pageNumber, pageSize);
|
|
|
|
+ ipage.addOrder(OrderItem.asc("f.exam_student_id"));
|
|
|
|
+ IPage<ExamReexamListBean> total = examReexamMapper.getExamReexamPage(ipage,examId, examActivityId, roomCode, courseCode,name,identity);
|
|
|
|
+ List<ExamReexamListBean> data=total.getRecords();
|
|
|
|
+ if(data==null||data.size()==0) {
|
|
|
|
+ BasePage basePage = new BasePage(total.getRecords(), total.getCurrent(), total.getSize(), total.getTotal());
|
|
|
|
+ return basePage;
|
|
|
|
+ }
|
|
|
|
+ ExamCacheBean exam=examService.getExamCacheBean(examId);
|
|
|
|
+ for(ExamReexamListBean b:data) {
|
|
|
|
+ b.setExamName(exam.getName());
|
|
|
|
+ }
|
|
|
|
+ BasePage basePage = new BasePage(total.getRecords(), total.getCurrent(), total.getSize(), total.getTotal());
|
|
|
|
+ return basePage;
|
|
|
|
+ }
|
|
|
|
+
|
|
|
|
|
|
}
|
|
}
|