feat: db操作支持不修改更新审计日志

This commit is contained in:
橙子
2025-02-05 00:02:04 +08:00
parent e69bbb46b3
commit 5d286ebc9e
4 changed files with 23 additions and 8 deletions

View File

@@ -23,13 +23,9 @@ namespace Yi.Framework.Bbs.Domain.EventHandlers
var entity = await _repository.GetAsync(eventData.DiscussId);
if (entity is not null)
{
entity.SeeNum += 1;
entity.AddSeeNumber();
await _repository.UpdateAsync(entity);
}
}
}
}