|
@@ -260,7 +260,7 @@ public class StoreCommentServiceImpl extends ServiceImpl<StoreCommentMapper, Sto
|
|
|
if(businessIds!=null && businessIds.size()>0){
|
|
if(businessIds!=null && businessIds.size()>0){
|
|
|
childQueryWrapper.notIn("a.id",businessIds);
|
|
childQueryWrapper.notIn("a.id",businessIds);
|
|
|
}
|
|
}
|
|
|
- childQueryWrapper.eq(null != businessId && 6 == businessId, "a.business_id", businessId).eq("a.delete_flag", 0).eq("a.reply_id", storeCommentVo.getId()).orderByDesc("a.created_time");
|
|
|
|
|
|
|
+ childQueryWrapper.eq(null != businessId && 6 == businessId, "a.business_id", businessId).eq("a.delete_flag", 0).eq("a.reply_id", storeCommentVo.getId()).orderByAsc("a.created_time");
|
|
|
List<StoreCommentVo> childCommentList = storeCommentMapper.getCommentList(childQueryWrapper);
|
|
List<StoreCommentVo> childCommentList = storeCommentMapper.getCommentList(childQueryWrapper);
|
|
|
storeCommentVo.setCommitCount(storeCommentVo.getCommitCount() + childCommentList.size());
|
|
storeCommentVo.setCommitCount(storeCommentVo.getCommitCount() + childCommentList.size());
|
|
|
//评价的评论的评论
|
|
//评价的评论的评论
|