心得用户个人信息的查询和更改

This commit is contained in:
muamua
2018-10-13 16:46:59 +08:00
parent 3049b3c0b4
commit a1d88bbe9c
5 changed files with 67 additions and 11 deletions

View File

@@ -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);
}
}