From 1a677d2b4a4bc615602f8c2a22bc07ec1356e5be Mon Sep 17 00:00:00 2001
From: feiyu02 <risaku@163.com>
Date: 星期四, 16 十月 2025 17:39:06 +0800
Subject: [PATCH] 2025.10.16 1. 根据全局响应增强器GlobalResponseAdvice,将原先的BaseResPack接口包装函数统一去除; 2. 新增三种类型的数据产品数据库实体 3. 新增典型问题场景清单中间数据产品接口
---
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