Browse Source

门户搜索添加fagentname

吴志根 3 năm trước cách đây
mục cha
commit
8ff721bb56

+ 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$ )