From ee7ae64146fd593635d1637b25b52104a90c98de Mon Sep 17 00:00:00 2001
From: linwe <872216996@qq.com>
Date: Wed, 20 Dec 2023 16:14:23 +0800
Subject: [PATCH] 统计接口优化

---
 src/main/java/org/springblade/modules/house/mapper/HouseMapper.xml |    3 ++-
 1 files changed, 2 insertions(+), 1 deletions(-)

diff --git a/src/main/java/org/springblade/modules/house/mapper/HouseMapper.xml b/src/main/java/org/springblade/modules/house/mapper/HouseMapper.xml
index bb019e7..7d40566 100644
--- a/src/main/java/org/springblade/modules/house/mapper/HouseMapper.xml
+++ b/src/main/java/org/springblade/modules/house/mapper/HouseMapper.xml
@@ -305,7 +305,7 @@
         WHERE
         jda.nei_code = #{code}
         AND jh.is_deleted = 0
-
+        and jda.doorplate_type = '户室牌'
         <if test="buildingCode != null  and buildingCode != ''">
             and jda.building_code=#{buildingCode}
         </if>
@@ -345,6 +345,7 @@
         WHERE
         jda.nei_code =  #{code}
         AND jhh.is_deleted = 0
+        and jda.doorplate_type = '户室牌'
         <if test="buildingCode != null  and buildingCode != ''">
             and jda.building_code=#{buildingCode}
         </if>

--
Gitblit v1.9.3