소스 검색

代码整理、即时聊天、附件查询调整

沈静伟 4 년 전
부모
커밋
5bae75330f
1개의 변경된 파일6개의 추가작업 그리고 2개의 파일을 삭제
  1. 6 2
      src/dsb/com/cnd3b/common/data/SQL/附件查询.sql

+ 6 - 2
src/dsb/com/cnd3b/common/data/SQL/附件查询.sql

@@ -1,7 +1,11 @@
-select ownerid
+select siteid
+     , ownerid
+     , ownertable
+     , ftype
      , REPLACE(fdocument, '.' + postfix, '') as fdocument
+     , tattachmentid
      , postfix
-     , fobsurl
+     , fobsurl as url
      , fobsurl_minimage
      , fobsurl_compressimage
      , fobsurl_hls