From 96916fb34cdc4907a194d0bafae22a5e2bf378bf Mon Sep 17 00:00:00 2001
From: zrj <646384940@qq.com>
Date: Tue, 02 Jul 2024 17:40:20 +0800
Subject: [PATCH] 获取楼盘相关集合数据查询调整(改成sql会导致内存溢出)

---
 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