SysConfigMapper.java 969 B

123456789101112131415161718192021222324252627282930313233343536373839404142
  1. package com.aidex.system.mapper;
  2. import com.aidex.common.core.mapper.BaseMapper;
  3. import com.aidex.system.domain.SysConfig;
  4. import org.apache.ibatis.annotations.Param;
  5. import org.springframework.transaction.annotation.Transactional;
  6. import java.util.List;
  7. /**
  8. * 参数配置 数据层
  9. *
  10. * @author ruoyi
  11. */
  12. public interface SysConfigMapper extends BaseMapper<SysConfig>
  13. {
  14. /**
  15. * 批量删除参数信息
  16. *
  17. * @param configIds 需要删除的参数ID
  18. * @return 结果。
  19. */
  20. public int deleteConfigByIds(@Param("configIds") String[] configIds, @Param("DEL_FLAG_DELETE") String DEL_FLAG_DELETE);
  21. /**
  22. * 唯一性校验判断
  23. * @param
  24. * @return
  25. */
  26. @Override
  27. public List<SysConfig> findListWithUnique(SysConfig sysConfig);
  28. int removeByConfigKey(String configKey);
  29. /**
  30. * 根据Key获取配置信息
  31. * @param
  32. * @return
  33. */
  34. public SysConfig findConfigByKey(String configKey);
  35. }