package com.yeejoin.amos.api.openapi.face.orm.dao;

import org.apache.ibatis.annotations.Param;
import org.apache.ibatis.annotations.Select;

import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import com.yeejoin.amos.api.openapi.face.orm.entity.OpenapiBizToken;

/**
 * 
 * <pre>
 * Mapper 接口
 * </pre>
 *
 * @author gwb
 * @version $Id: OpenapiLogMapper.java, v 0.1 2021年11月10日 下午5:54:19 gwb Exp $
 */
public interface OpenapiBizTokenMapper extends BaseMapper<OpenapiBizToken> {
	 @Select("SELECT " +
	            " * " +
	            " FROM " +
	            " iot_openapi_biz_token bt " +
	            " WHERE " +
	            " bt.APP_ID = '${appId}'")
	public OpenapiBizToken getByAppId(@Param("appId") String appId);
}	