Commit 9fdda43e171d277967d55a0a755d1da7e7b1f1a7

Authored by lifeontrip
1 parent e8c0cc84

fix: 1、TB无租户管理员时,无法删除平台租户管理员

... ... @@ -130,8 +130,6 @@ public class YtAdminController extends BaseController {
130 130 UserDTO userDTO = userService.findUserInfoById(strUserId);
131 131 if (null != userDTO && StringUtils.isNotBlank(userDTO.getTbUser())) {
132 132 deleteTenantAdmin(userDTO.getTbUser());
133   - } else {
134   - return ResponseEntity.ok(false);
135 133 }
136 134 }
137 135 boolean result =
... ...