select id, create_by, create_by_name, create_time, update_by, update_by_name, update_time, del_flag, top_organization_id, organization_id, organization_name, rule_num, rule_name, enabled, remark from qc_rule
where del_flag = 1
and top_organization_id = #{topOrganizationId}
and organization_id = #{organizationId}
and rule_num = #{ruleNum}
and rule_name like concat('%', #{ruleName}, '%')
and enabled = #{enabled}