package com.iailab.module.system.dal.mysql.oauth2; import com.iailab.framework.mybatis.core.mapper.BaseMapperX; import com.iailab.module.system.dal.dataobject.oauth2.OAuth2CodeDO; import org.apache.ibatis.annotations.Mapper; @Mapper public interface OAuth2CodeMapper extends BaseMapperX { default OAuth2CodeDO selectByCode(String code) { return selectOne(OAuth2CodeDO::getCode, code); } }