Commit 138b05ad authored by huyuchen's avatar huyuchen

sheet名优化

parent 8f603406
......@@ -3956,7 +3956,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;
......@@ -3967,7 +3967,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