浏览代码

门户搜索添加fagentname

吴志根 3 年之前
父节点
当前提交
8ff721bb56
共有 1 个文件被更改,包括 3 次插入1 次删除
  1. 3 1
      src/dsb/com/cnd3b/restcontroller/publicmethod/homepage/SQL/搜索_通告.sql

+ 3 - 1
src/dsb/com/cnd3b/restcontroller/publicmethod/homepage/SQL/搜索_通告.sql

@@ -19,7 +19,9 @@ SELECT t1.tnoticeid,
        t1.fishomepage,
        t1.fissingleagent,
        t1.fisspecifiedrange,
-       t1.tenterprise_userid
+       t1.tenterprise_userid,
+       t2.fagentname
 from TNOTICE as t1
+         inner join tagents t2 on t1.siteid=t2.siteid and t1.tagentsid=t2.tagentsid
 WHERE t1.siteid = $siteid$
   and (t1.fcontent LIKE $keyStr$ OR t1.createby LIKE $keyStr$ OR t1.ftitle LIKE $keyStr$ OR t1.fsummary LIKE $keyStr$ )