From f565fbc09724992d53ec6632c3e5d1de3325f328 Mon Sep 17 00:00:00 2001 From: feiyu02 <risaku@163.com> Date: 星期四, 11 一月 2024 17:33:44 +0800 Subject: [PATCH] 1. 调整返回接口的异常捕获类为自定义异常类; 2. 修改AreaVo类中时间参数的类型; 3. 新增文档生成任务类型,并新增文档后台生成任务逻辑; --- 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