Proyectos de Subversion LeadersLinked - Antes de SPA

Rev

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

Rev 1 Rev 1294
Línea 62... Línea 62...
62
        $select->from(['l' => LocationMapper::_TABLE]);
62
        $select->from(['l' => LocationMapper::_TABLE]);
63
        $select->join(['cl' => self::_TABLE], 'l.id = cl.location_id', ['company_location_id' => 'id', 'company_location_uuid' => 'uuid', 'location_id', 'is_main']);
63
        $select->join(['cl' => self::_TABLE], 'l.id = cl.location_id', ['company_location_id' => 'id', 'company_location_uuid' => 'uuid', 'location_id', 'is_main']);
64
        $select->where->equalTo('company_id', $company_id);
64
        $select->where->equalTo('company_id', $company_id);
65
        $select->order('is_main, formatted_address');
65
        $select->order('is_main, formatted_address');
Línea -... Línea 66...
-
 
66
        
-
 
67
        echo $select->getSqlString();
66
        
68
        
Línea 67... Línea 69...
67
        return $this->executeFetchAllArray($select);
69
        return $this->executeFetchAllArray($select);
Línea 68... Línea 70...
68
        
70