$this->createQueryBuilder('t')
->update()
->set('t.status', 1)
->set('t.ok_date', new \DateTime('now'))
->where('t.id = :t_id')
->setParameter('t_id', $t_id)
$this->createQueryBuilder('t')
->update()
->set('t.status', 1)
->set('t.ok_date', 'NOW()')
->where('t.id = :t_id')
->setParameter('t_id', $t_id)