From 9c315b4dbbb9f25d5373d1f228ed441a4e8ccbf7 Mon Sep 17 00:00:00 2001 From: hcong <1050828145@qq.com> Date: 星期四, 12 十二月 2024 15:31:00 +0800 Subject: [PATCH] 1. 数据产品中间结果基本信息和具体信息入库 --- src/main/kotlin/cn/flightfeather/supervision/business/report/bean/ProAnalysisSummaryResult.kt | 22 ++++++++++++++++++++++ 1 files changed, 22 insertions(+), 0 deletions(-) diff --git a/src/main/kotlin/cn/flightfeather/supervision/business/report/bean/ProAnalysisSummaryResult.kt b/src/main/kotlin/cn/flightfeather/supervision/business/report/bean/ProAnalysisSummaryResult.kt index 0711386..6c8cb06 100644 --- a/src/main/kotlin/cn/flightfeather/supervision/business/report/bean/ProAnalysisSummaryResult.kt +++ b/src/main/kotlin/cn/flightfeather/supervision/business/report/bean/ProAnalysisSummaryResult.kt @@ -1,5 +1,6 @@ package cn.flightfeather.supervision.business.report.bean +import cn.flightfeather.supervision.domain.ds1.entity.DataProductTownProAnalysis import java.math.BigDecimal /** @@ -54,4 +55,25 @@ @ExcelHead(16, "鎷熷垪鍏ラ噸鐐圭洃绠″崰姣�") var focusScenePer: BigDecimal? = null + + override fun convertToDBEntity(): DataProductTownProAnalysis { + val entity = DataProductTownProAnalysis() + entity.formIndex = this.formIndex + entity.townName = this.sceneTownname + entity.sceneType = this.sceneType + entity.sceneCount = this.sceneCount + entity.inactiveSceneCount = this.inactiveScenes + entity.activeSceneCount = this.activeScenes + entity.changeSceneCount = this.changeScenes + entity.changeScenePer = this.changeScenePer + entity.proCount = this.proNum + entity.proPer = this.proPer + entity.changeCount = this.changeNum + entity.changePer = this.changePer + entity.changeSceneRank = this.changeSceneRank + entity.proChangeRank = this.proChangeRank + entity.focusSceneCount = this.focusSceneNum + entity.focusScenePer = this.focusScenePer + return entity + } } \ No newline at end of file -- Gitblit v1.9.3