Parcourir la source

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

沈静伟 il y a 4 ans
Parent
commit
5bae75330f
1 fichiers modifiés avec 6 ajouts et 2 suppressions
  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