|
@@ -472,7 +472,7 @@ namespace Hotline.Api.Controllers
|
|
|
.WhereIF(dto.StartTime.HasValue, p => p.SchedulingTime >= dto.StartTime)
|
|
|
.WhereIF(dto.EndTime.HasValue, p => p.SchedulingTime <= dto.EndTime)
|
|
|
.WhereIF(!string.IsNullOrEmpty(dto.Keyword), p => p.SchedulingUserName == dto.Keyword)
|
|
|
- .GroupBy(p => p.SchedulingTime.Value.ToString("yyyy-MM"))
|
|
|
+ .GroupBy(p => new { Date=p.SchedulingTime.Value.ToString("yyyy-MM"), p.SchedulingUserName })
|
|
|
.Select(p => new SchedulingStatisticsDto
|
|
|
{
|
|
|
Date = p.SchedulingTime.Value.ToString("yyyy-MM"),
|