lucianorabelo commited on
Commit
c660edf
·
verified ·
1 Parent(s): d7b312f

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +6 -1
app.py CHANGED
@@ -273,7 +273,12 @@ else:
273
  WHERE papel = 'Estudante'
274
  AND semestre_referencia = '{semestre_atual}'
275
  {filtro_curso}
276
- AND (ultimo_acesso IS NULL OR ultimo_acesso = '0000-00-00 00:00:00' OR ultimo_acesso < '2026-01-01')
 
 
 
 
 
277
  ORDER BY nome_curso ASC, nome ASC
278
  """
279
 
 
273
  WHERE papel = 'Estudante'
274
  AND semestre_referencia = '{semestre_atual}'
275
  {filtro_curso}
276
+ AND (
277
+ ultimo_acesso IS NULL
278
+ OR ultimo_acesso = '0000-00-00 00:00:00'
279
+ OR ultimo_acesso = ''
280
+ OR ultimo_acesso < '2026-01-01 00:00:00'
281
+ )
282
  ORDER BY nome_curso ASC, nome ASC
283
  """
284