Update app.py
Browse files
app.py
CHANGED
|
@@ -273,7 +273,12 @@ else:
|
|
| 273 |
WHERE papel = 'Estudante'
|
| 274 |
AND semestre_referencia = '{semestre_atual}'
|
| 275 |
{filtro_curso}
|
| 276 |
-
AND (
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 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 |
|