From 2ac772b03ecc56547e727b772049a07dcc6735f1 Mon Sep 17 00:00:00 2001
From: linwe <872216996@qq.com>
Date: Fri, 05 Jul 2024 11:16:09 +0800
Subject: [PATCH] 代码优化

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