This commit is contained in:
tanglong 2026-07-17 15:45:26 +08:00
parent f30386d596
commit a8926683df

View File

@ -1125,7 +1125,7 @@ namespace YD_YiLu.Api.Services.Impl
new YtpGradeListItem
{
Time = GetYtpSummaryTime(dto.DateType),
Duration = "0",
Duration = SecondsToWholeHours(0),
Count = "0"
}
};
@ -1138,7 +1138,7 @@ namespace YD_YiLu.Api.Services.Impl
.Select(day => new YtpGradeListItem
{
Time = day.ToString("MM-dd"),
Duration = "0",
Duration = SecondsToWholeHours(0),
Count = "0"
})
.ToList();
@ -1158,7 +1158,7 @@ namespace YD_YiLu.Api.Services.Impl
new YtpGradeListItem
{
Time = GetYtpSummaryTime(dto.DateType),
Duration = SecondsToHours(totalSeconds),
Duration = SecondsToWholeHours(totalSeconds),
Count = trains.Count.ToString()
}
};
@ -1176,7 +1176,7 @@ namespace YD_YiLu.Api.Services.Impl
return new YtpGradeListItem
{
Time = day.ToString("MM-dd"),
Duration = SecondsToHours(daySeconds),
Duration = SecondsToWholeHours(daySeconds),
Count = dayTrains.Count.ToString()
};
})