d7817e88a80fe92ada713fdfa76dd234e0d32b36.svn-base 1.5 KB

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