模板代码修改

Test_HIR_Net8
he 2025-08-29 14:06:03 +08:00
parent 68fa7ce02e
commit 07d4df81f6
4 changed files with 23 additions and 0 deletions

View File

@ -181,6 +181,8 @@ namespace IRaCIS.Core.Application.Service.Reading.Dto
public string OneDoctorSignTime { get; set; } = string.Empty;
public string OneDoctorSign { get; set; } = string.Empty;
public string TwoVisitName { get; set; } = string.Empty;
public string TwoCheckDate { get; set; } = string.Empty;
@ -200,6 +202,8 @@ namespace IRaCIS.Core.Application.Service.Reading.Dto
public string TwoDoctorSignTime { get; set; } = string.Empty;
public string TwoDoctorSign { get; set; } = string.Empty;
public string ThreeVisitName { get; set; } = string.Empty;
public string ThreeCheckDate { get; set; } = string.Empty;
@ -217,6 +221,8 @@ namespace IRaCIS.Core.Application.Service.Reading.Dto
public string ThreeOverallResult { get; set; } = string.Empty;
public string ThreeDoctorSignTime { get; set; } = string.Empty;
public string ThreeDoctorSign { get; set; } = string.Empty;
}
public class ExportVisitData

View File

@ -233,11 +233,28 @@ namespace IRaCIS.Core.Application.Service.ReadingCalculate
if (i >= forCount - 1)
{
export.IsLastPage = true;
// 之后最后一个任务需要签名
var thisVisitListNum = export.VisitList.Count();
switch (thisVisitListNum)
{
case 1:
export.Lesion.OneDoctorSign = "签字:";
break;
case 2:
export.Lesion.TwoDoctorSign = "签字:";
break;
case 3:
export.Lesion.ThreeDoctorSign = "签字:";
break;
}
}
resultdata.Add(export);
}
var value = new
{