DcTemplateMapper.java 880 B

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