|
@@ -285,9 +285,6 @@ namespace Hotline.Repository.SqlSugar.Extensions
|
|
|
|
|
|
db.Aop.DataExecuting = (oldValue, entityInfo) =>
|
|
|
{
|
|
|
- services.BuildServiceProvider()
|
|
|
- .GetService<DatabaseEventDispatcher>()?
|
|
|
- .Dispatch(oldValue, entityInfo.PropertyName, entityInfo.EntityValue, entityInfo.OperationType);
|
|
|
//inset生效
|
|
|
if (entityInfo.PropertyName == "CreationTime" && entityInfo.OperationType == DataFilterType.InsertByObject)
|
|
|
{
|