package cn.pluss.platform.mapper;

import cn.pluss.platform.entity.CacheInfo;
import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import org.apache.ibatis.annotations.Select;

/**
 * <p>
 * 缓存信息表 Mapper 接口
 * </p>
 *
 * @author bzg
 * @since 2021-09-24
 */
public interface CacheInfoMapper extends BaseMapper<CacheInfo> {

    /**
     * 获取生活圈缓存的数据
     * @date: 2021/12/7 17:02
     * @param keyCode:
     * @return java.lang.String
     */
    @Select("SELECT `value` from `syblife`.ims_core_cache  where `key` = #{keyCode}")
    String getShqCacheInfoByKeyCode(String keyCode);
}
