ExamCertificationService.java 1.3 KB

1234567891011121314151617181920212223242526272829303132333435363738394041424344454647
  1. package com.keao.edu.user.service;
  2. import com.keao.edu.common.page.PageInfo;
  3. import com.keao.edu.common.service.BaseService;
  4. import com.keao.edu.user.dto.ExamCertificationDto;
  5. import com.keao.edu.user.dto.NeedCheckingDetailDto;
  6. import com.keao.edu.user.entity.ExamCertification;
  7. import com.keao.edu.user.page.ExamCertificationQueryInfo;
  8. import org.springframework.data.domain.Page;
  9. import java.util.List;
  10. public interface ExamCertificationService extends BaseService<Long, ExamCertification> {
  11. /**
  12. * 获取学员准考证
  13. * @param studentId
  14. * @param examRegistrationId
  15. * @return
  16. */
  17. ExamCertification findByStuAndBasicId(Integer studentId,Long examRegistrationId);
  18. /**
  19. * 获取学员的准考证列表
  20. * @return
  21. */
  22. List<ExamCertificationDto> queryCertificationPage(Long examRegistrationId);
  23. /**
  24. * 学生端待考详情
  25. * @param examRegistrationId
  26. * @return
  27. */
  28. NeedCheckingDetailDto needCheckingDetail(Long examRegistrationId);
  29. /**
  30. * 获取后台准考证详情
  31. * @param examRegistrationId
  32. * @return
  33. */
  34. ExamCertificationDto findDetailByStudentId(Long examRegistrationId);
  35. void batchInsert(List<ExamCertification> examCertifications);
  36. int deleteWithRegist(List<Long> registIds);
  37. }