mirror of
https://gitee.com/ccnetcore/Yi
synced 2026-03-10 03:30:51 +08:00
完成逻辑删除功能
This commit is contained in:
@@ -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);
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user