时间
This commit is contained in:
parent
d692d62d2c
commit
5d270c8dab
@ -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.StartTime.HasValue && x.StartTime.Value.Date <= detectionDate);
|
||||
}
|
||||
|
||||
res.Total = await query.CountAsync();
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user