fix: 优化足迹搜索
This commit is contained in:
parent
41796774dc
commit
08933ad92f
@ -88,6 +88,9 @@ public class FootprintServiceImpl extends ServiceImpl<FootprintMapper, FootPrint
|
|||||||
.mapToObj(i -> {
|
.mapToObj(i -> {
|
||||||
if (goodsSkuByIdFromCache.get(i) == null) {
|
if (goodsSkuByIdFromCache.get(i) == null) {
|
||||||
EsGoodsIndex esGoodsIndex = new EsGoodsIndex();
|
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());
|
esGoodsIndex.setReleaseTime(footPrintPages.getRecords().get(i).getCreateTime().getTime());
|
||||||
return esGoodsIndex;
|
return esGoodsIndex;
|
||||||
}
|
}
|
||||||
|
Loading…
x
Reference in New Issue
Block a user