Example #1
0
 public List<AreaProblem> getVOsbyCity(String number) {
   List<AreaProblem> result = new ArrayList<AreaProblem>();
   String sql = "select * from areaproblem where areaid=? ";
   try {
     result = DbHelper.queryMultiBean(new AreaProblem(), sql, number);
     return result;
   } catch (InstantiationException e) {
     e.printStackTrace();
   } catch (IllegalAccessException e) {
     e.printStackTrace();
   } catch (SQLException e) {
     e.printStackTrace();
   }
   return result;
 }