Jelajahi Sumber

即时通讯群成员列表排序调整

沈静伟 3 tahun lalu
induk
melakukan
12c4a9869c

+ 1 - 1
src/dsb/com/cnd3b/restcontroller/system/im/imdialog/SQL/即时通讯群成员列表查询.sql

@@ -11,4 +11,4 @@ from timdialogusers t1
          inner join tagents t4 on t3.siteid=t4.siteid and t3.tagentsid=t4.tagentsid
 where t1.siteid = $siteid$
   and t1.timdialogid in $timdialogid$ and t1.fisremove=0
-
+order by case when t1.tenterprise_userid = t2.tenterprise_userid then 1 else 0 end desc,t1.createdate