UserInfoService.java 596 Bytes
Newer Older
刘基明's avatar
刘基明 committed
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24
package com.tanpu.community.service;

import com.tanpu.community.dao.entity.user.UserInfoEntity;
import com.tanpu.community.dao.mapper.user.UserInfoMapper;
import org.springframework.stereotype.Service;

import javax.annotation.Resource;
import java.util.List;

@Service
public class UserInfoService {

    @Resource
    private UserInfoMapper userInfoMapper;


    public UserInfoEntity selectById(String userId) {
        return userInfoMapper.selectById(userId);
    }

    public List<UserInfoEntity> selectByIds(List<String> ids) {
        return userInfoMapper.selectBatchIds(ids);
    }
}