https://adminsac.construtoradinamica.com.br/api/ordemServico/1208?api%2FordemServico%2F1208=

Query Metrics

18 Database Queries
12 Different statements
16.32 ms Query time
1 Invalid entities

Queries

Group similar statements

# Time Info
1 1.34 ms
SELECT t0.id AS id_1, t0.nome AS nome_2, t0.email AS email_3, t0.telefone AS telefone_4, t0.urlAdmin AS urlAdmin_5, t0.urlCliente AS urlCliente_6, t0.cep AS cep_7, t0.estado AS estado_8, t0.cidade AS cidade_9, t0.bairro AS bairro_10, t0.rua AS rua_11, t0.numero AS numero_12, t0.complemento AS complemento_13, t0.corEmail AS corEmail_14, t0.emailsSolicitacao AS emailsSolicitacao_15, t0.emailsUsuario AS emailsUsuario_16, t0.comteleToken AS comteleToken_17, t0.comteleEnvios AS comteleEnvios_18, t0.tipoAutenticacao AS tipoAutenticacao_19, t0.urlCadastro AS urlCadastro_20, t0.urlRecuperarSenha AS urlRecuperarSenha_21, t0.logo_id AS logo_id_22 FROM empresa t0 WHERE t0.id = ?
Parameters:
[
  1
]
2 1.15 ms
SELECT t0.id AS id_1, t0.codigo AS codigo_2, t0.data AS data_3, t0.hora AS hora_4, t0.status AS status_5, t0.dataACaminho AS dataACaminho_6, t0.dataIniciarAtendimento AS dataIniciarAtendimento_7, t0.dataFinalAtendimento AS dataFinalAtendimento_8, t0.dataRetorno AS dataRetorno_9, t0.descricao AS descricao_10, t0.createdAt AS createdAt_11, t0.updatedAt AS updatedAt_12, t0.agendamento_id AS agendamento_id_13, t0.profissional_id AS profissional_id_14, t0.anexos_preparacao_id AS anexos_preparacao_id_15, t0.anexos_trabalho_andamento_id AS anexos_trabalho_andamento_id_16, t0.anexos_trabalho_finalizado_id AS anexos_trabalho_finalizado_id_17, t0.assinatura_cliente_id AS assinatura_cliente_id_18, t0.assinatura_profissional_id AS assinatura_profissional_id_19 FROM ordem_servico t0 WHERE t0.id = ? LIMIT 1
Parameters:
[
  "1208"
]
3 1.07 ms
SELECT t0.id AS id_1, t0.data AS data_2, t0.hora AS hora_3, t0.observacoes AS observacoes_4, t5.id AS id_6, t5.assunto AS assunto_7, t5.mensagem AS mensagem_8, t5.visivel AS visivel_9, t5.createdAt AS createdAt_10, t5.updatedAt AS updatedAt_11, t5.statusSolicitacao_id AS statusSolicitacao_id_12, t5.solicitacao_id AS solicitacao_id_13, t5.agendamento_id AS agendamento_id_14, t5.criado_por AS criado_por_15, t5.alterado_por AS alterado_por_16, t0.anexos_id AS anexos_id_17 FROM agendamento t0 LEFT JOIN andamento_solicitacao t5 ON t5.agendamento_id = t0.id WHERE t0.id = ?
Parameters:
[
  1127
]
4 1.15 ms
SELECT t0.id AS id_1, t0.codigo AS codigo_2, t0.mensagem AS mensagem_3, t0.data AS data_4, t0.respondidoAdmin AS respondidoAdmin_5, t0.ultimaInteracao AS ultimaInteracao_6, t0.createdAt AS createdAt_7, t0.updatedAt AS updatedAt_8, t0.tipoSolicitacao_id AS tipoSolicitacao_id_9, t0.assunto_id AS assunto_id_10, t0.periodoAgendamento_id AS periodoAgendamento_id_11, t0.unidade_id AS unidade_id_12, t0.cliente_id AS cliente_id_13, t0.responsavelAtendimento AS responsavelAtendimento_14, t0.anexos_id AS anexos_id_15, t0.status_atual AS status_atual_16 FROM solicitacao t0 WHERE t0.id = ?
Parameters:
[
  1165
]
5 0.89 ms
SELECT t0.name AS name_1, t0.context AS context_2, t0.default_format AS default_format_3, t0.enabled AS enabled_4, t0.updated_at AS updated_at_5, t0.created_at AS created_at_6, t0.id AS id_7 FROM gallery t0 WHERE t0.id = ?
Parameters:
[
  3787
]
6 0.94 ms
SELECT t0.position AS position_1, t0.enabled AS enabled_2, t0.updated_at AS updated_at_3, t0.created_at AS created_at_4, t0.id AS id_5, t0.gallery_id AS gallery_id_6, t0.media_id AS media_id_7 FROM media_gallery t0 WHERE t0.gallery_id = ? ORDER BY t0.position ASC
Parameters:
[
  3787
]
7 1.05 ms
SELECT t0.id AS id_1, t0.import_id AS import_id_2, t0.import AS import_3, t0.ativo AS ativo_4, t0.nomeCompleto AS nomeCompleto_5, t0.razaoSocial AS razaoSocial_6, t0.nomeFantasia AS nomeFantasia_7, t0.cpf AS cpf_8, t0.cnpj AS cnpj_9, t0.telefone AS telefone_10, t0.celular AS celular_11, t0.hash_nova_senha AS hash_nova_senha_12, t0.data_hash_nova_senha AS data_hash_nova_senha_13, t0.email AS email_14, t0.password AS password_15, t0.roles AS roles_16, t0.api_roles AS api_roles_17, t0.web_roles AS web_roles_18, t0.created_at AS created_at_19, t0.updated_at AS updated_at_20, t0.associado_id AS associado_id_21 FROM cliente t0 WHERE t0.id = ?
Parameters:
[
  337
]
8 2.04 ms
SELECT t0.id AS id_1, t0.import_id AS import_id_2, t0.import AS import_3, t0.unidade AS unidade_4, t0.andar AS andar_5, t0.coluna AS coluna_6, t0.descricao AS descricao_7, t0.visivel AS visivel_8, t0.bloco_id AS bloco_id_9 FROM unidade t0 WHERE t0.id = ?
Parameters:
[
  1420
]
9 0.73 ms
SELECT t0.id AS id_1, t0.import_id AS import_id_2, t0.import AS import_3, t0.bloco AS bloco_4, t0.descricao AS descricao_5, t0.visivel AS visivel_6, t0.empreendimento_id AS empreendimento_id_7 FROM bloco t0 WHERE t0.id = ?
Parameters:
[
  26
]
10 2.56 ms
SELECT t0.id AS id_1, t0.import_id AS import_id_2, t0.import AS import_3, t0.nome AS nome_4, t0.descricao AS descricao_5, t0.visivel AS visivel_6, t0.logo_id AS logo_id_7, t0.statusEmpreendimento_id AS statusEmpreendimento_id_8 FROM empreendimento t0 WHERE t0.id = ?
Parameters:
[
  9
]
11 0.83 ms
SELECT t0.id AS id_1, t0.nomeCompleto AS nomeCompleto_2, t0.email AS email_3, t0.telefone1 AS telefone1_4, t0.telefone2 AS telefone2_5, t0.url AS url_6, t0.logo_id AS logo_id_7 FROM profissional t0 WHERE t0.id = ?
Parameters:
[
  23
]
12 0.56 ms
SELECT t0.name AS name_1, t0.context AS context_2, t0.default_format AS default_format_3, t0.enabled AS enabled_4, t0.updated_at AS updated_at_5, t0.created_at AS created_at_6, t0.id AS id_7 FROM gallery t0 WHERE t0.id = ?
Parameters:
[
  3788
]
13 0.47 ms
SELECT t0.position AS position_1, t0.enabled AS enabled_2, t0.updated_at AS updated_at_3, t0.created_at AS created_at_4, t0.id AS id_5, t0.gallery_id AS gallery_id_6, t0.media_id AS media_id_7 FROM media_gallery t0 WHERE t0.gallery_id = ? ORDER BY t0.position ASC
Parameters:
[
  3788
]
14 0.33 ms
SELECT t0.name AS name_1, t0.description AS description_2, t0.enabled AS enabled_3, t0.provider_name AS provider_name_4, t0.provider_status AS provider_status_5, t0.provider_reference AS provider_reference_6, t0.provider_metadata AS provider_metadata_7, t0.width AS width_8, t0.height AS height_9, t0.length AS length_10, t0.content_type AS content_type_11, t0.content_size AS content_size_12, t0.copyright AS copyright_13, t0.author_name AS author_name_14, t0.context AS context_15, t0.cdn_is_flushable AS cdn_is_flushable_16, t0.cdn_flush_identifier AS cdn_flush_identifier_17, t0.cdn_flush_at AS cdn_flush_at_18, t0.cdn_status AS cdn_status_19, t0.updated_at AS updated_at_20, t0.created_at AS created_at_21, t0.id AS id_22 FROM media t0 WHERE t0.id = ?
Parameters:
[
  7665
]
15 0.24 ms
SELECT t0.name AS name_1, t0.context AS context_2, t0.default_format AS default_format_3, t0.enabled AS enabled_4, t0.updated_at AS updated_at_5, t0.created_at AS created_at_6, t0.id AS id_7 FROM gallery t0 WHERE t0.id = ?
Parameters:
[
  3789
]
16 0.36 ms
SELECT t0.position AS position_1, t0.enabled AS enabled_2, t0.updated_at AS updated_at_3, t0.created_at AS created_at_4, t0.id AS id_5, t0.gallery_id AS gallery_id_6, t0.media_id AS media_id_7 FROM media_gallery t0 WHERE t0.gallery_id = ? ORDER BY t0.position ASC
Parameters:
[
  3789
]
17 0.30 ms
SELECT t0.name AS name_1, t0.description AS description_2, t0.enabled AS enabled_3, t0.provider_name AS provider_name_4, t0.provider_status AS provider_status_5, t0.provider_reference AS provider_reference_6, t0.provider_metadata AS provider_metadata_7, t0.width AS width_8, t0.height AS height_9, t0.length AS length_10, t0.content_type AS content_type_11, t0.content_size AS content_size_12, t0.copyright AS copyright_13, t0.author_name AS author_name_14, t0.context AS context_15, t0.cdn_is_flushable AS cdn_is_flushable_16, t0.cdn_flush_identifier AS cdn_flush_identifier_17, t0.cdn_flush_at AS cdn_flush_at_18, t0.cdn_status AS cdn_status_19, t0.updated_at AS updated_at_20, t0.created_at AS created_at_21, t0.id AS id_22 FROM media t0 WHERE t0.id = ?
Parameters:
[
  7666
]
18 0.30 ms
SELECT t0.name AS name_1, t0.description AS description_2, t0.enabled AS enabled_3, t0.provider_name AS provider_name_4, t0.provider_status AS provider_status_5, t0.provider_reference AS provider_reference_6, t0.provider_metadata AS provider_metadata_7, t0.width AS width_8, t0.height AS height_9, t0.length AS length_10, t0.content_type AS content_type_11, t0.content_size AS content_size_12, t0.copyright AS copyright_13, t0.author_name AS author_name_14, t0.context AS context_15, t0.cdn_is_flushable AS cdn_is_flushable_16, t0.cdn_flush_identifier AS cdn_flush_identifier_17, t0.cdn_flush_at AS cdn_flush_at_18, t0.cdn_status AS cdn_status_19, t0.updated_at AS updated_at_20, t0.created_at AS created_at_21, t0.id AS id_22 FROM media t0 WHERE t0.id = ?
Parameters:
[
  7667
]

