|
@@ -501,7 +501,7 @@ public class SysUserServiceImpl implements ISysUserService
|
|
BeanValidators.validateWithException(validator, user);
|
|
BeanValidators.validateWithException(validator, user);
|
|
user.setPassword(SecurityUtils.encryptPassword(password));
|
|
user.setPassword(SecurityUtils.encryptPassword(password));
|
|
user.setCreateBy(operName);
|
|
user.setCreateBy(operName);
|
|
- this.insertUser(user);
|
|
|
|
|
|
+ userMapper.insertUser(user);
|
|
successNum++;
|
|
successNum++;
|
|
successMsg.append("<br/>" + successNum + "、账号 " + user.getUserName() + " 导入成功");
|
|
successMsg.append("<br/>" + successNum + "、账号 " + user.getUserName() + " 导入成功");
|
|
}
|
|
}
|
|
@@ -512,7 +512,7 @@ public class SysUserServiceImpl implements ISysUserService
|
|
checkUserDataScope(u.getUserId());
|
|
checkUserDataScope(u.getUserId());
|
|
user.setUserId(u.getUserId());
|
|
user.setUserId(u.getUserId());
|
|
user.setUpdateBy(operName);
|
|
user.setUpdateBy(operName);
|
|
- this.updateUser(user);
|
|
|
|
|
|
+ userMapper.updateUser(user);
|
|
successNum++;
|
|
successNum++;
|
|
successMsg.append("<br/>" + successNum + "、账号 " + user.getUserName() + " 更新成功");
|
|
successMsg.append("<br/>" + successNum + "、账号 " + user.getUserName() + " 更新成功");
|
|
}
|
|
}
|