Ids de ventas
This commit is contained in:
@ -28,7 +28,7 @@ class Facturacion
|
|||||||
$output['ventas'] = $this->fetchRedis($redisService, $redisKey);
|
$output['ventas'] = $this->fetchRedis($redisService, $redisKey);
|
||||||
} catch (EmptyRedis) {
|
} catch (EmptyRedis) {
|
||||||
try {
|
try {
|
||||||
$output['ventas'] = $ventaService->getActivaByProyecto($proyecto_id);
|
$output['ventas'] = $ventaService->getIdsByProyecto($proyecto_id);
|
||||||
$this->saveRedis($redisService, $redisKey, $output['ventas']);
|
$this->saveRedis($redisService, $redisKey, $output['ventas']);
|
||||||
} catch (EmptyResult) {}
|
} catch (EmptyResult) {}
|
||||||
}
|
}
|
||||||
|
Reference in New Issue
Block a user