摘要: List<Map<String, Object>> dataList = new ArrayList<>(); Integer total = dataList.stream().mapToInt(e -> Integer.parseInt(e.get("num").toString())).sum 阅读全文
posted @ 2021-10-19 17:36 zc1212 阅读(2197) 评论(0) 推荐(0) 编辑
摘要: XWPFDocument document = new XWPFDocument(); XWPFParagraph p = document.createParagraph(); p.setAlignment(ParagraphAlignment.CENTER); //段落居中 XWPFRun r 阅读全文
posted @ 2021-10-19 17:11 zc1212 阅读(253) 评论(0) 推荐(0) 编辑