From 43bb85ea502b56201b5229b1003fe386628d4310 Mon Sep 17 00:00:00 2001
From: java110 <928255095@qq.com>
Date: 星期四, 13 七月 2023 13:32:25 +0800
Subject: [PATCH] 优化报表误差

---
 java110-db/src/main/resources/mapper/community/RoomV1ServiceDaoImplMapper.xml |    8 +++-----
 1 files changed, 3 insertions(+), 5 deletions(-)

diff --git a/java110-db/src/main/resources/mapper/community/RoomV1ServiceDaoImplMapper.xml b/java110-db/src/main/resources/mapper/community/RoomV1ServiceDaoImplMapper.xml
index dc07db3..d4409a3 100644
--- a/java110-db/src/main/resources/mapper/community/RoomV1ServiceDaoImplMapper.xml
+++ b/java110-db/src/main/resources/mapper/community/RoomV1ServiceDaoImplMapper.xml
@@ -60,8 +60,8 @@
         <if test="roomArea !=null and roomArea != ''">
             and t.room_area= #{roomArea}
         </if>
-        <if test="userId !=null and userId != ''">
-            and t.user_id= #{userId}
+        <if test="communityId !=null and communityId != ''">
+            and t.community_id= #{communityId}
         </if>
         <if test="roomId !=null and roomId != ''">
             and t.room_id= #{roomId}
@@ -93,9 +93,7 @@
         <if test="state !=null and state != ''">
             and t.state= #{state}
         </if>
-        <if test="communityId !=null and communityId != ''">
-            and t.community_id= #{communityId}
-        </if>
+
         <if test="apartment !=null and apartment != ''">
             and t.apartment= #{apartment}
         </if>

--
Gitblit v1.8.0