@@ -1,7 +1,7 @@
select t1.timdialogid,t1.ownerid,t1.ownertable,t1.fimdialogtype,t1.fimdialogname,t2.fimdialognotes,
t2.createdate as fjoindate,t2.fname,t2.funreadmsgcount,t1.tenterprise_userid as fimuserid from timdialog t1
inner join timdialogusers t2 on t1.siteid=t2.siteid and t1.timdialogid=t2.timdialogid
-where t1.siteid=$siteid$ and t1.fimdialogtype='ÆÕͨ' and t2.tenterprise_userid=$tenterprise_userid$ and t2.fisremove=0
+where t1.siteid=$siteid$ and t2.tenterprise_userid=$tenterprise_userid$ and t2.fisremove=0
and $where$
order by (
select MAX(createdate) from (