|
@@ -2,5 +2,5 @@ select t1.tactivity_agentmsgid, t1.tagentsid, t1.tactivityid,t2.fagentname, t1.f
|
|
|
t1.flocation,t1.fstatus,t3.channelid
|
|
t1.flocation,t1.fstatus,t3.channelid
|
|
|
from tactivity_agentmsg t1
|
|
from tactivity_agentmsg t1
|
|
|
inner join tagents t2 on t1.siteid=t2.siteid and t1.tagentsid=t2.tagentsid
|
|
inner join tagents t2 on t1.siteid=t2.siteid and t1.tagentsid=t2.tagentsid
|
|
|
-inner join tlive t3 on t1.tagentsid=t3.tagentsid
|
|
|
|
|
|
|
+left join tlive t3 on t1.tagentsid=t3.tagentsid
|
|
|
where t1.siteid=$siteid$ and t1.tactivityid=$tactivityid$ and $where$
|
|
where t1.siteid=$siteid$ and t1.tactivityid=$tactivityid$ and $where$
|