|
|
|
|
|
|
|
|
public JsonResult easyExcel(List<AirDataExcelVo> voArrayList,Inspection inspection,String filePath) { |
|
|
public JsonResult easyExcel(List<AirDataExcelVo> voArrayList,Inspection inspection,String filePath) { |
|
|
log.info("文件输出目录及格式:filePathName={}",filePath); |
|
|
log.info("文件输出目录及格式:filePathName={}",filePath); |
|
|
List<List<String>> heads = new ArrayList<>(); |
|
|
List<List<String>> heads = new ArrayList<>(); |
|
|
String totalName = "项目名称:"+ inspection.getName() +"+" + inspection.getCode(); |
|
|
|
|
|
|
|
|
String totalName = "项目名称:"+ inspection.getName(); |
|
|
String[] nameString = SystemConstant.EXCEL_SECOND_NAME; |
|
|
String[] nameString = SystemConstant.EXCEL_SECOND_NAME; |
|
|
for (String excelName : nameString) { |
|
|
for (String excelName : nameString) { |
|
|
heads.add(Arrays.asList(totalName,excelName)); |
|
|
heads.add(Arrays.asList(totalName,excelName)); |