BatchPaperService.java 1.0 KB

1234567891011121314151617181920212223242526272829303132
  1. package cn.com.qmth.scancentral.service;
  2. import cn.com.qmth.scancentral.entity.BatchEntity;
  3. import cn.com.qmth.scancentral.entity.BatchPaperEntity;
  4. import cn.com.qmth.scancentral.entity.PaperEntity;
  5. import com.github.jeffreyning.mybatisplus.service.IMppService;
  6. import java.util.List;
  7. import java.util.Set;
  8. /**
  9. * 鉴权
  10. */
  11. public interface BatchPaperService extends IMppService<BatchPaperEntity> {
  12. void update(BatchEntity batch, PaperEntity paper, Long studentId, Integer paperNumber, Boolean needCheck);
  13. List<BatchPaperEntity> findByBatchId(Long batchId);
  14. List<BatchPaperEntity> findByBatchIdAndStudentId(Long batchId, Long studentId);
  15. BatchPaperEntity findByBatchIdAndStudentIdAndPaperNumber(Long batchId, Long studentId, Integer paperNumber);
  16. BatchPaperEntity findByPaperId(Long paperId);
  17. List<Long> findStudentIdByBatchId(Long batchId);
  18. List<BatchPaperEntity> findByBatchIdAndStudentIds(Long id, Set<Long> checkIds);
  19. Integer getScanStudentCount(Long examId, String subjectCode, long startTime, long endTime);
  20. }