修改
continuous-integration/drone/push Build is passing Details

IRC_NewDev
he 2024-02-01 09:59:07 +08:00
parent 467c7f77f5
commit c54fcf920c
2 changed files with 2 additions and 2 deletions

View File

@ -26,7 +26,7 @@ namespace IRaCIS.Core.Application.ViewModel
{
public Guid RowId { get; set; }
public decimal RowIndex { get; set; }
public string RowIndex { get; set; }
public decimal AllPPD { get; set; }
}

View File

@ -1034,7 +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,
RowIndex = answerList.Where(x => x.RowIndex == i).Select(x => x.RowIndex).FirstOrDefault().ToString(),
AllPPD = answerList.Where(x => x.RowIndex > i && x.RowIndex < (i + 1)).Sum(x => x.Answer),
});
}