|
@@ -1,19 +1,19 @@
|
|
package com.qmth.themis.business.dao;
|
|
package com.qmth.themis.business.dao;
|
|
|
|
|
|
-import java.util.List;
|
|
|
|
-import java.util.Map;
|
|
|
|
-
|
|
|
|
-import org.apache.ibatis.annotations.Mapper;
|
|
|
|
-import org.apache.ibatis.annotations.Param;
|
|
|
|
-
|
|
|
|
import com.baomidou.mybatisplus.core.mapper.BaseMapper;
|
|
import com.baomidou.mybatisplus.core.mapper.BaseMapper;
|
|
import com.baomidou.mybatisplus.core.metadata.IPage;
|
|
import com.baomidou.mybatisplus.core.metadata.IPage;
|
|
import com.qmth.themis.business.bean.backend.ExamDeficiencyListBean;
|
|
import com.qmth.themis.business.bean.backend.ExamDeficiencyListBean;
|
|
import com.qmth.themis.business.bean.backend.ExamStudentLogListBean;
|
|
import com.qmth.themis.business.bean.backend.ExamStudentLogListBean;
|
|
import com.qmth.themis.business.bean.backend.ExamViewCountListBean;
|
|
import com.qmth.themis.business.bean.backend.ExamViewCountListBean;
|
|
|
|
+import com.qmth.themis.business.dto.response.MarkResultDto;
|
|
import com.qmth.themis.business.dto.response.RoomCodeQueryDto;
|
|
import com.qmth.themis.business.dto.response.RoomCodeQueryDto;
|
|
import com.qmth.themis.business.dto.response.TEExamStudentDto;
|
|
import com.qmth.themis.business.dto.response.TEExamStudentDto;
|
|
import com.qmth.themis.business.entity.TEExamStudent;
|
|
import com.qmth.themis.business.entity.TEExamStudent;
|
|
|
|
+import org.apache.ibatis.annotations.Mapper;
|
|
|
|
+import org.apache.ibatis.annotations.Param;
|
|
|
|
+
|
|
|
|
+import java.util.List;
|
|
|
|
+import java.util.Map;
|
|
|
|
|
|
/**
|
|
/**
|
|
* @Description: 考生库 Mapper 接口
|
|
* @Description: 考生库 Mapper 接口
|
|
@@ -43,7 +43,7 @@ public interface TEExamStudentMapper extends BaseMapper<TEExamStudent> {
|
|
public IPage<TEExamStudentDto> examStudentQuery(IPage<Map> iPage, @Param("examId") Long examId,
|
|
public IPage<TEExamStudentDto> examStudentQuery(IPage<Map> iPage, @Param("examId") Long examId,
|
|
@Param("activityId") Long activityId, @Param("identity") String identity, @Param("name") String name,
|
|
@Param("activityId") Long activityId, @Param("identity") String identity, @Param("name") String name,
|
|
@Param("roomCode") String roomCode, @Param("courseCode") String courseCode, @Param("grade") String grade,
|
|
@Param("roomCode") String roomCode, @Param("courseCode") String courseCode, @Param("grade") String grade,
|
|
- @Param("enable") Integer enable, @Param("classNo") String classNo, @Param("hasPhoto")Integer hasPhoto);
|
|
|
|
|
|
+ @Param("enable") Integer enable, @Param("classNo") String classNo, @Param("hasPhoto") Integer hasPhoto);
|
|
|
|
|
|
public List<Map<String, Object>> getTotalCount(@Param("examId") Long examId, @Param("activityId") Long activityId,
|
|
public List<Map<String, Object>> getTotalCount(@Param("examId") Long examId, @Param("activityId") Long activityId,
|
|
@Param("roomCode") String roomCode, @Param("courseCode") String courseCode);
|
|
@Param("roomCode") String roomCode, @Param("courseCode") String courseCode);
|
|
@@ -62,23 +62,24 @@ public interface TEExamStudentMapper extends BaseMapper<TEExamStudent> {
|
|
* @return
|
|
* @return
|
|
*/
|
|
*/
|
|
public List<RoomCodeQueryDto> examRoomQuery(@Param("roomName") String roomName);
|
|
public List<RoomCodeQueryDto> examRoomQuery(@Param("roomName") String roomName);
|
|
-
|
|
|
|
|
|
+
|
|
public IPage<ExamDeficiencyListBean> getExamDeficiencyPage(IPage<ExamDeficiencyListBean> iPage, @Param("examId") Long examId,
|
|
public IPage<ExamDeficiencyListBean> getExamDeficiencyPage(IPage<ExamDeficiencyListBean> iPage, @Param("examId") Long examId,
|
|
- @Param("activityId") Long activityId, @Param("roomCode") String roomCode,
|
|
|
|
- @Param("courseCode") String courseCode, @Param("name") String name, @Param("identity") String identity,@Param("activityIds") List<Long> activityIds);
|
|
|
|
|
|
+ @Param("activityId") Long activityId, @Param("roomCode") String roomCode,
|
|
|
|
+ @Param("courseCode") String courseCode, @Param("name") String name, @Param("identity") String identity, @Param("activityIds") List<Long> activityIds);
|
|
|
|
|
|
public IPage<ExamStudentLogListBean> getPageForStudentLog(IPage<ExamStudentLogListBean> iPage, @Param("examId") Long examId,
|
|
public IPage<ExamStudentLogListBean> getPageForStudentLog(IPage<ExamStudentLogListBean> iPage, @Param("examId") Long examId,
|
|
- @Param("activityId") Long activityId, @Param("roomCode") String roomCode,
|
|
|
|
- @Param("courseCode") String courseCode, @Param("name") String name, @Param("identity") String identity);
|
|
|
|
|
|
+ @Param("activityId") Long activityId, @Param("roomCode") String roomCode,
|
|
|
|
+ @Param("courseCode") String courseCode, @Param("name") String name, @Param("identity") String identity);
|
|
|
|
+
|
|
|
|
|
|
-
|
|
|
|
public List<TEExamStudentDto> examStudentList(@Param("examId") Long examId,
|
|
public List<TEExamStudentDto> examStudentList(@Param("examId") Long examId,
|
|
- @Param("activityId") Long activityId, @Param("identity") String identity, @Param("name") String name,
|
|
|
|
- @Param("roomCode") String roomCode, @Param("courseCode") String courseCode, @Param("grade") String grade,
|
|
|
|
- @Param("enable") Integer enable, @Param("classNo") String classNo, @Param("hasPhoto")Integer hasPhoto);
|
|
|
|
|
|
+ @Param("activityId") Long activityId, @Param("identity") String identity, @Param("name") String name,
|
|
|
|
+ @Param("roomCode") String roomCode, @Param("courseCode") String courseCode, @Param("grade") String grade,
|
|
|
|
+ @Param("enable") Integer enable, @Param("classNo") String classNo, @Param("hasPhoto") Integer hasPhoto);
|
|
|
|
|
|
- public void updateAlreadyExamCount(@Param("examStudentId")Long examStudentId,@Param("alreadyExamCount") Integer alreadyExamCount);
|
|
|
|
|
|
+ public void updateAlreadyExamCount(@Param("examStudentId") Long examStudentId, @Param("alreadyExamCount") Integer alreadyExamCount);
|
|
|
|
|
|
- public void updateCurrentRecordId(@Param("examStudentId")Long examStudentId,@Param("currentRecordId") Long currentRecordId);
|
|
|
|
|
|
+ public void updateCurrentRecordId(@Param("examStudentId") Long examStudentId, @Param("currentRecordId") Long currentRecordId);
|
|
|
|
|
|
|
|
+ public IPage<MarkResultDto> markResultQuery(IPage<Map> iPage, @Param("examId") Long examId, @Param("activityId") Long activityId, @Param("identity") String identity, @Param("name") String name, @Param("courseCode") String courseCode);
|
|
}
|
|
}
|