Database Connections

Name Service
default doctrine.dbal.default_connection

Entity Managers

Name Service
default doctrine.orm.default_entity_manager

Second Level Cache

Second Level Cache is not enabled.

Entities Mapping

Class Mapping errors
App\Application\Internit\EmpresaBundle\Entity\Empresa No errors.
Sonata\MediaBundle\Entity\BaseMedia No errors.
App\Entity\SonataMediaMedia No errors.
App\Application\Internit\OrdemServicoBundle\Entity\OrdemServico No errors.
App\Application\Internit\AgendamentoBundle\Entity\Agendamento No errors.
App\Application\Internit\ProfissionalBundle\Entity\Profissional No errors.
Sonata\MediaBundle\Entity\BaseGallery No errors.
App\Entity\SonataMediaGallery No errors.
App\Application\Internit\AndamentoSolicitacaoBundle\Entity\AndamentoSolicitacao No errors.
App\Application\Internit\StatusSolicitacaoBundle\Entity\StatusSolicitacao No errors.
App\Application\Internit\SolicitacaoBundle\Entity\Solicitacao No errors.
App\Application\Project\SecurityAdminBundle\Entity\UserAdmin No errors.
App\Application\Internit\RespostaSolicitacaoBundle\Entity\RespostaSolicitacao No errors.
App\Application\Internit\TipoSolicitacaoBundle\Entity\TipoSolicitacao No errors.
App\Application\Internit\TipoSolicitacaoBundle\Entity\Assunto No errors.
App\Application\Internit\PeriodoAgendamentoBundle\Entity\PeriodoAgendamento No errors.
App\Application\Internit\UnidadeBundle\Entity\Unidade No errors.
App\Application\Internit\ClienteBundle\Entity\Cliente No errors.
Sonata\MediaBundle\Entity\BaseGalleryItem No errors.
App\Entity\SonataMediaGalleryItem No errors.
App\Application\Project\SecurityUserBundle\Entity\Group No errors.
App\Application\Internit\UnidadeClienteBundle\Entity\UnidadeCliente No errors.
App\Application\Internit\DownloadBundle\Entity\Download No errors.
App\Application\Internit\ComunicadoBundle\Entity\Comunicado No errors.
App\Application\Internit\BlocoBundle\Entity\Bloco No errors.
App\Application\Internit\EmpreendimentoBundle\Entity\Empreendimento No errors.
App\Application\Internit\StatusEmpreendimentoBundle\Entity\StatusEmpreendimento No errors.
App\Application\Internit\AcompanhamentoBundle\Entity\Acompanhamento
  • The field App\Application\Internit\AcompanhamentoBundle\Entity\Acompanhamento#etapaAcompanhamento is on the inverse side of a bi-directional relationship, but the specified mappedBy association on the target-entity App\Application\Internit\EtapaAcompanhamentoBundle\Entity\EtapaAcompanhamento#acompanhamento does not contain the required 'inversedBy="etapaAcompanhamento"' attribute.
App\Application\Internit\GaleriaEmpreendimentoBundle\Entity\GaleriaEmpreendimento No errors.
App\Application\Internit\ProfissaoBundle\Entity\Profissao No errors.