Эх сурвалжийг харах

Merge branch 'fix/sugar_ext' of Fengwo/hotline into release

dengshengshuang 3 сар өмнө
parent
commit
18fcf45e76

+ 0 - 3
src/Hotline.Repository.SqlSugar/Extensions/SqlSugarStartupExtensions.cs

@@ -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)
                 {