From bf5d1b405c759de3faa42af37b1f10f42823b105 Mon Sep 17 00:00:00 2001 From: yujian <yujian@123.com> Date: 星期四, 20 六月 2019 17:07:03 +0800 Subject: [PATCH] Merge remote-tracking branch 'origin/master' --- fanli/src/main/java/com/yeshi/fanli/service/impl/taobao/TaoBaoShopServiceImpl.java | 6 +++--- 1 files changed, 3 insertions(+), 3 deletions(-) diff --git a/fanli/src/main/java/com/yeshi/fanli/service/impl/taobao/TaoBaoShopServiceImpl.java b/fanli/src/main/java/com/yeshi/fanli/service/impl/taobao/TaoBaoShopServiceImpl.java index b6d9cae..1cc4323 100644 --- a/fanli/src/main/java/com/yeshi/fanli/service/impl/taobao/TaoBaoShopServiceImpl.java +++ b/fanli/src/main/java/com/yeshi/fanli/service/impl/taobao/TaoBaoShopServiceImpl.java @@ -35,7 +35,7 @@ @Resource private TaoBaoShopMapper taoBaoShopMapper; - + @Resource private HongBaoManageService hongBaoManageService; @@ -81,7 +81,7 @@ } @Override - public void changeInfo(MultipartFile file, Long id, String shopName) { + public void changeInfo(MultipartFile file, Long id, String shopName, String key) { TaoBaoShop taoBaoShop = taoBaoShopMapper.selectByPrimaryKey(id); if (taoBaoShop == null) { return; @@ -113,6 +113,7 @@ updateShop.setId(id); updateShop.setShopNameCustom(shopName); + updateShop.setKey(key); taoBaoShopMapper.updateByPrimaryKeySelective(updateShop); } @@ -161,7 +162,6 @@ return shop; } - @Override @Cacheable(value = "brandCache", key = "'getShopByKey-'+#key") public List<TaoBaoShopVO> getShopByKey(String key) { -- Gitblit v1.8.0