/// <summary> /// 修改店铺银行帐户 /// </summary> /// <param name="bankAccount"></param> public static void UpdateBankAccount(Himall.DTO.BankAccount bankAccount) { Himall.Model.ShopInfo shopInfo = _iShopService.GetShop(bankAccount.ShopId); shopInfo.BankAccountName = bankAccount.BankAccountName; shopInfo.BankAccountNumber = bankAccount.BankAccountNumber; shopInfo.BankCode = bankAccount.BankCode; shopInfo.BankName = bankAccount.BankName; shopInfo.BankRegionId = bankAccount.BankRegionId; _iShopService.UpdateShop(shopInfo); }
/// <summary> /// 修改店铺银行帐户 /// </summary> /// <param name="bankAccount"></param> public static void UpdateBankAccount(Himall.DTO.BankAccount bankAccount) { Himall.Model.ShopInfo shopInfo = _iShopService.GetShop(bankAccount.ShopId); shopInfo.BankAccountName = bankAccount.BankAccountName; shopInfo.BankAccountNumber = bankAccount.BankAccountNumber; shopInfo.BankCode = bankAccount.BankCode; shopInfo.BankName = bankAccount.BankName; shopInfo.BankRegionId = bankAccount.BankRegionId; _iShopService.UpdateShop(shopInfo); Cache.Remove(CacheKeyCollection.CACHE_SHOPDTO(bankAccount.ShopId, false)); Cache.Remove(CacheKeyCollection.CACHE_SHOPDTO(bankAccount.ShopId, true)); }