修改
continuous-integration/drone/push Build is passing
Details
continuous-integration/drone/push Build is passing
Details
parent
00c3ad8f9e
commit
f7cdb5b858
Binary file not shown.
|
@ -21,6 +21,8 @@ namespace IRaCIS.Core.Application.Service.Reading.Dto
|
||||||
/// </summary>
|
/// </summary>
|
||||||
public List<ExportVisitData> VisitList { get; set; }
|
public List<ExportVisitData> VisitList { get; set; }
|
||||||
|
|
||||||
|
public bool IsLastPage { get; set; } = false;
|
||||||
|
|
||||||
/// <summary>
|
/// <summary>
|
||||||
/// 受试者Code
|
/// 受试者Code
|
||||||
/// </summary>
|
/// </summary>
|
||||||
|
|
|
@ -198,10 +198,11 @@ namespace IRaCIS.Core.Application.Service.ReadingCalculate
|
||||||
|
|
||||||
|
|
||||||
List<ExportTumorEvaluationInfo> resultdata = new List<ExportTumorEvaluationInfo>();
|
List<ExportTumorEvaluationInfo> resultdata = new List<ExportTumorEvaluationInfo>();
|
||||||
|
|
||||||
List<string> times= new List<string>() { "One", "Two", "Three" };
|
List<string> times= new List<string>() { "One", "Two", "Three" };
|
||||||
List<string> columns=new List<string>() { "VisitName", "CheckDate","CheckInfoStr", "HaveNewLesion", "TargetResult", "NoTargetResult", "OverallResult", "DoctorSignTime" };
|
List<string> columns=new List<string>() { "VisitName", "CheckDate","CheckInfoStr", "HaveNewLesion", "TargetResult", "NoTargetResult", "OverallResult", "DoctorSignTime" };
|
||||||
for (int i = 0; i < (int)Math.Ceiling((double)exportVisitDatas.Count() / 3); i++)
|
|
||||||
|
var forCount = (int)Math.Ceiling((double)exportVisitDatas.Count() / 3);
|
||||||
|
for (int i = 0; i < forCount; i++)
|
||||||
{
|
{
|
||||||
ExportTumorEvaluationInfo export = new ExportTumorEvaluationInfo
|
ExportTumorEvaluationInfo export = new ExportTumorEvaluationInfo
|
||||||
{
|
{
|
||||||
|
@ -228,6 +229,10 @@ namespace IRaCIS.Core.Application.Service.ReadingCalculate
|
||||||
|
|
||||||
}
|
}
|
||||||
|
|
||||||
|
if (i >= forCount - 1)
|
||||||
|
{
|
||||||
|
export.IsLastPage = true;
|
||||||
|
}
|
||||||
resultdata.Add(export);
|
resultdata.Add(export);
|
||||||
}
|
}
|
||||||
|
|
||||||
|
@ -236,6 +241,7 @@ namespace IRaCIS.Core.Application.Service.ReadingCalculate
|
||||||
var value = new
|
var value = new
|
||||||
{
|
{
|
||||||
VisitTaskList = resultdata,
|
VisitTaskList = resultdata,
|
||||||
|
IsLastPage = false,
|
||||||
};
|
};
|
||||||
|
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue