|
|
@@ -20,6 +20,10 @@ public class live extends Controller {
|
|
|
*/
|
|
|
public String getLiveChannelData() {
|
|
|
String tactivityid = content.getString("tactivityid");
|
|
|
+ String saleprodclass = content.getString("saleprodclass");
|
|
|
+ if(saleprodclass==null){
|
|
|
+ saleprodclass = "";
|
|
|
+ }
|
|
|
JSONObject resultObject = new JSONObject();
|
|
|
//参展商
|
|
|
SQLFactory agentcountSql = new SQLFactory(this, "活动直播间总数查询");
|
|
|
@@ -38,8 +42,11 @@ public class live extends Controller {
|
|
|
SQLFactory livecustcount = new SQLFactory(this, "当前线上观众人数查询");
|
|
|
livecustcount.addParameter("tactivityid", tactivityid);
|
|
|
livecustcount.addParameter("siteid", siteid);
|
|
|
+ livecustcount.addParameter("saleprodclass","%"+saleprodclass+"%");
|
|
|
Rows liverows = dbConnect.runSqlQuery(livecustcount.getSQL());
|
|
|
|
|
|
+ String sql = livecustcount.getSQL();
|
|
|
+
|
|
|
SQLFactory brandcustcount = new SQLFactory(this, "商户观众总数排行");
|
|
|
brandcustcount.addParameter("tactivityid", tactivityid);
|
|
|
brandcustcount.addParameter("siteid", siteid);
|