From 027bf7da7a012fa36f8835b2419c74da8b2f1c28 Mon Sep 17 00:00:00 2001
From: feiyu02 <risaku@163.com>
Date: 星期二, 15 十一月 2022 11:00:21 +0800
Subject: [PATCH] 2022.11.15

---
 src/main/kotlin/cn/flightfeather/supervision/domain/enumeration/EnElementSubType.kt |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)

diff --git a/src/main/kotlin/cn/flightfeather/supervision/domain/enumeration/EnElementSubType.kt b/src/main/kotlin/cn/flightfeather/supervision/domain/enumeration/EnElementSubType.kt
index f47c63a..2764c3b 100644
--- a/src/main/kotlin/cn/flightfeather/supervision/domain/enumeration/EnElementSubType.kt
+++ b/src/main/kotlin/cn/flightfeather/supervision/domain/enumeration/EnElementSubType.kt
@@ -72,7 +72,7 @@
             return if (value.toInt() == 99) {
                 subTypes[index].last()
             } else {
-                subTypes[index][value.toInt()]
+                subTypes[index][value.toInt() - 1]
             }
         }
     }

--
Gitblit v1.9.3