Doctrine
This commit is contained in:
parent
33dd6ce019
commit
868a29c1fb
@ -531,14 +531,16 @@ class Entreprise extends Scores_Ws_Server
|
||||
$nbReponsesTotal = 1;
|
||||
|
||||
} else {
|
||||
$iDb = new Metier_Util_Db();
|
||||
$iDb->insert('siren_inexistants',
|
||||
array( 'siren'=>$siren,
|
||||
'nic'=>$nic,
|
||||
'dep'=>$dep,
|
||||
'login'=>$this->User->login,
|
||||
'client'=>$this->User->idClient,
|
||||
'dateInsert'=>date('YmdHis')));
|
||||
try {
|
||||
$this->conn->insert(jo.siren_inexistants, array(
|
||||
'siren' => $siren,
|
||||
'nic' => $nic,
|
||||
'dep' => $dep,
|
||||
'login' => $this->User->login,
|
||||
'client' => $this->User->idClient,
|
||||
'dateInsert' => date('YmdHis')));
|
||||
} catch (\Doctrine\DBAL\DBALException $e) {
|
||||
}
|
||||
$nbReponses = 0;
|
||||
$nbReponsesTotal = 0;
|
||||
}
|
||||
|
@ -531,14 +531,16 @@ class Entreprise extends Scores_Ws_Server
|
||||
$nbReponsesTotal = 1;
|
||||
|
||||
} else {
|
||||
$iDb = new Metier_Util_Db();
|
||||
$iDb->insert('siren_inexistants',
|
||||
array( 'siren'=>$siren,
|
||||
'nic'=>$nic,
|
||||
'dep'=>$dep,
|
||||
'login'=>$this->User->login,
|
||||
'client'=>$this->User->idClient,
|
||||
'dateInsert'=>date('YmdHis')));
|
||||
try {
|
||||
$this->conn->insert(jo.siren_inexistants, array(
|
||||
'siren' => $siren,
|
||||
'nic' => $nic,
|
||||
'dep' => $dep,
|
||||
'login' => $this->User->login,
|
||||
'client' => $this->User->idClient,
|
||||
'dateInsert' => date('YmdHis')));
|
||||
} catch (\Doctrine\DBAL\DBALException $e) {
|
||||
}
|
||||
$nbReponses = 0;
|
||||
$nbReponsesTotal = 0;
|
||||
}
|
||||
|
@ -444,14 +444,16 @@ class Entreprise extends Scores_Ws_Server
|
||||
$nbReponsesTotal = 1;
|
||||
|
||||
} else {
|
||||
$iDb = new Metier_Util_Db();
|
||||
$iDb->insert('siren_inexistants',
|
||||
array( 'siren'=>$siren,
|
||||
'nic'=>$nic,
|
||||
'dep'=>$dep,
|
||||
'login'=>$this->User->login,
|
||||
'client'=>$this->User->idClient,
|
||||
'dateInsert'=>date('YmdHis')));
|
||||
try {
|
||||
$this->conn->insert(jo.siren_inexistants, array(
|
||||
'siren' => $siren,
|
||||
'nic' => $nic,
|
||||
'dep' => $dep,
|
||||
'login' => $this->User->login,
|
||||
'client' => $this->User->idClient,
|
||||
'dateInsert' => date('YmdHis')));
|
||||
} catch (\Doctrine\DBAL\DBALException $e) {
|
||||
}
|
||||
$nbReponses = 0;
|
||||
$nbReponsesTotal = 0;
|
||||
}
|
||||
|
@ -669,14 +669,16 @@ class Entreprise extends Scores_Ws_Server
|
||||
$nbReponsesTotal = 1;
|
||||
|
||||
} else {
|
||||
$iDb = new Metier_Util_Db();
|
||||
$iDb->insert('jo.siren_inexistants', array(
|
||||
'siren'=>$siren,
|
||||
'nic'=>$nic,
|
||||
'dep'=>$dep,
|
||||
'login'=>$this->User->login,
|
||||
'client'=>$this->User->idClient,
|
||||
'dateInsert'=>date('YmdHis')));
|
||||
try {
|
||||
$this->conn->insert(jo.siren_inexistants, array(
|
||||
'siren' => $siren,
|
||||
'nic' => $nic,
|
||||
'dep' => $dep,
|
||||
'login' => $this->User->login,
|
||||
'client' => $this->User->idClient,
|
||||
'dateInsert' => date('YmdHis')));
|
||||
} catch (\Doctrine\DBAL\DBALException $e) {
|
||||
}
|
||||
$nbReponses = 0;
|
||||
$nbReponsesTotal = 0;
|
||||
$rep['info'] = 'Siren inexistant';
|
||||
|
@ -2679,14 +2679,16 @@ class Entreprise extends Scores_Ws_Server
|
||||
$nbReponsesTotal = 1;
|
||||
|
||||
} else {
|
||||
$iDb = new Metier_Util_Db();
|
||||
$iDb->insert('jo.siren_inexistants',
|
||||
array( 'siren'=>$siren,
|
||||
'nic'=>$nic,
|
||||
'dep'=>$dep,
|
||||
'login'=>$this->User->login,
|
||||
'client'=>$this->User->idClient,
|
||||
'dateInsert'=>date('YmdHis')));
|
||||
try {
|
||||
$this->conn->insert(jo.siren_inexistants, array(
|
||||
'siren' => $siren,
|
||||
'nic' => $nic,
|
||||
'dep' => $dep,
|
||||
'login' => $this->User->login,
|
||||
'client' => $this->User->idClient,
|
||||
'dateInsert' => date('YmdHis')));
|
||||
} catch (\Doctrine\DBAL\DBALException $e) {
|
||||
}
|
||||
$nbReponses = 0;
|
||||
$nbReponsesTotal = 0;
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user