|
@@ -29,17 +29,29 @@ import java.util.Set;
|
|
|
*/
|
|
|
public interface ExamTaskMapper extends BaseMapper<ExamTask> {
|
|
|
|
|
|
- IPage<ExamTaskDto> listPage(Page<ExamTaskDto> page, @Param("schoolId") Long schoolId, @Param("semesterId") Long semesterId, @Param("examId") Long examId, @Param("enable") Boolean enable, @Param("status") String status, @Param("courseId") Long courseId, @Param("paperNumber") String paperNumber, @Param("startTime") Long startTime, @Param("endTime") Long endTime, @Param("userName") String userName, @Param("dpr") DataPermissionRule dpr);
|
|
|
+ IPage<ExamTaskDto> listPage(Page<ExamTaskDto> page, @Param("schoolId") Long schoolId, @Param("semesterId") Long semesterId, @Param("examId") Long examId, @Param("enable") Boolean enable,
|
|
|
+ @Param("status") String status, @Param("openCollegeId") Long openCollegeId, @Param("courseId") Long courseId, @Param("paperNumber") String paperNumber,
|
|
|
+ @Param("startTime") Long startTime, @Param("endTime") Long endTime, @Param("userName") String userName, @Param("dpr") DataPermissionRule dpr);
|
|
|
|
|
|
List<BlurryUserDto> listUser(@Param("schoolId") Long schoolId, @Param("param") String param, @Param("orgIds") Set<Long> orgIds);
|
|
|
|
|
|
- IPage<ExamTaskDto> listTaskApply(Page<ExamTaskDto> page, @Param("schoolId") Long schoolId, @Param("semesterId") Long semesterId, @Param("examId") Long examId, @Param("auditStatus") String auditStatus, @Param("courseId") Long courseId, @Param("paperNumber") String paperNumber, @Param("startTime") Long startTime, @Param("endTime") Long endTime, @Param("userId") Long userId, @Param("userName") String userName);
|
|
|
+ IPage<ExamTaskDto> listTaskApply(Page<ExamTaskDto> page, @Param("schoolId") Long schoolId, @Param("semesterId") Long semesterId, @Param("examId") Long examId,
|
|
|
+ @Param("auditStatus") String auditStatus, @Param("openCollegeId") Long openCollegeId, @Param("courseId") Long courseId, @Param("paperNumber") String paperNumber,
|
|
|
+ @Param("startTime") Long startTime, @Param("endTime") Long endTime, @Param("userId") Long userId, @Param("userName") String userName);
|
|
|
|
|
|
- IPage<ExamTaskDto> listTaskReviewUnaudited(Page<ExamTaskDto> page, @Param("schoolId") Long schoolId, @Param("semesterId") Long semesterId, @Param("examId") Long examId, @Param("courseId") Long courseId, @Param("paperNumber") String paperNumber, @Param("userId") Long userId, @Param("startTime") Long startTime, @Param("endTime") Long endTime, @Param("startCreateTime") Long startCreateTime, @Param("endCreateTime") Long endCreateTime, @Param("currentUserId") Long currentUserId);
|
|
|
+ IPage<ExamTaskDto> listTaskReviewUnaudited(Page<ExamTaskDto> page, @Param("schoolId") Long schoolId, @Param("semesterId") Long semesterId, @Param("examId") Long examId,
|
|
|
+ @Param("openCollegeId") Long openCollegeId, @Param("courseId") Long courseId, @Param("paperNumber") String paperNumber, @Param("userId") Long userId, @Param("startTime") Long startTime,
|
|
|
+ @Param("endTime") Long endTime, @Param("startCreateTime") Long startCreateTime, @Param("endCreateTime") Long endCreateTime, @Param("currentUserId") Long currentUserId);
|
|
|
|
|
|
- IPage<ExamTaskDto> listTaskReviewAudited(Page<ExamTaskDto> page, @Param("schoolId") Long schoolId, @Param("semesterId") Long semesterId, @Param("examId") Long examId, @Param("courseId") Long courseId, @Param("paperNumber") String paperNumber, @Param("userId") Long userId, @Param("startTime") Long startTime, @Param("endTime") Long endTime, @Param("orgIds") Set<Long> orgIds, @Param("startCreateTime") Long startCreateTime, @Param("endCreateTime") Long endCreateTime, @Param("currentUserId") Long currentUserId);
|
|
|
+ IPage<ExamTaskDto> listTaskReviewAudited(Page<ExamTaskDto> page, @Param("schoolId") Long schoolId, @Param("semesterId") Long semesterId, @Param("examId") Long examId,
|
|
|
+ @Param("openCollegeId") Long openCollegeId, @Param("courseId") Long courseId, @Param("paperNumber") String paperNumber, @Param("userId") Long userId, @Param("startTime") Long startTime,
|
|
|
+ @Param("endTime") Long endTime, @Param("orgIds") Set<Long> orgIds, @Param("startCreateTime") Long startCreateTime, @Param("endCreateTime") Long endCreateTime,
|
|
|
+ @Param("currentUserId") Long currentUserId);
|
|
|
|
|
|
- IPage<ExamTaskDetailDto> listTaskPaper(Page<ExamTaskDetailDto> page, @Param("schoolId") Long schoolId, @Param("semesterId") Long semesterId, @Param("examId") Long examId, @Param("courseId") Long courseId, @Param("paperNumber") String paperNumber, @Param("startTime") Long startTime, @Param("endTime") Long endTime, @Param("dpr") DataPermissionRule dpr, @Param("containsQuestionTeacher") boolean containsQuestionTeacher, @Param("userId") Long userId);
|
|
|
+ IPage<ExamTaskDetailDto> listTaskPaper(Page<ExamTaskDetailDto> page, @Param("schoolId") Long schoolId, @Param("semesterId") Long semesterId, @Param("examId") Long examId,
|
|
|
+ @Param("openCollegeId") Long openCollegeId, @Param("courseId") Long courseId,
|
|
|
+ @Param("paperNumber") String paperNumber, @Param("startTime") Long startTime, @Param("endTime") Long endTime, @Param("dpr") DataPermissionRule dpr,
|
|
|
+ @Param("containsQuestionTeacher") boolean containsQuestionTeacher, @Param("userId") Long userId);
|
|
|
|
|
|
ExamTaskDetailCardDto applyGetOne(@Param("examTaskId") Long examTaskId, @Param("source") String source);
|
|
|
|
|
@@ -47,7 +59,9 @@ public interface ExamTaskMapper extends BaseMapper<ExamTask> {
|
|
|
|
|
|
List<ExamTask> listExamTaskAuditExpire(@Param("startTime") Long startTime, @Param("endTime") Long endTime);
|
|
|
|
|
|
- List<ExamTaskDetailDto> listTaskPaper(@Param("schoolId") Long schoolId, @Param("semesterId") Long semesterId, @Param("examId") Long examId, @Param("courseId") Long courseId, @Param("paperNumber") String paperNumber, @Param("startTime") Long startTime, @Param("endTime") Long endTime, @Param("dpr") DataPermissionRule dpr, @Param("orgIds") Set<Long> orgIds, @Param("containsQuestionTeacher") boolean containsQuestionTeacher, @Param("userId") Long userId);
|
|
|
+ List<ExamTaskDetailDto> listTaskPaper(@Param("schoolId") Long schoolId, @Param("semesterId") Long semesterId, @Param("examId") Long examId, @Param("courseId") Long courseId, @Param("paperNumber") String paperNumber,
|
|
|
+ @Param("startTime") Long startTime, @Param("endTime") Long endTime, @Param("dpr") DataPermissionRule dpr, @Param("orgIds") Set<Long> orgIds, @Param("containsQuestionTeacher") boolean containsQuestionTeacher,
|
|
|
+ @Param("userId") Long userId);
|
|
|
|
|
|
/**
|
|
|
* 获取待办任务
|
|
@@ -59,7 +73,8 @@ public interface ExamTaskMapper extends BaseMapper<ExamTask> {
|
|
|
/**
|
|
|
* 根据流程状态查找命题任务
|
|
|
*/
|
|
|
- List<ExamTask> findExamTaskByFlowStatus(@Param("schoolId") Long schoolId, @Param("examId") Long examId, @Param("courseId") Long courseId, @Param("paperNumber") String paperNumber, @Param("flowStatus") String flowStatus);
|
|
|
+ List<ExamTask> findExamTaskByFlowStatus(@Param("schoolId") Long schoolId, @Param("examId") Long examId, @Param("courseId") Long courseId, @Param("paperNumber") String paperNumber,
|
|
|
+ @Param("flowStatus") String flowStatus);
|
|
|
|
|
|
/**
|
|
|
* 根据试卷编号查询考场详细数据集(印刷计划状态为‘PRINTING’、‘PRINTING_FINISH‘的)
|
|
@@ -68,13 +83,15 @@ public interface ExamTaskMapper extends BaseMapper<ExamTask> {
|
|
|
* @param printPlanStatusEnumList 印刷计划状态集合
|
|
|
* @return 数据集
|
|
|
*/
|
|
|
- List<ExamPackageDetail> findExamPackageDetailByPaperNumber(@Param("schoolId") Long schoolId, @Param("examId") Long examId, @Param("courseId") Long courseId, @Param("paperNumber") String paperNumber, @Param("printPlanStatusEnumList") List<PrintPlanStatusEnum> printPlanStatusEnumList);
|
|
|
+ List<ExamPackageDetail> findExamPackageDetailByPaperNumber(@Param("schoolId") Long schoolId, @Param("examId") Long examId, @Param("courseId") Long courseId, @Param("paperNumber") String paperNumber,
|
|
|
+ @Param("printPlanStatusEnumList") List<PrintPlanStatusEnum> printPlanStatusEnumList);
|
|
|
|
|
|
ExamTask findByFlowId(@Param("flowId") Long flowId);
|
|
|
|
|
|
ExamTaskDto getByExamTaskId(Long examTaskId);
|
|
|
|
|
|
- IPage<ExamTaskDetailDto> listExamTaskDetailDownload(@Param("page") Page<ExamTaskDetailDto> page, @Param("examId") Long examId, @Param("courseId") Long courseId, @Param("paperNumber") String paperNumber, @Param("orgId") Long orgId, @Param("userParam") String userParam, @Param("dpr") DataPermissionRule dpr);
|
|
|
+ IPage<ExamTaskDetailDto> listExamTaskDetailDownload(@Param("page") Page<ExamTaskDetailDto> page, @Param("examId") Long examId, @Param("courseId") Long courseId, @Param("paperNumber") String paperNumber,
|
|
|
+ @Param("orgId") Long orgId, @Param("userParam") String userParam, @Param("dpr") DataPermissionRule dpr);
|
|
|
|
|
|
/**
|
|
|
* 根据条件查询要下载的试卷文件
|
|
@@ -86,7 +103,8 @@ public interface ExamTaskMapper extends BaseMapper<ExamTask> {
|
|
|
* @param dpr
|
|
|
* @return 命题任务试卷信息
|
|
|
*/
|
|
|
- List<ExamTaskDetailDto> listExamTaskDetailDownloadByQuery(@Param("semesterId") Long semesterId, @Param("examId") Long examId, @Param("courseName") String courseName, @Param("orgId") Long orgId, @Param("idSet") Set<Long> idSet, @Param("dpr") DataPermissionRule dpr);
|
|
|
+ List<ExamTaskDetailDto> listExamTaskDetailDownloadByQuery(@Param("semesterId") Long semesterId, @Param("examId") Long examId, @Param("courseName") String courseName, @Param("orgId") Long orgId,
|
|
|
+ @Param("idSet") Set<Long> idSet, @Param("dpr") DataPermissionRule dpr);
|
|
|
|
|
|
/**
|
|
|
* 根据流程id和任务节点id获取待办
|
|
@@ -97,7 +115,8 @@ public interface ExamTaskMapper extends BaseMapper<ExamTask> {
|
|
|
*/
|
|
|
public WorkResult getFlowInfo(@Param("flowId") Long flowId, @Param("taskId") Long taskId);
|
|
|
|
|
|
- IPage<MakeupExamTaskDto> listMakeupExamTask(@Param("page") Page<MakeupExamTaskDto> page, @Param("printPlanId") Long printPlanId, @Param("semesterId") Long semesterId, @Param("examId") Long examId, @Param("collegeId") Long collegeId, @Param("courseId") Long courseId, @Param("paperNumber") String paperNumber, @Param("userName") String userName);
|
|
|
+ IPage<MakeupExamTaskDto> listMakeupExamTask(@Param("page") Page<MakeupExamTaskDto> page, @Param("printPlanId") Long printPlanId, @Param("semesterId") Long semesterId, @Param("examId") Long examId,
|
|
|
+ @Param("collegeId") Long collegeId, @Param("courseId") Long courseId, @Param("paperNumber") String paperNumber, @Param("userName") String userName);
|
|
|
|
|
|
/**
|
|
|
* 命题任务统计查询
|
|
@@ -115,7 +134,9 @@ public interface ExamTaskMapper extends BaseMapper<ExamTask> {
|
|
|
* @param dpr
|
|
|
* @return
|
|
|
*/
|
|
|
- IPage<PrintCountResult> printCountList(IPage<Map> iPage, @Param("schoolId") Long schoolId, @Param("semesterId") Long semesterId, @Param("examId") Long examId, @Param("printPlanId") Long printPlanId, @Param("collegeId") Long collegeId, @Param("courseId") Long courseId, @Param("paperNumber") String paperNumber, @Param("cardType") String cardType, @Param("finishStatus") String finishStatus, @Param("dpr") DataPermissionRule dpr);
|
|
|
+ IPage<PrintCountResult> printCountList(IPage<Map> iPage, @Param("schoolId") Long schoolId, @Param("semesterId") Long semesterId, @Param("examId") Long examId, @Param("printPlanId") Long printPlanId,
|
|
|
+ @Param("collegeId") Long collegeId, @Param("courseId") Long courseId, @Param("paperNumber") String paperNumber, @Param("cardType") String cardType,
|
|
|
+ @Param("finishStatus") String finishStatus, @Param("dpr") DataPermissionRule dpr);
|
|
|
|
|
|
/**
|
|
|
* 命题任务统计导出
|
|
@@ -132,7 +153,9 @@ public interface ExamTaskMapper extends BaseMapper<ExamTask> {
|
|
|
* @param dpr
|
|
|
* @return
|
|
|
*/
|
|
|
- List<PrintCountResult> printCountListExport(@Param("schoolId") Long schoolId, @Param("semesterId") Long semesterId, @Param("examId") Long examId, @Param("printPlanId") Long printPlanId, @Param("collegeId") Long collegeId, @Param("courseId") Long courseId, @Param("paperNumber") String paperNumber, @Param("cardType") String cardType, @Param("finishStatus") String finishStatus, @Param("dpr") DataPermissionRule dpr);
|
|
|
+ List<PrintCountResult> printCountListExport(@Param("schoolId") Long schoolId, @Param("semesterId") Long semesterId,
|
|
|
+ @Param("examId") Long examId, @Param("printPlanId") Long printPlanId, @Param("collegeId") Long collegeId, @Param("courseId") Long courseId, @Param("paperNumber") String paperNumber,
|
|
|
+ @Param("cardType") String cardType, @Param("finishStatus") String finishStatus, @Param("dpr") DataPermissionRule dpr);
|
|
|
|
|
|
/**
|
|
|
* 印刷任务统计查询
|
|
@@ -148,7 +171,8 @@ public interface ExamTaskMapper extends BaseMapper<ExamTask> {
|
|
|
* @param dpr
|
|
|
* @return
|
|
|
*/
|
|
|
- IPage<ScanCountResult> scanCountList(IPage<Map> iPage, @Param("schoolId") Long schoolId, @Param("semesterId") Long semesterId, @Param("examId") Long examId, @Param("collegeId") Long collegeId, @Param("courseId") Long courseId, @Param("paperNumber") String paperNumber, @Param("cardType") String cardType, @Param("dpr") DataPermissionRule dpr);
|
|
|
+ IPage<ScanCountResult> scanCountList(IPage<Map> iPage, @Param("schoolId") Long schoolId, @Param("semesterId") Long semesterId, @Param("examId") Long examId, @Param("collegeId") Long collegeId,
|
|
|
+ @Param("courseId") Long courseId, @Param("paperNumber") String paperNumber, @Param("cardType") String cardType, @Param("dpr") DataPermissionRule dpr);
|
|
|
|
|
|
/**
|
|
|
* 印刷任务统计导出
|
|
@@ -163,7 +187,8 @@ public interface ExamTaskMapper extends BaseMapper<ExamTask> {
|
|
|
* @param dpr
|
|
|
* @return
|
|
|
*/
|
|
|
- List<ScanCountResult> scanCountListExport(@Param("schoolId") Long schoolId, @Param("semesterId") Long semesterId, @Param("examId") Long examId, @Param("collegeId") Long collegeId, @Param("courseId") Long courseId, @Param("paperNumber") String paperNumber, @Param("cardType") String cardType, @Param("dpr") DataPermissionRule dpr);
|
|
|
+ List<ScanCountResult> scanCountListExport(@Param("schoolId") Long schoolId, @Param("semesterId") Long semesterId, @Param("examId") Long examId, @Param("collegeId") Long collegeId, @Param("courseId") Long courseId,
|
|
|
+ @Param("paperNumber") String paperNumber, @Param("cardType") String cardType, @Param("dpr") DataPermissionRule dpr);
|
|
|
|
|
|
/**
|
|
|
* 统计计算
|