You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
This file contains ambiguous Unicode characters that may be confused with others in your current locale. If your use case is intentional and legitimate, you can safely ignore this warning. Use the Escape button to highlight these characters.
package com.service ; // 定义包路径为com.service, 表示该接口属于服务层
import java.util.Map ; // 导入Map接口, 用于参数传递
import com.baomidou.mybatisplus.service.IService ; // 导入MyBatis-Plus服务接口
import com.entity.ConfigEntity ; // 导入系统配置实体类
import com.utils.PageUtils ; // 导入分页工具类
// 系统配置服务接口
//继承MyBatis-Plus的IService接口, 提供系统配置相关业务方法
// @author yangliyuan
//@date 2019年10月10日 上午9:18:20
public interface ConfigService extends IService < ConfigEntity > {
// 分页查询系统配置信息
//@param params 查询参数Map, 包含以下常用键值:
// - page: 当前页码( 从1开始)
// - limit: 每页记录数
// - paramKey: 配置键( 模糊查询)
// - paramValue: 配置值( 模糊查询)
// - configType: 配置类型
// - status: 状态( 1-启用, 0-禁用)
//@return PageUtils分页对象, 包含:
// - list: 当前页配置数据列表
// - totalCount: 总记录数
// - pageSize: 每页条数
// - totalPage: 总页数
// - currPage: 当前页码
PageUtils queryPage ( Map < String , Object > params ) ;
// 可扩展的业务方法示例:
// String getConfigValueByKey(String paramKey); // 根据配置键获取配置值
// boolean updateConfigByKey(String paramKey, String paramValue); // 根据配置键更新配置值
// Map<String, String> getAllEnabledConfigs(); // 获取所有启用的配置项
// boolean refreshConfigCache(); // 刷新配置缓存
}