mirror of
https://github.com/FreeeBird/hotel.git
synced 2025-11-03 22:14:48 +08:00
心得用户个人信息的查询和更改
This commit is contained in:
@@ -30,5 +30,13 @@ public class UserServiceImpl implements UserService {
|
||||
return userMapper.selectByUserNameAndPassword(user);
|
||||
}
|
||||
|
||||
@Override
|
||||
public User selectByUserName(String userName) {
|
||||
return userMapper.selectByUserName(userName);
|
||||
}
|
||||
|
||||
@Override
|
||||
public int updateProfile(User user) {
|
||||
return userMapper.updateByUserNameSelective(user);
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user