Skip to content

Commit

Permalink
fix: 优化足迹搜索
Browse files Browse the repository at this point in the history
  • Loading branch information
LeiGaoRobot committed Apr 18, 2023
1 parent 4179677 commit 08933ad
Showing 1 changed file with 3 additions and 0 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -88,6 +88,9 @@ public IPage<EsGoodsIndex> footPrintPage(FootPrintQueryParams params) {
.mapToObj(i -> {
if (goodsSkuByIdFromCache.get(i) == null) {
EsGoodsIndex esGoodsIndex = new EsGoodsIndex();
FootPrint footPrint = footPrintPages.getRecords().get(i);
esGoodsIndex.setGoodsId(footPrint.getGoodsId());
esGoodsIndex.setId(footPrint.getSkuId());
esGoodsIndex.setReleaseTime(footPrintPages.getRecords().get(i).getCreateTime().getTime());
return esGoodsIndex;
}
Expand Down

0 comments on commit 08933ad

Please sign in to comment.