From 2b1a74f4faa5a00a294bdc6a6d956c2e009cf467 Mon Sep 17 00:00:00 2001
From: lin <sbla5888@163.com>
Date: Tue, 16 Apr 2024 15:32:09 +0800
Subject: [PATCH] 管理员过滤文章

---
 src/main/java/org/springblade/modules/property/mapper/PropertyCompanyCommentMapper.xml |   14 ++++++++++++++
 1 files changed, 14 insertions(+), 0 deletions(-)

diff --git a/src/main/java/org/springblade/modules/property/mapper/PropertyCompanyCommentMapper.xml b/src/main/java/org/springblade/modules/property/mapper/PropertyCompanyCommentMapper.xml
index f8ef51e..a1346c4 100644
--- a/src/main/java/org/springblade/modules/property/mapper/PropertyCompanyCommentMapper.xml
+++ b/src/main/java/org/springblade/modules/property/mapper/PropertyCompanyCommentMapper.xml
@@ -24,6 +24,13 @@
         <if test="propertyCompanyComment.propertyCompanyId!=null">
             and jpcc.property_company_id = #{propertyCompanyComment.propertyCompanyId}
         </if>
+        <if test="propertyCompanyComment.checkStatus!=null">
+            and jpcc.check_status = #{propertyCompanyComment.checkStatus}
+        </if>
+
+        <if test="propertyCompanyComment.createUser!=null">
+            and jpcc.create_user = #{propertyCompanyComment.createUser}
+        </if>
     </select>
 
     <!--自定义分页查询(递归)-->
@@ -39,6 +46,13 @@
         <if test="propertyCompanyComment.propertyCompanyId!=null">
             and jpcc.property_company_id = #{propertyCompanyComment.propertyCompanyId}
         </if>
+        <if test="propertyCompanyComment.checkStatus!=null">
+            and jpcc.check_status = #{propertyCompanyComment.checkStatus}
+        </if>
+
+        <if test="propertyCompanyComment.createUser!=null">
+            and jpcc.create_user = #{propertyCompanyComment.createUser}
+        </if>
     </select>
 
     <!--递归查询-->

--
Gitblit v1.9.3