zmq vor 1 Jahr
Ursprung
Commit
ec3c98b026
1 geänderte Dateien mit 2 neuen und 2 gelöschten Zeilen
  1. 2 2
      src/platform/ZhonTai.Admin/Services/Tenant/TenantService.cs

+ 2 - 2
src/platform/ZhonTai.Admin/Services/Tenant/TenantService.cs

@@ -436,12 +436,12 @@ public class TenantService : BaseService, ITenantService, IDynamicApi
             }
             
             //更新平台用户
-            await _platformUserRepository.UpdateDiy.SetSource(new PlatformUserEntity()
+            await _platformUserRepository.UpdateDiy.DisableGlobalFilter(FilterNames.Tenant).SetSource(new PlatformUserEntity()
             {
                 Id=tenant.PlatfromUserId,
                 Name = input.RealName,
                 Phone = input.Phone,
-            }).UpdateColumns(m => new { m.Name, m.Phone }).ExecuteAffrowsAsync(); ;
+            }).UpdateColumns(m => new { m.Name, m.Phone }).ExecuteAffrowsAsync();
         }
     }