修改一版
parent
cf615e8ea1
commit
c2f4f09449
|
@ -99,6 +99,11 @@ namespace IRaCIS.Core.Application.Service.Reading.Dto
|
||||||
|
|
||||||
public Guid VisitTaskId { get; set; }
|
public Guid VisitTaskId { get; set; }
|
||||||
|
|
||||||
|
/// <summary>
|
||||||
|
/// 无效的 为True无效
|
||||||
|
/// </summary>
|
||||||
|
public bool IsInvalid { get; set; }
|
||||||
|
|
||||||
}
|
}
|
||||||
|
|
||||||
public class FinishMedicalReviewInDto
|
public class FinishMedicalReviewInDto
|
||||||
|
@ -227,6 +232,13 @@ namespace IRaCIS.Core.Application.Service.Reading.Dto
|
||||||
/// </summary>
|
/// </summary>
|
||||||
public bool? IsApplyHeavyReading { get; set; }
|
public bool? IsApplyHeavyReading { get; set; }
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
/// <summary>
|
||||||
|
/// 图片路径
|
||||||
|
/// </summary>
|
||||||
|
public string ImagePath { get; set; } = string.Empty;
|
||||||
|
|
||||||
}
|
}
|
||||||
|
|
||||||
public class SendMedicalReviewDialogInDto
|
public class SendMedicalReviewDialogInDto
|
||||||
|
|
|
@ -671,7 +671,14 @@ namespace IRaCIS.Application.Services
|
||||||
JudgeResultImagePath = visitTask.JudgeResultImagePath,
|
JudgeResultImagePath = visitTask.JudgeResultImagePath,
|
||||||
VisitInfoList = new List<JudgeReadingInfoDto>()
|
VisitInfoList = new List<JudgeReadingInfoDto>()
|
||||||
};
|
};
|
||||||
var taskList = await _visitTaskRepository.Where(x => x.JudgeVisitTaskId == inDto.VisitTaskId).OrderBy(x=>x.ArmEnum).ToListAsync();
|
|
||||||
|
var judgeDataInfo = await _readingJudgeInfoRepository.Where(x => x.JudgeTaskId == inDto.VisitTaskId).FirstNotNullAsync();
|
||||||
|
|
||||||
|
var taskids = new List<Guid>();
|
||||||
|
|
||||||
|
taskids.Add(judgeDataInfo.TaskIdOne);
|
||||||
|
taskids.Add(judgeDataInfo.TaskIdTwo);
|
||||||
|
var taskList = await _visitTaskRepository.Where(x => taskids.Contains(x.Id)).OrderBy(x=>x.ArmEnum).ToListAsync();
|
||||||
judgeInfo.VisitTaskArmList = taskList.Select(x => new VisitTaskArm()
|
judgeInfo.VisitTaskArmList = taskList.Select(x => new VisitTaskArm()
|
||||||
{
|
{
|
||||||
ArmEnum = x.ArmEnum,
|
ArmEnum = x.ArmEnum,
|
||||||
|
|
|
@ -437,6 +437,7 @@ namespace IRaCIS.Core.Application.Service
|
||||||
TaskMedicalReviewId = inDto.TaskMedicalReviewId,
|
TaskMedicalReviewId = inDto.TaskMedicalReviewId,
|
||||||
UserTypeShortName = _userInfo.UserTypeShortName,
|
UserTypeShortName = _userInfo.UserTypeShortName,
|
||||||
Content = inDto.Content,
|
Content = inDto.Content,
|
||||||
|
ImagePath=inDto.ImagePath,
|
||||||
UserTypeEnumInt = _userInfo.UserTypeEnumInt,
|
UserTypeEnumInt = _userInfo.UserTypeEnumInt,
|
||||||
VisitTaskId = visitTaskId,
|
VisitTaskId = visitTaskId,
|
||||||
DisagreeReason = inDto.DisagreeReason,
|
DisagreeReason = inDto.DisagreeReason,
|
||||||
|
@ -585,6 +586,7 @@ namespace IRaCIS.Core.Application.Service
|
||||||
IsClosedDialog=x.IsClosedDialog,
|
IsClosedDialog=x.IsClosedDialog,
|
||||||
IsHaveQuestion=x.IsHaveQuestion,
|
IsHaveQuestion=x.IsHaveQuestion,
|
||||||
MedicalDialogCloseEnum=x.MedicalDialogCloseEnum,
|
MedicalDialogCloseEnum=x.MedicalDialogCloseEnum,
|
||||||
|
IsInvalid=x.IsInvalid,
|
||||||
|
|
||||||
});
|
});
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue