|
|
@@ -41,6 +41,12 @@
|
|
|
<if test="state !=null and state != ''">
|
|
|
and t.state= #{state}
|
|
|
</if>
|
|
|
+ <if test="states !=null">
|
|
|
+ and t.state in
|
|
|
+ <foreach collection="states" item="item" open="(" close=")" separator=",">
|
|
|
+ #{item}
|
|
|
+ </foreach>
|
|
|
+ </if>
|
|
|
<if test="communityId !=null and communityId != ''">
|
|
|
and t.community_id= #{communityId}
|
|
|
</if>
|
|
|
@@ -109,6 +115,12 @@
|
|
|
<if test="state !=null and state != ''">
|
|
|
and t.state= #{state}
|
|
|
</if>
|
|
|
+ <if test="states !=null">
|
|
|
+ and t.state in
|
|
|
+ <foreach collection="states" item="item" open="(" close=")" separator=",">
|
|
|
+ #{item}
|
|
|
+ </foreach>
|
|
|
+ </if>
|
|
|
<if test="communityId !=null and communityId != ''">
|
|
|
and t.community_id= #{communityId}
|
|
|
</if>
|