diff --git a/IRaCIS.Core.Application/Service/ImageAndDoc/DownloadAndUploadService.cs b/IRaCIS.Core.Application/Service/ImageAndDoc/DownloadAndUploadService.cs index 2a07b7b93..70e3455d0 100644 --- a/IRaCIS.Core.Application/Service/ImageAndDoc/DownloadAndUploadService.cs +++ b/IRaCIS.Core.Application/Service/ImageAndDoc/DownloadAndUploadService.cs @@ -650,7 +650,7 @@ namespace IRaCIS.Core.Application.Service.ImageAndDoc [HttpPost] public async Task> GetIRUploadTaskNoneDicomStudyList(IRUploadStudyQuery inQuery) { - var subjectCode = string.Empty; + var subjectCode = inQuery.SubjectCode; var subjectId = inQuery.SubjectId; var doctorUserId = _userInfo.Id; diff --git a/IRaCIS.Core.Infra.EFCore/Interceptor/AuditEntityInterceptor.cs b/IRaCIS.Core.Infra.EFCore/Interceptor/AuditEntityInterceptor.cs index 370b76f02..68d3242a5 100644 --- a/IRaCIS.Core.Infra.EFCore/Interceptor/AuditEntityInterceptor.cs +++ b/IRaCIS.Core.Infra.EFCore/Interceptor/AuditEntityInterceptor.cs @@ -13,7 +13,7 @@ namespace IRaCIS.Core.Infra.EFCore; public class AuditEntityInterceptor(IUserInfo _userInfo, ILogger _logger - //,ISendEndpoint _sendEndpoint + //, IBus _bus ) : SaveChangesInterceptor { @@ -248,7 +248,7 @@ public class AuditEntityInterceptor(IUserInfo _userInfo, // foreach (var domainCommand in domainCommands) // { - // await _sendEndpoint.Send(domainCommand.GetType(), domainCommand); + // await _bus.Send(domainCommand.GetType(), domainCommand); // } //} #endregion