|
@@ -240,7 +240,7 @@ PUBLIC "-//mybatis.org//DTD Mapper 3.0//EN"
|
|
|
</if>
|
|
|
WHERE
|
|
|
1 = 1
|
|
|
- AND g.goods_type != 5 AND g.show_status = 1
|
|
|
+ AND g.goods_type != 5
|
|
|
<if test="status != null and status.size()!=0 ">
|
|
|
AND g.status in
|
|
|
<foreach collection="status" item="item" index="index" open="(" close=")" separator=",">
|
|
@@ -262,6 +262,9 @@ PUBLIC "-//mybatis.org//DTD Mapper 3.0//EN"
|
|
|
<if test="goodsType != null and goodsType != ''">
|
|
|
AND g.goods_type = #{goodsType}
|
|
|
</if>
|
|
|
+ <if test="showStatus != null and showStatus != ''">
|
|
|
+ AND g.show_status = #{showStatus}
|
|
|
+ </if>
|
|
|
<if test="code != null and code != ''">
|
|
|
AND g.code = #{code}
|
|
|
</if>
|