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

Commit 5fb7846b authored by 张国柄's avatar 张国柄

Merge remote-tracking branch 'origin/dev_goblin' into dev_goblin

parents ef2ec5a4 9bd3e534
......@@ -152,11 +152,16 @@ public class GoblinFrontSelectGoodsServiceImpl extends ServiceImpl<GoblinFrontSe
goblinFrontSelectGoodsParam.setGoblinGoodsList(goblinGoodsList);
goodsP.add(goblinFrontSelectGoodsParam);
return goodsP;
}else{
GoblinFrontSelectGoodsParam goblinFrontSelectGoodsParam=new GoblinFrontSelectGoodsParam();
BeanUtils.copyProperties(a,goblinFrontSelectGoodsParam);
goblinFrontSelectGoodsParam.setGoblinGoodsList(goblinGoodsList);
goodsP.add(goblinFrontSelectGoodsParam);
return goodsP;
}
}else{
return null;
}
return null;
}
public boolean online(){
//查询
......
......@@ -763,9 +763,13 @@ public class GoblinFrontServiceImpl implements GoblinFrontService {
Iterator<GoblinFrontSelectGoods> it = list.iterator();
while (it.hasNext()) {
GoblinFrontSelectGoods goblinFrontSelectGoods= it.next();
GoblinGoodsInfoVo goblinGoodsInfoVo= goblinRedisUtils.getGoodsInfoVo(goblinFrontSelectGoods.getSpuId());
if (null==goblinGoodsInfoVo) {
if(StringUtils.isBlank(goblinFrontSelectGoods.getSpuId())){
it.remove();
}else{
GoblinGoodsInfoVo goblinGoodsInfoVo= goblinRedisUtils.getGoodsInfoVo(goblinFrontSelectGoods.getSpuId());
if (null==goblinGoodsInfoVo) {
it.remove();
}
}
}
}
......
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