eight
2024-10-12 e86481b3a32200d83fdcdbca826b72e3776ae5cd
1
2
3
4
5
6
7
8
9
10
11
12
13
14
package cn.lihu.jh.module.system.dal.mysql.oauth2;
 
import cn.lihu.jh.framework.mybatis.core.mapper.BaseMapperX;
import cn.lihu.jh.module.system.dal.dataobject.oauth2.OAuth2CodeDO;
import org.apache.ibatis.annotations.Mapper;
 
@Mapper
public interface OAuth2CodeMapper extends BaseMapperX<OAuth2CodeDO> {
 
    default OAuth2CodeDO selectByCode(String code) {
        return selectOne(OAuth2CodeDO::getCode, code);
    }
 
}