|
@@ -20,5 +20,5 @@ FROM sa_promotion_auth t1
|
|
left join sa_agents t3 on t1.siteid = t3.siteid and t1.sys_enterpriseid = t3.sys_enterpriseid
|
|
left join sa_agents t3 on t1.siteid = t3.siteid and t1.sys_enterpriseid = t3.sys_enterpriseid
|
|
AND t1.siteid = t2.siteid
|
|
AND t1.siteid = t2.siteid
|
|
where t1.siteid = $siteid$
|
|
where t1.siteid = $siteid$
|
|
- and t1.sa_promotionid = $sa_promotionid$
|
|
|
|
|
|
+ and t1.sa_promotionid = $sa_promotionid$ and $tablefilter$
|
|
and $where$
|
|
and $where$
|