|
@@ -36,7 +36,7 @@ PUBLIC "-//mybatis.org//DTD Mapper 3.0//EN"
|
|
|
<if test="productName != null and productName != ''"> and product_name like concat('%', #{productName}, '%')</if>
|
|
|
<if test="pid != null "> and pid = #{pid}</if>
|
|
|
<if test="productDescribe != null and productDescribe != ''"> and product_describe = #{describe}</if>
|
|
|
- <if test="status != null "> and status = #{status}</if>
|
|
|
+ <if test="status != null and status != ''"> and status = #{status}</if>
|
|
|
</where>
|
|
|
</select>
|
|
|
|