Просмотр исходного кода

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

沈静伟 4 лет назад
Родитель
Сommit
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