|
@@ -55,7 +55,7 @@
|
|
|
<if test="goodsName != null and goodsName != ''">
|
|
|
left join view_stock_goods b on i.spec_id = b.specId
|
|
|
</if>
|
|
|
- where 1=1
|
|
|
+ where 1=1 AND p.status = '1'
|
|
|
<if test="haveGoods != null and haveGoods != ''">
|
|
|
and i.storge_id is not null
|
|
|
</if>
|