From c43dfd8115a7d81006d687841934dafa52afab26 Mon Sep 17 00:00:00 2001
From: Your Name <you@example.com>
Date: 星期日, 26 二月 2023 13:16:30 +0800
Subject: [PATCH] 报表跑数据
---
java110-db/src/main/resources/mapper/report/ReportCommunityServiceDaoImplMapper.xml | 12 ++++++++++++
1 files changed, 12 insertions(+), 0 deletions(-)
diff --git a/java110-db/src/main/resources/mapper/report/ReportCommunityServiceDaoImplMapper.xml b/java110-db/src/main/resources/mapper/report/ReportCommunityServiceDaoImplMapper.xml
index 21bfe8d..ef938e4 100755
--- a/java110-db/src/main/resources/mapper/report/ReportCommunityServiceDaoImplMapper.xml
+++ b/java110-db/src/main/resources/mapper/report/ReportCommunityServiceDaoImplMapper.xml
@@ -96,6 +96,12 @@
<if test="state !=null and state != ''">
and t.state= #{state}
</if>
+ <if test="leaseTypes !=null ">
+ and t.lease_type in
+ <foreach collection="leaseTypes" item="item" open="(" close=")" separator=",">
+ #{item}
+ </foreach>
+ </if>
<if test="communityId !=null and communityId != ''">
and t.community_id= #{communityId}
</if>
@@ -116,6 +122,12 @@
<if test="state !=null and state != ''">
and t.state= #{state}
</if>
+ <if test="leaseTypes !=null ">
+ and t.lease_type in
+ <foreach collection="leaseTypes" item="item" open="(" close=")" separator=",">
+ #{item}
+ </foreach>
+ </if>
<if test="communityId !=null and communityId != ''">
and t.community_id= #{communityId}
</if>
--
Gitblit v1.8.0