Commit abd2aaf2 authored by huyuchen's avatar huyuchen

sheet名优化

parent 3db8cd33
......@@ -3957,7 +3957,7 @@ public class TDispatchInfoServiceImpl extends ServiceImpl<TDispatchInfoMapper, T
}
}
if (Common.isNotNull(list)){
WriteSheet writeSheet = EasyExcel.writerSheet(ArchivesConstants.EMP_BAD_RECORD+index).build();
WriteSheet writeSheet = EasyExcel.writerSheet("公积金变更清册"+index).build();
excelWriter.write(list,writeSheet);
index++;
i = i + CommonConstants.EXCEL_EXPORT_LIMIT;
......@@ -3968,7 +3968,7 @@ public class TDispatchInfoServiceImpl extends ServiceImpl<TDispatchInfoMapper, T
}
excelWriter.finish();
}else {
WriteSheet writeSheet = EasyExcel.writerSheet(ArchivesConstants.EMP_BAD_RECORD+index).build();
WriteSheet writeSheet = EasyExcel.writerSheet("公积金变更清册"+index).build();
excelWriter.write(list,writeSheet);
excelWriter.finish();
}
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment