Example #1
0
 /**
  * 修改密码
  *
  * @param user
  */
 @Transactional(readOnly = false)
 public void updatePwd(User user) {
   entryptPassword(user);
   userDao.save(user);
 }
Example #2
0
 /**
  * 保存用户
  *
  * @param user
  */
 @Transactional(readOnly = false)
 public void save(User user) {
   entryptPassword(user);
   user.setCreateDate(DateUtils.getSysTimestamp());
   userDao.save(user);
 }