Commit 65b4c5b4 authored by wp's avatar wp

溯源hash同步

parent 63be8cac
...@@ -371,7 +371,7 @@ public class SpuServiceImpl extends ServiceImpl<SpuMapper, Spu> implements ISpuS ...@@ -371,7 +371,7 @@ public class SpuServiceImpl extends ServiceImpl<SpuMapper, Spu> implements ISpuS
//TODO banner 推荐商品是否删除 //TODO banner 推荐商品是否删除
Spu spu = getByGoodsId(goodsId); Spu spu = getByGoodsId(goodsId);
if (spu.getCommodityPass().equals(2)) { if (!spu.getCommodityPass().equals(1)) {
LambdaQueryWrapper<Sku> qw1 = new LambdaQueryWrapper<>(); LambdaQueryWrapper<Sku> qw1 = new LambdaQueryWrapper<>();
qw1.eq(Sku::getGoodsId, goodsId); qw1.eq(Sku::getGoodsId, goodsId);
Sku sku = skuService.getOne(qw1); Sku sku = skuService.getOne(qw1);
......
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