yanghb
2023-04-07 6c8c31d4412d318aaf2269f73bdaf57edd888566
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
package com.stylefeng.guns.modular.system.service.impl;
 
import com.baomidou.mybatisplus.mapper.EntityWrapper;
import com.baomidou.mybatisplus.service.impl.ServiceImpl;
import com.stylefeng.guns.modular.system.dao.UserInfoMapper;
import com.stylefeng.guns.modular.system.model.UserInfo;
import com.stylefeng.guns.modular.system.service.IUserInfoService;
import org.springframework.stereotype.Service;
 
import javax.annotation.Resource;
 
 
@Service
public class  UserInfoServiceImpl extends ServiceImpl<UserInfoMapper, UserInfo> implements IUserInfoService {
 
    @Resource
    private UserInfoMapper userInfoMapper;
 
 
    /**
     * 根据电话查询用户
     * @param phone
     * @return
     * @throws Exception
     */
    @Override
    public UserInfo queryByPhone(String phone) throws Exception {
        return userInfoMapper.queryByPhone(phone);
    }
}