| Line 152... |
Line 152... |
| 152 |
|
152 |
|
| Line 153... |
Line 153... |
| 153 |
private function creerPropositionAPartirObservation($id_observation) {
|
153 |
private function creerPropositionAPartirObservation($id_observation) {
|
| 154 |
|
154 |
|
| 155 |
$insertion = 'INSERT IGNORE INTO del_commentaire '.
|
155 |
$insertion = 'INSERT IGNORE INTO del_commentaire '.
|
| 156 |
'(ce_observation, ce_utilisateur, utilisateur_prenom, utilisateur_nom, utilisateur_courriel, '.
|
156 |
'(ce_observation, ce_utilisateur, utilisateur_prenom, utilisateur_nom, utilisateur_courriel, '.
|
| 157 |
'nom_sel, nom_sel_nn, nom_ret, nom_ret_nn, nt, famille, nom_referentiel) '.
|
157 |
'nom_sel, nom_sel_nn, nom_ret, nom_ret_nn, nt, famille, nom_referentiel, proposition_initiale) '.
|
| 158 |
'SELECT id_observation, ce_utilisateur, prenom, nom, '.
|
158 |
'SELECT id_observation, ce_utilisateur, prenom, nom, '.
|
| 159 |
' courriel, nom_sel, nom_sel_nn, nom_ret, nom_ret_nn, '.
|
159 |
' courriel, nom_sel, nom_sel_nn, nom_ret, nom_ret_nn, '.
|
| 160 |
' nt, famille, "bdtfx_v1" '.
|
160 |
' nt, famille, "bdtfx_v1", "1" '.
|
| 161 |
'FROM del_observation do '.
|
161 |
'FROM del_observation do '.
|
| 162 |
' LEFT JOIN del_utilisateur du ON '.
|
162 |
' LEFT JOIN del_utilisateur du ON '.
|