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/lightshare/service/Impl/EvaluationruleServiceImpl.kt | 2 +-
1 files changed, 1 insertions(+), 1 deletions(-)
diff --git a/src/main/kotlin/cn/flightfeather/supervision/lightshare/service/Impl/EvaluationruleServiceImpl.kt b/src/main/kotlin/cn/flightfeather/supervision/lightshare/service/Impl/EvaluationruleServiceImpl.kt
index c19974c..6b3d0c3 100644
--- a/src/main/kotlin/cn/flightfeather/supervision/lightshare/service/Impl/EvaluationruleServiceImpl.kt
+++ b/src/main/kotlin/cn/flightfeather/supervision/lightshare/service/Impl/EvaluationruleServiceImpl.kt
@@ -49,7 +49,7 @@
return if (resultList.isEmpty()) {
//榛樿杩斿洖宸ヤ笟浼佷笟绫诲瀷鐨勮瘎鍒嗚〃鏍�
evaluationruleMapper.selectByExample(Example(Evaluationrule::class.java).apply {
- val criteria1 = example.createCriteria()
+ val criteria1 = createCriteria()
erGuid?.let { criteria1.andEqualTo("guid", it) }
criteria1.andEqualTo("scensetypeid", SceneType.Industrial.value.toByte())
})
--
Gitblit v1.9.3