[add] Emṕloyee data by code

This commit is contained in:
2018-08-06 15:17:31 -06:00
parent 1390427ec0
commit dadea504d0
3 changed files with 20 additions and 2 deletions

View File

@@ -269,6 +269,16 @@ class EmployeeApplication{
return $response;
}
/**
* @param $code string
* @return array
*/
function getEmployeeDataByCode($code){
$idEmployee = $this->getIdEmployeeTypeByCode($code);
return $this->proxyGetEmployeeDataById($idEmployee);
}
/**
* @param $idPerson integer
* @param $firstName binary