lihao 4 年之前
父节点
当前提交
7abdc46bae
共有 1 个文件被更改,包括 1 次插入1 次删除
  1. 1 1
      gx_api/GxPress/Repository/GxPress.Repository.Implement/TopicRepository.cs

+ 1 - 1
gx_api/GxPress/Repository/GxPress.Repository.Implement/TopicRepository.cs

@@ -422,7 +422,7 @@ namespace GxPress.Repository.Implement
                                         tede_comment
                                     WHERE
                                         ArticleId = a.Id AND pid = 0
-                                            AND TypeValue =={topicConst}) AS CommentCount,
+                                            AND TypeValue={topicConst}) AS CommentCount,
                                 (SELECT 
                                         COUNT(1)
                                     FROM