DcTemplateMapper.java 933 B

123456789101112131415161718192021222324252627282930313233343536373839
  1. package com.gqy.document.mapper;
  2. import com.gqy.document.domain.DcTemplate;
  3. import com.gqy.document.domain.DcTemplateCategory;
  4. import com.gqy.document.domain.TemplateCategory;
  5. import org.apache.ibatis.annotations.Param;
  6. import java.util.List;
  7. /**
  8. * 模板查询接口
  9. */
  10. public interface DcTemplateMapper {
  11. /**
  12. * 列表搜索
  13. * @param name
  14. * @param category_id
  15. * @param status
  16. * @return
  17. */
  18. public List<DcTemplate> selectTemplateList(@Param("name") String name, @Param("category_id") Integer category_id,@Param("status") Integer status);
  19. /**
  20. * 根据ID查询模板信息
  21. *
  22. * @param id 模板ID
  23. * @return 模板信息
  24. */
  25. DcTemplate selectTemplateById(Long id);
  26. /**
  27. * 根据分类ID查询分类信息
  28. *
  29. * @param categoryId 分类ID
  30. * @return 分类信息
  31. */
  32. DcTemplateCategory selectTemplateCategoryById(Long categoryId);
  33. }