`id`,`name`,`is_del`,`remark`,`type`,`sort`,`print_data_type`,`print_data_json`,`is_edit`,`default_value`,`tenant_id`
where id > 0
and `id` = #{id}
and `name` like concat('%', #{name},'%')
and `is_del` = #{isDel}
and `type` = #{type}
and `sort` = #{sort}
and `is_edit` = #{isEdit}
and (`tenant_id` = #{tenantId} or `tenant_id` is null)
and id in
#{idItem}
order by ${sortColumns}