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)
|
private List<string[]> GetData(int caseId, DateTime startDate, DateTime endDate)
|
||||||
{
|
{
|
||||||
var statusData = _statusHistoryRepository
|
var statusData = _statusHistoryRepository
|
||||||
.ReadStatusHistories()
|
.ReadStatusHistories(startDate, endDate, caseId)
|
||||||
// .ReadStatusHistories(startDate, endDate, caseId)
|
|
||||||
.Where(x => x.CreatedAt >= startDate && x.CreatedAt <= endDate && x.CaseId == caseId)
|
|
||||||
.GroupBy(x => (x.Status, x.CreatedAt.Date))
|
.GroupBy(x => (x.Status, x.CreatedAt.Date))
|
||||||
.Select(x => new
|
.Select(x => new
|
||||||
{
|
{
|
||||||
|
Loading…
Reference in New Issue
Block a user