feat: 添加值对象

This commit is contained in:
陈淳
2024-04-22 18:06:09 +08:00
parent 58ff8f45cf
commit d389dcbedf
5 changed files with 57 additions and 22 deletions

View File

@@ -152,7 +152,7 @@ namespace Yi.Framework.Rbac.Application.Services.System
//更新密码,特殊处理
if (input.Password is not null)
{
entity.Password = input.Password;
entity.EncryPassword.Password = input.Password;
entity.BuildPassword();
}
await MapToEntityAsync(input, entity);