|
|
@@ -18,5 +18,5 @@ FROM plm_item t1
|
|
|
where $where$
|
|
|
and t1.siteid = $siteid$
|
|
|
and ifnull(t1.isonsale, 0) = 1
|
|
|
- and ifnull(t1.sa_customschemeid,0)!=0
|
|
|
+ and ifnull(t1.sa_customschemeid,0)!=0 and $tablefilter$
|
|
|
and not exists(select 1 from sa_itemgroupmx t inner join sa_itemgroup t2 on t.sa_itemgroupid=t2.sa_itemgroupid and t.siteid=t2.siteid where t.siteid = $siteid$ and t.itemid = t1.itemid)
|