소스 검색

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

沈静伟 3 년 전
부모
커밋
12c4a9869c
1개의 변경된 파일1개의 추가작업 그리고 1개의 파일을 삭제
  1. 1 1
      src/dsb/com/cnd3b/restcontroller/system/im/imdialog/SQL/即时通讯群成员列表查询.sql

+ 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