|
@@ -1,16 +1,16 @@
|
|
|
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.metadata.IPage;
|
|
|
import com.qmth.themis.business.bean.backend.ExamViewCountListBean;
|
|
|
+import com.qmth.themis.business.dto.response.RoomCodeQueryDto;
|
|
|
import com.qmth.themis.business.dto.response.TEExamStudentDto;
|
|
|
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 接口
|
|
@@ -45,11 +45,18 @@ public interface TEExamStudentMapper extends BaseMapper<TEExamStudent> {
|
|
|
public List<Map<String, Object>> getTotalCount(@Param("examId") Long examId, @Param("activityId") Long activityId,
|
|
|
@Param("roomCode") String roomCode, @Param("courseCode") String courseCode);
|
|
|
|
|
|
- public IPage<ExamViewCountListBean> getTotalCountInfo(IPage<Map> iPage,@Param("examId") Long examId, @Param("activityId") Long activityId,
|
|
|
- @Param("roomCode") String roomCode, @Param("courseCode") String courseCode);
|
|
|
-
|
|
|
- public List<Map<String,Object>> getDoneCountByActivityIds(@Param("examId") Long examId,@Param("activityIds") List<Long> activityIds);
|
|
|
-
|
|
|
- public List<Map<String,Object>> getAbsentCountByActivityIds(@Param("examId") Long examId,@Param("activityIds") List<Long> activityIds);
|
|
|
-
|
|
|
+ public IPage<ExamViewCountListBean> getTotalCountInfo(IPage<Map> iPage, @Param("examId") Long examId, @Param("activityId") Long activityId,
|
|
|
+ @Param("roomCode") String roomCode, @Param("courseCode") String courseCode);
|
|
|
+
|
|
|
+ public List<Map<String, Object>> getDoneCountByActivityIds(@Param("examId") Long examId, @Param("activityIds") List<Long> activityIds);
|
|
|
+
|
|
|
+ public List<Map<String, Object>> getAbsentCountByActivityIds(@Param("examId") Long examId, @Param("activityIds") List<Long> activityIds);
|
|
|
+
|
|
|
+ /**
|
|
|
+ * 考场查询
|
|
|
+ *
|
|
|
+ * @param roomName
|
|
|
+ * @return
|
|
|
+ */
|
|
|
+ public List<RoomCodeQueryDto> examRoomQuery(@Param("roomName") String roomName);
|
|
|
}
|