Commit 7a678ddce25978a9dea32e83eeaf1ebfad5535c4

Authored by Robert Ferraz
Committed by GitHub
2 parents 5edab091 f42e1c92
Exists in 2.9 and in 1 other branch 2.8

Merge pull request #9631 from portabilis/issue-3720

Atualiza endpoint de servidores-disciplinas-turmas
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
... ...