|
@@ -1,11 +1,5 @@
|
|
|
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.OpenExamBean;
|
|
@@ -14,6 +8,11 @@ import com.qmth.themis.business.dto.response.TEExamQueryDto;
|
|
|
import com.qmth.themis.business.entity.TEExam;
|
|
|
import com.qmth.themis.business.enums.InvigilateMonitorStatusEnum;
|
|
|
import com.qmth.themis.business.enums.ScoreStatusEnum;
|
|
|
+import org.apache.ibatis.annotations.Mapper;
|
|
|
+import org.apache.ibatis.annotations.Param;
|
|
|
+
|
|
|
+import java.util.List;
|
|
|
+import java.util.Map;
|
|
|
|
|
|
/**
|
|
|
* @Description: 考试批次 Mapper 接口
|
|
@@ -36,9 +35,10 @@ public interface TEExamMapper extends BaseMapper<TEExam> {
|
|
|
* @param mode
|
|
|
* @param enable
|
|
|
* @param orgId
|
|
|
+ * @param type
|
|
|
* @return
|
|
|
*/
|
|
|
- public IPage<TEExamQueryDto> examQuery(IPage<Map> iPage, @Param("userId") Long userId, @Param("id") Long id, @Param("code") String code, @Param("name") String name, @Param("mode") String mode, @Param("enable") Integer enable, @Param("orgId") Long orgId);
|
|
|
+ public IPage<TEExamQueryDto> examQuery(IPage<Map> iPage, @Param("userId") Long userId, @Param("id") Long id, @Param("code") String code, @Param("name") String name, @Param("mode") String mode, @Param("enable") Integer enable, @Param("orgId") Long orgId, @Param("type") String type);
|
|
|
|
|
|
/**
|
|
|
* 获取考试待考列表
|
|
@@ -67,11 +67,11 @@ public interface TEExamMapper extends BaseMapper<TEExam> {
|
|
|
*/
|
|
|
public List<TEExam> examPrivilegeQuery(@Param("userId") Long userId);
|
|
|
|
|
|
- public void updateInvigilateMonitorStatus(@Param("monitorStatus") InvigilateMonitorStatusEnum monitorStatus,@Param("examId") Long examId);
|
|
|
+ public void updateInvigilateMonitorStatus(@Param("monitorStatus") InvigilateMonitorStatusEnum monitorStatus, @Param("examId") Long examId);
|
|
|
+
|
|
|
+ public void updateScoreStatus(@Param("scoreStatus") ScoreStatusEnum scoreStatus, @Param("examId") Long examId);
|
|
|
+
|
|
|
+ public void updateScoreProgress(@Param("progress") Double progress, @Param("examId") Long examId);
|
|
|
|
|
|
- public void updateScoreStatus(@Param("scoreStatus") ScoreStatusEnum scoreStatus,@Param("examId") Long examId);
|
|
|
-
|
|
|
- public void updateScoreProgress(@Param("progress") Double progress,@Param("examId") Long examId);
|
|
|
-
|
|
|
- public IPage<OpenExamBean> examQueryForOpen(IPage<OpenExamBean> iPage, @Param("id") Long id, @Param("code") String code);
|
|
|
+ public IPage<OpenExamBean> examQueryForOpen(IPage<OpenExamBean> iPage, @Param("id") Long id, @Param("code") String code);
|
|
|
}
|