ScanStudentPaperService.java 804 B

1234567891011121314151617181920212223242526272829303132
  1. package com.qmth.teachcloud.mark.service;
  2. import java.util.List;
  3. import javax.validation.constraints.NotNull;
  4. import com.baomidou.mybatisplus.extension.service.IService;
  5. import com.qmth.teachcloud.mark.entity.ScanStudentPaper;
  6. /**
  7. * <p>
  8. * 服务类
  9. * </p>
  10. *
  11. * @author xf
  12. * @since 2023-09-22
  13. */
  14. public interface ScanStudentPaperService extends IService<ScanStudentPaper> {
  15. List<ScanStudentPaper> findByStudentId(Long studentId);
  16. ScanStudentPaper findByPaperId(Long paperId);
  17. void removeByStudentId(@NotNull Long studentId);
  18. void removeByStudentIdAndPaperId(@NotNull Long studentId,@NotNull Long paperId);
  19. ScanStudentPaper findByStudentIdAndPaperNumber(Long studentId, Integer number);
  20. List<ScanStudentPaper> findByPaperIds(List<Long> paperIds);
  21. }