81041
2018-11-01 6c547f018c33c2dbbc5cfabe0b10ba9861702f6b
机房状态统计查询加区县
1个文件已修改
16 ■■■■■ 已修改文件
gx_tieta/src/com/fgkj/dao/impl/Bts_station_eventImpl.java 16 ●●●●● 补丁 | 查看 | 原始文档 | blame | 历史
gx_tieta/src/com/fgkj/dao/impl/Bts_station_eventImpl.java
@@ -304,12 +304,8 @@
                " from db_alarm.tb_bts_station_event,db_battinf.tb_battinf " +
                " where  tb_bts_station_event.dev_id=tb_battinf.FBSDeviceId " +
                "  and tb_bts_station_event.station_id in (" +
                "  select distinct db_battinf.tb_battinf.stationid  " +
                "  from db_battinf.tb_battinf " +
                "  left outer join db_user.tb_user_battgroup_baojigroup_battgroup on db_user.tb_user_battgroup_baojigroup_battgroup.stationid=db_battinf.tb_battinf.stationid " +
                "  left outer join db_user.tb_user_battgroup_baojigroup_usr on db_user.tb_user_battgroup_baojigroup_usr.baoji_group_id=db_user.tb_user_battgroup_baojigroup_battgroup.baoji_group_id " +
                "  left outer join db_user.tb_user_inf on tb_user_inf.uid=db_user.tb_user_battgroup_baojigroup_usr.uid " +
                "  where db_user.tb_user_inf.uid=?  ) " +
                " select distinct db_user.tb_user_battgroup_baojigroup_battgroup.StationId from db_user.tb_user_battgroup_baojigroup_battgroup,db_user.tb_user_battgroup_baojigroup_usr where db_user.tb_user_battgroup_baojigroup_battgroup.baoji_group_id=db_user.tb_user_battgroup_baojigroup_usr.baoji_group_id  and db_user.tb_user_battgroup_baojigroup_usr.uId=?" +
                " ) " +
                " and dev_id=?  " +
                " and  record_datetime>=?  and  record_datetime<=? ";
        //基站状态
@@ -397,11 +393,11 @@
        bmd.setPage(p);
        bmd.setBinf(binf);
        bmd.setUinf(uinf);
        List<Bts_station_event> list=bimpl.serchByCondition(binf);
        /*List<Bts_station_event> list=bimpl.serchByCondition(binf);
        System.out.println(list.size());
        for (Bts_station_event b : list) {
            System.out.println(b.getNote()+" "+b.getDev_id()+" "+b.getStation_event_type_poff()+" "+b.getStation_event_type_xuhang()+" "+b.getStation_event_type_fadian()+" "+b.getStation_event_type_diaozhan()+" "+b.getStation_event_type_dooropen()+" "+b.getStation_event_type_tempup()+" "+b.getStation_event_type_templow()+" "+b.getStation_event_type_dampup()+" "+b.getStation_event_type_damplow()+" "+b.getStationName());
        }
        }*/
        Bts_station_event b=new Bts_station_event();
        b.setNum(1002);
        b.setDev_id(910000001);
@@ -412,8 +408,8 @@
        page.setPageCurr(1);
        page.setPageSize(10);
        b.setPage(page);
        /*List list=bimpl.serchByInfo(b);
        System.out.println(list.size());*/
        List list=bimpl.serchByInfo(b);
        System.out.println(list.size());
    }
}