SysConfigMapper.java 1.6 KB

12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152535455565758596061626364656667686970717273747576
  1. package com.ruoyi.system.mapper;
  2. import java.util.List;
  3. import com.ruoyi.system.domain.SysConfig;
  4. /**
  5. * 参数配置 数据层
  6. *
  7. * @author ruoyi
  8. */
  9. public interface SysConfigMapper
  10. {
  11. /**
  12. * 查询参数配置信息
  13. *
  14. * @param config 参数配置信息
  15. * @return 参数配置信息
  16. */
  17. public SysConfig selectConfig(SysConfig config);
  18. /**
  19. * 通过ID查询配置
  20. *
  21. * @param configId 参数ID
  22. * @return 参数配置信息
  23. */
  24. public SysConfig selectConfigById(Long configId);
  25. /**
  26. * 查询参数配置列表
  27. *
  28. * @param config 参数配置信息
  29. * @return 参数配置集合
  30. */
  31. public List<SysConfig> selectConfigList(SysConfig config);
  32. /**
  33. * 根据键名查询参数配置信息
  34. *
  35. * @param configKey 参数键名
  36. * @return 参数配置信息
  37. */
  38. public SysConfig checkConfigKeyUnique(String configKey);
  39. /**
  40. * 新增参数配置
  41. *
  42. * @param config 参数配置信息
  43. * @return 结果
  44. */
  45. public int insertConfig(SysConfig config);
  46. /**
  47. * 修改参数配置
  48. *
  49. * @param config 参数配置信息
  50. * @return 结果
  51. */
  52. public int updateConfig(SysConfig config);
  53. /**
  54. * 删除参数配置
  55. *
  56. * @param configId 参数ID
  57. * @return 结果
  58. */
  59. public int deleteConfigById(Long configId);
  60. /**
  61. * 批量删除参数信息
  62. *
  63. * @param configIds 需要删除的参数ID
  64. * @return 结果
  65. */
  66. public int deleteConfigByIds(Long[] configIds);
  67. }