Explorar o código

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

沈静伟 %!s(int64=4) %!d(string=hai) anos
pai
achega
5bae75330f
Modificáronse 1 ficheiros con 6 adicións e 2 borrados
  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