Browse Source

bug修复

eganwu 2 years ago
parent
commit
f97dcce757

+ 1 - 1
src/custom/restcontroller/webmanage/sale/itemgroup/SQL/商品查询.sql

@@ -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)