细节调整

This commit is contained in:
yanghongwei 2025-06-26 00:40:06 +08:00
parent c4aff6eac0
commit af98ca3e72
1 changed files with 2 additions and 1 deletions

View File

@ -251,7 +251,8 @@ namespace LY.App.Service
var entity = input.Adapt<UserEntity>(); var entity = input.Adapt<UserEntity>();
await _db.Updateable(entity).UpdateColumns(it => new await _db.Updateable(entity).UpdateColumns(it => new
{ {
it.IsAdmin it.IsAdmin,
it.positionId
}).ExecuteCommandAsync(); }).ExecuteCommandAsync();
return null; return null;
} }