SerializeFilter[] filters = new SerializeFilter[]{simpleValueFilter};
        JSONArray jsonListAll = JSONArray.parseArray(JSON.toJSONString(list,filters));
        List<Map> listMap = JSONArray.parseArray(jsonListAll.toJSONString(), Map.class);
        List<ExcelExportEntity> entityList = new ArrayList<ExcelExportEntity>();
        entityList.add(new ExcelExportEntity("姓名","childName"));
        entityList.add(new ExcelExportEntity("性别", "childSex"));
        entityList.add(new ExcelExportEntity("日期", "leaveTime"));
        entityList.add(new ExcelExportEntity("主要症状", "symptoms"));
        entityList.add(new ExcelExportEntity("就医医院", "hospital"));
        entityList.add(new ExcelExportEntity("诊断结果", "medicalResult"));
        entityList.add(new ExcelExportEntity("是否传染病", "isInfection"));
        entityList.add(new ExcelExportEntity("住院/居家", "treatmentResult"));
        entityList.add(new ExcelExportEntity("目前状况", "state"));
        entityList.add(new ExcelExportEntity("返园日期", "endTime"));
        entityList.add(new ExcelExportEntity("备注", "attach"));


        ExportParams exportParams = new ExportParams("病假追踪", "病假追踪");
        exportParams.setType(ExcelType.HSSF);
        Workbook workbook = ExcelExportUtil.exportExcel(exportParams, entityList , listMap );
03-06 16:47