其中一个实体参数组装成key,
可能还需要比较该集合中实体某个参数是否一致
并使caseid一致
String key = Id +"-"+ Name+"-"+testTime;
if(detailMap.containsKey(key)){
UatBugCaseHouseDetail detail_onty=(UatBugCaseHouseDetail)detailMap.get(key);
if(detail_only.getStripLineName().equals(stripLineName)){
detail.setCaseId(detait_only.getCaseId());
detaitList.add(detaiu);
detailMap.put(key,detail);
}else {
uList.add(u);
detaiuList.add(detait);
detailMap.put(key,detail);
}
else{
uList.add(u);
detaiLList.add(detaiu);
detaiuMap.put(key,detail);
}