Merge branch 'Test_IRC_Net8' of http://192.168.3.68:2000/XCKJ/irc-netcore-api into Test_IRC_Net8
continuous-integration/drone/push Build is running Details

IRC_NewDev
hang 2024-09-27 17:11:54 +08:00
commit cf24583974
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()
{