lihao 4 years ago
parent
commit
7abdc46bae

+ 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