Nuevas clases para verificacion

parent 325775bc
......@@ -23,7 +23,7 @@ class PluRegistroVerificacionSuscripcionRepository extends ServiceEntityReposito
{
$fecha = new \DateTime();
return $this->createQueryBuilder('p')
->andWhere("created_at >= " . $fecha->format("Y-m-d") . " 00:00:00 and created_at <= " . $fecha->format("Y-m-d") . " 23:59:59 and rvs_id_suscripcion = :val")
->andWhere("created_at >= '" . $fecha->format("Y-m-d") . " 00:00:00' and created_at <= '" . $fecha->format("Y-m-d") . " 23:59:59' and rvs_id_suscripcion = :val")
->setParameter('val', $value)
->getQuery()
->getOneOrNullResult()
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment