for(int i=0;i<queryList.size();i++){//去重 String time =queryList.get(i); if(!tempList.contains(time)){ tempList.add(time); } }