- BIS Check angepasst damit nicht BISrelevante Personen in den Checks

nicht aufscheinen
- Studentencheck angepasst worduch falsche Fehlermeldungen angezeigt
wurden
This commit is contained in:
Andreas Oesterreicher
2018-11-09 14:59:21 +01:00
parent d657b2a5ed
commit a71d48f67d
2 changed files with 3 additions and 2 deletions
+2 -2
View File
@@ -609,7 +609,7 @@ $text .= "<br><br>Studierender hat keine Matrikelnummer<br><br>";
$qry = "
SELECT
distinct on (person_id)
distinct on (tbl_person.person_id)
tbl_student.student_uid,
tbl_prestudent.prestudent_id,
tbl_prestudent.studiengang_kz as studiengang
@@ -618,7 +618,7 @@ FROM
JOIN public.tbl_prestudentstatus USING(prestudent_id)
JOIN public.tbl_person USING(person_id)
JOIN public.tbl_student USING(prestudent_id)
JOIN public.tbl_benutzer USING(person_id)
JOIN public.tbl_benutzer ON(tbl_student.student_uid=tbl_benutzer.uid)
WHERE
status_kurzbz in('Student', 'Diplomand', 'Absolvent', 'Abbrecher')
AND tbl_prestudent.bismelden
+1
View File
@@ -241,6 +241,7 @@ $qryall='
JOIN bis.tbl_bisverwendung ON (uid=mitarbeiter_uid)
WHERE
aktiv=false
and bismelden=true
AND (ende>now() OR ende IS NULL)
GROUP BY uid, nachname, vorname
ORDER by nachname, vorname;';