修改一版

Uat_Study
he 2022-07-25 11:24:43 +08:00
parent cf615e8ea1
commit c2f4f09449
3 changed files with 22 additions and 1 deletions

View File

@ -99,6 +99,11 @@ namespace IRaCIS.Core.Application.Service.Reading.Dto
public Guid VisitTaskId { get; set; }
/// <summary>
/// 无效的 为True无效
/// </summary>
public bool IsInvalid { get; set; }
}
public class FinishMedicalReviewInDto
@ -227,6 +232,13 @@ namespace IRaCIS.Core.Application.Service.Reading.Dto
/// </summary>
public bool? IsApplyHeavyReading { get; set; }
/// <summary>
/// 图片路径
/// </summary>
public string ImagePath { get; set; } = string.Empty;
}
public class SendMedicalReviewDialogInDto

View File

@ -671,7 +671,14 @@ namespace IRaCIS.Application.Services
JudgeResultImagePath = visitTask.JudgeResultImagePath,
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()
{
ArmEnum = x.ArmEnum,

View File

@ -437,6 +437,7 @@ namespace IRaCIS.Core.Application.Service
TaskMedicalReviewId = inDto.TaskMedicalReviewId,
UserTypeShortName = _userInfo.UserTypeShortName,
Content = inDto.Content,
ImagePath=inDto.ImagePath,
UserTypeEnumInt = _userInfo.UserTypeEnumInt,
VisitTaskId = visitTaskId,
DisagreeReason = inDto.DisagreeReason,
@ -585,6 +586,7 @@ namespace IRaCIS.Core.Application.Service
IsClosedDialog=x.IsClosedDialog,
IsHaveQuestion=x.IsHaveQuestion,
MedicalDialogCloseEnum=x.MedicalDialogCloseEnum,
IsInvalid=x.IsInvalid,
});