/**
* 按照异常批次号对已开单数据进行分组
* @param billingList
* @return
* @throws Exception
*/
private Map> groupBillingDataByExcpBatchCode(List billingList) throws Exception{
Map> resultMap = new HashMap>();
try{
for(TmExcpNewVo tmExcpNew : billingList){
if(resultMap.containsKey(tmExcpNew.getExcpbatch())){
resultMap.get(tmExcpNew.getExcpbatch()).add(tmExcpNew);
}else{
List tmpList = new ArrayList();
tmpList.add(tmExcpNew);
resultMap.put(tmExcpNew.getExcpbatch(), tmpList);
}
}
}catch(Exception e){
throw new Exception("按照异常批次号对已开单数据进行分组时出现异常", e);
}
return resultMap;
}