예제 #1
0
 @Override
 public boolean regist(User user) {
   return ud.saveUser(user) == 1;
 }
예제 #2
0
 @Override
 public boolean getUserByUserName(String userName) {
   User user = ud.getUserByUserName(userName);
   return !(user == null);
 }
예제 #3
0
 @Override
 public User Login(User user) {
   return ud.getUserByUsernameAndPassword(user);
 }