导出模版只导出靶段
continuous-integration/drone/push Build is passing Details

Uat_IRC_Net10
he 2026-08-05 14:04:18 +08:00
parent 59b053faa9
commit 9042017a90
3 changed files with 16 additions and 16 deletions

View File

@ -254,32 +254,32 @@ namespace IRaCIS.Core.Application.Service.Reading.Dto
/// <summary> /// <summary>
/// 靶段 /// 靶段
/// </summary> /// </summary>
public string TargetSegment { get; set; } public string TargetSegment { get; set; } = string.Empty;
/// <summary> /// <summary>
/// 靶段备注 /// 靶段备注
/// </summary> /// </summary>
public string TargetSegmentRemarks { get; set; } public string TargetSegmentRemarks { get; set; } = string.Empty;
/// <summary> /// <summary>
/// ROI段落总长度 /// ROI段落总长度
/// </summary> /// </summary>
public string ROIAllLength { get; set; } public string ROIAllLength { get; set; } = string.Empty;
/// <summary> /// <summary>
/// 回撤中的图像帧数 /// 回撤中的图像帧数
/// </summary> /// </summary>
public string PullbackFrameCount { get; set; } public string PullbackFrameCount { get; set; } = string.Empty;
/// <summary> /// <summary>
/// 斑块类型 /// 斑块类型
/// </summary> /// </summary>
public string PlaqueType { get; set; } public string PlaqueType { get; set; } = string.Empty;
/// <summary> /// <summary>
/// 访视点备注(如有) /// 访视点备注(如有)
/// </summary> /// </summary>
public string AdjustReason { get; set; } public string AdjustReason { get; set; } = string.Empty;
} }

View File

@ -475,11 +475,11 @@ namespace IRaCIS.Core.Application.Service.ReadingCalculate
SubjectID = (taskinfo.BlindSubjectCode.IsNullOrEmpty() ? taskinfo.Subject.Code : taskinfo.BlindSubjectCode), SubjectID = (taskinfo.BlindSubjectCode.IsNullOrEmpty() ? taskinfo.Subject.Code : taskinfo.BlindSubjectCode),
TaskBlindName = taskinfo.TaskBlindName, TaskBlindName = taskinfo.TaskBlindName,
TargetSegment= targetSegmentAnswer, TargetSegment= targetSegmentAnswer,
TargetSegmentRemarks = awswerList.Where(x=>x.ReadingQuestionTrial.QuestionType == QuestionType.TargetSegmentRemarks).Select(x=>x.Answer).FirstOrDefault()??string.Empty, //TargetSegmentRemarks = awswerList.Where(x=>x.ReadingQuestionTrial.QuestionType == QuestionType.TargetSegmentRemarks).Select(x=>x.Answer).FirstOrDefault()??string.Empty,
ROIAllLength = awswerList.Where(x => x.ReadingQuestionTrial.QuestionType == QuestionType.ROIAllLength).Select(x => x.Answer).FirstOrDefault() ?? string.Empty, //ROIAllLength = awswerList.Where(x => x.ReadingQuestionTrial.QuestionType == QuestionType.ROIAllLength).Select(x => x.Answer).FirstOrDefault() ?? string.Empty,
PullbackFrameCount = awswerList.Where(x => x.ReadingQuestionTrial.QuestionType == QuestionType.PullbackFrameCount).Select(x => x.Answer).FirstOrDefault() ?? string.Empty, //PullbackFrameCount = awswerList.Where(x => x.ReadingQuestionTrial.QuestionType == QuestionType.PullbackFrameCount).Select(x => x.Answer).FirstOrDefault() ?? string.Empty,
AdjustReason = awswerList.Where(x => x.ReadingQuestionTrial.QuestionType == QuestionType.AdjustReason).Select(x => x.Answer).FirstOrDefault() ?? string.Empty, //AdjustReason = awswerList.Where(x => x.ReadingQuestionTrial.QuestionType == QuestionType.AdjustReason).Select(x => x.Answer).FirstOrDefault() ?? string.Empty,
PlaqueType = plaqueTypeAnswer, //PlaqueType = plaqueTypeAnswer,

View File

@ -328,11 +328,11 @@ namespace IRaCIS.Core.Application.Service.ReadingCalculate
SubjectID = (taskinfo.BlindSubjectCode.IsNullOrEmpty() ? taskinfo.Subject.Code : taskinfo.BlindSubjectCode), SubjectID = (taskinfo.BlindSubjectCode.IsNullOrEmpty() ? taskinfo.Subject.Code : taskinfo.BlindSubjectCode),
TaskBlindName = taskinfo.TaskBlindName, TaskBlindName = taskinfo.TaskBlindName,
TargetSegment = targetSegmentAnswer, TargetSegment = targetSegmentAnswer,
TargetSegmentRemarks = awswerList.Where(x => x.ReadingQuestionTrial.QuestionType == QuestionType.TargetSegmentRemarks).Select(x => x.Answer).FirstOrDefault() ?? string.Empty, //TargetSegmentRemarks = awswerList.Where(x => x.ReadingQuestionTrial.QuestionType == QuestionType.TargetSegmentRemarks).Select(x => x.Answer).FirstOrDefault() ?? string.Empty,
ROIAllLength = awswerList.Where(x => x.ReadingQuestionTrial.QuestionType == QuestionType.ROIAllLength).Select(x => x.Answer).FirstOrDefault() ?? string.Empty, //ROIAllLength = awswerList.Where(x => x.ReadingQuestionTrial.QuestionType == QuestionType.ROIAllLength).Select(x => x.Answer).FirstOrDefault() ?? string.Empty,
//PullbackFrameCount = awswerList.Where(x => x.ReadingQuestionTrial.QuestionType == QuestionType.PullbackFrameCount).Select(x => x.Answer).FirstOrDefault() ?? string.Empty, ////PullbackFrameCount = awswerList.Where(x => x.ReadingQuestionTrial.QuestionType == QuestionType.PullbackFrameCount).Select(x => x.Answer).FirstOrDefault() ?? string.Empty,
PlaqueType = plaqueTypeAnswer, //PlaqueType = plaqueTypeAnswer,
AdjustReason = awswerList.Where(x => x.ReadingQuestionTrial.QuestionType == QuestionType.AdjustReason).Select(x => x.Answer).FirstOrDefault() ?? string.Empty, //AdjustReason = awswerList.Where(x => x.ReadingQuestionTrial.QuestionType == QuestionType.AdjustReason).Select(x => x.Answer).FirstOrDefault() ?? string.Empty,