添加文档发布时间

This commit is contained in:
he
2026-01-16 16:42:00 +08:00
parent 6874459046
commit 74a8ac7575
7 changed files with 21527 additions and 0 deletions
@@ -208,6 +208,7 @@ namespace IRaCIS.Core.Application.Services
await _systemDocumentRepository.BatchUpdateNoTrackingAsync(x => inDto.Ids.Contains(x.Id), x => new SystemDocument()
{
IsPublish = true,
PublishDate= DateTime.Now,
IsDeleted = false,
});
@@ -101,6 +101,7 @@ namespace IRaCIS.Core.Application.Services
await _trialDocumentRepository.UpdatePartialFromQueryAsync(x => inDto.Ids.Contains(x.Id), x => new TrialDocument()
{
IsPublish = true,
PublishDate = DateTime.Now,
IsDeleted = false,
}, false, true);
await _trialDocumentRepository.SaveChangesAsync();