easypoi多级动态表头
摘要:public static void main(String[] args) throws IOException { // exportList为表头总的集合,导出的EXCEL表格的表头完全是按照这个来生成的 List<ExcelExportEntity> exportList = new Arr
阅读全文
python爬取股票数据
摘要:import json import os import requests import time def save_data(data, date): if not os.path.exists(r'stock_data_%s.csv' % date): with open("stock_data
阅读全文
computeIfAbsent将list转成多层map
摘要:Map<String, Map<String, EnergyDosageSummary>> list2map(List<EnergyDosageSummary> list) { list = list.stream().sorted(Comparator.comparing(EnergyDosage
阅读全文