|
@@ -1003,7 +1003,7 @@ public class OrderApplication : IOrderApplication, IScopeDependency
|
|
AreaCode = pp.Id,
|
|
AreaCode = pp.Id,
|
|
AreaName = pp.AreaName,
|
|
AreaName = pp.AreaName,
|
|
Count = SqlFunc.AggregateSum(dd.Count)
|
|
Count = SqlFunc.AggregateSum(dd.Count)
|
|
- }).ToPivotListAsync(q=> q.AreaCode, q=> new { q.HotspotName,q.HotspotId},q=> q.Sum(x=>x.Count));
|
|
|
|
|
|
+ }).Where(q=>q.HotspotName!="").ToPivotListAsync(q=> q.AreaCode, q=> new { q.HotspotName,q.HotspotId},q=> q.Sum(x=>x.Count));
|
|
|
|
|
|
var areaTitleList = await _systemAreaRepository.Queryable().Where(x => SqlFunc.Length(x.Id) == 6 && x.Id != "510000").OrderBy(x => x.Id).ToListAsync();
|
|
var areaTitleList = await _systemAreaRepository.Queryable().Where(x => SqlFunc.Length(x.Id) == 6 && x.Id != "510000").OrderBy(x => x.Id).ToListAsync();
|
|
return (areaTitleList, returnList);
|
|
return (areaTitleList, returnList);
|
|
@@ -1071,7 +1071,7 @@ public class OrderApplication : IOrderApplication, IScopeDependency
|
|
AreaCode = pp.Id,
|
|
AreaCode = pp.Id,
|
|
AreaName = pp.AreaName,
|
|
AreaName = pp.AreaName,
|
|
Count = SqlFunc.AggregateSum(dd.Count)
|
|
Count = SqlFunc.AggregateSum(dd.Count)
|
|
- }).ToPivotTableAsync(q => q.AreaName, q => new { q.HotspotName }, q => q.Sum(x => x.Count));
|
|
|
|
|
|
+ }).Where(q => q.HotspotName != "").ToPivotTableAsync(q => q.AreaName, q => new { q.HotspotName }, q => q.Sum(x => x.Count));
|
|
return returnList;
|
|
return returnList;
|
|
}
|
|
}
|
|
|
|
|