findByHid

@Query(value = "select t from TaskEntity t where t.hid = :hid and t.ownerTenantId = :tenantId")
abstract fun findByHid(tenantId: Int, hid: String): TaskEntity?