Explorar el Código

评论页修改

wuyi hace 2 años
padre
commit
5f493ade50
Se han modificado 1 ficheros con 1 adiciones y 1 borrados
  1. 1 1
      src/comment/comment.service.ts

+ 1 - 1
src/comment/comment.service.ts

@@ -60,7 +60,7 @@ export class CommentService {
 
         const childList = await this.commentRepository.createQueryBuilder()
             .where({
-                id: In(ids),
+                rootCommentId: In(ids),
             }).getMany();
 
         childList.forEach(comment => {