81041
2018-10-19 35aa563c2678b6a949768bc3f60749e29dad5663
gx_tieta/src/com/fgkj/dao/impl/ram/Bts_station_stateImpl.java
@@ -44,7 +44,7 @@
    //查询机房实时状态
   public List serchByCondition(Object obj) {
      BattInf binf=(BattInf) obj;
      Page p=new Page();
      Page p=binf.getPage();
      Connection conn=DBUtil.getConn();
      String numberSql="SELECT FOUND_ROWS() number";//存放总数
      String sql="select SQL_CALC_FOUND_ROWS distinct station_id,dev_id,record_datetime,station_stat,station_poff_start_time,station_fadian_start_time" +
@@ -126,11 +126,11 @@
      binf.setStationId("");
      Page p=new Page();
      p.setPageCurr(1);
      p.setPageSize(10);
      p.setPageSize(1);
      binf.setPage(p);
      List<Bts_station_state> list=bimpl.serchByCondition(binf);
      for (Bts_station_state bs : list) {
         System.out.println(bs.getStation_stat_diaozhan()+"  "+bs.getStation_stat_dooropen()+"  "+bs.getStation_stat_fadian()+"   "+bs.getStation_stat_xuhang()+"  "+bs.getStation_stat_poff());
         //System.out.println(bs.getStation_stat_diaozhan()+"  "+bs.getStation_stat_dooropen()+"  "+bs.getStation_stat_fadian()+"   "+bs.getStation_stat_xuhang()+"  "+bs.getStation_stat_poff());
          System.out.println(bs);
      }
   }