public List<Map<String, Object>> queryhunterHzfsByHHIds(Map<String, Object> map) {
List<Map<String, Object>> list=new ArrayList<Map<String,Object>>();
if(map!=null && !"".equals(map)){
String str= map.get("hhIds")+"";
String[] split = str.split(",");
String[] split1=str.split(",");
if(split.length>0){
for (int i = 0; i < split.length; i++) {
String selectComIdByChildId = hheadhunterMapper.selectComIdByChildId(split[i]);
if (ComU.isNotEmptyNull(selectComIdByChildId)) {
split1[i]=selectComIdByChildId;
}
}
for (int i = 0; i < split.length; i++) {
map.put("hhid", split1[i]);
Map<String, Object> queryhunterHzfsByHHIds =new HashMap<String, Object>();
queryhunterHzfsByHHIds= hhjMapper.queryhunterHzfsByHHIds(map);
queryhunterHzfsByHHIds.put("hhId", split[i]);
map.remove("hhid");
list.add(queryhunterHzfsByHHIds);
}
}
}
return list;
}
已解决已解决