Merge remote-tracking branch 'origin/div' into div
| | |
| | |
|
| | |
|
| | | @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);
|
| | |
| | | }
|
| | | }
|
| | |
|
| | | boolean needUpdate = false;
|
| | | // 已下架ID
|
| | | List<Long> listDown = new ArrayList<Long>();
|
| | | // 商品列表
|
| | |
| | | dynamicInfo.setDesc(shareMoneyDesc);
|
| | | }
|
| | | }
|
| | | |
| | | // 需要更新信息;
|
| | | needUpdate = true;
|
| | | }
|
| | | |
| | | // 无效更新信息
|
| | | if (!needUpdate) {
|
| | | continue;
|
| | | }
|
| | | |
| | | // 更新商品信息
|
| | | dynamicInfo.setImgs(listPicture);
|
| | |
|
| | | // 商品已下架
|