|
|
@@ -153,7 +153,7 @@ WHERE |
|
|
|
doc.LoadXml(Temps[i]); |
|
|
|
loc.Add(new LocSaleDto |
|
|
|
{ |
|
|
|
Count = data[i].Counts, |
|
|
|
Count = data[i].Count, |
|
|
|
City = doc.SelectSingleNode("//province")?.InnerText + doc.SelectSingleNode("//city")?.InnerText |
|
|
|
}); |
|
|
|
} |
|
|
@@ -162,7 +162,7 @@ WHERE |
|
|
|
{ |
|
|
|
Data = loc.GroupBy(t => t.City).Select(t => new LocSaleDto |
|
|
|
{ |
|
|
|
City = t.Key, |
|
|
|
City = string.IsNullOrEmpty(t.Key)?"未知": t.Key, |
|
|
|
Count = t.Sum(t => t.Count) |
|
|
|
}) |
|
|
|
}; |
|
|
|