记得上下班打卡 | git大法好,push需谨慎

Commit f617890b authored by zhengfuxin's avatar zhengfuxin

修改bug

parent 5715e272
......@@ -128,8 +128,11 @@ public class GoblinFrontNavigationServiceImpl extends ServiceImpl<GoblinFrontNav
queryWrappers.ne(GoblinGoods::getDelFlg,"1");
queryWrappers.eq(GoblinGoods::getSpuId,goblinFrontNavigationBuildParam.getSpuId());
List<GoblinGoods> goodsList= goblinGoodsMapper.selectList(queryWrappers);
if(goodsList.size()>0){
goblinFrontNavigationBuildParam.setGoblinGoods(goodsList.get(0));
}
}
list1.add(goblinFrontNavigationBuildParam);
}
return list1;
......
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