Compare commits

...

2 Commits

Author SHA1 Message Date
he c44c37b76b Merge branch 'Test_IRC_Net8' of https://gitea.frp.extimaging.com/XCKJ/irc-netcore-api into Test_IRC_Net8
continuous-integration/drone/push Build is passing Details
2025-06-25 14:00:18 +08:00
he 6b068e3919 发布项目文档的时候 记录稽查 2025-06-25 14:00:17 +08:00
1 changed files with 2 additions and 1 deletions

View File

@ -96,11 +96,12 @@ namespace IRaCIS.Core.Application.Services
[HttpPost]
public async Task<IResponseOutput> PublishTrialDocument(PublishTrialDocumentInDto inDto)
{
await _trialDocumentRepository.BatchUpdateNoTrackingAsync(x => inDto.Ids.Contains(x.Id), x => new TrialDocument()
await _trialDocumentRepository.UpdatePartialFromQueryAsync(x => inDto.Ids.Contains(x.Id), x => new TrialDocument()
{
IsPublish = true,
IsDeleted = false,
});
await _trialDocumentRepository.SaveChangesAsync();
Console.WriteLine("开始 发布项目文档");
Task.Run(async () =>