UserThirdAuthMapper.java 624 Bytes
package cn.com.glsx.app.modules.mapper;

import cn.com.glsx.app.modules.entity.UserThirdAuth;
import com.glsx.plat.mybatis.mapper.CommonBaseMapper;
import org.apache.ibatis.annotations.Mapper;
import org.apache.ibatis.annotations.Param;

@Mapper
public interface UserThirdAuthMapper extends CommonBaseMapper<UserThirdAuth> {

    UserThirdAuth selectByOpenid(@Param("openid") String openid);

    UserThirdAuth selectByLoginTypeAndAuthId(@Param("loginType") String loginType, @Param("authId") Long authId);

    UserThirdAuth selectByLoginTypeAndUserId(@Param("loginType") String loginType, @Param("userId") Long userId);

}