fix
This commit is contained in:
parent
219abbc680
commit
ee92a2b66f
@ -49,9 +49,7 @@ internal class TableReport
|
||||
private List<string[]> GetData(int caseId, DateTime startDate, DateTime endDate)
|
||||
{
|
||||
var statusData = _statusHistoryRepository
|
||||
.ReadStatusHistories()
|
||||
// .ReadStatusHistories(startDate, endDate, caseId)
|
||||
.Where(x => x.CreatedAt >= startDate && x.CreatedAt <= endDate && x.CaseId == caseId)
|
||||
.ReadStatusHistories(startDate, endDate, caseId)
|
||||
.GroupBy(x => (x.Status, x.CreatedAt.Date))
|
||||
.Select(x => new
|
||||
{
|
||||
|
Loading…
Reference in New Issue
Block a user