|
@@ -96,6 +96,12 @@
|
|
|
<if test="state !=null and state != ''">
|
|
<if test="state !=null and state != ''">
|
|
|
and t.state= #{state}
|
|
and t.state= #{state}
|
|
|
</if>
|
|
</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 != ''">
|
|
<if test="communityId !=null and communityId != ''">
|
|
|
and t.community_id= #{communityId}
|
|
and t.community_id= #{communityId}
|
|
|
</if>
|
|
</if>
|
|
@@ -116,6 +122,12 @@
|
|
|
<if test="state !=null and state != ''">
|
|
<if test="state !=null and state != ''">
|
|
|
and t.state= #{state}
|
|
and t.state= #{state}
|
|
|
</if>
|
|
</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 != ''">
|
|
<if test="communityId !=null and communityId != ''">
|
|
|
and t.community_id= #{communityId}
|
|
and t.community_id= #{communityId}
|
|
|
</if>
|
|
</if>
|