From 2f2115a19277620bb7d9ac4af1e3bfd7830d2e6c Mon Sep 17 00:00:00 2001
From: linwe <872216996@qq.com>
Date: Fri, 12 Jul 2024 11:20:51 +0800
Subject: [PATCH] limit 是空时候,全表查询了,会导致内存溢出 默认设置20
---
src/main/java/org/springblade/modules/backblast/mapper/BackblastPubRecordMapper.xml | 6 +++---
1 files changed, 3 insertions(+), 3 deletions(-)
diff --git a/src/main/java/org/springblade/modules/backblast/mapper/BackblastPubRecordMapper.xml b/src/main/java/org/springblade/modules/backblast/mapper/BackblastPubRecordMapper.xml
index 87d7359..8fc65cb 100644
--- a/src/main/java/org/springblade/modules/backblast/mapper/BackblastPubRecordMapper.xml
+++ b/src/main/java/org/springblade/modules/backblast/mapper/BackblastPubRecordMapper.xml
@@ -28,7 +28,7 @@
and br.town_name like concat('%',#{backblastPubRecord.townName},'%')
</if>
<if test="backblastPubRecord.communityName != null and backblastPubRecord.communityName != ''">
- and jbr.name like concat('%',#{backblastPubRecord.communityName},'%')
+ and br.name like concat('%',#{backblastPubRecord.communityName},'%')
</if>
<if test="backblastPubRecord.pcsName != null and backblastPubRecord.pcsName != ''">
and jpag.pcs_name like concat('%',#{backblastPubRecord.pcsName},'%')
@@ -164,7 +164,7 @@
and br.town_name like concat('%',#{backblastPubRecord.townName},'%')
</if>
<if test="backblastPubRecord.communityName != null and backblastPubRecord.communityName != ''">
- and jbr.name like concat('%',#{backblastPubRecord.communityName},'%')
+ and br.name like concat('%',#{backblastPubRecord.communityName},'%')
</if>
<if test="backblastPubRecord.pcsName != null and backblastPubRecord.pcsName != ''">
and jpag.pcs_name like concat('%',#{backblastPubRecord.pcsName},'%')
@@ -210,7 +210,7 @@
and br.town_name like concat('%',#{backblastPubRecord.townName},'%')
</if>
<if test="backblastPubRecord.communityName != null and backblastPubRecord.communityName != ''">
- and jbr.name like concat('%',#{backblastPubRecord.communityName},'%')
+ and br.name like concat('%',#{backblastPubRecord.communityName},'%')
</if>
<if test="backblastPubRecord.pcsName != null and backblastPubRecord.pcsName != ''">
and jpag.pcs_name like concat('%',#{backblastPubRecord.pcsName},'%')
--
Gitblit v1.9.3