getResultBeanForMarkSheetType(result, sheet.getMarkSheetType()).addMarkSheet(sheet);
}
private static MarkSheetSearchResultBean getResultBeanForMarkSheetType(Map<MarkSheetType, MarkSheetSearchResultBean> result,
MarkSheetType sheetType) {
MarkSheetSearchResultBean markSheetSearchResultBean = result.get(sheetType);
if (markSheetSearchResultBean == null) {
markSheetSearchResultBean = new MarkSheetSearchResultBean();
result.put(sheetType, markSheetSearchResultBean);
}
return markSheetSearchResultBean;
}