예제 #1
0
 public User findUserByAccount(String userAccount) {
   return userDao.findUserByAccount(userAccount).get(0);
 }
예제 #2
0
 @Transactional
 public boolean updatePwd(String id, String userPwd, String ouserPwd) {
   int cot = userDao.updatePwd(id, userPwd, ouserPwd);
   return cot > 0 ? true : false;
 }
예제 #3
0
 public List<Role> getUserNotRole(String userId) {
   return userDao.getUserNotRole(userId);
 }
예제 #4
0
 public List<User> login(String useraccount, String userpwd) {
   return userDao.login(useraccount, userpwd);
 }