导出设备顺序

This commit is contained in:
jing's 2024-01-26 22:13:11 +08:00
parent 2530f56254
commit 31227e8094
1 changed files with 1 additions and 1 deletions

View File

@ -380,7 +380,7 @@ public class ExportDeviceHelper {
if (CollectionUtil.isNotEmpty(items)) {
tableNoCounting.getAndIncrement();
WriteTable table = EasyExcel.writerTable(tableNoCounting.get())
.head(getHeader(StrUtil.format("{} {}",opParentName,optionParentDrawingNoName)))
.head(getHeader(StrUtil.format("{} {}",optionParentDrawingNoName,opParentName)))
.needHead(Boolean.TRUE)//需要Header
.automaticMergeHead(false)
.registerWriteHandler(EasyExcelUtil.getDefaultStyle())//传入自定义样式