|
@@ -77,6 +77,11 @@
|
|
<if test="status != null">
|
|
<if test="status != null">
|
|
and status = #{status}
|
|
and status = #{status}
|
|
</if>
|
|
</if>
|
|
|
|
+ <if test="statusList!=null"> and status in
|
|
|
|
+ <foreach item="item" index="index" collection="statusList" open="(" separator="," close=")">
|
|
|
|
+ #{item}
|
|
|
|
+ </foreach>
|
|
|
|
+ </if>
|
|
<if test="type != null">
|
|
<if test="type != null">
|
|
and type = #{type}
|
|
and type = #{type}
|
|
</if>
|
|
</if>
|
|
@@ -121,6 +126,11 @@
|
|
<if test="p.status != null">
|
|
<if test="p.status != null">
|
|
and a.status = #{p.status}
|
|
and a.status = #{p.status}
|
|
</if>
|
|
</if>
|
|
|
|
+ <if test="p.statusList!=null"> and a.status in
|
|
|
|
+ <foreach item="item" index="index" collection="p.statusList" open="(" separator="," close=")">
|
|
|
|
+ #{item}
|
|
|
|
+ </foreach>
|
|
|
|
+ </if>
|
|
<if test="p.type != null">
|
|
<if test="p.type != null">
|
|
and a.type = #{p.type}
|
|
and a.type = #{p.type}
|
|
</if>
|
|
</if>
|