完成逻辑删除
This commit is contained in:
@@ -95,7 +95,7 @@ namespace Yi.Framework.Core.Sqlsugar.Repositories
|
||||
}
|
||||
else
|
||||
{
|
||||
return await base.DeleteByIdAsync((object)id);
|
||||
return await _Db.Deleteable<T>().In(id).ExecuteCommand() > 0;
|
||||
}
|
||||
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user