|
|
@@ -805,6 +805,15 @@ public class StoreInfoController {
|
|
|
public R<List<StoreCommentVo>> getStoreEvaluateTagsList(@RequestParam("mainId") int mainId) {
|
|
|
log.info("StoreInfoController.getStoreEvaluateTagsList?mainId={}", mainId);
|
|
|
List<StoreCommentVo> list = tagsMainMapper.getstoreCommentList(mainId);
|
|
|
+ if(list!=null && list.size()>0){
|
|
|
+ for(int i = 0; i<list.size(); i++){
|
|
|
+ if(list.get(i).getImgId()!=null){
|
|
|
+ List<String> imgIds = Arrays.asList(list.get(i).getImgId().split(","));
|
|
|
+ List<StoreImg> storeImgs = storeImgMapper.selectList(new LambdaQueryWrapper<StoreImg>().in(StoreImg::getId, imgIds));
|
|
|
+ list.get(i).setImgList(storeImgs);
|
|
|
+ }
|
|
|
+ }
|
|
|
+ }
|
|
|
return R.data(list);
|
|
|
}
|
|
|
@ApiOperation(value = "AI服务-门店趣味信息")
|