Update MInsee
This commit is contained in:
parent
8841d85d16
commit
0f6d714c90
@ -4451,7 +4451,7 @@ class Metier_Insee_MInsee extends Metier_Insee_Table
|
||||
if ($sqlHistoRubrique !== false) {
|
||||
$sqlHistoWhere = "e.E1GSIR=$siren";
|
||||
$sqlHistoWhere.= $sqlHistoRubrique;
|
||||
$sqlHistoWhere.= " AND e.ANBASE=x.annonceNum AND e.DATE BETWEEN 19890101 AND 20041231";
|
||||
$sqlHistoWhere.= " AND e.ANBASE=x.annonceNum AND (e.DATE BETWEEN 19960101 AND 20041231 OR e.DATE<19960101 AND e.E1GSIR=e.SIREN)";
|
||||
$sqlHistoWhere.= " GROUP BY e.ANBASE";
|
||||
$sqlHisto = $this->getAnnoncesLegalesHisto()." WHERE ".$sqlHistoWhere;
|
||||
}
|
||||
@ -4955,8 +4955,9 @@ class Metier_Insee_MInsee extends Metier_Insee_Table
|
||||
if ($this->debug) file_put_contents('procol.log', "=== Cloture ===\n", FILE_APPEND);
|
||||
if ($this->debug) file_put_contents('procol.log', "Cloture après procédure\n", FILE_APPEND);
|
||||
$this->SituationCloture = true;
|
||||
} else {
|
||||
// --- Evenements effaçant l'indicateur P dans Situation Juridique
|
||||
}
|
||||
// --- Evenements effaçant l'indicateur P dans Situation Juridique
|
||||
else {
|
||||
if ($this->debug) file_put_contents('procol.log', "=== Traitement effacement procol ===\n", FILE_APPEND);
|
||||
$tabNoProcol = array();
|
||||
$tmp = $this->iDb->select('jo.tabEvenements', 'codEven, affProcol', 'affProcol>0', false, MYSQL_ASSOC);
|
||||
|
Loading…
Reference in New Issue
Block a user