|
@@ -62,8 +62,11 @@
|
|
|
<if test="type != null and type != ''">
|
|
|
and type = #{type}
|
|
|
</if>
|
|
|
- <if test="controlType != null and controlType != ''">
|
|
|
- and control_type = #{controlType}
|
|
|
+ <if test="controlType != null and controlType.size() > 0">
|
|
|
+ and control_type in
|
|
|
+ <foreach collection="controlType" item="controlType" open="(" separator="," close=")">
|
|
|
+ #{controlType}
|
|
|
+ </foreach>
|
|
|
</if>
|
|
|
<if test="tagType != null and tagType.size() > 0">
|
|
|
and tag_type in
|