Prechádzať zdrojové kódy

展会直播查询新增活动标题

沈静伟 4 rokov pred
rodič
commit
52ddf4e99f

+ 1 - 1
src/dsb/com/cnd3b/restcontroller/customer/live/SQL/展会直播详情.sql

@@ -1,7 +1,7 @@
 select t1.tliveid, t1.siteid, t1.createby, t1.changeby, t1.createdate, t1.changedate,
        t1.tactivityid, t1.tliveapplyid, t1.tagentsid, t1.fliveurl_web,t1.fliveurl_client, t1.fliveshowurl,
        t1.categoryid,t1.categoryname, t1.channelname, t1.channelpasswd, t1.channelid,t1.fassistanturl,t1.fisneedauth,
-       t1.secretkey,t1.livestatus,t1.channelcoverimageurl from tlive t1
+       t1.secretkey,t1.livestatus,t1.channelcoverimageurl,t3.ftitle from tlive t1
 inner join tagents t2 on t1.siteid=t2.siteid and t1.tagentsid=t2.tagentsid
 inner join tactivity t3 on t1.siteid=t3.siteid and t1.tactivityid=t3.tactivity and t3.fstatus='»î¶¯ÖÐ'
 where t1.siteid=$siteid$ and t1.categoryName='Õ¹»áÖ±²¥' and t1.tagentsid = $tagentsid$

+ 3 - 1
src/dsb/com/cnd3b/restcontroller/enterprise/live/SQL/直播列表查询.sql

@@ -1,5 +1,7 @@
 select t1.tliveid, t1.siteid, t1.createby, t1.changeby, t1.createdate, t1.changedate,
        t1.tactivityid, t1.tliveapplyid, t1.tagentsid, t1.fliveurl_web,t1.fliveurl_client, t1.fliveshowurl,
-       t1.categoryid,t1.categoryname, t1.channelname, t1.channelpasswd, t1.channelid,t1.fassistanturl,t1.fisneedauth,t1.secretkey,t1.livestatus,t1.channelcoverimageurl from tlive t1
+       t1.categoryid,t1.categoryname, t1.channelname, t1.channelpasswd, t1.channelid,t1.fassistanturl,t1.fisneedauth,
+       t1.secretkey,t1.livestatus,t1.channelcoverimageurl,t3.ftitle from tlive t1
 inner join tagents t2 on t1.siteid=t2.siteid and t1.tagentsid=t2.tagentsid
+left join tactivity t3 on t1.siteid=t3.siteid and t1.tactivityid=t3.tactivity
 where t1.siteid=$siteid$ and $where$