分组求总:
var outDto = equipmentList.GroupBy(x => new {x.EquipmentType}).Select(x => new EquipmentBasicInfoCountDto { EquipmentType = x.Key.EquipmentType, EquipmentCount = x.Count() }).ToList();