Commit b6475f10de84f28b1bea454a01d92a9a69c63832
Committed by
GitHub
Exists in
2.8
and in
6 other branches
Merge pull request #6452 from portabilis/issue-6450
Corrige problema com matrículas de usuário na unificação de pessoa
Showing
1 changed file
with
22 additions
and
1 deletions
Show diff stats
ieducar/lib/App/Unificacao/Pessoa.php
... | ... | @@ -273,16 +273,37 @@ class App_Unificacao_Pessoa extends App_Unificacao_Base |
273 | 273 | 'coluna' => 'ref_ref_cod_pessoa_cad' |
274 | 274 | ], |
275 | 275 | [ |
276 | + 'tabela' => 'portal.agenda', | |
277 | + 'coluna' => 'ref_ref_cod_pessoa_own' | |
278 | + ], | |
279 | + [ | |
280 | + 'tabela' => 'portal.agenda', | |
281 | + 'coluna' => 'ref_ref_cod_pessoa_cad' | |
282 | + ], | |
283 | + [ | |
284 | + 'tabela' => 'portal.agenda', | |
285 | + 'coluna' => 'ref_ref_cod_pessoa_exc' | |
286 | + ], | |
287 | + [ | |
276 | 288 | 'tabela' => 'portal.agenda_responsavel', |
277 | 289 | 'coluna' => 'ref_ref_cod_pessoa_fj' |
278 | 290 | ], |
279 | 291 | [ |
292 | + 'tabela' => 'portal.funcionario', | |
293 | + 'coluna' => 'ref_ref_cod_pessoa_fj' | |
294 | + ], | |
295 | + [ | |
280 | 296 | 'tabela' => 'pmieducar.aluno_excluidos', |
281 | 297 | 'coluna' => 'ref_idpes' |
282 | 298 | ], |
283 | 299 | ]; |
284 | 300 | |
285 | - protected $chavesDeletarDuplicados = []; | |
301 | + protected $chavesDeletarDuplicados = [ | |
302 | + [ | |
303 | + 'tabela' => 'portal.funcionario', | |
304 | + 'coluna' => 'ref_cod_pessoa_fj' | |
305 | + ], | |
306 | + ]; | |
286 | 307 | |
287 | 308 | protected $triggersNecessarias = [ |
288 | 309 | [ | ... | ... |