Proyectos de Subversion LeadersLinked - Antes de SPA

Rev

Rev 1218 | Rev 1220 | Ir a la última revisión | Mostrar el archivo completo | | | Autoría | Ultima modificación | Ver Log |

Rev 1218 Rev 1219
Línea 230... Línea 230...
230
    {
230
    {
231
        $prototype = new RecruitmentSelectionInterview();
231
        $prototype = new RecruitmentSelectionInterview();
232
        $select = $this->sql->select();
232
        $select = $this->sql->select();
233
        $select->from(['i' => self::_TABLE]);
233
        $select->from(['i' => self::_TABLE]);
234
        $select->join(['c', RecruitmentSelectionCandidateMapper::_TABLE], "i.candidate_id = c.id", ['c.first_name']);
234
        $select->join(['c', RecruitmentSelectionCandidateMapper::_TABLE], "i.candidate_id = c.id", ['c.first_name']);
235
        $select->columns(['i.uuid']);
235
        $select->columns(['uuid' => 'i.uuid']);
236
        $select->where->equalTo('company_id', $companyId);
236
        $select->where->equalTo('company_id', $companyId);
-
 
237
        echo $select->getSqlString($this->adapter->platform); exit;
Línea 237... Línea 238...
237
        
238
        
238
        if($search) {
239
        if($search) {
239
            $select->where->like('c.first_name', '%' . $search . '%');
240
            $select->where->like('c.first_name', '%' . $search . '%');
240
        }
241
        }