/**
* 通过访客的Id进行去重
*
* @param list
* @return
*/
private ArrayList<TblArtUserClick> removeDuplicateUser(List<TblArtUserClick> list) {
Set<TblArtUserClick> set = new TreeSet<TblArtUserClick>(new Comparator<TblArtUserClick>() {
public int compare(TblArtUserClick o1, TblArtUserClick o2) {
return o1.getVisiId().compareTo(o2.getVisiId());
}
});
set.addAll(list);
return new ArrayList<TblArtUserClick>(set);
}