#
Junjie
昨天 bd6b518aae61608ddc2d82b43ccc283dc95b9c54
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
package com.zy.system.service.impl;
 
import com.baomidou.mybatisplus.extension.service.impl.ServiceImpl;
import com.zy.system.entity.User;
import com.zy.system.mapper.UserMapper;
import com.zy.system.service.UserService;
import org.springframework.stereotype.Service;
 
@Service("userService")
public class UserServiceImpl extends ServiceImpl<UserMapper, User> implements UserService {
 
    @Override
    public User getByMobileWithSecurity(String mobile) {
        return baseMapper.selectByMobileWithSecurity(mobile);
    }
 
    @Override
    public User getByIdWithSecurity(Long id) {
        return baseMapper.selectByIdWithSecurity(id);
    }
 
    @Override
    public User getByPasskeyCredentialId(String credentialId) {
        return baseMapper.selectByPasskeyCredentialId(credentialId);
    }
}