@@ -53,7 +53,7 @@ select g1.goodsid,
on g1.refgoodsid = g2.goodsid
left join goodsgroup gp
on g1.goodsgroupid = gp.goodsgroupid
- where 1=1
+ where 1=1 and and g1.goodsstatus = 3
`
sqlId.JoinEx(r.FtMarketIds != "", fmt.Sprintf(" and gp.marketid in(%v)", r.FtMarketIds))