`id`,`tenant_id`,`parent_tenant_id`,`user_id`,`type`,`business`,`target`,`create_time`,`update_time`
where 1 = 1
and `id` = #{id}
and `tenant_id` = #{tenantId}
and `parent_tenant_id` = #{parentTenantId}
and `user_id` = #{userId}
and `type` = #{type}
and id in
#{idItem}
order by ${sortColumns}