|
@@ -169,8 +169,8 @@
|
|
|
<if test="typeId != null and typeId != ''">
|
|
|
and info.type_id = #{typeId}
|
|
|
</if>
|
|
|
- <if test="isSpecial != null and isSpecial != ''">
|
|
|
- and info.is_special = #{isSpecial}
|
|
|
+ <if test="isSpecial==1 or isSpecial==0">
|
|
|
+ and info.is_special=#{isSpecial}
|
|
|
</if>
|
|
|
<if test="producerName != null and producerName != ''">
|
|
|
AND producer.name like concat('%',#{producerName},'%')
|
|
@@ -368,8 +368,8 @@
|
|
|
<if test="typeId != null and typeId != ''">
|
|
|
and info.type_id = #{typeId}
|
|
|
</if>
|
|
|
- <if test="isSpecial != null and isSpecial != ''">
|
|
|
- and info.is_special = #{isSpecial}
|
|
|
+ <if test="isSpecial==1 or isSpecial==0">
|
|
|
+ and info.is_special=#{isSpecial}
|
|
|
</if>
|
|
|
<if test="producerName != null and producerName != ''">
|
|
|
AND producer.name like concat('%',#{producerName},'%')
|