多图片
parent
253b982a80
commit
458e3bc74b
|
@ -1062,8 +1062,9 @@ namespace IRaCIS.Core.Application.Service.Reading.Dto
|
|||
/// </summary>
|
||||
public string JudgeResultRemark { get; set; }
|
||||
|
||||
public List<string> JudgeResultImagePathList { get; set; } = new List<string>();
|
||||
|
||||
public string JudgeResultImagePath { get; set; } = string.Empty;
|
||||
//public string JudgeResultImagePath { get; set; } = string.Empty;
|
||||
}
|
||||
|
||||
public class GetReadingPastResultListOutDto
|
||||
|
@ -1096,7 +1097,9 @@ namespace IRaCIS.Core.Application.Service.Reading.Dto
|
|||
|
||||
public string JudgeResultRemark { get; set; } = string.Empty;
|
||||
|
||||
public string JudgeResultImagePath { get; set; } = string.Empty;
|
||||
//public string JudgeResultImagePath { get; set; } = string.Empty;
|
||||
|
||||
public List<string> JudgeResultImagePathList { get; set; } = new List<string>();
|
||||
}
|
||||
|
||||
public class GetReadingSubjectInfoOutDto
|
||||
|
|
|
@ -91,7 +91,7 @@ namespace IRaCIS.Application.Services
|
|||
ReadingTaskState = visitTask.ReadingTaskState,
|
||||
JudgeResultTaskId = visitTask.JudgeResultTaskId,
|
||||
JudgeResultRemark = visitTask.JudgeResultRemark,
|
||||
JudgeResultImagePath = visitTask.JudgeResultImagePath,
|
||||
JudgeResultImagePathList = visitTask.JudgeResultImagePathList,
|
||||
VisitInfoList = new List<JudgeReadingInfoDto>()
|
||||
};
|
||||
|
||||
|
@ -267,7 +267,7 @@ namespace IRaCIS.Application.Services
|
|||
{
|
||||
JudgeResultTaskId = inDto.JudgeResultTaskId,
|
||||
JudgeResultRemark = inDto.JudgeResultRemark,
|
||||
JudgeResultImagePath = inDto.JudgeResultImagePath,
|
||||
JudgeResultImagePath = string.Join(',',inDto.JudgeResultImagePathList),
|
||||
|
||||
});
|
||||
var result = await _visitTaskRepository.SaveChangesAsync();
|
||||
|
@ -291,7 +291,7 @@ namespace IRaCIS.Application.Services
|
|||
ReadingTaskState = ReadingTaskState.HaveSigned,
|
||||
JudgeResultRemark = inDto.JudgeResultRemark,
|
||||
SignTime = DateTime.Now,
|
||||
JudgeResultImagePath = inDto.JudgeResultImagePath,
|
||||
JudgeResultImagePath = string.Join(',', inDto.JudgeResultImagePathList),
|
||||
});
|
||||
await _visitTaskRepository.SaveChangesAsync();
|
||||
// 需要判断是否添加肿瘤学任务
|
||||
|
|
|
@ -8,6 +8,7 @@ using IRaCIS.Core.Domain.Share;
|
|||
using System.ComponentModel.DataAnnotations;
|
||||
using System.ComponentModel.DataAnnotations.Schema;
|
||||
using System.Collections.Generic;
|
||||
using System.Linq;
|
||||
|
||||
namespace IRaCIS.Core.Domain.Models
|
||||
{
|
||||
|
@ -17,7 +18,7 @@ namespace IRaCIS.Core.Domain.Models
|
|||
[Table("VisitTask")]
|
||||
public class VisitTask : Entity, IAuditUpdate, IAuditAdd
|
||||
{
|
||||
|
||||
|
||||
public string TaskName { get; set; } = string.Empty;
|
||||
public string TaskBlindName { get; set; } = string.Empty;
|
||||
|
||||
|
@ -32,7 +33,7 @@ namespace IRaCIS.Core.Domain.Models
|
|||
/// </summary>
|
||||
public ReadingCategory ReadingCategory { get; set; }
|
||||
|
||||
|
||||
|
||||
|
||||
public Guid CreateUserId { get; set; }
|
||||
public DateTime CreateTime { get; set; }
|
||||
|
@ -238,6 +239,28 @@ namespace IRaCIS.Core.Domain.Models
|
|||
//对于全局任务而言 才可以用的 关联的访视阅片结果
|
||||
public List<ReadingGlobalTaskInfo> GlobalVisitResultList { get; set; } = new List<ReadingGlobalTaskInfo>();
|
||||
|
||||
}
|
||||
|
||||
/// <summary>
|
||||
/// 裁判结果图片地址
|
||||
/// </summary>
|
||||
[JsonIgnore]
|
||||
public List<string> JudgeResultImagePathList
|
||||
{
|
||||
get
|
||||
{
|
||||
|
||||
try
|
||||
{
|
||||
return this.JudgeResultImagePath.Split(',').ToList();
|
||||
}
|
||||
catch (Exception)
|
||||
{
|
||||
|
||||
return new List<string>();
|
||||
}
|
||||
|
||||
}
|
||||
}
|
||||
|
||||
}
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue