修改
continuous-integration/drone/push Build is passing
Details
continuous-integration/drone/push Build is passing
Details
parent
467c7f77f5
commit
c54fcf920c
|
@ -26,7 +26,7 @@ namespace IRaCIS.Core.Application.ViewModel
|
||||||
{
|
{
|
||||||
public Guid RowId { get; set; }
|
public Guid RowId { get; set; }
|
||||||
|
|
||||||
public decimal RowIndex { get; set; }
|
public string RowIndex { get; set; }
|
||||||
|
|
||||||
public decimal AllPPD { get; set; }
|
public decimal AllPPD { get; set; }
|
||||||
}
|
}
|
||||||
|
|
|
@ -1034,7 +1034,7 @@ namespace IRaCIS.Core.Application.Service.ReadingCalculate
|
||||||
result.Add(new GetSplitPPdOutDto()
|
result.Add(new GetSplitPPdOutDto()
|
||||||
{
|
{
|
||||||
RowId = answerList.Where(x => x.RowIndex == i).Select(x => x.RowId).FirstOrDefault(),
|
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),
|
AllPPD = answerList.Where(x => x.RowIndex > i && x.RowIndex < (i + 1)).Sum(x => x.Answer),
|
||||||
});
|
});
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in New Issue