来源:https://stackoverflow.com/questions/35900528/better-way-for-aggregation-on-list-of-case-classes 标签 scala case-class foldleft