From 909fd8929d7906f1dca68acc05e36e29b0b9192c Mon Sep 17 00:00:00 2001 From: feiyu02 <risaku@163.com> Date: 星期二, 15 十一月 2022 10:57:30 +0800 Subject: [PATCH] 2022.11.15 --- src/main/kotlin/cn/flightfeather/supervision/business/report/cols/ColInspectionInfo.kt | 10 ++++++---- 1 files changed, 6 insertions(+), 4 deletions(-) diff --git a/src/main/kotlin/cn/flightfeather/supervision/business/report/cols/ColInspectionInfo.kt b/src/main/kotlin/cn/flightfeather/supervision/business/report/cols/ColInspectionInfo.kt index 0da1231..507266d 100644 --- a/src/main/kotlin/cn/flightfeather/supervision/business/report/cols/ColInspectionInfo.kt +++ b/src/main/kotlin/cn/flightfeather/supervision/business/report/cols/ColInspectionInfo.kt @@ -7,9 +7,10 @@ import cn.flightfeather.supervision.common.utils.ExcelUtil //鐩戠璇︽儏 -class ColInspectionInfo() : BaseCols() { +class ColInspectionInfo(chooseIndexList: List<Int> = emptyList()) : BaseCols(chooseIndexList) { override fun onHeads(dataSource: DataSource): MutableList<MutableList<ExcelUtil.MyCell>> { - return mutableListOf(mutableListOf( + return mutableListOf( + mutableListOf( ExcelUtil.MyCell("鐩戠鏃堕棿"), ExcelUtil.MyCell("宸℃煡浜哄憳"), ExcelUtil.MyCell("闂绫诲瀷"), @@ -30,7 +31,8 @@ ExcelUtil.MyCell("闂瀹℃牳鍗犳瘮"), ExcelUtil.MyCell("鏁存敼瀹℃牳鏁�"), ExcelUtil.MyCell("鏁存敼瀹℃牳鍗犳瘮"), - )) + ) + ) } override fun onOneRow(rowData: DataSource.RowData): List<Any> { @@ -136,7 +138,7 @@ listOf( pType, pDes, pLoc, pNum, changeTime, pChanged, changedProblem, cNum, unChangedProblem, unChangeNum, changePercent, checkStatus, pCheckTime, cCheckTime, - pCheckNum, pCheckPer, cCheckNum, cCheckPer + pCheckNum, pCheckPer, cCheckNum, cCheckPer ) ) } -- Gitblit v1.9.3