Compare commits
2 Commits
8626a6b453
...
8dc2301184
Author | SHA1 | Date |
---|---|---|
|
8dc2301184 | |
|
7e135367b2 |
|
@ -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()
|
||||
{
|
||||
|
|
Loading…
Reference in New Issue