/// <summary> /// 根据ShopID获取该诊所的财务总览信息 /// </summary> /// <param name="shopId">诊所ID</param> /// <returns></returns> public static ShopAccount GetShopAccount(long shopId) { if (shopId == 0) { throw new Core.HimallException("错误的诊所ID"); } var model = _iBillingService.GetShopAccount(shopId); var shopAccount = Mapper.Map <ShopAccountInfo, ShopAccount>(model); return(shopAccount); }