FastGptCollentionDataMapper.java 1.6 KB

12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152535455565758596061626364
  1. package com.fs.fastGpt.mapper;
  2. import com.fs.fastGpt.domain.FastGptCollentionData;
  3. import java.util.List;
  4. /**
  5. * 集合里数据Mapper接口
  6. *
  7. * @author fs
  8. * @date 2024-09-30
  9. */
  10. public interface FastGptCollentionDataMapper
  11. {
  12. /**
  13. * 查询集合里数据
  14. *
  15. * @param id 集合里数据主键
  16. * @return 集合里数据
  17. */
  18. public FastGptCollentionData selectFastGptCollentionDataById(String id);
  19. /**
  20. * 查询集合里数据列表
  21. *
  22. * @param fastGptCollentionData 集合里数据
  23. * @return 集合里数据集合
  24. */
  25. public List<FastGptCollentionData> selectFastGptCollentionDataList(FastGptCollentionData fastGptCollentionData);
  26. /**
  27. * 新增集合里数据
  28. *
  29. * @param fastGptCollentionData 集合里数据
  30. * @return 结果
  31. */
  32. public int insertFastGptCollentionData(FastGptCollentionData fastGptCollentionData);
  33. public int insertOrUpdateFastGptCollentionData(FastGptCollentionData fastGptCollentionData);
  34. /**
  35. * 修改集合里数据
  36. *
  37. * @param fastGptCollentionData 集合里数据
  38. * @return 结果
  39. */
  40. public int updateFastGptCollentionData(FastGptCollentionData fastGptCollentionData);
  41. /**
  42. * 删除集合里数据
  43. *
  44. * @param id 集合里数据主键
  45. * @return 结果
  46. */
  47. public int deleteFastGptCollentionDataById(String id);
  48. /**
  49. * 批量删除集合里数据
  50. *
  51. * @param ids 需要删除的数据主键集合
  52. * @return 结果
  53. */
  54. public int deleteFastGptCollentionDataByIds(String[] ids);
  55. }