|
@@ -59,6 +59,7 @@ public class tagents extends Controller {
|
|
|
* @return
|
|
|
*/
|
|
|
public String query_agentsList() {
|
|
|
+
|
|
|
/**
|
|
|
* 过滤条件设置
|
|
|
*/
|
|
@@ -88,11 +89,19 @@ public class tagents extends Controller {
|
|
|
"and isnull(tactivityid,0)='' and tagentsid=t1.tagentsid) ");
|
|
|
}
|
|
|
}
|
|
|
+// Rows tRows = dbConnect.runSqlQuery(" SELECT DISTINCT tagentsid FROM tlive");
|
|
|
+// SQLFactory sqlFactory2 = new SQLFactory(this, "查询重复的商户");
|
|
|
+// Rows tRows2 = dbConnect.runSqlQuery(sqlFactory2.getSQL());
|
|
|
+// tRows.addAll(tRows2);
|
|
|
SQLFactory agentsql = new SQLFactory(this, "认证商户列表查询", pageSize, pageNumber, "t1.tagentsid desc");
|
|
|
agentsql.addParameter("siteid", siteid);
|
|
|
agentsql.addParameter_SQL("where", where);
|
|
|
+ //排除掉已经创建直播的商户
|
|
|
+// agentsql.addParameter_in("tagentsid",tRows.toArrayList("tagentsid"));
|
|
|
Rows rows = dbConnect.runSqlQuery(agentsql.getSQL());
|
|
|
|
|
|
+ String sql = agentsql.getSQL();
|
|
|
+
|
|
|
SQLFactory agentchecksql = new SQLFactory(this, "商户认证时间查询");
|
|
|
agentchecksql.addParameter("siteid", siteid);
|
|
|
agentchecksql.addParameter_in("tagentsid", rows.toArrayList("tagentsid"));
|