java操作excel 可参考https://blog.csdn.net/xunwei0303/article/details/53213130 直接上代码: 一.java生成excel文件: package com.excel; public class Man { private String name; private int sex; private String idCard; private float salary; public Man(String name, int sex,