StudentDao.java 793 B

12345678910111213141516171819202122232425262728293031323334353637
  1. package com.keao.edu.user.dao;
  2. import com.keao.edu.common.dal.BaseDAO;
  3. import com.keao.edu.user.api.entity.Student;
  4. import com.keao.edu.user.dto.StudentExamPaymentDto;
  5. import org.apache.ibatis.annotations.Param;
  6. import java.util.List;
  7. import java.util.Map;
  8. public interface StudentDao extends BaseDAO<Integer, Student> {
  9. /**
  10. * COUNT学员报名详情列表
  11. *
  12. * @param params
  13. * @return
  14. */
  15. int countApplyList(Map<String, Object> params);
  16. /**
  17. * 获取学员报名详情列表
  18. *
  19. * @param params
  20. * @return
  21. */
  22. List<StudentExamPaymentDto> queryApplyList(Map<String, Object> params);
  23. /**
  24. * 获取学生信息
  25. *
  26. * @param userId
  27. * @return
  28. */
  29. Student getStudent(@Param("userId") Integer userId);
  30. }