Commit e56f7357 by 朱亚洁

feat:[1006809]revert

parent 6554d8da
...@@ -320,7 +320,7 @@ public class AppConsr { ...@@ -320,7 +320,7 @@ public class AppConsr {
} }
/*@ParamLog("RAYS应用") @ParamLog("RAYS应用")
public Map<String, AppRaysDTO> mapRaysAppByType(List<String> typeCodes) { public Map<String, AppRaysDTO> mapRaysAppByType(List<String> typeCodes) {
Map<String, AppRaysDTO> map = new HashMap<>(); Map<String, AppRaysDTO> map = new HashMap<>();
if (ListUtils.isEmpty(typeCodes)) { if (ListUtils.isEmpty(typeCodes)) {
...@@ -333,5 +333,5 @@ public class AppConsr { ...@@ -333,5 +333,5 @@ public class AppConsr {
LOGGER.error("调用失败" + e.getMessage(), e); LOGGER.error("调用失败" + e.getMessage(), e);
} }
return map; return map;
}*/ }
} }
...@@ -18,6 +18,8 @@ import com.pcloud.resourcecenter.product.dto.UpdateAppProductParamDTO; ...@@ -18,6 +18,8 @@ import com.pcloud.resourcecenter.product.dto.UpdateAppProductParamDTO;
import com.pcloud.resourcecenter.product.entity.Article; import com.pcloud.resourcecenter.product.entity.Article;
import com.pcloud.resourcecenter.product.entity.Product; import com.pcloud.resourcecenter.product.entity.Product;
import com.pcloud.resourcecenter.product.service.ProductService; import com.pcloud.resourcecenter.product.service.ProductService;
import com.pcloud.resourcecenter.store.dto.SinglePageInfoDTO;
import com.pcloud.resourcecenter.store.service.StoreService;
import org.slf4j.Logger; import org.slf4j.Logger;
import org.slf4j.LoggerFactory; import org.slf4j.LoggerFactory;
...@@ -51,6 +53,8 @@ public class ProductConsr { ...@@ -51,6 +53,8 @@ public class ProductConsr {
@Autowired @Autowired
private ProductService productService; private ProductService productService;
@Autowired
private StoreService storeService;
/** /**
* 微信端,资源中心拉取商品信息 * 微信端,资源中心拉取商品信息
...@@ -529,7 +533,7 @@ public class ProductConsr { ...@@ -529,7 +533,7 @@ public class ProductConsr {
* @Author zhuyajie * @Author zhuyajie
* @Date 17:21 2022/3/14 * @Date 17:21 2022/3/14
**/ **/
/*public Map<Long, SinglePageInfoDTO> mapSinglePageByIds(List<Long> singlePageIds) { public Map<Long, SinglePageInfoDTO> mapSinglePageByIds(List<Long> singlePageIds) {
if (ListUtils.isEmpty(singlePageIds)) { if (ListUtils.isEmpty(singlePageIds)) {
return new HashMap<>(); return new HashMap<>();
} }
...@@ -539,5 +543,5 @@ public class ProductConsr { ...@@ -539,5 +543,5 @@ public class ProductConsr {
LOGGER.error("调用storeService.mapSinglePageByIds失败"+e.getMessage(),e); LOGGER.error("调用storeService.mapSinglePageByIds失败"+e.getMessage(),e);
} }
return new HashMap<>(); return new HashMap<>();
}*/ }
} }
...@@ -157,6 +157,7 @@ import com.pcloud.readercenter.common.enums.YesOrNoNumEnum; ...@@ -157,6 +157,7 @@ import com.pcloud.readercenter.common.enums.YesOrNoNumEnum;
import com.pcloud.readercenter.userlabel.dto.UserGradeLabelIdDTO; import com.pcloud.readercenter.userlabel.dto.UserGradeLabelIdDTO;
import com.pcloud.resourcecenter.product.dto.ProductDto; import com.pcloud.resourcecenter.product.dto.ProductDto;
import com.pcloud.resourcecenter.product.dto.ProductLabelDto; import com.pcloud.resourcecenter.product.dto.ProductLabelDto;
import com.pcloud.resourcecenter.store.dto.SinglePageInfoDTO;
import com.pcloud.usercenter.party.adviser.dto.AdviserBaseInfoDto; import com.pcloud.usercenter.party.adviser.dto.AdviserBaseInfoDto;
import com.pcloud.wechatgroup.wxwork.dto.WxworkGroupQrcodeBaseDTO; import com.pcloud.wechatgroup.wxwork.dto.WxworkGroupQrcodeBaseDTO;
...@@ -1322,7 +1323,7 @@ public class ResourcePageBizImpl implements ResourcePageBiz { ...@@ -1322,7 +1323,7 @@ public class ResourcePageBizImpl implements ResourcePageBiz {
if (ListUtils.isEmpty(itemVOS)) { if (ListUtils.isEmpty(itemVOS)) {
return; return;
} }
/*List<Long> serveIds = itemVOS.stream().map(ResourcePageItemVO::getServeId).distinct().collect(Collectors.toList()); List<Long> serveIds = itemVOS.stream().map(ResourcePageItemVO::getServeId).distinct().collect(Collectors.toList());
Map<Long, SinglePageInfoDTO> singlePageDTOMap = productConsr.mapSinglePageByIds(serveIds); Map<Long, SinglePageInfoDTO> singlePageDTOMap = productConsr.mapSinglePageByIds(serveIds);
if (MapUtils.isEmpty(singlePageDTOMap)) { if (MapUtils.isEmpty(singlePageDTOMap)) {
return; return;
...@@ -1336,7 +1337,7 @@ public class ResourcePageBizImpl implements ResourcePageBiz { ...@@ -1336,7 +1337,7 @@ public class ResourcePageBizImpl implements ResourcePageBiz {
itemVO.setTransverseImg(singlePageDTO.getImgUrl()); itemVO.setTransverseImg(singlePageDTO.getImgUrl());
} }
itemVO.setResultUrl(itemVO.getLinkUrl()); itemVO.setResultUrl(itemVO.getLinkUrl());
}*/ }
} }
@ParamLog("填充平台会员活动") @ParamLog("填充平台会员活动")
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment