db changes for eine_uid

-lehre.tbl_abschlusspruefung.student_uid -> prestudent_id
	-public.tbl_studentlehrverband.student_uid -> prestudent_id
This commit is contained in:
Andreas Moik
2016-04-19 15:31:15 +02:00
parent 48e0ea2124
commit b3a77052f7
40 changed files with 2358 additions and 2042 deletions
+3 -3
View File
@@ -128,11 +128,11 @@ function getStudentsFromGroup($studiengang_kz, $semester, $verband, $gruppe, $gr
if($gruppe_kurzbz=='')
{
$qry = "SELECT
distinct student_uid
distinct prestudent_id
FROM
public.tbl_studentlehrverband
LEFT JOIN
public.tbl_benutzer ON (uid=student_uid)
JOIN public.tbl_prestudent USING(prestudent_id)
LEFT JOIN public.tbl_benutzer USING(person_id)
WHERE
tbl_benutzer.aktiv=true AND
studiensemester_kurzbz=".$db->db_add_param($studiensemester_kurzbz)." AND