mirror of
https://github.com/FH-Complete/FHC-Core.git
synced 2026-07-24 10:22:18 +00:00
First version of the VileSci interface that allows easily to add more prestudent
to a group or change their stufe
This commit is contained in:
@@ -58,4 +58,20 @@ class Prestudent_model extends DB_Model
|
||||
|
||||
return $this->execQuery($query, $parametersArray);
|
||||
}
|
||||
|
||||
/**
|
||||
*
|
||||
*/
|
||||
public function updateAufnahmegruppe($prestudentIdArray, $aufnahmegruppe)
|
||||
{
|
||||
return $this->execQuery(
|
||||
'UPDATE public.tbl_prestudent
|
||||
SET aufnahmegruppe_kurzbz = ?
|
||||
WHERE prestudent_id IN ?',
|
||||
array(
|
||||
$aufnahmegruppe,
|
||||
$prestudentIdArray
|
||||
)
|
||||
);
|
||||
}
|
||||
}
|
||||
@@ -51,4 +51,21 @@ class Prestudentstatus_model extends DB_Model
|
||||
|
||||
return $this->execQuery($query, $parametersArray);
|
||||
}
|
||||
|
||||
/**
|
||||
*
|
||||
*/
|
||||
public function updateStufe($prestudentIdArray, $stufe)
|
||||
{
|
||||
return $this->execQuery(
|
||||
'UPDATE public.tbl_prestudentstatus
|
||||
SET rt_stufe = ?
|
||||
WHERE status_kurzbz = \'Interessent\'
|
||||
AND prestudent_id IN ?',
|
||||
array(
|
||||
$stufe,
|
||||
$prestudentIdArray
|
||||
)
|
||||
);
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user