|
@@ -43,9 +43,10 @@
|
|
|
<if test="name != null and name != ''">
|
|
|
and name LIKE CONCAT('%',#{name},'%')
|
|
|
</if>
|
|
|
+ and power like '%6%'
|
|
|
<if test="type != null and type != ''">
|
|
|
- <foreach item="item" index="index" collection="type.split(',')" >
|
|
|
- and power like CONCAT('%',#{item},'%')
|
|
|
+ <foreach item="item" index="index" collection="type.split(',')">
|
|
|
+ or power like CONCAT('%',#{item},'%')
|
|
|
</foreach>
|
|
|
</if>
|
|
|
</select>
|