select * from disxii.expediente where fecha_completo <> "0000-00-00 00:00:00" and fecha_envio = "0000-00-00 00:00:00"