| | |
| | | import cn.flightfeather.supervision.domain.ds1.entity.SceneMixingPlant |
| | | import cn.flightfeather.supervision.domain.ds1.entity.SceneStorageYard |
| | | import cn.flightfeather.supervision.domain.ds1.entity.SceneWharf |
| | | import kotlin.math.round |
| | | |
| | | /** |
| | | * 分街镇问题整改分析汇总表 |
| | |
| | | districtMap[k]?.apply { |
| | | sceneCount++ |
| | | val status = when (dataSource.config.sceneType.toString()) { |
| | | Constant.ScenseType.TYPE1.value -> { |
| | | Constant.SceneType.TYPE1.value -> { |
| | | (rowData.baseScene as SceneConstructionSite?)?.csStatus |
| | | } |
| | | Constant.ScenseType.TYPE2.value -> { |
| | | Constant.SceneType.TYPE2.value -> { |
| | | (rowData.baseScene as SceneWharf?)?.getwStatus() |
| | | } |
| | | Constant.ScenseType.TYPE3.value -> { |
| | | Constant.SceneType.TYPE3.value -> { |
| | | (rowData.baseScene as SceneMixingPlant?)?.mpStatus |
| | | } |
| | | Constant.ScenseType.TYPE14.value -> { |
| | | Constant.SceneType.TYPE14.value -> { |
| | | (rowData.baseScene as SceneStorageYard?)?.syStatus |
| | | } |
| | | else -> "" |