xiangpei
2024-09-06 3848c5677aefdb201c24d615a7c2ad03fd5154e6
ycl-server/src/main/resources/mapper/zgyw/CheckTemplateRuleMapper.xml
@@ -72,4 +72,13 @@
        where tctr.check_template_id = #{checkTemplateId}
    </select>
    <select id="getAllRuleTemplate" resultType="com.ycl.platform.domain.vo.RuleExcelVO">
        select cr.id as ruleId,ct.examine_category as examineCategory,ct.examine_tag as examineTag,ct.template_name as templateName,cr.rule_name as ruleName,ctr.weight as weight,cr.rule_description as ruleDescription
        from t_check_template_rule ctr
        left join t_check_template ct on ctr.check_template_id = ct.id
        left join t_check_rule cr on ctr.check_rule_id = cr.id
        where ct.status = 0 and ct.deleted = 0
    </select>
</mapper>