| | |
| | | package com.zy.system.service.impl; |
| | | |
| | | import com.baomidou.mybatisplus.service.impl.ServiceImpl; |
| | | 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; |
| | |
| | | @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); |
| | | } |
| | | } |