From ad4c2b5de789439e25eedc68e2d7f0beda1fdb4c Mon Sep 17 00:00:00 2001
From: 龚焕茏 <2842157468@qq.com>
Date: 星期四, 27 六月 2024 15:13:53 +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