fix: 修复更新事件

This commit is contained in:
橙子
2025-03-23 17:15:17 +08:00
parent 710ad95eda
commit 21ff599a4e

View File

@@ -213,6 +213,10 @@ public class DefaultSqlSugarDbContext : SqlSugarDbContext
{ {
EntityChangeEventHelperService.PublishEntityDeletedEvent(entityInfo.EntityValue); EntityChangeEventHelperService.PublishEntityDeletedEvent(entityInfo.EntityValue);
} }
else
{
EntityChangeEventHelperService.PublishEntityUpdatedEvent(entityInfo.EntityValue);
}
} }
else else
{ {