|
|
@@ -179,7 +179,6 @@ public class StoreCommentServiceImpl extends ServiceImpl<StoreCommentMapper, Sto
|
|
|
}
|
|
|
//低分
|
|
|
storeCommentVo.setLowScore(records.get(i).getScore() <= 1);
|
|
|
- storeCommentVoList.add(storeCommentVo);
|
|
|
|
|
|
QueryWrapper<StoreCommentAppealVo> storeCommentAppealVoQueryWrapper = new QueryWrapper<>();
|
|
|
storeCommentAppealVoQueryWrapper.eq("a.comment_id", storeCommentVo.getId()).eq("a.delete_flag", 0).orderByDesc("a.created_time").last("limit 1");
|
|
|
@@ -191,6 +190,16 @@ public class StoreCommentServiceImpl extends ServiceImpl<StoreCommentMapper, Sto
|
|
|
}else {
|
|
|
storeCommentVo.setAppealFlag(0);
|
|
|
}
|
|
|
+
|
|
|
+ //商家用户
|
|
|
+ if (StringUtils.isNotEmpty(records.get(i).getPhoneId())) {
|
|
|
+ if (records.get(i).getPhoneId().contains("store_")) {
|
|
|
+ storeCommentVo.setStoreUserFlag(0);
|
|
|
+ } else {
|
|
|
+ storeCommentVo.setStoreUserFlag(1);
|
|
|
+ }
|
|
|
+ }
|
|
|
+ storeCommentVoList.add(storeCommentVo);
|
|
|
}
|
|
|
|
|
|
//塞图片
|