|
@@ -89,8 +89,8 @@ WHERE |
|
|
var data = db.SqlQueryable<OrderLineDto>(sql).ToList(); |
|
|
var data = db.SqlQueryable<OrderLineDto>(sql).ToList(); |
|
|
|
|
|
|
|
|
List<object> res = new List<object>(); |
|
|
List<object> res = new List<object>(); |
|
|
|
|
|
|
|
|
for (int index = 10; index >= 0; index--) |
|
|
|
|
|
|
|
|
int indexcount = input.Count.HasValue ? input.Count.Value : 10; |
|
|
|
|
|
for (int index = indexcount; index >= 0; index--) |
|
|
{ |
|
|
{ |
|
|
var temp = DateTime.Now.AddDays(-index); |
|
|
var temp = DateTime.Now.AddDays(-index); |
|
|
var end = DateTime.Parse(temp.ToString("yyyy-MM-dd 23:59:59")); |
|
|
var end = DateTime.Parse(temp.ToString("yyyy-MM-dd 23:59:59")); |
|
|