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