Merge branch 'master' of http://192.168.1.2:8033/IRaCIS_Core_Api
commit
eac6fe52a6
|
@ -6,6 +6,10 @@
|
||||||
<UserSecretsId>354572d4-9e15-4099-807c-63a2d29ff9f2</UserSecretsId>
|
<UserSecretsId>354572d4-9e15-4099-807c-63a2d29ff9f2</UserSecretsId>
|
||||||
<LangVersion>default</LangVersion>
|
<LangVersion>default</LangVersion>
|
||||||
<DockerDefaultTargetOS>Linux</DockerDefaultTargetOS>
|
<DockerDefaultTargetOS>Linux</DockerDefaultTargetOS>
|
||||||
|
<Version>1.0.1.001</Version>
|
||||||
|
<Company>上海展影医疗科技有限公司</Company>
|
||||||
|
<Product>IRC影像系统 (EICS)</Product>
|
||||||
|
<Copyright>上海展影医疗科技有限公司版权所有</Copyright>
|
||||||
</PropertyGroup>
|
</PropertyGroup>
|
||||||
|
|
||||||
<PropertyGroup Condition="'$(Configuration)|$(Platform)'=='Debug|AnyCPU'">
|
<PropertyGroup Condition="'$(Configuration)|$(Platform)'=='Debug|AnyCPU'">
|
||||||
|
|
|
@ -1365,11 +1365,11 @@ namespace IRaCIS.Core.Application.Service.Allocation
|
||||||
|
|
||||||
|
|
||||||
Expression<Func<VisitTask, bool>> filterExpression = t => t.TrialId == task.TrialId && t.SubjectId == task.SubjectId && t.TaskState == TaskState.Effect && t.TrialReadingCriterionId == task.TrialReadingCriterionId
|
Expression<Func<VisitTask, bool>> filterExpression = t => t.TrialId == task.TrialId && t.SubjectId == task.SubjectId && t.TaskState == TaskState.Effect && t.TrialReadingCriterionId == task.TrialReadingCriterionId
|
||||||
&& t.ReadingTaskState == ReadingTaskState.HaveSigned && t.DoctorUserId == task.DoctorUserId && t.IsAnalysisCreate == false && t.VisitTaskNum > task.VisitTaskNum;
|
&& t.DoctorUserId == task.DoctorUserId && t.IsAnalysisCreate == false && t.VisitTaskNum > task.VisitTaskNum;
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
if (task.ReadingCategory == ReadingCategory.Judge && await _visitTaskRepository.AnyAsync(filterExpression.And(t => t.ReadingCategory == ReadingCategory.Global)))
|
if (task.ReadingCategory == ReadingCategory.Global && await _visitTaskRepository.AnyAsync(filterExpression.And(t => t.ReadingCategory == ReadingCategory.Global)))
|
||||||
{
|
{
|
||||||
//---有序阅片,只允许申请该受试者阅片人最后一次完成全局任务重阅
|
//---有序阅片,只允许申请该受试者阅片人最后一次完成全局任务重阅
|
||||||
throw new BusinessValidationFailedException(_localizer["VisitTask_LastReading"]);
|
throw new BusinessValidationFailedException(_localizer["VisitTask_LastReading"]);
|
||||||
|
@ -1568,8 +1568,6 @@ namespace IRaCIS.Core.Application.Service.Allocation
|
||||||
// {
|
// {
|
||||||
// ReReadingApplyState = ReReadingApplyState.Agree
|
// ReReadingApplyState = ReReadingApplyState.Agree
|
||||||
// });
|
// });
|
||||||
|
|
||||||
|
|
||||||
#endregion
|
#endregion
|
||||||
|
|
||||||
// 不管有序 无序 都会 回退访视
|
// 不管有序 无序 都会 回退访视
|
||||||
|
@ -1896,8 +1894,8 @@ namespace IRaCIS.Core.Application.Service.Allocation
|
||||||
trakingOrigenalTask?.TaskInfluenceList.Add(new TaskInfluence() { InfluenceTaskId = influenceTask.Id, OptType = ReReadingOrBackOptType.Abandon });
|
trakingOrigenalTask?.TaskInfluenceList.Add(new TaskInfluence() { InfluenceTaskId = influenceTask.Id, OptType = ReReadingOrBackOptType.Abandon });
|
||||||
}
|
}
|
||||||
|
|
||||||
// 影响的任务 仅仅访视类别的才生成
|
// 影响的任务 仅仅访视类别的才生成 或者就是IR 申请的任务
|
||||||
if (influenceTask.ReadingCategory == ReadingCategory.Visit)
|
if (influenceTask.ReadingCategory == ReadingCategory.Visit || influenceTask.Id == origenalTask.Id)
|
||||||
{
|
{
|
||||||
|
|
||||||
|
|
||||||
|
@ -2060,7 +2058,7 @@ namespace IRaCIS.Core.Application.Service.Allocation
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
||||||
if (influenceTask.ReadingCategory == ReadingCategory.Visit)
|
if (influenceTask.ReadingCategory == ReadingCategory.Visit || influenceTask.Id == origenalTask.Id)
|
||||||
{
|
{
|
||||||
await _visitTaskCommonService.AddTaskAsync(new GenerateTaskCommand()
|
await _visitTaskCommonService.AddTaskAsync(new GenerateTaskCommand()
|
||||||
{
|
{
|
||||||
|
|
Loading…
Reference in New Issue