TCommonfileMapper.java 1.4 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869
  1. package com.ruoyi.rc.mapper;
  2. import java.util.List;
  3. import com.ruoyi.rc.domain.TCommonfile;
  4. /**
  5. * 通用附件Mapper接口
  6. *
  7. * @author ruoyi
  8. * @date 2024-07-29
  9. */
  10. public interface TCommonfileMapper
  11. {
  12. /**
  13. * 查询通用附件列表
  14. *
  15. * @param tCommonfile 通用附件
  16. * @return 通用附件集合
  17. */
  18. List<TCommonfile> selectAllFileList(TCommonfile tCommonfile);
  19. /**
  20. * 查询通用附件
  21. *
  22. * @param id 通用附件主键
  23. * @return 通用附件
  24. */
  25. public TCommonfile selectTCommonfileById(Long id);
  26. /**
  27. * 查询通用附件列表
  28. *
  29. * @param tCommonfile 通用附件
  30. * @return 通用附件集合
  31. */
  32. public List<TCommonfile> selectTCommonfileList(TCommonfile tCommonfile);
  33. /**
  34. * 新增通用附件
  35. *
  36. * @param tCommonfile 通用附件
  37. * @return 结果
  38. */
  39. public int insertTCommonfile(TCommonfile tCommonfile);
  40. /**
  41. * 修改通用附件
  42. *
  43. * @param tCommonfile 通用附件
  44. * @return 结果
  45. */
  46. public int updateTCommonfile(TCommonfile tCommonfile);
  47. /**
  48. * 删除通用附件
  49. *
  50. * @param id 通用附件主键
  51. * @return 结果
  52. */
  53. public int deleteTCommonfileById(Long id);
  54. /**
  55. * 批量删除通用附件
  56. *
  57. * @param ids 需要删除的数据主键集合
  58. * @return 结果
  59. */
  60. public int deleteTCommonfileByIds(Long[] ids);
  61. }