修改
This commit is contained in:
@@ -26,6 +26,8 @@ namespace IRaCIS.Core.Application.ViewModel
|
||||
{
|
||||
public Guid RowId { get; set; }
|
||||
|
||||
public decimal RowIndex { get; set; }
|
||||
|
||||
public decimal AllPPD { get; set; }
|
||||
}
|
||||
|
||||
|
||||
@@ -1034,6 +1034,7 @@ namespace IRaCIS.Core.Application.Service.ReadingCalculate
|
||||
result.Add(new GetSplitPPdOutDto()
|
||||
{
|
||||
RowId = answerList.Where(x => x.RowIndex == i).Select(x => x.RowId).FirstOrDefault(),
|
||||
RowIndex = i,
|
||||
AllPPD = answerList.Where(x => x.RowIndex > i && x.RowIndex < (i + 1)).Sum(x => x.Answer),
|
||||
});
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user