Commit 88112bc1 by 吴善钰

人员画像,疑似落脚点酒店,去除重复

parent 63f13c84
......@@ -179,6 +179,18 @@ public class RyhxController {
}catch (Exception e){
e.printStackTrace();
}
//疑似落脚点去重
Map<String, TbStCqhotel> mapYsljdd = new HashMap<>();
for (TbStCqhotel tbStCqhotelObject : listHotel) {
String hno = tbStCqhotelObject.getHno();
if (mapYsljdd.containsKey(hno)) {
continue;
}
mapYsljdd.put(hno, tbStCqhotelObject);
}
listHotel = new ArrayList<>(mapYsljdd.values());
ModelAndView modelAndView = new ModelAndView();
modelAndView.setViewName("ryhx/gjxx");
modelAndView.addObject("zjhm",zjhm);
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment