From 7f71f78980f23d62f6e8598dbac83bde62997479 Mon Sep 17 00:00:00 2001
From: linwe <872216996@qq.com>
Date: Wed, 20 Dec 2023 15:10:03 +0800
Subject: [PATCH] 统计接口优化

---
 src/main/java/org/springblade/modules/house/mapper/HouseMapper.xml |    1 +
 1 files changed, 1 insertions(+), 0 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 074f2d5..7687b4a 100644
--- a/src/main/java/org/springblade/modules/house/mapper/HouseMapper.xml
+++ b/src/main/java/org/springblade/modules/house/mapper/HouseMapper.xml
@@ -383,6 +383,7 @@
         WHERE
         jda.nei_code = #{code}
         AND jh.is_deleted = 0
+        AND jda.unit_code is not null
         <if test="buildingCode != null  and buildingCode != ''">
             and jda.building_code=#{buildingCode}
         </if>

--
Gitblit v1.9.3