Browse Source

123

master
fyf 2 years ago
parent
commit
4c0fb9f03a
1 changed files with 2 additions and 3 deletions
  1. +2
    -3
      DataVApi.Order/OrderProvider.cs

+ 2
- 3
DataVApi.Order/OrderProvider.cs View File

@@ -90,7 +90,6 @@ WHERE

List<object> res = new List<object>();


for (int index = 0; index < 10; index++)
{
var temp = DateTime.Now.AddDays(-index);
@@ -107,7 +106,7 @@ WHERE
});
}

return res;
return new { data= res };
}
/// <summary>
/// 区域销售
@@ -160,7 +159,7 @@ WHERE

return new
{
Data = loc.GroupBy(t => t.City).Select(t => new LocSaleDto
data = loc.GroupBy(t => t.City).Select(t => new LocSaleDto
{
City = string.IsNullOrEmpty(t.Key)?"未知": t.Key,
Count = t.Sum(t => t.Count)


Loading…
Cancel
Save