修改
continuous-integration/drone/push Build is passing Details

Uat_IRC_Net8
he 2025-03-17 16:23:38 +08:00
parent 5490630922
commit 6306c6752a
1 changed files with 1 additions and 0 deletions

View File

@ -231,6 +231,7 @@ namespace IRaCIS.Core.Application.Service
await _attachmentrepository.DeleteFromQueryAsync(a => a.DoctorId == attachment.DoctorId && a.Type == attachment.Type); await _attachmentrepository.DeleteFromQueryAsync(a => a.DoctorId == attachment.DoctorId && a.Type == attachment.Type);
} }
attachment.UpdateTime = DateTime.Now;
await _attachmentrepository.UpdateFromDTOAsync(attachment); await _attachmentrepository.UpdateFromDTOAsync(attachment);
await _attachmentrepository.SaveChangesAsync(); await _attachmentrepository.SaveChangesAsync();