فهرست منبع

直播列表去掉限制,查所有:getHomeLive

吴志根 3 سال پیش
والد
کامیت
fba0ae2e50

+ 1 - 1
src/dsb/com/cnd3b/restcontroller/publicmethod/live/SQL/门户直播列表.sql

@@ -26,7 +26,7 @@ select t1.tliveid,
 from tlive t1
          inner join tagents t2 on t1.siteid = t2.siteid and t1.tagentsid = t2.tagentsid
 where t1.siteid = $siteid$
-  and t1.livestatus like $livestatus$
+
 and $where$
 
 

+ 1 - 1
src/dsb/com/cnd3b/restcontroller/publicmethod/live/live.java

@@ -140,7 +140,7 @@ public class live extends Controller {
         String livestatus = content.getString("livestatus");
         SQLFactory sqlFactory = new SQLFactory(this, "ÃÅ»§Ö±²¥Áбí", pageSize, pageNumber, "t1.livestatus,t1.createdate");
         sqlFactory.addParameter("siteid", siteid);
-        sqlFactory.addParameter("livestatus", "%" + livestatus + "%");
+//        sqlFactory.addParameter("livestatus", "%" + livestatus + "%");
         sqlFactory.addParameter_SQL("where",where);
         Rows agentRows = dbConnect.runSqlQuery(sqlFactory.getSQL());
         for (Row row : agentRows) {