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, wave_number, order_num_max, order_num_min, material_type_max, material_type_min, material_num_max, material_num_min, is_more_shipper, is_cross_depot, remark from wave_rule
where del_flag = 1
and top_organization_id = #{topOrganizationId}
and organization_id = #{organizationId}
and organization_name like concat('%', #{organizationName}, '%')
and rule_num = #{ruleNum}
and rule_name like concat('%', #{ruleName}, '%')
and enabled = #{enabled}
and wave_number = #{waveNumber}
and order_num_max = #{orderNumMax}
and order_num_min = #{orderNumMin}
and material_type_max = #{materialTypeMax}
and material_type_min = #{materialTypeMin}
and material_num_max = #{materialNumMax}
and material_num_min = #{materialNumMin}
and is_more_shipper = #{isMoreShipper}
and is_cross_depot = #{isCrossDepot}