RRG : Afficchage
This commit is contained in:
parent
3d7cb16713
commit
afec609af7
@ -153,7 +153,7 @@ if ($opts->from == 'surv') {
|
|||||||
}
|
}
|
||||||
// --- Entités consultées via webservice depuis les logs (dateHeure) + Entités avec scores modifiés ou ajoutés (indiScoreDate)
|
// --- Entités consultées via webservice depuis les logs (dateHeure) + Entités avec scores modifiés ou ajoutés (indiScoreDate)
|
||||||
elseif ($opts->from == 'log') {
|
elseif ($opts->from == 'log') {
|
||||||
echo date('Y-m-d H:i:s')." - Selection dans les logs entre le $dateSql1 et ".date('Y-m-d')."\n";
|
echo date('Y-m-d H:i:s')." - Selection dans les logs entre le $dateSql1 et $dateSql2\n";
|
||||||
$sql = "SELECT LPAD(surv.siren,9,0) AS siren, surv.dateHeure AS dateAjout, score.indiScore20, score.indiScoreDate, score.encours, score.cs, score.dateBilan
|
$sql = "SELECT LPAD(surv.siren,9,0) AS siren, surv.dateHeure AS dateAjout, score.indiScore20, score.indiScoreDate, score.encours, score.cs, score.dateBilan
|
||||||
FROM sdv1.logs AS surv LEFT JOIN jo.scores_surveillance AS score ON surv.siren = score.siren
|
FROM sdv1.logs AS surv LEFT JOIN jo.scores_surveillance AS score ON surv.siren = score.siren
|
||||||
WHERE surv.login='".$login."' AND
|
WHERE surv.login='".$login."' AND
|
||||||
|
Loading…
x
Reference in New Issue
Block a user