|
|
@@ -24,4 +24,4 @@ FROM
|
|
|
left join plm_item t2 on t1.itemid=t2.itemid and t1.siteid=t2.siteid
|
|
|
left join plm_unit t3 on t2.unitid=t3.unitid and t2.siteid=t3.siteid
|
|
|
LEFT JOIN sa_promotion_itemprice t5 ON t5.itemid = t1.itemid and t5.siteid = t1.siteid and t1.sa_promotionid=t5.sa_promotionid
|
|
|
- where t2.isonsale=1 and t1.siteid=$siteid$ and t1.sa_promotionid=$sa_promotionid$ and $where$ and t5.pricegrade = (SELECT grade FROM sys_enterprise WHERE sys_enterpriseid = $sys_enterpriseid$ and siteid = $siteid$ )
|
|
|
+ where t1.siteid=$siteid$ and t1.sa_promotionid=$sa_promotionid$ and $where$ and t5.pricegrade = (SELECT grade FROM sys_enterprise WHERE sys_enterpriseid = $sys_enterpriseid$ and siteid = $siteid$ )
|