Skip to content
Snippets Groups Projects
Commit 701efef0 authored by Laurent Lecluse's avatar Laurent Lecluse
Browse files

Correction de bug mineure : dans le calcul des TBL, le temps pris n'était pas...

Correction de bug mineure : dans le calcul des TBL, le temps pris n'était pas réinitialisé par étape, donc ça s'accumulait au fil des TBLS...
parent dd27d5c7
No related branches found
No related tags found
No related merge requests found
...@@ -292,8 +292,8 @@ class WorkflowService extends AbstractService ...@@ -292,8 +292,8 @@ class WorkflowService extends AbstractService
$sql = "SELECT tbl_name FROM tbl WHERE tbl_name <> 'formule' ORDER BY ordre"; $sql = "SELECT tbl_name FROM tbl WHERE tbl_name <> 'formule' ORDER BY ordre";
$tbls = $this->getEntityManager()->getConnection()->fetchAll($sql); $tbls = $this->getEntityManager()->getConnection()->fetchAll($sql);
$result = true; $result = true;
$begin = microtime(true);
foreach( $tbls as $tbl ){ foreach( $tbls as $tbl ){
$begin = microtime(true);
$tbl = $tbl['TBL_NAME']; $tbl = $tbl['TBL_NAME'];
$sql = 'BEGIN UNICAEN_TBL.CALCULER(\''.$tbl.'\'); END;'; $sql = 'BEGIN UNICAEN_TBL.CALCULER(\''.$tbl.'\'); END;';
if (is_callable($beforeTrigger)){ if (is_callable($beforeTrigger)){
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment