Ejemplo n.º 1
0
 public User getUser(long uid, long mid) {
   User user = userMapper.get(uid, mid);
   if (user == null) {
     return null;
   }
   fillUserExtInfo(user);
   return user;
 }
Ejemplo n.º 2
0
 private void checkMid(long uid, long mid) {
   if (userMapper.get(uid, mid) == null) {
     throw new IllegalArgumentException("user is not exist. uid=" + uid + ", mid=" + mid);
   }
 }