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:
Paolo
2017-03-17 11:54:02 +01:00
parent 25441df044
commit e4151e0905
6 changed files with 603 additions and 0 deletions
@@ -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
)
);
}
}