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