http://drh-fcz.ma/reporting/extraction/pdf_etat_recapitulatif/2024-06/39/18

Query Metrics

5 Database Queries
5 Different statements
19.28 ms Query time
6 Invalid entities

Queries

Group similar statements

# Time Info
1 0.67 ms
SELECT t0.id AS id_1, t0.username AS username_2, t0.roles AS roles_3, t0.password AS password_4, t0.nom AS nom_5, t0.prenom AS prenom_6, t0.enable AS enable_7, t0.created AS created_8, t0.email AS email_9, t0.updated AS updated_10, t0.user_updated_id AS user_updated_id_11, t0.dossier_responsable_id AS dossier_responsable_id_12 FROM users t0 WHERE t0.id = ?
Parameters:
[
  9
]
2 1.16 ms
SELECT t0.id AS id_1, t0.designation AS designation_2, t0.abreviation AS abreviation_3, t0.code AS code_4, t0.groupement AS groupement_5, t0.dossier_ugouv_id AS dossier_ugouv_id_6, t0.abreviation2 AS abreviation2_7, t0.abreviation_ugouv AS abreviation_ugouv_8, t0.fcy0 AS fcy0_9, t0.cpy0 AS cpy0_10, t0.partenaire_id AS partenaire_id_11, t0.affiliation AS affiliation_12, t0.statut_cimr AS statut_cimr_13, t0.image AS image_14, t0.adresse AS adresse_15, t0.ice AS ice_16, t0.num_if AS num_if_17, t0.fax AS fax_18, t0.telephone AS telephone_19, t0.active AS active_20, t0.das AS das_21, t0.fcy_id AS fcy_id_22 FROM pdossier t0 WHERE t0.id = ?
Parameters:
[
  "39"
]
3 0.89 ms
SELECT t0.id AS id_1, t0.code AS code_2, t0.designation AS designation_3, t0.active AS active_4, t0.abreviation AS abreviation_5, t0.partenaire_id AS partenaire_id_6, t0.taux_ir AS taux_ir_7, t0.abattement AS abattement_8, t0.type_id AS type_id_9 FROM pnature_contract t0 WHERE t0.id = ?
Parameters:
[
  "18"
]
4 0.94 ms
SELECT t0.id AS id_1, t0.code AS code_2, t0.abreviation AS abreviation_3, t0.date AS date_4, t0.is_valider AS is_valider_5, t0.is_integrer AS is_integrer_6 FROM periode t0 WHERE t0.code = ?
Parameters:
[
  "062024"
]
5 15.62 ms
SELECT sum(t0_.montant) AS sclr_0, p1_.id AS id_1, p1_.designation AS designation_2, p2_.date AS date_3, p3_.abreviation AS abreviation_4, CASE WHEN p1_.id IN (37, 33, 37, 38, 39, 77, 78, 79, 80, 84, 85) THEN 4 ELSE SUBSTRING(p4_.compte_comptable FROM 1 FOR 1) END AS sclr_5, p1_.code AS code_6, p1_.designation AS designation_7 FROM tbulletin t5_ INNER JOIN tbulletin_lg t0_ ON t5_.id = t0_.bulletin_id INNER JOIN ppiece p6_ ON t5_.piece_id = p6_.id INNER JOIN pbordereau p7_ ON t5_.bordereau_id = p7_.id INNER JOIN pnature_contract p8_ ON p7_.nature_contract_id = p8_.id INNER JOIN prubrique p1_ ON t0_.rubrique_id = p1_.id INNER JOIN periode p2_ ON t5_.periode_id = p2_.id INNER JOIN pdossier p3_ ON t5_.dossier_id = p3_.id INNER JOIN pcompte_comptable p4_ ON p1_.id = p4_.rubrique_id WHERE p8_.id = ? AND p4_.nature_contract_id = ? AND t5_.periode_id = ? AND t5_.dossier_id = ? AND t0_.montant <> 0 AND t5_.active = 1 AND p7_.active = 1 AND p6_.id IN (1, 2) AND t0_.active = 1 AND p1_.id NOT IN (51, 52, 54, 55, 56, 57, 58) GROUP BY p1_.id ORDER BY sclr_5 DESC
Parameters:
[
  18
  18
  13
  39
]

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\Entity\Users No errors.
App\Entity\PDossier No errors.
App\Entity\HonoraireDetFixe No errors.
App\Entity\TCnssA00 No errors.
App\Entity\PNotification No errors.
App\Entity\PFcy No errors.
App\Entity\LContract
  • The mappings App\Entity\LContract#lmatriculationCotis and App\Entity\LmatriculationCoti#contract_id are inconsistent with each other.
  • The mappings App\Entity\LContract#fonction and App\Entity\Pfonction#lContracts are inconsistent with each other.
  • The association App\Entity\LContract#tCnssA02s refers to the owning side field App\Entity\TCnssA02#LContract which does not exist.
