Compare commits

...

2 Commits

Author SHA1 Message Date
he 8dc2301184 Merge branch 'Test_IRC_Net8' of https://gitea.frp.extimaging.com/XCKJ/irc-netcore-api into Test_IRC_Net8
continuous-integration/drone/push Build is running Details
2024-09-27 17:11:08 +08:00
he 7e135367b2 修改 2024-09-27 17:11:07 +08:00
1 changed files with 6 additions and 0 deletions

View File

@ -2895,6 +2895,12 @@ namespace IRaCIS.Core.Application.Service
{
skipcount = random.Next(0, count - 1);
}
var maxReadingTime = query.MaxOrDefault(x => x.FirstReadingTime);
if (maxReadingTime != null)
{
query = query.Where(x => x.FirstReadingTime == maxReadingTime);
}
task = await query
.Select(x => new GetReadingTaskDto()
{