src/main/kotlin/cn/flightfeather/supervision/business/autooutput/score/ScoreItem.kt
@@ -66,7 +66,7 @@ * @param size 传入评分条目的数量,评分条目按照一定规则进行排序 * @return 返回需要扣分的评分条目的序号 */ abstract fun otherProblem(size: Int): Int? abstract fun otherProblem(size: Int): List<Int>? /** * 自动评分计算逻辑 @@ -77,7 +77,9 @@ return } otherProblem(rulePair?.second!!.size)?.let {i-> rulePair?.second!![i].getScore() } otherProblem(rulePair?.second!!.size)?.let { it.forEach {i -> rulePair?.second!![i].getScore() } } ScoreUtil.subRuleCal(rulePair) }