Test.EIImageViewer
he 2023-01-31 14:47:52 +08:00
parent da77c35b7c
commit ab5b0ba083
3 changed files with 13 additions and 6 deletions

View File

@ -9522,6 +9522,12 @@
<param name="visitTaskId"></param> <param name="visitTaskId"></param>
<returns></returns> <returns></returns>
</member> </member>
<member name="M:IRaCIS.Application.Services.ReadingImageTaskService.CreateTaskRelated(System.Guid)">
<summary>
签名时创建任务关联
</summary>
<returns></returns>
</member>
<member name="M:IRaCIS.Application.Services.ReadingImageTaskService.AddReadingTask(System.Guid,System.Nullable{System.Guid})"> <member name="M:IRaCIS.Application.Services.ReadingImageTaskService.AddReadingTask(System.Guid,System.Nullable{System.Guid})">
<summary> <summary>
阅片期 -全局和肿瘤学任务的生成 阅片期 -全局和肿瘤学任务的生成

View File

@ -1938,6 +1938,9 @@ namespace IRaCIS.Application.Services
await _visitTaskRepository.SaveChangesAsync(); await _visitTaskRepository.SaveChangesAsync();
// 创建任务关联关系
await this.CreateTaskRelated(visitTaskId);
// 触裁判任务 // 触裁判任务
await this.TriggerJudgeQuestion(visitTaskId); await this.TriggerJudgeQuestion(visitTaskId);
// 添加阅片期任务 // 添加阅片期任务
@ -1946,8 +1949,7 @@ namespace IRaCIS.Application.Services
// 完成阅片修改状态 // 完成阅片修改状态
//await this.FinishReadUpdateState(visitTaskId); //await this.FinishReadUpdateState(visitTaskId);
// 创建任务关联关系
await this.CreateTaskRelated(visitTaskId);
await _visitTaskRepository.SaveChangesAsync(); await _visitTaskRepository.SaveChangesAsync();

View File

@ -192,7 +192,7 @@ namespace IRaCIS.Core.Domain.Models
try try
{ {
return this.RelatedVisitTaskIds.Trim().Split(',').Select(x=>Guid.Parse(x)).ToList(); return JsonConvert.DeserializeObject<List<Guid>>(this.RelatedVisitTaskIds);
} }
catch (Exception) catch (Exception)
{ {
@ -222,8 +222,7 @@ namespace IRaCIS.Core.Domain.Models
try try
{ {
return JsonConvert.DeserializeObject<List<Guid>>(this.PastResultTaskIds);
return this.PastResultTaskIds.Trim().Split(',').Select(x => Guid.Parse(x)).ToList();
} }
catch (Exception) catch (Exception)
{ {