IChatConfigService.java 1.1 KB

1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253
  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.ChatConfigBo;
  5. import org.ruoyi.domain.vo.ChatConfigVo;
  6. import java.util.Collection;
  7. import java.util.List;
  8. /**
  9. * 对话配置信息Service接口
  10. * @date 2024-04-13
  11. */
  12. public interface IChatConfigService {
  13. /**
  14. * 查询配置信息
  15. */
  16. ChatConfigVo queryById(Long id);
  17. /**
  18. * 查询配置信息列表
  19. */
  20. TableDataInfo<ChatConfigVo> queryPageList(ChatConfigBo bo, PageQuery pageQuery);
  21. /**
  22. * 查询配置信息列表
  23. */
  24. List<ChatConfigVo> queryList(ChatConfigBo bo);
  25. /**
  26. * 新增配置信息
  27. */
  28. Boolean insertByBo(ChatConfigBo bo);
  29. /**
  30. * 修改配置信息
  31. */
  32. Boolean updateByBo(ChatConfigBo bo);
  33. /**
  34. * 校验并批量删除配置信息信息
  35. */
  36. Boolean deleteWithValidByIds(Collection<Long> ids, Boolean isValid);
  37. /**
  38. * 查询系统参数
  39. */
  40. List<ChatConfigVo> getSysConfigValue(String category);
  41. }