.
This commit is contained in:
parent
f30386d596
commit
a8926683df
@ -1125,7 +1125,7 @@ namespace YD_YiLu.Api.Services.Impl
|
|||||||
new YtpGradeListItem
|
new YtpGradeListItem
|
||||||
{
|
{
|
||||||
Time = GetYtpSummaryTime(dto.DateType),
|
Time = GetYtpSummaryTime(dto.DateType),
|
||||||
Duration = "0",
|
Duration = SecondsToWholeHours(0),
|
||||||
Count = "0"
|
Count = "0"
|
||||||
}
|
}
|
||||||
};
|
};
|
||||||
@ -1138,7 +1138,7 @@ namespace YD_YiLu.Api.Services.Impl
|
|||||||
.Select(day => new YtpGradeListItem
|
.Select(day => new YtpGradeListItem
|
||||||
{
|
{
|
||||||
Time = day.ToString("MM-dd"),
|
Time = day.ToString("MM-dd"),
|
||||||
Duration = "0",
|
Duration = SecondsToWholeHours(0),
|
||||||
Count = "0"
|
Count = "0"
|
||||||
})
|
})
|
||||||
.ToList();
|
.ToList();
|
||||||
@ -1158,7 +1158,7 @@ namespace YD_YiLu.Api.Services.Impl
|
|||||||
new YtpGradeListItem
|
new YtpGradeListItem
|
||||||
{
|
{
|
||||||
Time = GetYtpSummaryTime(dto.DateType),
|
Time = GetYtpSummaryTime(dto.DateType),
|
||||||
Duration = SecondsToHours(totalSeconds),
|
Duration = SecondsToWholeHours(totalSeconds),
|
||||||
Count = trains.Count.ToString()
|
Count = trains.Count.ToString()
|
||||||
}
|
}
|
||||||
};
|
};
|
||||||
@ -1176,7 +1176,7 @@ namespace YD_YiLu.Api.Services.Impl
|
|||||||
return new YtpGradeListItem
|
return new YtpGradeListItem
|
||||||
{
|
{
|
||||||
Time = day.ToString("MM-dd"),
|
Time = day.ToString("MM-dd"),
|
||||||
Duration = SecondsToHours(daySeconds),
|
Duration = SecondsToWholeHours(daySeconds),
|
||||||
Count = dayTrains.Count.ToString()
|
Count = dayTrains.Count.ToString()
|
||||||
};
|
};
|
||||||
})
|
})
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user