81041
2018-10-22 81a1da53fce28446b3c50fc935d2160c83bbc285
gx_tieta/src/com/fgkj/dao/impl/ram/Bts_station_stateImpl.java
@@ -60,11 +60,10 @@
               "  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=?  ) " +
               " and tb_battinf.stationname1 like ? and tb_battinf.stationname2 like ? and tb_battinf.stationname3 like ? " +
               "  where db_user.tb_user_inf.uid=?  and tb_battinf.stationname1 like ? and tb_battinf.stationname2 like ? and tb_battinf.stationname3 like ? ) " +
               " and stationid like ?  " +
               " limit ? ,? ";
      System.out.println(sql);
      //System.out.println(sql);
      List<Bts_station_state> list=DAOHelper.executeQueryLimit(sql, conn, new Object[]{binf.getNum(),"%"+binf.getStationName1()+"%","%"+binf.getStationName2()+"%","%"+binf.getStationName3()+"%","%"+binf.getStationId()+"%",(p.getPageCurr()-1)*p.getPageSize(),p.getPageSize()},new CallBack() {
         
         public List getResults(ResultSet rs) {
@@ -162,14 +161,14 @@
      BattInf binf=new BattInf();
      binf.setNum(1002);
      binf.setStationName1("");
      binf.setStationName2("");
      binf.setStationName2("百色");
      binf.setStationName3("");
      binf.setStationId("");
      User_inf uinf=new User_inf();
      uinf.setUId(1002);
      Page p=new Page();
      p.setPageCurr(1);
      p.setPageSize(1);
      p.setPageSize(10);
      binf.setPage(p);
      List<Bts_station_state> list=bimpl.serchByCondition(binf);
      for (Bts_station_state bs : list) {