@ExcelIgnoreUnannotated public class FaceLibDto { // 加了@ExcelProperty注解的字段就导出,没加的不会导出 private String no; @ExcelProperty(value = "会导出") private String name; }