/// <summary> /// 更新门店配送范围 /// </summary> /// <param name="shopBranch"></param> public static void UpdateShopDeliveryScope(DeliveryScope deliveryScope) { AutoMapper.Mapper.CreateMap <DeliveryScope, DeliveryScopeInfo>(); var shopDeliveryScopeInfo = AutoMapper.Mapper.Map <DeliveryScope, DeliveryScopeInfo>(deliveryScope); _shopBranchService.UpdateShopDeliveryScope(shopDeliveryScopeInfo); }