From af97e376db85a53b41c9fe069bd2948b59387e49 Mon Sep 17 00:00:00 2001
From: xyc <jc_xiong@hotmail.com>
Date: 星期二, 05 十一月 2024 16:28:38 +0800
Subject: [PATCH] 优化工况管理右侧树形结构显示的后端处理速度
---
modules/mainPart/src/main/resources/mapper/taskReliability/ModelNodeAlgorithmDao.xml | 9 +++++++++
1 files changed, 9 insertions(+), 0 deletions(-)
diff --git a/modules/mainPart/src/main/resources/mapper/taskReliability/ModelNodeAlgorithmDao.xml b/modules/mainPart/src/main/resources/mapper/taskReliability/ModelNodeAlgorithmDao.xml
index 6dc4b80..08d8a54 100644
--- a/modules/mainPart/src/main/resources/mapper/taskReliability/ModelNodeAlgorithmDao.xml
+++ b/modules/mainPart/src/main/resources/mapper/taskReliability/ModelNodeAlgorithmDao.xml
@@ -24,6 +24,15 @@
and model_id=#{modelId}
</select>
+ <select id="getRbdNodes" resultType="com.zt.life.modules.mainPart.taskReliability.model.ModelNodeAlgorithm">
+ select a.*
+ from model_node_algorithm a
+ where
+ a.is_delete = 0
+ and a.node_type = 'node'
+ order by a.model_id, a.data_id
+ </select>
+
<update id="deleteByModelId">
delete from model_node_algorithm where model_id=#{modelId}
</update>
--
Gitblit v1.9.1