package com.diagbot.service.impl;

import com.diagbot.entity.UserAuthentication;
import com.diagbot.mapper.UserAuthenticationMapper;
import com.diagbot.service.UserAuthenticationService;
import com.baomidou.mybatisplus.extension.service.impl.ServiceImpl;
import org.springframework.stereotype.Service;

/**
 * <p>
 * 用户认证信息表 服务实现类
 * </p>
 *
 * @author zhaops
 * @since 2018-09-17
 */
@Service
public class UserAuthenticationServiceImpl extends ServiceImpl<UserAuthenticationMapper, UserAuthentication> implements UserAuthenticationService {
    public UserAuthentication getByUserId(Long userId) {
        return baseMapper.getByUserId(userId);
    }
}
