feiyu02
2025-07-16 8fc27dba6719041402e3e3c099e2f3e01d9d52c7
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 }
    }