Anzeige EW-Team: nur aktuelle Eintraege oder Eintraege ohne Zeitraum

This commit is contained in:
ma0068
2022-12-02 12:44:53 +01:00
parent 1c0e74e828
commit 1aada9694e
2 changed files with 41 additions and 83 deletions
+1 -1
View File
@@ -368,7 +368,7 @@ class entwicklungsteam extends basis_db
FROM bis.tbl_entwicklungsteam
JOIN bis.tbl_besqual USING(besqualcode)
WHERE mitarbeiter_uid=".$this->db_add_param($mitarbeiter_uid)."
AND (beginn <= make_date(". $this->db_add_param($bismeldung_jahr). "::INTEGER, 12, 31))
AND (beginn is NULL OR beginn <= make_date(". $this->db_add_param($bismeldung_jahr). "::INTEGER, 12, 31))
AND (ende is NULL OR ende >= make_date(". $this->db_add_param($bismeldung_jahr). "::INTEGER, 1, 1))";
if($studiengang_kz!=null)