IChatGptsService.java 978 B

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748
  1. package org.ruoyi.service;
  2. import org.ruoyi.common.mybatis.core.page.PageQuery;
  3. import org.ruoyi.common.mybatis.core.page.TableDataInfo;
  4. import org.ruoyi.domain.bo.ChatGptsBo;
  5. import org.ruoyi.domain.vo.ChatGptsVo;
  6. import java.util.Collection;
  7. import java.util.List;
  8. /**
  9. * gpts管理Service接口
  10. *
  11. * @author Lion Li
  12. * @date 2024-07-09
  13. */
  14. public interface IChatGptsService {
  15. /**
  16. * 查询gpts管理
  17. */
  18. ChatGptsVo queryById(Long id);
  19. /**
  20. * 查询gpts管理列表
  21. */
  22. TableDataInfo<ChatGptsVo> queryPageList(ChatGptsBo bo, PageQuery pageQuery);
  23. /**
  24. * 查询gpts管理列表
  25. */
  26. List<ChatGptsVo> queryList(ChatGptsBo bo);
  27. /**
  28. * 新增gpts管理
  29. */
  30. Boolean insertByBo(ChatGptsBo bo);
  31. /**
  32. * 修改gpts管理
  33. */
  34. Boolean updateByBo(ChatGptsBo bo);
  35. /**
  36. * 校验并批量删除gpts管理信息
  37. */
  38. Boolean deleteWithValidByIds(Collection<Long> ids, Boolean isValid);
  39. }