完成逻辑删除功能

This commit is contained in:
橙子
2023-01-21 16:10:46 +08:00
parent fceefac0ee
commit 11bfefcd04
5 changed files with 96 additions and 4 deletions

View File

@@ -69,7 +69,7 @@ namespace Yi.Framework.Ddd.Services
{
//使用反射暂时先使用sqlsuga的雪花id提供
//ps: linshi
ReflexHelper.SetModelValue("Id", SnowflakeHelper.NextId, entity);
ReflexHelper.SetModelValue(nameof(IEntity<long>.Id), SnowflakeHelper.NextId, entity);
}
}