Пример #1
0
 public void updateUserIsValidate(User user) {
   try {
     userMapper.updateUserIsValidate(user);
   } catch (Exception e) {
     e.printStackTrace();
   }
 }
Пример #2
0
 public void registerUser(User user) {
   try {
     userMapper.registerUser(user);
   } catch (Exception e) {
     e.printStackTrace();
   }
 }
Пример #3
0
 public User findUserByUserName(String username) {
   User user = null;
   try {
     user = userMapper.findUserByUserName(username);
   } catch (Exception e) {
     e.printStackTrace();
   }
   return user;
 }