作业筛选

This commit is contained in:
tanglong 2026-01-28 11:16:30 +08:00
parent 5bb8e83a03
commit d692d62d2c

View File

@ -141,7 +141,7 @@ namespace VOL.Business.Services.Norm
if (paramDto.EndTime.HasValue)
{
DateTime detectionDate = paramDto.EndTime.Value.Date;
query = query.Where(x => x.EndTime.HasValue && x.EndTime.Value.Date < detectionDate);
query = query.Where(x => x.EndTime.HasValue && x.EndTime.Value.Date <= detectionDate);
}
res.Total = await query.CountAsync();