From 1b5800c788e8c9277a23f76666abc1b757d56b42 Mon Sep 17 00:00:00 2001
From: zrj <646384940@qq.com>
Date: Fri, 14 Jun 2024 15:53:25 +0800
Subject: [PATCH] 线上 es 全文检索升级到8.14.1 版本导致数据更新异常调整(不抛出异常),实际数据已经被操作

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