yujian
2019-05-23 a06001d130f3b088a1afbd7d7dc8616d209a9fd5
fanli/src/main/java/com/yeshi/fanli/service/impl/brand/BrandClassShopServiceImpl.java
@@ -257,9 +257,14 @@
   @Cacheable(value = "brandCache", key = "'listEffectiveCache-'+#page+'-'+#cid")
   public JSONObject listEffectiveCache(int page, Long cid) {
      long countShop = 0;
      if (cid != null && cid <= 0) {
         cid = null;
      }
      List<TaoBaoShop> listShop = new ArrayList<TaoBaoShop>();
      // 第一页 查询全部分类下店铺
      if (page == 1 &&  cid != null && cid > 0 ) {
      if (page == 1 &&  cid != null) {
         List<BrandClassShop> list = brandClassShopMapper.listEffective(cid);
         if (list == null) {
            list = new ArrayList<BrandClassShop>();