`id`,`tenant_id`,`parent_tenant_id`,`url`,`action_date`,`type`,`count`
where 1 = 1
and `id` = #{id}
and `tenant_id` = #{tenantId}
and `parent_tenant_id` = #{parentTenantId}
and `url` like concat('%', #{url},'%')
and `action_date` like concat('%', #{actionDate},'%')
and `type` = #{type}
and `count` = #{count}
and id in
#{idItem}
order by ${sortColumns}