|
@@ -1,14 +1,5 @@
|
|
package com.qmth.teachcloud.mark.service;
|
|
package com.qmth.teachcloud.mark.service;
|
|
|
|
|
|
-import java.io.IOException;
|
|
|
|
-import java.util.List;
|
|
|
|
-import java.util.Set;
|
|
|
|
-
|
|
|
|
-import javax.servlet.http.HttpServletResponse;
|
|
|
|
-import javax.validation.constraints.NotNull;
|
|
|
|
-
|
|
|
|
-import org.springframework.web.multipart.MultipartFile;
|
|
|
|
-
|
|
|
|
import com.baomidou.mybatisplus.core.metadata.IPage;
|
|
import com.baomidou.mybatisplus.core.metadata.IPage;
|
|
import com.baomidou.mybatisplus.extension.plugins.pagination.Page;
|
|
import com.baomidou.mybatisplus.extension.plugins.pagination.Page;
|
|
import com.baomidou.mybatisplus.extension.service.IService;
|
|
import com.baomidou.mybatisplus.extension.service.IService;
|
|
@@ -37,15 +28,19 @@ import com.qmth.teachcloud.mark.dto.mark.AbInfoVo;
|
|
import com.qmth.teachcloud.mark.dto.mark.MarkStudentVo;
|
|
import com.qmth.teachcloud.mark.dto.mark.MarkStudentVo;
|
|
import com.qmth.teachcloud.mark.dto.mark.manage.Task;
|
|
import com.qmth.teachcloud.mark.dto.mark.manage.Task;
|
|
import com.qmth.teachcloud.mark.dto.mark.manage.TaskArchive;
|
|
import com.qmth.teachcloud.mark.dto.mark.manage.TaskArchive;
|
|
-import com.qmth.teachcloud.mark.dto.mark.score.SheetUrlDto;
|
|
|
|
-import com.qmth.teachcloud.mark.dto.mark.score.StudentObjectiveAnswerDto;
|
|
|
|
-import com.qmth.teachcloud.mark.dto.mark.score.StudentObjectiveDetailDto;
|
|
|
|
-import com.qmth.teachcloud.mark.dto.mark.score.StudentScoreDetailDto;
|
|
|
|
|
|
+import com.qmth.teachcloud.mark.dto.mark.score.*;
|
|
import com.qmth.teachcloud.mark.entity.MarkPaper;
|
|
import com.qmth.teachcloud.mark.entity.MarkPaper;
|
|
import com.qmth.teachcloud.mark.entity.MarkStudent;
|
|
import com.qmth.teachcloud.mark.entity.MarkStudent;
|
|
import com.qmth.teachcloud.mark.entity.ScanStudentPaper;
|
|
import com.qmth.teachcloud.mark.entity.ScanStudentPaper;
|
|
import com.qmth.teachcloud.mark.enums.PaperTypeCheckStatus;
|
|
import com.qmth.teachcloud.mark.enums.PaperTypeCheckStatus;
|
|
import com.qmth.teachcloud.mark.params.MarkHeaderResult;
|
|
import com.qmth.teachcloud.mark.params.MarkHeaderResult;
|
|
|
|
+import org.springframework.web.multipart.MultipartFile;
|
|
|
|
+
|
|
|
|
+import javax.servlet.http.HttpServletResponse;
|
|
|
|
+import javax.validation.constraints.NotNull;
|
|
|
|
+import java.io.IOException;
|
|
|
|
+import java.util.List;
|
|
|
|
+import java.util.Set;
|
|
|
|
|
|
/**
|
|
/**
|
|
* <p>
|
|
* <p>
|
|
@@ -139,6 +134,7 @@ public interface MarkStudentService extends IService<MarkStudent> {
|
|
List<MarkStudent> listAbsentOrBreachMarkTaskStudent(Long examId, String paperNumber);
|
|
List<MarkStudent> listAbsentOrBreachMarkTaskStudent(Long examId, String paperNumber);
|
|
|
|
|
|
List<MarkStudent> listUnMarkTaskStudent(Long examId, String paperNumber, Long questionId, int pageSize);
|
|
List<MarkStudent> listUnMarkTaskStudent(Long examId, String paperNumber, Long questionId, int pageSize);
|
|
|
|
+
|
|
List<MarkStudent> listUnMarkDoubleTaskStudent(Long examId, String paperNumber, Long questionId, int pageSize);
|
|
List<MarkStudent> listUnMarkDoubleTaskStudent(Long examId, String paperNumber, Long questionId, int pageSize);
|
|
|
|
|
|
void calculateObjectiveScore(MarkStudent student);
|
|
void calculateObjectiveScore(MarkStudent student);
|
|
@@ -150,6 +146,7 @@ public interface MarkStudentService extends IService<MarkStudent> {
|
|
int countByExamIdAndSecretNumber(Long examId, String secretNumber);
|
|
int countByExamIdAndSecretNumber(Long examId, String secretNumber);
|
|
|
|
|
|
List<MarkStudent> listByExamIdAndCoursePaperId(Long examId, String coursePaperId);
|
|
List<MarkStudent> listByExamIdAndCoursePaperId(Long examId, String coursePaperId);
|
|
|
|
+
|
|
List<MarkStudent> listByExamIdAndPaperNumber(Long examId, String paperNumber);
|
|
List<MarkStudent> listByExamIdAndPaperNumber(Long examId, String paperNumber);
|
|
|
|
|
|
IPage<AnswerQueryVo> query(AnswerQueryDomain query);
|
|
IPage<AnswerQueryVo> query(AnswerQueryDomain query);
|
|
@@ -188,7 +185,7 @@ public interface MarkStudentService extends IService<MarkStudent> {
|
|
|
|
|
|
int countOmrAbsentStudent(Long examId, String paperNumber, boolean isOmrAbsentConfirm, String teachClassName);
|
|
int countOmrAbsentStudent(Long examId, String paperNumber, boolean isOmrAbsentConfirm, String teachClassName);
|
|
|
|
|
|
- String scoreReportDownload(ArchiveStudentQuery query,MultipartFile file, HttpServletResponse response);
|
|
|
|
|
|
+ String scoreReportDownload(ArchiveStudentQuery query, MultipartFile file, HttpServletResponse response);
|
|
|
|
|
|
void deleteByExamIdAndPaperNumber(Long examId, String paperNumber);
|
|
void deleteByExamIdAndPaperNumber(Long examId, String paperNumber);
|
|
|
|
|
|
@@ -303,4 +300,13 @@ public interface MarkStudentService extends IService<MarkStudent> {
|
|
String getCardContent(MarkStudentVo markStudent);
|
|
String getCardContent(MarkStudentVo markStudent);
|
|
|
|
|
|
Set<Long> listStudentIds(Long examId, String paperNumber, List<String> classNames);
|
|
Set<Long> listStudentIds(Long examId, String paperNumber, List<String> classNames);
|
|
|
|
+
|
|
|
|
+ /**
|
|
|
|
+ * 根据考试id和试卷编码查找AI评卷分数
|
|
|
|
+ *
|
|
|
|
+ * @param examId
|
|
|
|
+ * @param paperNumber
|
|
|
|
+ * @return
|
|
|
|
+ */
|
|
|
|
+ List<MarkAiScoreDto> findScoreByAiMark(Long examId, String paperNumber);
|
|
}
|
|
}
|