App\Entity\Tbulletin
  • The field App\Entity\Tbulletin#bulletinLgs is on the inverse side of a bi-directional relationship, but the specified mappedBy association on the target-entity App\Entity\TbulletinLg#bulletin does not contain the required 'inversedBy="bulletinLgs"' attribute.
App\Entity\LdossierContract No errors.
App\Entity\DemandeConge No errors.
App\Entity\InjectRemuneration No errors.
App\Entity\PnatureContract No errors.
App\Entity\TypRemuneration No errors.
App\Entity\PdureeContract No errors.
App\Entity\PBordereau No errors.
App\Entity\PCompteComptable No errors.
App\Entity\LnaturecontratBareme No errors.
App\Entity\Periode No errors.
App\Entity\PArretTravailLg No errors.
App\Entity\LElementEcheance No errors.
App\Entity\PPrelevementLg No errors.
App\Entity\Probleme No errors.
App\Entity\SyntheseRemunarationCab No errors.
App\Entity\TbulletinLg No errors.
App\Entity\PPiece No errors.
App\Entity\Prubrique No errors.
App\Entity\TCnssA01 No errors.
App\Entity\TCnssA02
  • The mappings App\Entity\TCnssA02#contract and App\Entity\LContract#tCnssA02s are inconsistent with each other.
App\Entity\TCnssA03 No errors.
App\Entity\Pemploye
  • The association App\Entity\Pemploye#situation_familiale_id refers to the inverse side field App\Entity\PsituationFamiliale#code which does not exist.
  • The field App\Entity\Pemploye#contracts is on the inverse side of a bi-directional relationship, but the specified mappedBy association on the target-entity App\Entity\LContract#employe does not contain the required 'inversedBy="contracts"' attribute.
App\Entity\LcontractFonction No errors.
App\Entity\LmatriculationCoti No errors.
App\Entity\Lrib No errors.
App\Entity\LelementFixe No errors.
App\Entity\Pbareme
  • The association App\Entity\Pbareme#nature_cab_id refers to the owning side field App\Entity\PNaturesalarieCab#pbareme which does not exist.
App\Entity\PArretTravail No errors.
App\Entity\PPrelevement No errors.
App\Entity\Pfonction
  • The association App\Entity\Pfonction#lContracts refers to the owning side field App\Entity\LContract#fonctionid which does not exist.
App\Entity\TCnssB02 No errors.
App\Entity\TCnssB04 No errors.
App\Entity\PDevise No errors.
App\Entity\PPaiement No errors.
App\Entity\JournalBulletinLg No errors.
App\Entity\ContractNetTheorique No errors.
App\Entity\PStatut No errors.
App\Entity\PTypeConge No errors.
App\Entity\ParamGlobalDet No errors.
App\Entity\CabBordereau No errors.
App\Entity\SyntheseRemunarationDet No errors.
App\Entity\PbaremeBrute No errors.
App\Entity\VMatrix No errors.
App\Entity\PBaremeCimr No errors.