OpenMapper.java 868 B

1234567891011121314151617181920212223242526272829303132333435363738
  1. package com.example.mapper;
  2. import com.example.dto.PageQueryDTO;
  3. import com.example.entity.Awards;
  4. import com.example.entity.Home;
  5. import com.example.entity.Thesis;
  6. import com.example.entity.Work;
  7. import com.github.pagehelper.Page;
  8. import org.apache.ibatis.annotations.Mapper;
  9. @Mapper
  10. public interface OpenMapper {
  11. /**
  12. * 首页分页查询
  13. * @param pageQueryDTO
  14. * @return
  15. */
  16. Page<Home> page(PageQueryDTO pageQueryDTO);
  17. /**
  18. * 获奖分页查询
  19. * @param pageQueryDTO
  20. * @return
  21. */
  22. Page<Awards> AwardsPage(PageQueryDTO pageQueryDTO);
  23. /**
  24. * 著作分页查询
  25. * @param pageQueryDTO
  26. * @return
  27. */
  28. Page<Work> WorkPage(PageQueryDTO pageQueryDTO);
  29. /**
  30. * 论文分页查询
  31. * @param pageQueryDTO
  32. * @return
  33. */
  34. Page<Thesis> ThesisPage(PageQueryDTO pageQueryDTO);
  35. }