From a9e261765fa0c0d067466ef63869c6fbeb1f3e8d Mon Sep 17 00:00:00 2001
From: 龚焕茏 <2842157468@qq.com>
Date: 星期三, 21 八月 2024 14:37:25 +0800
Subject: [PATCH] feat:数据中心分页
---
ycl-server/src/main/resources/mapper/zgyw/CheckTemplateRuleMapper.xml | 5 ++++-
1 files changed, 4 insertions(+), 1 deletions(-)
diff --git a/ycl-server/src/main/resources/mapper/zgyw/CheckTemplateRuleMapper.xml b/ycl-server/src/main/resources/mapper/zgyw/CheckTemplateRuleMapper.xml
index 0a25529..8445c62 100644
--- a/ycl-server/src/main/resources/mapper/zgyw/CheckTemplateRuleMapper.xml
+++ b/ycl-server/src/main/resources/mapper/zgyw/CheckTemplateRuleMapper.xml
@@ -67,6 +67,9 @@
delete from t_check_template_rule where check_template_id = #{templateId}
</delete>
<select id="selectListByTemplateId" resultType="com.ycl.platform.domain.entity.CheckTemplateRule">
- select * from t_check_template_rule where check_template_id = #{checkTemplateId}
+ select tctr.*,tcr.rule_name as checkRuleName,tcr.rule_index from t_check_template_rule tctr
+ left join t_check_rule tcr on tctr.check_rule_id = tcr.id
+ where check_template_id = #{checkTemplateId}
</select>
+
</mapper>
\ No newline at end of file
--
Gitblit v1.8.0