StudentPaperService.java 851 B

123456789101112131415161718192021222324252627282930
  1. package cn.com.qmth.scancentral.service;
  2. import cn.com.qmth.scancentral.entity.StudentPaperEntity;
  3. import cn.com.qmth.scancentral.vo.StudentPaperCountVo;
  4. import com.github.jeffreyning.mybatisplus.service.IMppService;
  5. import java.util.List;
  6. /**
  7. * 鉴权
  8. */
  9. public interface StudentPaperService extends IMppService<StudentPaperEntity> {
  10. Integer countByStudentId(Long studentId);
  11. List<StudentPaperEntity> findPaperIdByExamId(Long examId);
  12. StudentPaperEntity findByStudentIdAndPaperNumber(Long studentId, Integer number);
  13. List<StudentPaperEntity> findByStudentId(Long studentId);
  14. List<StudentPaperCountVo> findStudentPaperCount(List<Long> studentIds);
  15. void removeByStudentId(Long studentId);
  16. StudentPaperEntity findByPaperId(Long paperId);
  17. List<Long> findStudentIdByExamId(Long examId, String subjectCode);
  18. }