|
@@ -57,7 +57,12 @@ PUBLIC "-//mybatis.org//DTD Mapper 3.0//EN"
|
|
'%')
|
|
'%')
|
|
</if>
|
|
</if>
|
|
<if test="area != null and area != ''">and a.area = #{area}</if>
|
|
<if test="area != null and area != ''">and a.area = #{area}</if>
|
|
- <if test="type != null and type != ''">and a.type = #{type}</if>
|
|
|
|
|
|
+ <if test="types != null and types.length > 0">
|
|
|
|
+ and a.type IN
|
|
|
|
+ <foreach item="type" collection="types" open="(" separator="," close=")">
|
|
|
|
+ #{type}
|
|
|
|
+ </foreach>
|
|
|
|
+ </if>
|
|
and a.del_flag = 0
|
|
and a.del_flag = 0
|
|
<if test="status != null and status != ''">and a.status = #{status}</if>
|
|
<if test="status != null and status != ''">and a.status = #{status}</if>
|
|
</where>
|
|
</where>
|