/// <summary> /// 查询门店配送范围 /// </summary> /// <param name="query"></param> /// <returns></returns> public static QueryPageModel <DeliveryScope> GetShopDeliveryScope(ShopDeliveryScopeQuery query) { var shopDeliveryScopeInfos = _shopBranchService.GetShopDeliveryScope(query); QueryPageModel <DeliveryScope> shopBranchs = new QueryPageModel <DeliveryScope> { Models = shopDeliveryScopeInfos.Models.Select(e => new DeliveryScope { FullRegionPath = e.FullRegionPath, Id = e.Id, RegionId = e.RegionId, RegionName = e.RegionName, ShopBranchId = e.ShopBranchId }).ToList(), Total = shopDeliveryScopeInfos.Total }; return(shopBranchs); }