package com.winsun.mapper;

import com.baomidou.mybatisplus.mapper.BaseMapper;
import com.winsun.bean.AuthCode;
import org.apache.ibatis.annotations.Mapper;
import org.apache.ibatis.annotations.Select;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Component;

import java.util.List;
import java.util.Map;
@Mapper
@Component
public interface AuthCodeMapper extends BaseMapper<AuthCode> {


    @Select("select id,user_authcode as userAuthCode from hhr_authcode where id = #{id} ")
    List<AuthCode> queryAuthCode(String id);
}
