@@ -213,6 +213,9 @@ public class EditOidcTenantService { | |||
return JsonResult.error("修改租户用户,不用户存在"); | |||
} | |||
user.setId(userTmp.getId()); | |||
if (StringUtils.isEmpty(user.getPassword())) { | |||
user.setPassword(userTmp.getPassword()); | |||
} | |||
Integer rowCount = userMapper.updateById(user); | |||
if (rowCount <= 0) { | |||
log.info("修改租户用户失败,username:{}", user.getUsername()); |