From b889cb66aabba6553b7bc7027cf3d768abc58db1 Mon Sep 17 00:00:00 2001
From: java110 <928255095@qq.com>
Date: 星期五, 11 九月 2020 19:09:55 +0800
Subject: [PATCH] 优化代码
---
java110-db/src/main/resources/mapper/community/RoomServiceDaoImplMapper.xml | 8 ++++++++
1 files changed, 8 insertions(+), 0 deletions(-)
diff --git a/java110-db/src/main/resources/mapper/community/RoomServiceDaoImplMapper.xml b/java110-db/src/main/resources/mapper/community/RoomServiceDaoImplMapper.xml
index ef29574..b0c7e62 100644
--- a/java110-db/src/main/resources/mapper/community/RoomServiceDaoImplMapper.xml
+++ b/java110-db/src/main/resources/mapper/community/RoomServiceDaoImplMapper.xml
@@ -301,6 +301,7 @@
<if test="floorId !=null and floorId != ''">
and f.`floor_id`= #{floorId}
</if>
+
<if test="feeCoefficient !=null and feeCoefficient != ''">
and t.fee_coefficient= #{feeCoefficient}
</if>
@@ -344,6 +345,13 @@
and t.community_id= #{communityId}
</if>
+ <if test="floorNum !=null and floorNum != ''">
+ and f.`floor_num`= #{floorNum}
+ </if>
+ <if test="unitNum !=null and unitNum != ''">
+ and t.unit_num= #{unitNum}
+ </if>
+
</select>
--
Gitblit v1.8.0