| | |
| | | package cn.flightfeather.supervision.business.report.template |
| | | |
| | | import cn.flightfeather.supervision.business.report.DataSource |
| | | import cn.flightfeather.supervision.business.report.bean.BaseTemplateResult |
| | | import cn.flightfeather.supervision.business.report.bean.ProTypeRankMainSummaryResult |
| | | import cn.flightfeather.supervision.common.utils.Constant |
| | | import cn.flightfeather.supervision.common.utils.ExcelUtil |
| | | |
| | | class ProTypeRankMainSummary(dataSource: DataSource) : ProTypeRankSummary(dataSource) { |
| | | override val templateName: String = "月度主要或典型问题分析表" |
| | | |
| | | override var resultObjects: MutableList<BaseTemplateResult> = mutableListOf(ProTypeRankMainSummaryResult()) |
| | | override fun formatTable(summarys: MutableList<Summary>) { |
| | | //排名靠前的max个问题被认定为主要或典型问题 |
| | | val max = when (dataSource.config.sceneType.toString()) { |