GenTableMapper.java 1.7 KB

1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253545556575859606162636465666768697071727374757677787980818283
  1. package com.ruoyi.gen.mapper;
  2. import java.util.List;
  3. import com.ruoyi.gen.domain.GenTable;
  4. /**
  5. * 业务 数据层
  6. *
  7. * @author ruoyi
  8. */
  9. public interface GenTableMapper
  10. {
  11. /**
  12. * 查询业务列表
  13. *
  14. * @param genTable 业务信息
  15. * @return 业务集合
  16. */
  17. public List<GenTable> selectGenTableList(GenTable genTable);
  18. /**
  19. * 查询据库列表
  20. *
  21. * @param genTable 业务信息
  22. * @return 数据库表集合
  23. */
  24. public List<GenTable> selectDbTableList(GenTable genTable);
  25. /**
  26. * 查询据库列表
  27. *
  28. * @param tableNames 表名称组
  29. * @return 数据库表集合
  30. */
  31. public List<GenTable> selectDbTableListByNames(String[] tableNames);
  32. /**
  33. * 查询所有表信息
  34. *
  35. * @return 表信息集合
  36. */
  37. public List<GenTable> selectGenTableAll();
  38. /**
  39. * 查询表ID业务信息
  40. *
  41. * @param id 业务ID
  42. * @return 业务信息
  43. */
  44. public GenTable selectGenTableById(Long id);
  45. /**
  46. * 查询表名称业务信息
  47. *
  48. * @param tableName 表名称
  49. * @return 业务信息
  50. */
  51. public GenTable selectGenTableByName(String tableName);
  52. /**
  53. * 新增业务
  54. *
  55. * @param genTable 业务信息
  56. * @return 结果
  57. */
  58. public int insertGenTable(GenTable genTable);
  59. /**
  60. * 修改业务
  61. *
  62. * @param genTable 业务信息
  63. * @return 结果
  64. */
  65. public int updateGenTable(GenTable genTable);
  66. /**
  67. * 批量删除业务
  68. *
  69. * @param ids 需要删除的数据ID
  70. * @return 结果
  71. */
  72. public int deleteGenTableByIds(Long[] ids);
  73. }