src/main/kotlin/com/flightfeather/uav/biz/FactorFilter.kt
@@ -28,6 +28,11 @@ return this } fun withCombination(com: List<List<FactorType>>):Builder{ combination.addAll(com) return this } fun create(): FactorFilter { return this@FactorFilter } @@ -85,6 +90,9 @@ // 所选因子集合 val selectedList = mutableListOf<SelectedFactor>() // 因子的关联关系 val combination = mutableListOf<List<FactorType>>() fun mainList(): List<FactorType> { return selectedList.map { it.main } }