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

---
 src/main/java/org/springblade/modules/house/mapper/HouseMapper.xml |   16 ++++++++--------
 1 files changed, 8 insertions(+), 8 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 4bd2647..bb019e7 100644
--- a/src/main/java/org/springblade/modules/house/mapper/HouseMapper.xml
+++ b/src/main/java/org/springblade/modules/house/mapper/HouseMapper.xml
@@ -267,8 +267,8 @@
             and jda.building_code=#{buildingCode}
         </if>
 
-        <if test="uniCode != null  and uniCode != ''">
-            and jda.unit_code=#{uniCode}
+        <if test="unitCode != null  and unitCode != ''">
+            and jda.unit_code=#{unitCode}
         </if>
 
         <if test="aoiCode != null  and aoiCode != ''">
@@ -310,8 +310,8 @@
             and jda.building_code=#{buildingCode}
         </if>
 
-        <if test="uniCode != null  and uniCode != ''">
-            and jda.unit_code=#{uniCode}
+        <if test="unitCode != null  and unitCode != ''">
+            and jda.unit_code=#{unitCode}
             AND jda.unit_code is not null
         </if>
 
@@ -349,8 +349,8 @@
             and jda.building_code=#{buildingCode}
         </if>
 
-        <if test="uniCode != null  and uniCode != ''">
-            and jda.unit_code=#{uniCode}
+        <if test="unitCode != null  and unitCode != ''">
+            and jda.unit_code=#{unitCode}
             AND jda.unit_code is not null
         </if>
 
@@ -391,8 +391,8 @@
             and jda.building_code=#{buildingCode}
         </if>
 
-        <if test="uniCode != null  and uniCode != ''">
-            and jda.unit_code=#{uniCode}
+        <if test="unitCode != null  and unitCode != ''">
+            and jda.unit_code=#{unitCode}
         </if>
 
         <if test="aoiCode != null  and aoiCode != ''">

--
Gitblit v1.9.3