From c1becf4cbd2e99601ce011c14b8742427249cfb4 Mon Sep 17 00:00:00 2001
From: feiyu02 <risaku@163.com>
Date: 星期二, 09 一月 2024 17:25:05 +0800
Subject: [PATCH] 1. 多项调整

---
 src/main/kotlin/cn/flightfeather/supervision/business/autooutput/score/ScoreItem.kt |    6 ++++--
 1 files changed, 4 insertions(+), 2 deletions(-)

diff --git a/src/main/kotlin/cn/flightfeather/supervision/business/autooutput/score/ScoreItem.kt b/src/main/kotlin/cn/flightfeather/supervision/business/autooutput/score/ScoreItem.kt
index 4a50913..6264100 100644
--- a/src/main/kotlin/cn/flightfeather/supervision/business/autooutput/score/ScoreItem.kt
+++ b/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)
     }

--
Gitblit v1.9.3