optimize
wet 1 year ago
parent 79797d0415
commit 4f6f009962

@ -290,7 +290,7 @@ public class SysUserService : ISysUserService, IDynamicApiController, ITransient
{ {
var user = input.Adapt<SysUser>(); var user = input.Adapt<SysUser>();
await _sysUserRep.AsUpdateable(user) await _sysUserRep.AsUpdateable(user)
.IgnoreColumns(it => new { it.AdminType, it.LastLoginTime,it.TenantId,it.CreatedUserId ,it.DjyUserId,it.Account,it.Password,it.Status,it.IsDeleted}) .IgnoreColumns(it => new { it.AdminType, it.LastLoginTime,it.TenantId,it.CreatedUserId ,it.DjyUserId,it.Account,it.Password,it.Status,it.IsDeleted,it.Name})
.ExecuteCommandAsync(); .ExecuteCommandAsync();
await _sysCacheService.DelByPatternAsync(CommonConst.CACHE_KEY_USERSDATASCOPE); await _sysCacheService.DelByPatternAsync(CommonConst.CACHE_KEY_USERSDATASCOPE);
} }

Loading…
Cancel
Save