and id = #{params.id}
and channel_id = #{params.channelId}
and site_id = #{params.siteId}
and rule_source = #{params.ruleSource}
and device_type = #{params.deviceType}
and status = #{params.status}
and alarm_type_id = #{params.alarmTypeId}
id,
channel_id,
site_id,
rule_source,
device_type,
rule_name,
measuring_code,
expression,
alarm_type_id,
measuring_data_type,
status,
create_date,
create_by,
update_date,
update_by