沈静伟 3 anni fa
parent
commit
c69f541c81

+ 0 - 1
src/dsb/com/cnd3b/common/Controller.java

@@ -535,7 +535,6 @@ public class Controller extends BaseClass {
 //        if (!headPicMap.containsKey(userid)) {
             Rows rows = getAttachmentUrl("tenterprise_users", String.valueOf(userid), "headportrait");
             if (!rows.isEmpty()) {
-                System.err.println(rows.get(0).getString("fobsurl_thumbnail"));
                 if(rows.get(0).getString("fobsurl_thumbnail").equals("")){
                     headPicMap.put(userid, rows.get(0).getString("fobsurl"));
                 }else{

+ 0 - 2
src/dsb/com/cnd3b/restcontroller/customer/live/live.java

@@ -377,7 +377,6 @@ public class live extends Controller {
         String channelid = content.getString("channelid");
         //String sql = "SELECT [count] FROM tlive_usercount WHERE [time]='" + getDateTime_Str() + "' AND channelid='" + channelid + "'";
         String sql = "select channelid,count as fcustcount from (select ROW_NUMBER()over(partition by t1.channelid order by t1.time desc)as num,t1.channelid,(t1.count+t1.fadjustcount) as count from tlive_usercount t1 where t1. channelid='" + channelid + "')t where t.num=1";
-        System.err.println(sql);
         Rows rows = dbConnect.runSqlQuery(sql);
         JSONObject resultObject = new JSONObject();
         resultObject.put("count", rows.isEmpty() ? 0 : rows.get(0).getLong("fcustcount"));
@@ -392,7 +391,6 @@ public class live extends Controller {
     public String getRealTimeViewerList() {
         String channelid = content.getString("channelid");
         Long lastmodified = getDateTime().getTime() / 1000 - 5 * 60;
-        System.err.println(lastmodified);
         SQLFactory sqlFactory = new SQLFactory(this, "ʵʱ¹ÛÖÚÁбí", pageSize, pageNumber, "t1.tlive_viewlogid DESC");
         sqlFactory.addParameter("channelid", channelid);
         sqlFactory.addParameter("lastmodified", lastmodified * 1000);

+ 0 - 6
src/dsb/com/cnd3b/restcontroller/customer/supplyanddemand/supplyanddemand.java

@@ -73,7 +73,6 @@ public class supplyanddemand extends Controller {
         sqlFactory.addParameter("userid", userid);
         sqlFactory.addParameter_SQL("where", where);
         String sql = sqlFactory.getSQL();
-//        System.err.println(sqlFactory.getSQL());
         Rows rows = dbConnect.runSqlQuery(sqlFactory.getSQL());
         RowsMap attinfoRowsMap = getAttachmentUrl("tsupplyanddemand", rows.toArrayList("tsupplyanddemandid"));
 
@@ -82,8 +81,6 @@ public class supplyanddemand extends Controller {
         dialoglistSQL.addParameter("siteid", siteid);
         dialoglistSQL.addParameter("userid", userid);
         dialoglistSQL.addParameter_in("tsupplyanddemandid", rows.toArrayList("tsupplyanddemandid"));
-//        String sql = dialoglistSQL.getSQL();
-//        System.err.println(sql);
 
         Rows dialogrows = dbConnect.runSqlQuery(dialoglistSQL.getSQL());
 
@@ -91,8 +88,6 @@ public class supplyanddemand extends Controller {
         timnewmsgSQL.addParameter("siteid", siteid);
         timnewmsgSQL.addParameter("userid", userid);
         timnewmsgSQL.addParameter_in("timdialogid", dialogrows.toArrayList("timdialogid"));
-//        String sql2 = timnewmsgSQL.getSQL();
-//        System.err.println(sql2);
         RowsMap newmsgmap = timnewmsgSQL.runSqlQuery().toRowsMap("timdialogid");
         for (Row drow : dialogrows) {
             Rows newmsgrows = newmsgmap.get(drow.getString("timdialogid"));
@@ -110,7 +105,6 @@ public class supplyanddemand extends Controller {
         RowsMap map = dialogrows.toRowsMap("ownerid");
 
         for (Row row : rows) {
-//            System.err.println("row:"+row.getString("tsupplyanddemandid"));
             row.put("imdialogs", map.get(row.getString("tsupplyanddemandid")));
             //¸½¼þÐÅÏ¢
             row.put("attinfos", attinfoRowsMap.get(row.getString("tsupplyanddemandid")));

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

@@ -107,7 +107,6 @@ public class live extends Controller {
         SQLFactory sqlFactory = new SQLFactory(this, "门户直播列表", pageSize, pageNumber, "t1.createdate");
         sqlFactory.addParameter("siteid", siteid);
         sqlFactory.addParameter("livestatus", "%" + livestatus + "%");
-        System.err.println(sqlFactory.getSQL());
         Rows agentRows = dbConnect.runSqlQuery(sqlFactory.getSQL());
         for (Row row : agentRows) {
             //观看次数(次)