Proyectos de Subversion LeadersLinked - Antes de SPA

Rev

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

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