导出设备顺序
This commit is contained in:
parent
2530f56254
commit
31227e8094
|
|
@ -380,7 +380,7 @@ public class ExportDeviceHelper {
|
||||||
if (CollectionUtil.isNotEmpty(items)) {
|
if (CollectionUtil.isNotEmpty(items)) {
|
||||||
tableNoCounting.getAndIncrement();
|
tableNoCounting.getAndIncrement();
|
||||||
WriteTable table = EasyExcel.writerTable(tableNoCounting.get())
|
WriteTable table = EasyExcel.writerTable(tableNoCounting.get())
|
||||||
.head(getHeader(StrUtil.format("{} {}",opParentName,optionParentDrawingNoName)))
|
.head(getHeader(StrUtil.format("{} {}",optionParentDrawingNoName,opParentName)))
|
||||||
.needHead(Boolean.TRUE)//需要Header
|
.needHead(Boolean.TRUE)//需要Header
|
||||||
.automaticMergeHead(false)
|
.automaticMergeHead(false)
|
||||||
.registerWriteHandler(EasyExcelUtil.getDefaultStyle())//传入自定义样式
|
.registerWriteHandler(EasyExcelUtil.getDefaultStyle())//传入自定义样式
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue