From 1e92eff67b997263ecefa255c63eb6641c47b57f Mon Sep 17 00:00:00 2001 From: admin <weikou2014> Date: 星期五, 14 六月 2019 10:22:33 +0800 Subject: [PATCH] 设备消息BUG解决,品牌 --- 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