package com.jeeplus.sys.service;

import com.baomidou.mybatisplus.extension.service.impl.ServiceImpl;
import com.jeeplus.sys.domain.UserOtherInfo;
import com.jeeplus.sys.mapper.OtherUserInfoMapper;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;
import org.springframework.transaction.annotation.Transactional;

/**
 * @author 王强
 * @version 1.0
 * @date 2023-12-21 15:58
 */
@Service
@Transactional
public class OtherUserInfoService extends ServiceImpl<OtherUserInfoMapper, UserOtherInfo> {

    @Autowired
    private OtherUserInfoMapper mapper;

    UserOtherInfo getByUserId(String userId){
        return mapper.getByUserId(userId);
    }
}
