|
@@ -92,7 +92,7 @@
|
|
|
FIND_IN_SET (#{tagId}, tagIds)
|
|
|
</foreach>
|
|
|
</if>
|
|
|
- <if test="openState == 0 or openState == 1">
|
|
|
+ <if test="openState != null">
|
|
|
and openState = #{openState}
|
|
|
</if>
|
|
|
<if test="price != null">
|
|
@@ -169,7 +169,7 @@
|
|
|
FIND_IN_SET (#{tagId}, tagIds)
|
|
|
</foreach>
|
|
|
</if>
|
|
|
- <if test="openState == 0 or openState == 1">
|
|
|
+ <if test="openState != null">
|
|
|
and openState = #{openState}
|
|
|
</if>
|
|
|
<if test="price != null">
|
|
@@ -231,7 +231,7 @@
|
|
|
FIND_IN_SET (#{tagId}, tagIds)
|
|
|
</foreach>
|
|
|
</if>
|
|
|
- <if test="p.openState == 0 or p.openState == 1">
|
|
|
+ <if test="p.openState != null">
|
|
|
and openState = #{p.openState}
|
|
|
</if>
|
|
|
<if test="p.price != null">
|
|
@@ -269,7 +269,7 @@
|
|
|
<if test="picture!=null">picture=#{picture},</if>
|
|
|
<if test="video!=null">video=#{video},</if>
|
|
|
<if test="tagIds!=null">tagIds=#{tagIds},</if>
|
|
|
- <if test="openState == 0 or openState == 1">openState=#{openState},</if>
|
|
|
+ <if test="openState!=null">openState=#{openState},</if>
|
|
|
<if test="data!=null">data=#{data},</if>
|
|
|
<if test="price!=null">price=#{price},</if>
|
|
|
<if test="payWay!=0">payWay=#{payWay},</if>
|