|
|
@@ -26,7 +26,4 @@ from plm_item t1
|
|
|
LEFT JOIN plm_unit t5 ON t5.unitid = t2.auxunitid AND t5.siteid = t2.siteid
|
|
|
WHERE t1.siteid = $siteid$
|
|
|
and t1.status = '审核'
|
|
|
- and t1.istool = 0
|
|
|
- and t1.itemid in (SELECT itemid from sa_itemsaleclass WHERE siteid = $siteid$)
|
|
|
- and t1.itemid in (SELECT itemid from plm_item_tradefield WHERE siteid = $siteid$ and tradefield = $tradefield$)
|
|
|
and $where$
|