admin
2019-05-16 4114e871bcb3dce771b6aed64a1027d0bbb95ca6
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>();