admin
2019-08-05 d0b7f936a3ae253efc67be35c349a647fec94594
fanli/src/main/java/com/yeshi/fanli/service/impl/dynamic/DynamicInfoServiceImpl.java
@@ -909,7 +909,7 @@
   
   
   @Override
   @Cacheable(value = "dynamicCache", key = "'queryV2-'+#platform+'-'+#version+'-'+#start+'-'+#count+'-'+#cid+'-'+#subId")
//   @Cacheable(value = "dynamicCache", key = "'queryV2-'+#platform+'-'+#version+'-'+#start+'-'+#count+'-'+#cid+'-'+#subId")
   public List<DynamicInfo> queryV2(int platform, int version, int start, int count, Long cid, Long subId) {
      List<DynamicInfo> listNew = new ArrayList<DynamicInfo>();
      List<DynamicInfo> list = dynamicInfoDao.query(start, count, cid, subId);
@@ -1014,6 +1014,7 @@
               }
            }
            boolean needUpdate = false;
            // 已下架ID
            List<Long> listDown = new ArrayList<Long>();
            // 商品列表
@@ -1081,7 +1082,17 @@
                     dynamicInfo.setDesc(shareMoneyDesc);
                  }
               }
               // 需要更新信息;
               needUpdate = true;
            }
            // 无效更新信息
            if (!needUpdate) {
               continue;
            }
            // 更新商品信息
            dynamicInfo.setImgs(listPicture);
            // 商品已下架