浏览代码

物业管理端评论

tjf 4 月之前
父节点
当前提交
6170074a82

+ 9 - 1
ruoyi-system/src/main/java/com/ruoyi/system/domain/communityNews/CommentLikes.java

@@ -45,7 +45,15 @@ public class CommentLikes extends BaseEntity
     /** 逻辑删除(Y:已删除,N:未删除) */
     private String delFlag;
 
-    public void setLikesId(Long likesId) 
+    public String getTargetTitle() {
+        return targetTitle;
+    }
+
+    public void setTargetTitle(String targetTitle) {
+        this.targetTitle = targetTitle;
+    }
+
+    public void setLikesId(Long likesId)
     {
         this.likesId = likesId;
     }

+ 1 - 0
ruoyi-system/src/main/resources/mapper/system/CommentIndexMapper.xml

@@ -114,6 +114,7 @@
     <select id="selectCommentIndexList" parameterType="CommentIndex" resultMap="CommentIndexResult">
         <include refid="selectCommentIndexVo"/>
         <where>
+            del_flag = 'N'
             <if test="communityId != null ">and community_id = #{communityId}</if>
             <if test="communityType != null  and communityType != ''">and community_type = #{communityType}</if>
             <if test="isRoot != null ">and is_root = #{isRoot}</if>