Proyectos de Subversion LeadersLinked - Backend

Rev

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

Rev 7409 Rev 7410
Línea 416... Línea 416...
416
                    $highPerformanceTeamsGroupsMapper = HighPerformanceTeamsGroupsMapper::getInstance($this->adapter);
416
                    $highPerformanceTeamsGroupsMapper = HighPerformanceTeamsGroupsMapper::getInstance($this->adapter);
417
                    $highPerformanceTeamsGroups = $highPerformanceTeamsGroupsMapper->fetchOneByUuid($id);
417
                    $highPerformanceTeamsGroups = $highPerformanceTeamsGroupsMapper->fetchOneByUuid($id);
418
                    if (!$highPerformanceTeamsGroups) {
418
                    if (!$highPerformanceTeamsGroups) {
419
                        $data = [
419
                        $data = [
420
                            'success' => false,
420
                            'success' => false,
421
                            'data' => 'ERROR_RECORD_NOT_FOUND'
421
                            'data' => 'ERROR_RECORD_NOT_FOUND 1'
422
                        ];
422
                        ];
Línea 423... Línea 423...
423
 
423
 
424
                        return new JsonModel($data);
424
                        return new JsonModel($data);
Línea 425... Línea 425...
425
                    }
425
                    }
Línea 426... Línea 426...
426
 
426
 
427
                    if($highPerformanceTeamsGroups->status != HighPerformanceTeamsGroups::STATUS_ACTIVE) {
427
                    if($highPerformanceTeamsGroups->status != HighPerformanceTeamsGroups::STATUS_ACTIVE) {
428
 
428
 
429
                        return new JsonModel([
429
                        return new JsonModel([
Línea 430... Línea 430...
430
                            'success' => false,
430
                            'success' => false,
Línea 431... Línea 431...
431
                            'data' => 'ERROR_RECORD_NOT_FOUND'
431
                            'data' => 'ERROR_RECORD_NOT_FOUND 2'
Línea 440... Línea 440...
440
                            
440
                            
Línea 441... Línea 441...
441
                    } else {
441
                    } else {
442
 
442
 
443
                        return new JsonModel([
443
                        return new JsonModel([
444
                            'success' => false,
444
                            'success' => false,
445
                            'data' => 'ERROR_RECORD_NOT_FOUND'
445
                            'data' => 'ERROR_RECORD_NOT_FOUND 2'