Adaptierungen SponsionJob

This commit is contained in:
ma0068
2022-10-07 08:34:11 +02:00
parent 2706a76b46
commit aff272397c
3 changed files with 70 additions and 54 deletions
+5 -7
View File
@@ -669,11 +669,11 @@ class Prestudent_model extends DB_Model
/**
* get all Interessenten without ZGVmasdatum and with Sponsionsdate
* @param $semesterkurzbz1 und $semesterkurzbz2
* @return array all prestudents with sponsionsdate
*/
public function getAllInteressentenWithMasterSponsion($semesterkurzbz1, $semesterkurzbz2=null)
* get all Interessenten without ZGVmasdatum and with Sponsionsdate
* @param $semesterkurzbz1 und $semesterkurzbz2
* @return array all prestudents with sponsionsdate
*/
public function getAllInteressentenWithMasterSponsion($semesterkurzbz1, $semesterkurzbz2 = null)
{
return $this->execQuery(
'SELECT ps.prestudent_id, person_id, ap.sponsion
@@ -697,6 +697,4 @@ class Prestudent_model extends DB_Model
)
);
}
}
@@ -113,22 +113,4 @@ class Abschlusspruefung_model extends DB_Model
return success($abschlusspruefungdata);
}
/**
* update ZGV Master
*/
public function insertDatumSponsionAsZgvmadatum($prestudentId, $datumSponsion)
{
return $this->execQuery(
'UPDATE public.tbl_prestudent
SET zgvmadatum = ?
WHERE prestudent_id = ?',
array(
$datumSponsion,
$prestudentId
)
);
}
}