Commit 7a678ddce25978a9dea32e83eeaf1ebfad5535c4
Committed by
GitHub
Exists in
2.9
and in
1 other branch
Merge pull request #9631 from portabilis/issue-3720
Atualiza endpoint de servidores-disciplinas-turmas
Showing
1 changed file
with
1 additions
and
0 deletions
Show diff stats
ieducar/modules/Api/Views/ServidorController.php
... | ... | @@ -164,6 +164,7 @@ class ServidorController extends ApiCoreController |
164 | 164 | greatest(pt.updated_at, ccae.updated_at) as updated_at, |
165 | 165 | CASE |
166 | 166 | WHEN s.ativo = 0 THEN coalesce(s.data_exclusao::timestamp(0),s.updated_at::timestamp(0)) |
167 | + WHEN t.ativo = 0 THEN t.updated_at::timestamp(0) | |
167 | 168 | ELSE NULL |
168 | 169 | END AS deleted_at |
169 | 170 | from modules.professor_turma pt | ... | ... |