package com.haha.mapper;

import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import com.haha.entity.DistributorConfig;
import org.apache.ibatis.annotations.Mapper;
import org.apache.ibatis.annotations.Param;
import org.apache.ibatis.annotations.Select;

@Mapper
public interface DistributorConfigMapper extends BaseMapper<DistributorConfig> {

    @Select("SELECT * FROM t_distributor_config WHERE config_key = #{configKey}")
    DistributorConfig selectByKey(@Param("configKey") String configKey);
}
