fangqing 5 kuukautta sitten
vanhempi
sitoutus
7402640bdb

+ 1 - 1
ruoyi-generator/src/main/java/com/ruoyi/generator/mapper/community/CommunityArticleCommentMapper.java

@@ -34,7 +34,7 @@ public interface CommunityArticleCommentMapper extends BaseMapper<CommunityArtic
 
 
     /**
-     * 获取用户所有文章和评论被喜欢的数量   的数量
+     * 获取用户所有文章和评论被喜欢的数量的数量  跟下面sql一样后期优化
      * @param userId
      * @return
      */

+ 2 - 0
ruoyi-generator/src/main/resources/mapper/community/CommunityArticleCommentMapper.xml

@@ -48,6 +48,8 @@
     </where>
         )  as d
     </select>
+
+
     <select id="queryCommentReplyCountPerson" resultType="java.lang.Integer">
         select count(1)  count  from (
             select