| | |
| | | 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> |