AIR 重置
parent
6e6974bfdd
commit
8bc4b0d244
|
@ -1049,7 +1049,7 @@ namespace IRaCIS.Core.Application.Service.Allocation
|
||||||
public async Task<IResponseOutput> AIRReReading(AIRReReadingCommand command, [FromServices] IVisitTaskHelpeService _visitTaskCommonService)
|
public async Task<IResponseOutput> AIRReReading(AIRReReadingCommand command, [FromServices] IVisitTaskHelpeService _visitTaskCommonService)
|
||||||
{
|
{
|
||||||
var baseLineTaskList = await _visitTaskRepository.Where(t => t.TrialId == command.TrialId && t.TrialReadingCriterionId == command.TrialReadingCriterionId && t.DoctorUserId == _userInfo.Id
|
var baseLineTaskList = await _visitTaskRepository.Where(t => t.TrialId == command.TrialId && t.TrialReadingCriterionId == command.TrialReadingCriterionId && t.DoctorUserId == _userInfo.Id
|
||||||
&& t.TaskState == TaskState.Effect && t.ReadingCategory == ReadingCategory.Visit && t.SourceSubjectVisit.IsBaseLine == true && t.DoctorUserId == _userInfo.Id).ToListAsync();
|
&& t.TaskState == TaskState.Effect && t.ReadingCategory == ReadingCategory.Visit && t.ReadingTaskState == ReadingTaskState.HaveSigned && t.SourceSubjectVisit.IsBaseLine == true && t.DoctorUserId == _userInfo.Id).ToListAsync();
|
||||||
|
|
||||||
|
|
||||||
var baseLineTaskIdList = baseLineTaskList.Select(t => t.Id).ToList();
|
var baseLineTaskIdList = baseLineTaskList.Select(t => t.Id).ToList();
|
||||||
|
@ -1214,7 +1214,11 @@ namespace IRaCIS.Core.Application.Service.Allocation
|
||||||
|
|
||||||
}
|
}
|
||||||
|
|
||||||
|
//AIR 不加验证
|
||||||
|
if (_userInfo.UserTypeEnumInt == (int)UserTypeEnum.AIR)
|
||||||
|
{
|
||||||
|
task.ReReadingApplyState = ReReadingApplyState.DocotorHaveApplyed;
|
||||||
|
}
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
|
@ -193,9 +193,14 @@ namespace IRaCIS.Core.Domain.Models
|
||||||
|
|
||||||
|
|
||||||
public bool IsPicture { get; set; }
|
public bool IsPicture { get; set; }
|
||||||
|
|
||||||
|
|
||||||
public bool IsNeedTransalate { get; set; }
|
public bool IsNeedTransalate { get; set; }
|
||||||
public string TranslateDictionaryName { get; set; } = String.Empty;
|
public string TranslateDictionaryName { get; set; } = String.Empty;
|
||||||
|
|
||||||
|
|
||||||
|
public bool IsDynamicTranslate { get; set; }
|
||||||
|
|
||||||
}
|
}
|
||||||
|
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in New Issue