package com.css.txw.sso.mapper.oauth2;


import com.css.txw.sso.pojo.domain.oauth2.OAuth2ClientDO;
import com.css.ggzc.framework.mybatis.core.mapper.BaseMapperX;
import org.apache.ibatis.annotations.Mapper;


/**
 * OAuth2 客户端 Mapper
 *
 * @author 芋道源码
 */
@Mapper
public interface OAuth2ClientMapper extends BaseMapperX<OAuth2ClientDO> {

    default OAuth2ClientDO selectByClientId(String clientId) {
        return selectOne(OAuth2ClientDO::getClientid, clientId);
    }

}
