id,tenant_id,parent_tenant_id,merchant_id,ocr_model_id,create_time,update_time
where 1 = 1
and `id` = #{id}
and `tenant_id` = #{tenantId}
and `parent_tenant_id` = #{parentTenantId}
and `merchant_id` = #{merchantId}
and `ocr_model_id` = #{ocrModelId}
and id in
#{idItem}
order by ${sortColumns}