重阅任务排除
parent
609742c914
commit
8090668650
|
@ -253,8 +253,8 @@ namespace IRaCIS.Core.Application.Service.ImageAndDoc
|
||||||
public async Task<List<TaskStudyArchiveConfirmResult>> VerifyIRStudyAllowUpload(TaskStudyAchivePreConfirmCommand inCommand, [FromServices] IRepository<DicomStudy> _dicomStudyRepository)
|
public async Task<List<TaskStudyArchiveConfirmResult>> VerifyIRStudyAllowUpload(TaskStudyAchivePreConfirmCommand inCommand, [FromServices] IRepository<DicomStudy> _dicomStudyRepository)
|
||||||
{
|
{
|
||||||
|
|
||||||
|
//重阅任务排除
|
||||||
var notAllowedUidList1 = _taskStudyRepository.Where(t => t.TrialId == inCommand.TrialId && inCommand.StudyInstanceUidList.Contains(t.StudyInstanceUid)).Select(t => new
|
var notAllowedUidList1 = _taskStudyRepository.Where(t => t.TrialId == inCommand.TrialId && t.VisitTask.TaskState==TaskState.Effect && inCommand.StudyInstanceUidList.Contains(t.StudyInstanceUid)).Select(t => new
|
||||||
{
|
{
|
||||||
t.StudyInstanceUid,
|
t.StudyInstanceUid,
|
||||||
t.SubjectId,
|
t.SubjectId,
|
||||||
|
|
Loading…
Reference in New Issue