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/datasource/AopSceneTypeCheck.kt | 6 +++--- 1 files changed, 3 insertions(+), 3 deletions(-) diff --git a/src/main/kotlin/cn/flightfeather/supervision/business/autooutput/datasource/AopSceneTypeCheck.kt b/src/main/kotlin/cn/flightfeather/supervision/business/autooutput/datasource/AopSceneTypeCheck.kt index dd7f6fa..b819f36 100644 --- a/src/main/kotlin/cn/flightfeather/supervision/business/autooutput/datasource/AopSceneTypeCheck.kt +++ b/src/main/kotlin/cn/flightfeather/supervision/business/autooutput/datasource/AopSceneTypeCheck.kt @@ -17,12 +17,12 @@ * 鍦烘櫙绫诲瀷鍒ゅ畾 * @return 鍒ゆ柇缁撴灉锛岋紙鏄惁浣跨敤鏈郴缁熷畾涔夛紝绫诲瀷鍊硷級 */ - fun checkSceneType(sceneType: Int): Pair<Boolean, Int> { + fun checkSceneType(sceneType: Int?): Pair<Boolean, Int?> { // TODO: 2023/9/7 閫氳繃鏁版嵁搴撻厤缃〃鍐冲畾褰撳墠绫诲瀷鐨勬渶缁堢被鍨嬪畾涔� // FIXME: 2023/9/7 鏆傛椂鍐欐鐩稿叧閰嶇疆 - return if (sceneType.toString() == Constant.ScenseType.TYPE6.value) { - Pair(false, Constant.ScenseType.typeMap(sceneType.toByte())!!.toInt()) + return if (sceneType.toString() == Constant.SceneType.TYPE6.value) { + Pair(false, Constant.SceneType.typeMap(sceneType?.toByte())!!.toInt()) } else { Pair(true, sceneType) } -- Gitblit v1.9.3