package cn.pluss.platform.mapper;

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

/**
 * <p>
 * 小程序配置信息 Mapper 接口
 * </p>
 *
 * @author crystal
 * @since 2022-04-20
 */
public interface AppletInfoMapper extends BaseMapper<AppletInfo> {

    /**
     * 获取小程序配置信息
     * @param appid
     * @return
     */
    @Select("SELECT * FROM tb_pluss_applet_info WHERE appid = #{appid}")
    AppletInfo getAppletInfoByAppId(String appid);
}
