fix multi device

parent f5fb6651
......@@ -48,9 +48,9 @@ class McafeeMigrarUsuariosCommand extends ContainerAwareCommand {
->orderByMupId("DESC")
->findOne();
if ($ultimoIndiceUsuarioProcesado == null)
$condicion = "usuarios_mcafee_movistar_migrar.id > 0";
$condicion = "usuarios_mcafee_movistar_migrar.id > 0 and usuarios_mcafee_movistar_migrar.Device_Type != 'MultiDevice'";
//else $condicion = "usuarios_mcafee_movistar_migrar.id > ".$ultimoIndiceUsuarioProcesado->getUltimoUmcId();
else $condicion = "usuarios_mcafee_movistar_migrar.id >= $limiteAuxUsuarios and usuarios_mcafee_movistar_migrar.id > ".$ultimoIndiceUsuarioProcesado->getUltimoUmcId();
else $condicion = "usuarios_mcafee_movistar_migrar.id >= $limiteAuxUsuarios and usuarios_mcafee_movistar_migrar.id > ".$ultimoIndiceUsuarioProcesado->getUltimoUmcId()." and usuarios_mcafee_movistar_migrar.Device_Type != 'MultiDevice'";
$log->debug("condicion a analizar ".$condicion);
$log->debug("obteniendo usuarios candidatos a migrar...");
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment