|
@@ -216,7 +216,9 @@ public class StoreCommentServiceImpl extends ServiceImpl<StoreCommentMapper, Sto
|
|
|
}
|
|
}
|
|
|
}
|
|
}
|
|
|
StoreInfo storeInfo = storeInfoMapper.selectById(records.get(i).getStoreId());
|
|
StoreInfo storeInfo = storeInfoMapper.selectById(records.get(i).getStoreId());
|
|
|
- storeCommentVo.setStoreName(storeInfo.getStoreName());
|
|
|
|
|
|
|
+ if (storeInfo != null) {
|
|
|
|
|
+ storeCommentVo.setStoreName(storeInfo.getStoreName());
|
|
|
|
|
+ }
|
|
|
storeCommentVoList.add(storeCommentVo);
|
|
storeCommentVoList.add(storeCommentVo);
|
|
|
}
|
|
}
|
|
|
|
|
|