package com.storlead.system.service;

import com.storlead.system.pojo.entity.SystemConfigItemEntity;
import com.baomidou.mybatisplus.extension.service.IService;

import java.util.Map;

/**
 * <p>
 * 系统配置项 服务类
 * </p>
 *
 * @author chenkq
 * @since 2023-07-26
 */
public interface SystemConfigItemService extends IService<SystemConfigItemEntity> {

    /***
     * @Description: 获取所有系统配置项
     * @Param:
     * @return: Map
     * @Author: YPZ
     * @Date: 2023/9/26 11:55
     */
    Map<String,SystemConfigItemEntity> getSystemConfigItemMap();

    SystemConfigItemEntity getSystemConfigItemByCode(String itemCode);

    String getSystemConfigItemValueByCode(String itemCode);
}
