`id`,`tenant_id`,`template_id`,`type`,`create_date`,`update_date` where 1 = 1 and `id` = #{id} and `tenant_id` = #{tenantId} and `template_id` = #{templateId} and `type` = #{type} and `create_date` = #{createDate} and `update_date` = #{updateDate} and id in #{idItem} order by ${sortColumns}