Query Metrics
544
Database Queries
61
Different statements
596.68 ms
Query time
4
Invalid entities
Queries
| #▲ | Time | Info |
|---|---|---|
| 1 | 25.53 ms |
SELECT c0_.id AS id_0, c0_.date_commande AS date_commande_1, c0_.alias_client AS alias_client_2, c0_.recu_cargo AS recu_cargo_3, c0_.qte_print AS qte_print_4, c0_.contact AS contact_5, c0_.facturehors AS facturehors_6, c0_.nouvelle_facture AS nouvelle_facture_7, c0_.facture_marchandise_abscent AS facture_marchandise_abscent_8, c0_.is_paid AS is_paid_9, c0_.modification AS modification_10, c0_.remarque AS remarque_11, c0_.flagflutter_notification AS flagflutter_notification_12, c0_.pkg AS pkg_13, c0_.ville AS ville_14, c0_.is_number_verified AS is_number_verified_15, c0_.remarque_depot AS remarque_depot_16, c0_.is_scanned AS is_scanned_17, c0_.p1 AS p1_18, c0_.p2 AS p2_19, c0_.p3 AS p3_20, c0_.p4 AS p4_21, c0_.p5 AS p5_22, c0_.p6 AS p6_23, c0_.date_p1 AS date_p1_24, c0_.date_p2 AS date_p2_25, c0_.date_p3 AS date_p3_26, c0_.date_p4 AS date_p4_27, c0_.date_p5 AS date_p5_28, c0_.date_p6 AS date_p6_29, c0_.id_ag_id AS id_ag_id_30, c0_.id_cl_id AS id_cl_id_31, c0_.id_ct_pr_id AS id_ct_pr_id_32 FROM commande c0_ INNER JOIN programme_contenaire p1_ ON c0_.id_ct_pr_id = p1_.id WHERE c0_.contact = ? AND p1_.validation = ? ORDER BY c0_.date_commande DESC LIMIT 100
Parameters:
[ "243842533990" 1 ] |
| 2 | 9.40 ms |
SELECT *,c.id AS idCommande, (SELECT nom_ag FROM agent a WHERE a.id = c.id_cl_id ) AS nom_client, (SELECT IFNULL(SUM(ROUND(tV.prix_unit * tV.volume)),0) FROM tmp_volume tV WHERE c.id = tV.commande_id ) AS pritotal, (SELECT MAX(p.id) AS maxid FROM paiement p WHERE p.id_cmd_id = c.id ) AS idFacture, (SELECT IFNULL(SUM(p.montant),0) FROM paiement p WHERE p.id_cmd_id = c.id AND p.flag_en_avance = 0 ) AS dejaPaie, (SELECT IFNULL(SUM(p.montant),0) FROM paiement p WHERE p.id_cmd_id = c.id AND p.flag_en_avance = 1 ) AS paieEnAvance, (SELECT IFNULL(SUM(atF.montant),0) FROM autre_frais atF WHERE atF.commande_id = c.id ) AS AutresFrais, (SELECT IFNULL(SUM(r.montant),0) FROM reduction r WHERE r.id_cmd_id = c.id AND r.flag_compassation = '0') AS reduction, (SELECT IFNULL(SUM(r.montant),0) FROM reduction r WHERE r.id_cmd_id = c.id AND r.flag_compassation = '1' ) AS compassation, (SELECT IFNULL(SUM(r.montant),0) FROM reduction r WHERE r.id_cmd_id = c.id AND r.flag_compassation = '2' ) AS banque, (SELECT r.montant FROM reduction r WHERE r.id_cmd_id = c.id AND r.flag_compassation = '2' ORDER BY r.id DESC LIMIT 1) AS banqueDujour, (SELECT IFNULL(SUM(r.montant),0) FROM reduction r WHERE r.id_cmd_id = c.id AND r.flag_compassation = '3' ) AS depot FROM commande c LEFT JOIN agent a ON (c.id_ag_id = a.id) LEFT JOIN programme_contenaire ctpr ON (c.id_ct_pr_id = ctpr.id) LEFT JOIN contenaire ct ON (ctpr.id_ct_id = ct.id) WHERE c.id = 7930178 ORDER BY c.id DESC
Parameters:
[] |
| 3 | 0.33 ms |
SELECT t0.id AS id_1, t0.date_chargement AS date_chargement_2, t0.date_depart AS date_depart_3, t0.date_arriver AS date_arriver_4, t0.date_operation AS date_operation_5, t0.nom_bateau AS nom_bateau_6, t0.id_ag AS id_ag_7, t0.flag AS flag_8, t0.numero_contenaire AS numero_contenaire_9, t0.transporteur AS transporteur_10, t0.complet_flag AS complet_flag_11, t0.proprietaire_conteneur AS proprietaire_conteneur_12, t0.destination AS destination_13, t0.validation AS validation_14, t0.depenses_prevue AS depenses_prevue_15, t0.remarque_conteneur AS remarque_conteneur_16, t0.is_mco AS is_mco_17, t0.is_rapport AS is_rapport_18, t0.date_rapport_at AS date_rapport_at_19, t0.is_clients AS is_clients_20, t0.rapport AS rapport_21, t0.is_electronique AS is_electronique_22, t0.date_validation AS date_validation_23, t0.is_notifier AS is_notifier_24, t0.fin AS fin_25, t0.date_validation_fin AS date_validation_fin_26, t0.dateattribution AS dateattribution_27, t0.paye_gestionnaire AS paye_gestionnaire_28, t0.id_ct_id AS id_ct_id_29, t0.id_ville_id AS id_ville_id_30, t0.ville_initiale_id AS ville_initiale_id_31, t0.agent_gestionnaire_id AS agent_gestionnaire_id_32 FROM programme_contenaire t0 WHERE t0.id = ?
Parameters:
[
5644
]
|
| 4 | 0.23 ms |
SELECT t0.id AS id_1, t0.lieu AS lieu_2, t0.id_position AS id_position_3, t0.date_operation AS date_operation_4, t0.position_actuelle_flag AS position_actuelle_flag_5, t0.id_ct_pr_id AS id_ct_pr_id_6 FROM suivi_contenaire t0 WHERE t0.id_ct_pr_id = ?
Parameters:
[
5644
]
|
| 5 | 0.18 ms |
SELECT t0.id AS id_1, t0.created_at AS created_at_2, t0.commentaire AS commentaire_3, t0.suivi_id AS suivi_id_4, t0.sous_position_id AS sous_position_id_5 FROM sous_suivi t0 WHERE t0.suivi_id = ?
Parameters:
[
8523
]
|
| 6 | 0.15 ms |
SELECT t0.id AS id_1, t0.libelle AS libelle_2, t0.message_client AS message_client_3, t0.niveau AS niveau_4, t0.track_position_id AS track_position_id_5 FROM sous_position t0 WHERE t0.id = ?
Parameters:
[
292
]
|
| 7 | 0.24 ms |
SELECT t0.id AS id_1, t0.quantite AS quantite_2, t0.sortie_at AS sortie_at_3, t0.remarque AS remarque_4, t0.noms AS noms_5, t0.telephone AS telephone_6, t0.plaque AS plaque_7, t0.commande_id AS commande_id_8, t0.user_id AS user_id_9 FROM depot t0 WHERE t0.commande_id = ?
Parameters:
[
7930178
]
|
| 8 | 0.34 ms |
SELECT t0.id AS id_1, t0.nom_ag AS nom_ag_2, t0.contact_ag AS contact_ag_3, t0.image_ag AS image_ag_4, t0.token_flutter AS token_flutter_5, t0.contact_whatsapp AS contact_whatsapp_6, t0.sexe AS sexe_7, t0.type_client_agent AS type_client_agent_8, t0.contact_ag1 AS contact_ag1_9, t0.code AS code_10, t0.prefixcode AS prefixcode_11, t0.langue AS langue_12, t0.mco AS mco_13, t0.cargo_agent AS cargo_agent_14, t0.ancien AS ancien_15, t0.is_verifier AS is_verifier_16, t0.codeverification AS codeverification_17, t0.clientblocker AS clientblocker_18, t0.admin AS admin_19, t0.face_signature AS face_signature_20, t0.daily_rate AS daily_rate_21, t0.ville_id AS ville_id_22, t23.id AS id_24, t23.etat AS etat_25, t23.role AS role_26, t23.date_created AS date_created_27, t23.date_connected AS date_connected_28, t23.status AS status_29, t23.user_name AS user_name_30, t23.password AS password_31, t23.langue AS langue_32, t23.flag_sms AS flag_sms_33, t23.flag_voice_sms AS flag_voice_sms_34, t23.flag_voice_whatsapp AS flag_voice_whatsapp_35, t23.is_mco AS is_mco_36, t23.i_sflag_calacul AS i_sflag_calacul_37, t23.caisse_localite AS caisse_localite_38, t23.ville_id AS ville_id_39, t23.id_ag_id AS id_ag_id_40 FROM agent t0 LEFT JOIN utilisateur t23 ON t23.id_ag_id = t0.id WHERE t0.id = ?
Parameters:
[
14818
]
|
| 9 | 0.24 ms |
SELECT t0.id AS id_1, t0.volume AS volume_2, t0.prix_unit AS prix_unit_3, t0.unite AS unite_4, t0.modification AS modification_5, t0.commande_id AS commande_id_6 FROM tmp_volume t0 WHERE t0.commande_id = ?
Parameters:
[
7930178
]
|
| 10 | 0.18 ms |
SELECT t0.id AS id_1, t0.libelle AS libelle_2, t0.montant AS montant_3, t0.modification AS modification_4, t0.commande_id AS commande_id_5 FROM autre_frais t0 WHERE t0.commande_id = ?
Parameters:
[
7930178
]
|
| 11 | 2.51 ms |
SELECT t0.id AS id_1, t0.montant AS montant_2, t0.date_operation AS date_operation_3, t0.motif AS motif_4, t0.flag_compassation AS flag_compassation_5, t0.fichier_banque AS fichier_banque_6, t0.id_cmd_id AS id_cmd_id_7, t0.id_ag_id AS id_ag_id_8 FROM reduction t0 WHERE t0.id_cmd_id = ?
Parameters:
[
7930178
]
|
| 12 | 0.21 ms |
SELECT t0.id AS id_1, t0.montant AS montant_2, t0.date_operation AS date_operation_3, t0.flag_en_avance AS flag_en_avance_4, t0.id_cmd_id AS id_cmd_id_5, t0.id_ag_id AS id_ag_id_6 FROM paiement t0 WHERE t0.id_cmd_id = ?
Parameters:
[
7930178
]
|
| 13 | 0.22 ms |
SELECT t0.id AS id_1, t0.qte AS qte_2, t0.libelle AS libelle_3, t0.modification AS modification_4, t0.commande_id AS commande_id_5 FROM tmp_marchandise t0 WHERE t0.commande_id = ?
Parameters:
[
7930178
]
|
| 14 | 0.15 ms |
SELECT t0.id AS id_1, t0.nom_contenaire AS nom_contenaire_2 FROM contenaire t0 WHERE t0.id = ?
Parameters:
[
5790
]
|
| 15 | 0.25 ms |
SELECT t0.id AS id_1, t0.nomville AS nomville_2, t0.adresse1 AS adresse1_3, t0.adresse2 AS adresse2_4, t0.email AS email_5, t0.num_tel AS num_tel_6, t0.addresse3 AS addresse3_7, t0.addresse4 AS addresse4_8, t0.addresse5 AS addresse5_9, t0.addresse6 AS addresse6_10, t0.flag_ville AS flag_ville_11, t0.logo AS logo_12, t0.port_bateau AS port_bateau_13, t0.taux_du_jour_pays AS taux_du_jour_pays_14, t0.is_taux AS is_taux_15, t0.monnaie AS monnaie_16, t0.tokenurl AS tokenurl_17, t0.token_id AS token_id_18, t0.basdepage AS basdepage_19, t0.basdepagemco AS basdepagemco_20, t0.cbm AS cbm_21, t0.tonne AS tonne_22, t0.kg AS kg_23, t0.conteneur AS conteneur_24, t0.kgelec AS kgelec_25, t0.prefixe_code AS prefixe_code_26, t0.estimateddate_text_air_cargo AS estimateddate_text_air_cargo_27, t0.estimateddate_text_sea_cargo AS estimateddate_text_sea_cargo_28 FROM ville t0 WHERE t0.id = ?
Parameters:
[
14
]
|
| 16 | 8.96 ms |
SELECT *,c.id AS idCommande, (SELECT nom_ag FROM agent a WHERE a.id = c.id_cl_id ) AS nom_client, (SELECT IFNULL(SUM(ROUND(tV.prix_unit * tV.volume)),0) FROM tmp_volume tV WHERE c.id = tV.commande_id ) AS pritotal, (SELECT MAX(p.id) AS maxid FROM paiement p WHERE p.id_cmd_id = c.id ) AS idFacture, (SELECT IFNULL(SUM(p.montant),0) FROM paiement p WHERE p.id_cmd_id = c.id AND p.flag_en_avance = 0 ) AS dejaPaie, (SELECT IFNULL(SUM(p.montant),0) FROM paiement p WHERE p.id_cmd_id = c.id AND p.flag_en_avance = 1 ) AS paieEnAvance, (SELECT IFNULL(SUM(atF.montant),0) FROM autre_frais atF WHERE atF.commande_id = c.id ) AS AutresFrais, (SELECT IFNULL(SUM(r.montant),0) FROM reduction r WHERE r.id_cmd_id = c.id AND r.flag_compassation = '0') AS reduction, (SELECT IFNULL(SUM(r.montant),0) FROM reduction r WHERE r.id_cmd_id = c.id AND r.flag_compassation = '1' ) AS compassation, (SELECT IFNULL(SUM(r.montant),0) FROM reduction r WHERE r.id_cmd_id = c.id AND r.flag_compassation = '2' ) AS banque, (SELECT r.montant FROM reduction r WHERE r.id_cmd_id = c.id AND r.flag_compassation = '2' ORDER BY r.id DESC LIMIT 1) AS banqueDujour, (SELECT IFNULL(SUM(r.montant),0) FROM reduction r WHERE r.id_cmd_id = c.id AND r.flag_compassation = '3' ) AS depot FROM commande c LEFT JOIN agent a ON (c.id_ag_id = a.id) LEFT JOIN programme_contenaire ctpr ON (c.id_ct_pr_id = ctpr.id) LEFT JOIN contenaire ct ON (ctpr.id_ct_id = ct.id) WHERE c.id = 7929913 ORDER BY c.id DESC
Parameters:
[] |
| 17 | 0.28 ms |
SELECT t0.id AS id_1, t0.date_chargement AS date_chargement_2, t0.date_depart AS date_depart_3, t0.date_arriver AS date_arriver_4, t0.date_operation AS date_operation_5, t0.nom_bateau AS nom_bateau_6, t0.id_ag AS id_ag_7, t0.flag AS flag_8, t0.numero_contenaire AS numero_contenaire_9, t0.transporteur AS transporteur_10, t0.complet_flag AS complet_flag_11, t0.proprietaire_conteneur AS proprietaire_conteneur_12, t0.destination AS destination_13, t0.validation AS validation_14, t0.depenses_prevue AS depenses_prevue_15, t0.remarque_conteneur AS remarque_conteneur_16, t0.is_mco AS is_mco_17, t0.is_rapport AS is_rapport_18, t0.date_rapport_at AS date_rapport_at_19, t0.is_clients AS is_clients_20, t0.rapport AS rapport_21, t0.is_electronique AS is_electronique_22, t0.date_validation AS date_validation_23, t0.is_notifier AS is_notifier_24, t0.fin AS fin_25, t0.date_validation_fin AS date_validation_fin_26, t0.dateattribution AS dateattribution_27, t0.paye_gestionnaire AS paye_gestionnaire_28, t0.id_ct_id AS id_ct_id_29, t0.id_ville_id AS id_ville_id_30, t0.ville_initiale_id AS ville_initiale_id_31, t0.agent_gestionnaire_id AS agent_gestionnaire_id_32 FROM programme_contenaire t0 WHERE t0.id = ?
Parameters:
[
5706
]
|
| 18 | 0.20 ms |
SELECT t0.id AS id_1, t0.lieu AS lieu_2, t0.id_position AS id_position_3, t0.date_operation AS date_operation_4, t0.position_actuelle_flag AS position_actuelle_flag_5, t0.id_ct_pr_id AS id_ct_pr_id_6 FROM suivi_contenaire t0 WHERE t0.id_ct_pr_id = ?
Parameters:
[
5706
]
|
| 19 | 0.19 ms |
SELECT t0.id AS id_1, t0.created_at AS created_at_2, t0.commentaire AS commentaire_3, t0.suivi_id AS suivi_id_4, t0.sous_position_id AS sous_position_id_5 FROM sous_suivi t0 WHERE t0.suivi_id = ?
Parameters:
[
8536
]
|
| 20 | 0.18 ms |
SELECT t0.id AS id_1, t0.quantite AS quantite_2, t0.sortie_at AS sortie_at_3, t0.remarque AS remarque_4, t0.noms AS noms_5, t0.telephone AS telephone_6, t0.plaque AS plaque_7, t0.commande_id AS commande_id_8, t0.user_id AS user_id_9 FROM depot t0 WHERE t0.commande_id = ?
Parameters:
[
7929913
]
|
| 21 | 0.19 ms |
SELECT t0.id AS id_1, t0.volume AS volume_2, t0.prix_unit AS prix_unit_3, t0.unite AS unite_4, t0.modification AS modification_5, t0.commande_id AS commande_id_6 FROM tmp_volume t0 WHERE t0.commande_id = ?
Parameters:
[
7929913
]
|
| 22 | 0.17 ms |
SELECT t0.id AS id_1, t0.libelle AS libelle_2, t0.montant AS montant_3, t0.modification AS modification_4, t0.commande_id AS commande_id_5 FROM autre_frais t0 WHERE t0.commande_id = ?
Parameters:
[
7929913
]
|
| 23 | 2.56 ms |
SELECT t0.id AS id_1, t0.montant AS montant_2, t0.date_operation AS date_operation_3, t0.motif AS motif_4, t0.flag_compassation AS flag_compassation_5, t0.fichier_banque AS fichier_banque_6, t0.id_cmd_id AS id_cmd_id_7, t0.id_ag_id AS id_ag_id_8 FROM reduction t0 WHERE t0.id_cmd_id = ?
Parameters:
[
7929913
]
|
| 24 | 0.19 ms |
SELECT t0.id AS id_1, t0.montant AS montant_2, t0.date_operation AS date_operation_3, t0.flag_en_avance AS flag_en_avance_4, t0.id_cmd_id AS id_cmd_id_5, t0.id_ag_id AS id_ag_id_6 FROM paiement t0 WHERE t0.id_cmd_id = ?
Parameters:
[
7929913
]
|
| 25 | 0.18 ms |
SELECT t0.id AS id_1, t0.qte AS qte_2, t0.libelle AS libelle_3, t0.modification AS modification_4, t0.commande_id AS commande_id_5 FROM tmp_marchandise t0 WHERE t0.commande_id = ?
Parameters:
[
7929913
]
|
| 26 | 0.15 ms |
SELECT t0.id AS id_1, t0.nom_contenaire AS nom_contenaire_2 FROM contenaire t0 WHERE t0.id = ?
Parameters:
[
5855
]
|
| 27 | 8.82 ms |
SELECT *,c.id AS idCommande, (SELECT nom_ag FROM agent a WHERE a.id = c.id_cl_id ) AS nom_client, (SELECT IFNULL(SUM(ROUND(tV.prix_unit * tV.volume)),0) FROM tmp_volume tV WHERE c.id = tV.commande_id ) AS pritotal, (SELECT MAX(p.id) AS maxid FROM paiement p WHERE p.id_cmd_id = c.id ) AS idFacture, (SELECT IFNULL(SUM(p.montant),0) FROM paiement p WHERE p.id_cmd_id = c.id AND p.flag_en_avance = 0 ) AS dejaPaie, (SELECT IFNULL(SUM(p.montant),0) FROM paiement p WHERE p.id_cmd_id = c.id AND p.flag_en_avance = 1 ) AS paieEnAvance, (SELECT IFNULL(SUM(atF.montant),0) FROM autre_frais atF WHERE atF.commande_id = c.id ) AS AutresFrais, (SELECT IFNULL(SUM(r.montant),0) FROM reduction r WHERE r.id_cmd_id = c.id AND r.flag_compassation = '0') AS reduction, (SELECT IFNULL(SUM(r.montant),0) FROM reduction r WHERE r.id_cmd_id = c.id AND r.flag_compassation = '1' ) AS compassation, (SELECT IFNULL(SUM(r.montant),0) FROM reduction r WHERE r.id_cmd_id = c.id AND r.flag_compassation = '2' ) AS banque, (SELECT r.montant FROM reduction r WHERE r.id_cmd_id = c.id AND r.flag_compassation = '2' ORDER BY r.id DESC LIMIT 1) AS banqueDujour, (SELECT IFNULL(SUM(r.montant),0) FROM reduction r WHERE r.id_cmd_id = c.id AND r.flag_compassation = '3' ) AS depot FROM commande c LEFT JOIN agent a ON (c.id_ag_id = a.id) LEFT JOIN programme_contenaire ctpr ON (c.id_ct_pr_id = ctpr.id) LEFT JOIN contenaire ct ON (ctpr.id_ct_id = ct.id) WHERE c.id = 7929940 ORDER BY c.id DESC
Parameters:
[] |
| 28 | 0.29 ms |
SELECT t0.id AS id_1, t0.date_chargement AS date_chargement_2, t0.date_depart AS date_depart_3, t0.date_arriver AS date_arriver_4, t0.date_operation AS date_operation_5, t0.nom_bateau AS nom_bateau_6, t0.id_ag AS id_ag_7, t0.flag AS flag_8, t0.numero_contenaire AS numero_contenaire_9, t0.transporteur AS transporteur_10, t0.complet_flag AS complet_flag_11, t0.proprietaire_conteneur AS proprietaire_conteneur_12, t0.destination AS destination_13, t0.validation AS validation_14, t0.depenses_prevue AS depenses_prevue_15, t0.remarque_conteneur AS remarque_conteneur_16, t0.is_mco AS is_mco_17, t0.is_rapport AS is_rapport_18, t0.date_rapport_at AS date_rapport_at_19, t0.is_clients AS is_clients_20, t0.rapport AS rapport_21, t0.is_electronique AS is_electronique_22, t0.date_validation AS date_validation_23, t0.is_notifier AS is_notifier_24, t0.fin AS fin_25, t0.date_validation_fin AS date_validation_fin_26, t0.dateattribution AS dateattribution_27, t0.paye_gestionnaire AS paye_gestionnaire_28, t0.id_ct_id AS id_ct_id_29, t0.id_ville_id AS id_ville_id_30, t0.ville_initiale_id AS ville_initiale_id_31, t0.agent_gestionnaire_id AS agent_gestionnaire_id_32 FROM programme_contenaire t0 WHERE t0.id = ?
Parameters:
[
5707
]
|
| 29 | 0.20 ms |
SELECT t0.id AS id_1, t0.lieu AS lieu_2, t0.id_position AS id_position_3, t0.date_operation AS date_operation_4, t0.position_actuelle_flag AS position_actuelle_flag_5, t0.id_ct_pr_id AS id_ct_pr_id_6 FROM suivi_contenaire t0 WHERE t0.id_ct_pr_id = ?
Parameters:
[
5707
]
|
| 30 | 0.19 ms |
SELECT t0.id AS id_1, t0.created_at AS created_at_2, t0.commentaire AS commentaire_3, t0.suivi_id AS suivi_id_4, t0.sous_position_id AS sous_position_id_5 FROM sous_suivi t0 WHERE t0.suivi_id = ?
Parameters:
[
8537
]
|
| 31 | 0.22 ms |
SELECT t0.id AS id_1, t0.quantite AS quantite_2, t0.sortie_at AS sortie_at_3, t0.remarque AS remarque_4, t0.noms AS noms_5, t0.telephone AS telephone_6, t0.plaque AS plaque_7, t0.commande_id AS commande_id_8, t0.user_id AS user_id_9 FROM depot t0 WHERE t0.commande_id = ?
Parameters:
[
7929940
]
|
| 32 | 0.18 ms |
SELECT t0.id AS id_1, t0.volume AS volume_2, t0.prix_unit AS prix_unit_3, t0.unite AS unite_4, t0.modification AS modification_5, t0.commande_id AS commande_id_6 FROM tmp_volume t0 WHERE t0.commande_id = ?
Parameters:
[
7929940
]
|
| 33 | 0.18 ms |
SELECT t0.id AS id_1, t0.libelle AS libelle_2, t0.montant AS montant_3, t0.modification AS modification_4, t0.commande_id AS commande_id_5 FROM autre_frais t0 WHERE t0.commande_id = ?
Parameters:
[
7929940
]
|
| 34 | 2.58 ms |
SELECT t0.id AS id_1, t0.montant AS montant_2, t0.date_operation AS date_operation_3, t0.motif AS motif_4, t0.flag_compassation AS flag_compassation_5, t0.fichier_banque AS fichier_banque_6, t0.id_cmd_id AS id_cmd_id_7, t0.id_ag_id AS id_ag_id_8 FROM reduction t0 WHERE t0.id_cmd_id = ?
Parameters:
[
7929940
]
|
| 35 | 0.23 ms |
SELECT t0.id AS id_1, t0.montant AS montant_2, t0.date_operation AS date_operation_3, t0.flag_en_avance AS flag_en_avance_4, t0.id_cmd_id AS id_cmd_id_5, t0.id_ag_id AS id_ag_id_6 FROM paiement t0 WHERE t0.id_cmd_id = ?
Parameters:
[
7929940
]
|
| 36 | 0.18 ms |
SELECT t0.id AS id_1, t0.qte AS qte_2, t0.libelle AS libelle_3, t0.modification AS modification_4, t0.commande_id AS commande_id_5 FROM tmp_marchandise t0 WHERE t0.commande_id = ?
Parameters:
[
7929940
]
|
| 37 | 0.16 ms |
SELECT t0.id AS id_1, t0.nom_contenaire AS nom_contenaire_2 FROM contenaire t0 WHERE t0.id = ?
Parameters:
[
5856
]
|
| 38 | 8.99 ms |
SELECT *,c.id AS idCommande, (SELECT nom_ag FROM agent a WHERE a.id = c.id_cl_id ) AS nom_client, (SELECT IFNULL(SUM(ROUND(tV.prix_unit * tV.volume)),0) FROM tmp_volume tV WHERE c.id = tV.commande_id ) AS pritotal, (SELECT MAX(p.id) AS maxid FROM paiement p WHERE p.id_cmd_id = c.id ) AS idFacture, (SELECT IFNULL(SUM(p.montant),0) FROM paiement p WHERE p.id_cmd_id = c.id AND p.flag_en_avance = 0 ) AS dejaPaie, (SELECT IFNULL(SUM(p.montant),0) FROM paiement p WHERE p.id_cmd_id = c.id AND p.flag_en_avance = 1 ) AS paieEnAvance, (SELECT IFNULL(SUM(atF.montant),0) FROM autre_frais atF WHERE atF.commande_id = c.id ) AS AutresFrais, (SELECT IFNULL(SUM(r.montant),0) FROM reduction r WHERE r.id_cmd_id = c.id AND r.flag_compassation = '0') AS reduction, (SELECT IFNULL(SUM(r.montant),0) FROM reduction r WHERE r.id_cmd_id = c.id AND r.flag_compassation = '1' ) AS compassation, (SELECT IFNULL(SUM(r.montant),0) FROM reduction r WHERE r.id_cmd_id = c.id AND r.flag_compassation = '2' ) AS banque, (SELECT r.montant FROM reduction r WHERE r.id_cmd_id = c.id AND r.flag_compassation = '2' ORDER BY r.id DESC LIMIT 1) AS banqueDujour, (SELECT IFNULL(SUM(r.montant),0) FROM reduction r WHERE r.id_cmd_id = c.id AND r.flag_compassation = '3' ) AS depot FROM commande c LEFT JOIN agent a ON (c.id_ag_id = a.id) LEFT JOIN programme_contenaire ctpr ON (c.id_ct_pr_id = ctpr.id) LEFT JOIN contenaire ct ON (ctpr.id_ct_id = ct.id) WHERE c.id = 7929840 ORDER BY c.id DESC
Parameters:
[] |
| 39 | 0.28 ms |
SELECT t0.id AS id_1, t0.date_chargement AS date_chargement_2, t0.date_depart AS date_depart_3, t0.date_arriver AS date_arriver_4, t0.date_operation AS date_operation_5, t0.nom_bateau AS nom_bateau_6, t0.id_ag AS id_ag_7, t0.flag AS flag_8, t0.numero_contenaire AS numero_contenaire_9, t0.transporteur AS transporteur_10, t0.complet_flag AS complet_flag_11, t0.proprietaire_conteneur AS proprietaire_conteneur_12, t0.destination AS destination_13, t0.validation AS validation_14, t0.depenses_prevue AS depenses_prevue_15, t0.remarque_conteneur AS remarque_conteneur_16, t0.is_mco AS is_mco_17, t0.is_rapport AS is_rapport_18, t0.date_rapport_at AS date_rapport_at_19, t0.is_clients AS is_clients_20, t0.rapport AS rapport_21, t0.is_electronique AS is_electronique_22, t0.date_validation AS date_validation_23, t0.is_notifier AS is_notifier_24, t0.fin AS fin_25, t0.date_validation_fin AS date_validation_fin_26, t0.dateattribution AS dateattribution_27, t0.paye_gestionnaire AS paye_gestionnaire_28, t0.id_ct_id AS id_ct_id_29, t0.id_ville_id AS id_ville_id_30, t0.ville_initiale_id AS ville_initiale_id_31, t0.agent_gestionnaire_id AS agent_gestionnaire_id_32 FROM programme_contenaire t0 WHERE t0.id = ?
Parameters:
[
5701
]
|
| 40 | 0.18 ms |
SELECT t0.id AS id_1, t0.lieu AS lieu_2, t0.id_position AS id_position_3, t0.date_operation AS date_operation_4, t0.position_actuelle_flag AS position_actuelle_flag_5, t0.id_ct_pr_id AS id_ct_pr_id_6 FROM suivi_contenaire t0 WHERE t0.id_ct_pr_id = ?
Parameters:
[
5701
]
|
| 41 | 0.15 ms |
SELECT t0.id AS id_1, t0.created_at AS created_at_2, t0.commentaire AS commentaire_3, t0.suivi_id AS suivi_id_4, t0.sous_position_id AS sous_position_id_5 FROM sous_suivi t0 WHERE t0.suivi_id = ?
Parameters:
[
8530
]
|
| 42 | 0.14 ms |
SELECT t0.id AS id_1, t0.quantite AS quantite_2, t0.sortie_at AS sortie_at_3, t0.remarque AS remarque_4, t0.noms AS noms_5, t0.telephone AS telephone_6, t0.plaque AS plaque_7, t0.commande_id AS commande_id_8, t0.user_id AS user_id_9 FROM depot t0 WHERE t0.commande_id = ?
Parameters:
[
7929840
]
|
| 43 | 0.15 ms |
SELECT t0.id AS id_1, t0.volume AS volume_2, t0.prix_unit AS prix_unit_3, t0.unite AS unite_4, t0.modification AS modification_5, t0.commande_id AS commande_id_6 FROM tmp_volume t0 WHERE t0.commande_id = ?
Parameters:
[
7929840
]
|
| 44 | 0.13 ms |
SELECT t0.id AS id_1, t0.libelle AS libelle_2, t0.montant AS montant_3, t0.modification AS modification_4, t0.commande_id AS commande_id_5 FROM autre_frais t0 WHERE t0.commande_id = ?
Parameters:
[
7929840
]
|
| 45 | 1.60 ms |
SELECT t0.id AS id_1, t0.montant AS montant_2, t0.date_operation AS date_operation_3, t0.motif AS motif_4, t0.flag_compassation AS flag_compassation_5, t0.fichier_banque AS fichier_banque_6, t0.id_cmd_id AS id_cmd_id_7, t0.id_ag_id AS id_ag_id_8 FROM reduction t0 WHERE t0.id_cmd_id = ?
Parameters:
[
7929840
]
|
| 46 | 0.17 ms |
SELECT t0.id AS id_1, t0.montant AS montant_2, t0.date_operation AS date_operation_3, t0.flag_en_avance AS flag_en_avance_4, t0.id_cmd_id AS id_cmd_id_5, t0.id_ag_id AS id_ag_id_6 FROM paiement t0 WHERE t0.id_cmd_id = ?
Parameters:
[
7929840
]
|
| 47 | 0.18 ms |
SELECT t0.id AS id_1, t0.qte AS qte_2, t0.libelle AS libelle_3, t0.modification AS modification_4, t0.commande_id AS commande_id_5 FROM tmp_marchandise t0 WHERE t0.commande_id = ?
Parameters:
[
7929840
]
|
| 48 | 0.16 ms |
SELECT t0.id AS id_1, t0.nom_contenaire AS nom_contenaire_2 FROM contenaire t0 WHERE t0.id = ?
Parameters:
[
5850
]
|
| 49 | 7.99 ms |
SELECT *,c.id AS idCommande, (SELECT nom_ag FROM agent a WHERE a.id = c.id_cl_id ) AS nom_client, (SELECT IFNULL(SUM(ROUND(tV.prix_unit * tV.volume)),0) FROM tmp_volume tV WHERE c.id = tV.commande_id ) AS pritotal, (SELECT MAX(p.id) AS maxid FROM paiement p WHERE p.id_cmd_id = c.id ) AS idFacture, (SELECT IFNULL(SUM(p.montant),0) FROM paiement p WHERE p.id_cmd_id = c.id AND p.flag_en_avance = 0 ) AS dejaPaie, (SELECT IFNULL(SUM(p.montant),0) FROM paiement p WHERE p.id_cmd_id = c.id AND p.flag_en_avance = 1 ) AS paieEnAvance, (SELECT IFNULL(SUM(atF.montant),0) FROM autre_frais atF WHERE atF.commande_id = c.id ) AS AutresFrais, (SELECT IFNULL(SUM(r.montant),0) FROM reduction r WHERE r.id_cmd_id = c.id AND r.flag_compassation = '0') AS reduction, (SELECT IFNULL(SUM(r.montant),0) FROM reduction r WHERE r.id_cmd_id = c.id AND r.flag_compassation = '1' ) AS compassation, (SELECT IFNULL(SUM(r.montant),0) FROM reduction r WHERE r.id_cmd_id = c.id AND r.flag_compassation = '2' ) AS banque, (SELECT r.montant FROM reduction r WHERE r.id_cmd_id = c.id AND r.flag_compassation = '2' ORDER BY r.id DESC LIMIT 1) AS banqueDujour, (SELECT IFNULL(SUM(r.montant),0) FROM reduction r WHERE r.id_cmd_id = c.id AND r.flag_compassation = '3' ) AS depot FROM commande c LEFT JOIN agent a ON (c.id_ag_id = a.id) LEFT JOIN programme_contenaire ctpr ON (c.id_ct_pr_id = ctpr.id) LEFT JOIN contenaire ct ON (ctpr.id_ct_id = ct.id) WHERE c.id = 7929592 ORDER BY c.id DESC
Parameters:
[] |
| 50 | 0.28 ms |
SELECT t0.id AS id_1, t0.date_chargement AS date_chargement_2, t0.date_depart AS date_depart_3, t0.date_arriver AS date_arriver_4, t0.date_operation AS date_operation_5, t0.nom_bateau AS nom_bateau_6, t0.id_ag AS id_ag_7, t0.flag AS flag_8, t0.numero_contenaire AS numero_contenaire_9, t0.transporteur AS transporteur_10, t0.complet_flag AS complet_flag_11, t0.proprietaire_conteneur AS proprietaire_conteneur_12, t0.destination AS destination_13, t0.validation AS validation_14, t0.depenses_prevue AS depenses_prevue_15, t0.remarque_conteneur AS remarque_conteneur_16, t0.is_mco AS is_mco_17, t0.is_rapport AS is_rapport_18, t0.date_rapport_at AS date_rapport_at_19, t0.is_clients AS is_clients_20, t0.rapport AS rapport_21, t0.is_electronique AS is_electronique_22, t0.date_validation AS date_validation_23, t0.is_notifier AS is_notifier_24, t0.fin AS fin_25, t0.date_validation_fin AS date_validation_fin_26, t0.dateattribution AS dateattribution_27, t0.paye_gestionnaire AS paye_gestionnaire_28, t0.id_ct_id AS id_ct_id_29, t0.id_ville_id AS id_ville_id_30, t0.ville_initiale_id AS ville_initiale_id_31, t0.agent_gestionnaire_id AS agent_gestionnaire_id_32 FROM programme_contenaire t0 WHERE t0.id = ?
Parameters:
[
5638
]
|
| 51 | 0.20 ms |
SELECT t0.id AS id_1, t0.lieu AS lieu_2, t0.id_position AS id_position_3, t0.date_operation AS date_operation_4, t0.position_actuelle_flag AS position_actuelle_flag_5, t0.id_ct_pr_id AS id_ct_pr_id_6 FROM suivi_contenaire t0 WHERE t0.id_ct_pr_id = ?
Parameters:
[
5638
]
|
| 52 | 0.19 ms |
SELECT t0.id AS id_1, t0.quantite AS quantite_2, t0.sortie_at AS sortie_at_3, t0.remarque AS remarque_4, t0.noms AS noms_5, t0.telephone AS telephone_6, t0.plaque AS plaque_7, t0.commande_id AS commande_id_8, t0.user_id AS user_id_9 FROM depot t0 WHERE t0.commande_id = ?
Parameters:
[
7929592
]
|
| 53 | 0.17 ms |
SELECT t0.id AS id_1, t0.volume AS volume_2, t0.prix_unit AS prix_unit_3, t0.unite AS unite_4, t0.modification AS modification_5, t0.commande_id AS commande_id_6 FROM tmp_volume t0 WHERE t0.commande_id = ?
Parameters:
[
7929592
]
|
| 54 | 0.15 ms |
SELECT t0.id AS id_1, t0.libelle AS libelle_2, t0.montant AS montant_3, t0.modification AS modification_4, t0.commande_id AS commande_id_5 FROM autre_frais t0 WHERE t0.commande_id = ?
Parameters:
[
7929592
]
|
| 55 | 2.55 ms |
SELECT t0.id AS id_1, t0.montant AS montant_2, t0.date_operation AS date_operation_3, t0.motif AS motif_4, t0.flag_compassation AS flag_compassation_5, t0.fichier_banque AS fichier_banque_6, t0.id_cmd_id AS id_cmd_id_7, t0.id_ag_id AS id_ag_id_8 FROM reduction t0 WHERE t0.id_cmd_id = ?
Parameters:
[
7929592
]
|
| 56 | 0.18 ms |
SELECT t0.id AS id_1, t0.montant AS montant_2, t0.date_operation AS date_operation_3, t0.flag_en_avance AS flag_en_avance_4, t0.id_cmd_id AS id_cmd_id_5, t0.id_ag_id AS id_ag_id_6 FROM paiement t0 WHERE t0.id_cmd_id = ?
Parameters:
[
7929592
]
|
| 57 | 0.19 ms |
SELECT t0.id AS id_1, t0.qte AS qte_2, t0.libelle AS libelle_3, t0.modification AS modification_4, t0.commande_id AS commande_id_5 FROM tmp_marchandise t0 WHERE t0.commande_id = ?
Parameters:
[
7929592
]
|
| 58 | 0.14 ms |
SELECT t0.id AS id_1, t0.nom_contenaire AS nom_contenaire_2 FROM contenaire t0 WHERE t0.id = ?
Parameters:
[
5784
]
|
| 59 | 6.93 ms |
SELECT *,c.id AS idCommande, (SELECT nom_ag FROM agent a WHERE a.id = c.id_cl_id ) AS nom_client, (SELECT IFNULL(SUM(ROUND(tV.prix_unit * tV.volume)),0) FROM tmp_volume tV WHERE c.id = tV.commande_id ) AS pritotal, (SELECT MAX(p.id) AS maxid FROM paiement p WHERE p.id_cmd_id = c.id ) AS idFacture, (SELECT IFNULL(SUM(p.montant),0) FROM paiement p WHERE p.id_cmd_id = c.id AND p.flag_en_avance = 0 ) AS dejaPaie, (SELECT IFNULL(SUM(p.montant),0) FROM paiement p WHERE p.id_cmd_id = c.id AND p.flag_en_avance = 1 ) AS paieEnAvance, (SELECT IFNULL(SUM(atF.montant),0) FROM autre_frais atF WHERE atF.commande_id = c.id ) AS AutresFrais, (SELECT IFNULL(SUM(r.montant),0) FROM reduction r WHERE r.id_cmd_id = c.id AND r.flag_compassation = '0') AS reduction, (SELECT IFNULL(SUM(r.montant),0) FROM reduction r WHERE r.id_cmd_id = c.id AND r.flag_compassation = '1' ) AS compassation, (SELECT IFNULL(SUM(r.montant),0) FROM reduction r WHERE r.id_cmd_id = c.id AND r.flag_compassation = '2' ) AS banque, (SELECT r.montant FROM reduction r WHERE r.id_cmd_id = c.id AND r.flag_compassation = '2' ORDER BY r.id DESC LIMIT 1) AS banqueDujour, (SELECT IFNULL(SUM(r.montant),0) FROM reduction r WHERE r.id_cmd_id = c.id AND r.flag_compassation = '3' ) AS depot FROM commande c LEFT JOIN agent a ON (c.id_ag_id = a.id) LEFT JOIN programme_contenaire ctpr ON (c.id_ct_pr_id = ctpr.id) LEFT JOIN contenaire ct ON (ctpr.id_ct_id = ct.id) WHERE c.id = 7929091 ORDER BY c.id DESC
Parameters:
[] |
| 60 | 0.23 ms |
SELECT t0.id AS id_1, t0.date_chargement AS date_chargement_2, t0.date_depart AS date_depart_3, t0.date_arriver AS date_arriver_4, t0.date_operation AS date_operation_5, t0.nom_bateau AS nom_bateau_6, t0.id_ag AS id_ag_7, t0.flag AS flag_8, t0.numero_contenaire AS numero_contenaire_9, t0.transporteur AS transporteur_10, t0.complet_flag AS complet_flag_11, t0.proprietaire_conteneur AS proprietaire_conteneur_12, t0.destination AS destination_13, t0.validation AS validation_14, t0.depenses_prevue AS depenses_prevue_15, t0.remarque_conteneur AS remarque_conteneur_16, t0.is_mco AS is_mco_17, t0.is_rapport AS is_rapport_18, t0.date_rapport_at AS date_rapport_at_19, t0.is_clients AS is_clients_20, t0.rapport AS rapport_21, t0.is_electronique AS is_electronique_22, t0.date_validation AS date_validation_23, t0.is_notifier AS is_notifier_24, t0.fin AS fin_25, t0.date_validation_fin AS date_validation_fin_26, t0.dateattribution AS dateattribution_27, t0.paye_gestionnaire AS paye_gestionnaire_28, t0.id_ct_id AS id_ct_id_29, t0.id_ville_id AS id_ville_id_30, t0.ville_initiale_id AS ville_initiale_id_31, t0.agent_gestionnaire_id AS agent_gestionnaire_id_32 FROM programme_contenaire t0 WHERE t0.id = ?
Parameters:
[
5642
]
|
| 61 | 0.19 ms |
SELECT t0.id AS id_1, t0.lieu AS lieu_2, t0.id_position AS id_position_3, t0.date_operation AS date_operation_4, t0.position_actuelle_flag AS position_actuelle_flag_5, t0.id_ct_pr_id AS id_ct_pr_id_6 FROM suivi_contenaire t0 WHERE t0.id_ct_pr_id = ?
Parameters:
[
5642
]
|
| 62 | 0.17 ms |
SELECT t0.id AS id_1, t0.created_at AS created_at_2, t0.commentaire AS commentaire_3, t0.suivi_id AS suivi_id_4, t0.sous_position_id AS sous_position_id_5 FROM sous_suivi t0 WHERE t0.suivi_id = ?
Parameters:
[
8373
]
|
| 63 | 0.18 ms |
SELECT t0.id AS id_1, t0.quantite AS quantite_2, t0.sortie_at AS sortie_at_3, t0.remarque AS remarque_4, t0.noms AS noms_5, t0.telephone AS telephone_6, t0.plaque AS plaque_7, t0.commande_id AS commande_id_8, t0.user_id AS user_id_9 FROM depot t0 WHERE t0.commande_id = ?
Parameters:
[
7929091
]
|
| 64 | 0.16 ms |
SELECT t0.id AS id_1, t0.volume AS volume_2, t0.prix_unit AS prix_unit_3, t0.unite AS unite_4, t0.modification AS modification_5, t0.commande_id AS commande_id_6 FROM tmp_volume t0 WHERE t0.commande_id = ?
Parameters:
[
7929091
]
|
| 65 | 0.16 ms |
SELECT t0.id AS id_1, t0.libelle AS libelle_2, t0.montant AS montant_3, t0.modification AS modification_4, t0.commande_id AS commande_id_5 FROM autre_frais t0 WHERE t0.commande_id = ?
Parameters:
[
7929091
]
|
| 66 | 2.54 ms |
SELECT t0.id AS id_1, t0.montant AS montant_2, t0.date_operation AS date_operation_3, t0.motif AS motif_4, t0.flag_compassation AS flag_compassation_5, t0.fichier_banque AS fichier_banque_6, t0.id_cmd_id AS id_cmd_id_7, t0.id_ag_id AS id_ag_id_8 FROM reduction t0 WHERE t0.id_cmd_id = ?
Parameters:
[
7929091
]
|
| 67 | 0.19 ms |
SELECT t0.id AS id_1, t0.montant AS montant_2, t0.date_operation AS date_operation_3, t0.flag_en_avance AS flag_en_avance_4, t0.id_cmd_id AS id_cmd_id_5, t0.id_ag_id AS id_ag_id_6 FROM paiement t0 WHERE t0.id_cmd_id = ?
Parameters:
[
7929091
]
|
| 68 | 0.18 ms |
SELECT t0.id AS id_1, t0.qte AS qte_2, t0.libelle AS libelle_3, t0.modification AS modification_4, t0.commande_id AS commande_id_5 FROM tmp_marchandise t0 WHERE t0.commande_id = ?
Parameters:
[
7929091
]
|
| 69 | 0.21 ms |
SELECT t0.id AS id_1, t0.nom_contenaire AS nom_contenaire_2 FROM contenaire t0 WHERE t0.id = ?
Parameters:
[
5788
]
|
| 70 | 7.26 ms |
SELECT *,c.id AS idCommande, (SELECT nom_ag FROM agent a WHERE a.id = c.id_cl_id ) AS nom_client, (SELECT IFNULL(SUM(ROUND(tV.prix_unit * tV.volume)),0) FROM tmp_volume tV WHERE c.id = tV.commande_id ) AS pritotal, (SELECT MAX(p.id) AS maxid FROM paiement p WHERE p.id_cmd_id = c.id ) AS idFacture, (SELECT IFNULL(SUM(p.montant),0) FROM paiement p WHERE p.id_cmd_id = c.id AND p.flag_en_avance = 0 ) AS dejaPaie, (SELECT IFNULL(SUM(p.montant),0) FROM paiement p WHERE p.id_cmd_id = c.id AND p.flag_en_avance = 1 ) AS paieEnAvance, (SELECT IFNULL(SUM(atF.montant),0) FROM autre_frais atF WHERE atF.commande_id = c.id ) AS AutresFrais, (SELECT IFNULL(SUM(r.montant),0) FROM reduction r WHERE r.id_cmd_id = c.id AND r.flag_compassation = '0') AS reduction, (SELECT IFNULL(SUM(r.montant),0) FROM reduction r WHERE r.id_cmd_id = c.id AND r.flag_compassation = '1' ) AS compassation, (SELECT IFNULL(SUM(r.montant),0) FROM reduction r WHERE r.id_cmd_id = c.id AND r.flag_compassation = '2' ) AS banque, (SELECT r.montant FROM reduction r WHERE r.id_cmd_id = c.id AND r.flag_compassation = '2' ORDER BY r.id DESC LIMIT 1) AS banqueDujour, (SELECT IFNULL(SUM(r.montant),0) FROM reduction r WHERE r.id_cmd_id = c.id AND r.flag_compassation = '3' ) AS depot FROM commande c LEFT JOIN agent a ON (c.id_ag_id = a.id) LEFT JOIN programme_contenaire ctpr ON (c.id_ct_pr_id = ctpr.id) LEFT JOIN contenaire ct ON (ctpr.id_ct_id = ct.id) WHERE c.id = 7928966 ORDER BY c.id DESC
Parameters:
[] |
| 71 | 0.29 ms |
SELECT t0.id AS id_1, t0.date_chargement AS date_chargement_2, t0.date_depart AS date_depart_3, t0.date_arriver AS date_arriver_4, t0.date_operation AS date_operation_5, t0.nom_bateau AS nom_bateau_6, t0.id_ag AS id_ag_7, t0.flag AS flag_8, t0.numero_contenaire AS numero_contenaire_9, t0.transporteur AS transporteur_10, t0.complet_flag AS complet_flag_11, t0.proprietaire_conteneur AS proprietaire_conteneur_12, t0.destination AS destination_13, t0.validation AS validation_14, t0.depenses_prevue AS depenses_prevue_15, t0.remarque_conteneur AS remarque_conteneur_16, t0.is_mco AS is_mco_17, t0.is_rapport AS is_rapport_18, t0.date_rapport_at AS date_rapport_at_19, t0.is_clients AS is_clients_20, t0.rapport AS rapport_21, t0.is_electronique AS is_electronique_22, t0.date_validation AS date_validation_23, t0.is_notifier AS is_notifier_24, t0.fin AS fin_25, t0.date_validation_fin AS date_validation_fin_26, t0.dateattribution AS dateattribution_27, t0.paye_gestionnaire AS paye_gestionnaire_28, t0.id_ct_id AS id_ct_id_29, t0.id_ville_id AS id_ville_id_30, t0.ville_initiale_id AS ville_initiale_id_31, t0.agent_gestionnaire_id AS agent_gestionnaire_id_32 FROM programme_contenaire t0 WHERE t0.id = ?
Parameters:
[
5531
]
|
| 72 | 0.21 ms |
SELECT t0.id AS id_1, t0.lieu AS lieu_2, t0.id_position AS id_position_3, t0.date_operation AS date_operation_4, t0.position_actuelle_flag AS position_actuelle_flag_5, t0.id_ct_pr_id AS id_ct_pr_id_6 FROM suivi_contenaire t0 WHERE t0.id_ct_pr_id = ?
Parameters:
[
5531
]
|
| 73 | 0.18 ms |
SELECT t0.id AS id_1, t0.created_at AS created_at_2, t0.commentaire AS commentaire_3, t0.suivi_id AS suivi_id_4, t0.sous_position_id AS sous_position_id_5 FROM sous_suivi t0 WHERE t0.suivi_id = ?
Parameters:
[
8358
]
|
| 74 | 0.20 ms |
SELECT t0.id AS id_1, t0.quantite AS quantite_2, t0.sortie_at AS sortie_at_3, t0.remarque AS remarque_4, t0.noms AS noms_5, t0.telephone AS telephone_6, t0.plaque AS plaque_7, t0.commande_id AS commande_id_8, t0.user_id AS user_id_9 FROM depot t0 WHERE t0.commande_id = ?
Parameters:
[
7928966
]
|
| 75 | 0.20 ms |
SELECT t0.id AS id_1, t0.volume AS volume_2, t0.prix_unit AS prix_unit_3, t0.unite AS unite_4, t0.modification AS modification_5, t0.commande_id AS commande_id_6 FROM tmp_volume t0 WHERE t0.commande_id = ?
Parameters:
[
7928966
]
|
| 76 | 0.17 ms |
SELECT t0.id AS id_1, t0.libelle AS libelle_2, t0.montant AS montant_3, t0.modification AS modification_4, t0.commande_id AS commande_id_5 FROM autre_frais t0 WHERE t0.commande_id = ?
Parameters:
[
7928966
]
|
| 77 | 2.62 ms |
SELECT t0.id AS id_1, t0.montant AS montant_2, t0.date_operation AS date_operation_3, t0.motif AS motif_4, t0.flag_compassation AS flag_compassation_5, t0.fichier_banque AS fichier_banque_6, t0.id_cmd_id AS id_cmd_id_7, t0.id_ag_id AS id_ag_id_8 FROM reduction t0 WHERE t0.id_cmd_id = ?
Parameters:
[
7928966
]
|
| 78 | 0.23 ms |
SELECT t0.id AS id_1, t0.montant AS montant_2, t0.date_operation AS date_operation_3, t0.flag_en_avance AS flag_en_avance_4, t0.id_cmd_id AS id_cmd_id_5, t0.id_ag_id AS id_ag_id_6 FROM paiement t0 WHERE t0.id_cmd_id = ?
Parameters:
[
7928966
]
|
| 79 | 0.19 ms |
SELECT t0.id AS id_1, t0.qte AS qte_2, t0.libelle AS libelle_3, t0.modification AS modification_4, t0.commande_id AS commande_id_5 FROM tmp_marchandise t0 WHERE t0.commande_id = ?
Parameters:
[
7928966
]
|
| 80 | 0.16 ms |
SELECT t0.id AS id_1, t0.nom_contenaire AS nom_contenaire_2 FROM contenaire t0 WHERE t0.id = ?
Parameters:
[
5674
]
|
| 81 | 8.91 ms |
SELECT *,c.id AS idCommande, (SELECT nom_ag FROM agent a WHERE a.id = c.id_cl_id ) AS nom_client, (SELECT IFNULL(SUM(ROUND(tV.prix_unit * tV.volume)),0) FROM tmp_volume tV WHERE c.id = tV.commande_id ) AS pritotal, (SELECT MAX(p.id) AS maxid FROM paiement p WHERE p.id_cmd_id = c.id ) AS idFacture, (SELECT IFNULL(SUM(p.montant),0) FROM paiement p WHERE p.id_cmd_id = c.id AND p.flag_en_avance = 0 ) AS dejaPaie, (SELECT IFNULL(SUM(p.montant),0) FROM paiement p WHERE p.id_cmd_id = c.id AND p.flag_en_avance = 1 ) AS paieEnAvance, (SELECT IFNULL(SUM(atF.montant),0) FROM autre_frais atF WHERE atF.commande_id = c.id ) AS AutresFrais, (SELECT IFNULL(SUM(r.montant),0) FROM reduction r WHERE r.id_cmd_id = c.id AND r.flag_compassation = '0') AS reduction, (SELECT IFNULL(SUM(r.montant),0) FROM reduction r WHERE r.id_cmd_id = c.id AND r.flag_compassation = '1' ) AS compassation, (SELECT IFNULL(SUM(r.montant),0) FROM reduction r WHERE r.id_cmd_id = c.id AND r.flag_compassation = '2' ) AS banque, (SELECT r.montant FROM reduction r WHERE r.id_cmd_id = c.id AND r.flag_compassation = '2' ORDER BY r.id DESC LIMIT 1) AS banqueDujour, (SELECT IFNULL(SUM(r.montant),0) FROM reduction r WHERE r.id_cmd_id = c.id AND r.flag_compassation = '3' ) AS depot FROM commande c LEFT JOIN agent a ON (c.id_ag_id = a.id) LEFT JOIN programme_contenaire ctpr ON (c.id_ct_pr_id = ctpr.id) LEFT JOIN contenaire ct ON (ctpr.id_ct_id = ct.id) WHERE c.id = 7928791 ORDER BY c.id DESC
Parameters:
[] |
| 82 | 0.33 ms |
SELECT t0.id AS id_1, t0.date_chargement AS date_chargement_2, t0.date_depart AS date_depart_3, t0.date_arriver AS date_arriver_4, t0.date_operation AS date_operation_5, t0.nom_bateau AS nom_bateau_6, t0.id_ag AS id_ag_7, t0.flag AS flag_8, t0.numero_contenaire AS numero_contenaire_9, t0.transporteur AS transporteur_10, t0.complet_flag AS complet_flag_11, t0.proprietaire_conteneur AS proprietaire_conteneur_12, t0.destination AS destination_13, t0.validation AS validation_14, t0.depenses_prevue AS depenses_prevue_15, t0.remarque_conteneur AS remarque_conteneur_16, t0.is_mco AS is_mco_17, t0.is_rapport AS is_rapport_18, t0.date_rapport_at AS date_rapport_at_19, t0.is_clients AS is_clients_20, t0.rapport AS rapport_21, t0.is_electronique AS is_electronique_22, t0.date_validation AS date_validation_23, t0.is_notifier AS is_notifier_24, t0.fin AS fin_25, t0.date_validation_fin AS date_validation_fin_26, t0.dateattribution AS dateattribution_27, t0.paye_gestionnaire AS paye_gestionnaire_28, t0.id_ct_id AS id_ct_id_29, t0.id_ville_id AS id_ville_id_30, t0.ville_initiale_id AS ville_initiale_id_31, t0.agent_gestionnaire_id AS agent_gestionnaire_id_32 FROM programme_contenaire t0 WHERE t0.id = ?
Parameters:
[
5640
]
|
| 83 | 0.17 ms |
SELECT t0.id AS id_1, t0.lieu AS lieu_2, t0.id_position AS id_position_3, t0.date_operation AS date_operation_4, t0.position_actuelle_flag AS position_actuelle_flag_5, t0.id_ct_pr_id AS id_ct_pr_id_6 FROM suivi_contenaire t0 WHERE t0.id_ct_pr_id = ?
Parameters:
[
5640
]
|
| 84 | 0.16 ms |
SELECT t0.id AS id_1, t0.created_at AS created_at_2, t0.commentaire AS commentaire_3, t0.suivi_id AS suivi_id_4, t0.sous_position_id AS sous_position_id_5 FROM sous_suivi t0 WHERE t0.suivi_id = ?
Parameters:
[
8372
]
|
| 85 | 0.19 ms |
SELECT t0.id AS id_1, t0.quantite AS quantite_2, t0.sortie_at AS sortie_at_3, t0.remarque AS remarque_4, t0.noms AS noms_5, t0.telephone AS telephone_6, t0.plaque AS plaque_7, t0.commande_id AS commande_id_8, t0.user_id AS user_id_9 FROM depot t0 WHERE t0.commande_id = ?
Parameters:
[
7928791
]
|
| 86 | 0.17 ms |
SELECT t0.id AS id_1, t0.volume AS volume_2, t0.prix_unit AS prix_unit_3, t0.unite AS unite_4, t0.modification AS modification_5, t0.commande_id AS commande_id_6 FROM tmp_volume t0 WHERE t0.commande_id = ?
Parameters:
[
7928791
]
|
| 87 | 0.17 ms |
SELECT t0.id AS id_1, t0.libelle AS libelle_2, t0.montant AS montant_3, t0.modification AS modification_4, t0.commande_id AS commande_id_5 FROM autre_frais t0 WHERE t0.commande_id = ?
Parameters:
[
7928791
]
|
| 88 | 2.53 ms |
SELECT t0.id AS id_1, t0.montant AS montant_2, t0.date_operation AS date_operation_3, t0.motif AS motif_4, t0.flag_compassation AS flag_compassation_5, t0.fichier_banque AS fichier_banque_6, t0.id_cmd_id AS id_cmd_id_7, t0.id_ag_id AS id_ag_id_8 FROM reduction t0 WHERE t0.id_cmd_id = ?
Parameters:
[
7928791
]
|
| 89 | 0.19 ms |
SELECT t0.id AS id_1, t0.montant AS montant_2, t0.date_operation AS date_operation_3, t0.flag_en_avance AS flag_en_avance_4, t0.id_cmd_id AS id_cmd_id_5, t0.id_ag_id AS id_ag_id_6 FROM paiement t0 WHERE t0.id_cmd_id = ?
Parameters:
[
7928791
]
|
| 90 | 0.18 ms |
SELECT t0.id AS id_1, t0.qte AS qte_2, t0.libelle AS libelle_3, t0.modification AS modification_4, t0.commande_id AS commande_id_5 FROM tmp_marchandise t0 WHERE t0.commande_id = ?
Parameters:
[
7928791
]
|
| 91 | 0.13 ms |
SELECT t0.id AS id_1, t0.nom_contenaire AS nom_contenaire_2 FROM contenaire t0 WHERE t0.id = ?
Parameters:
[
5786
]
|
| 92 | 8.79 ms |
SELECT *,c.id AS idCommande, (SELECT nom_ag FROM agent a WHERE a.id = c.id_cl_id ) AS nom_client, (SELECT IFNULL(SUM(ROUND(tV.prix_unit * tV.volume)),0) FROM tmp_volume tV WHERE c.id = tV.commande_id ) AS pritotal, (SELECT MAX(p.id) AS maxid FROM paiement p WHERE p.id_cmd_id = c.id ) AS idFacture, (SELECT IFNULL(SUM(p.montant),0) FROM paiement p WHERE p.id_cmd_id = c.id AND p.flag_en_avance = 0 ) AS dejaPaie, (SELECT IFNULL(SUM(p.montant),0) FROM paiement p WHERE p.id_cmd_id = c.id AND p.flag_en_avance = 1 ) AS paieEnAvance, (SELECT IFNULL(SUM(atF.montant),0) FROM autre_frais atF WHERE atF.commande_id = c.id ) AS AutresFrais, (SELECT IFNULL(SUM(r.montant),0) FROM reduction r WHERE r.id_cmd_id = c.id AND r.flag_compassation = '0') AS reduction, (SELECT IFNULL(SUM(r.montant),0) FROM reduction r WHERE r.id_cmd_id = c.id AND r.flag_compassation = '1' ) AS compassation, (SELECT IFNULL(SUM(r.montant),0) FROM reduction r WHERE r.id_cmd_id = c.id AND r.flag_compassation = '2' ) AS banque, (SELECT r.montant FROM reduction r WHERE r.id_cmd_id = c.id AND r.flag_compassation = '2' ORDER BY r.id DESC LIMIT 1) AS banqueDujour, (SELECT IFNULL(SUM(r.montant),0) FROM reduction r WHERE r.id_cmd_id = c.id AND r.flag_compassation = '3' ) AS depot FROM commande c LEFT JOIN agent a ON (c.id_ag_id = a.id) LEFT JOIN programme_contenaire ctpr ON (c.id_ct_pr_id = ctpr.id) LEFT JOIN contenaire ct ON (ctpr.id_ct_id = ct.id) WHERE c.id = 7928115 ORDER BY c.id DESC
Parameters:
[] |
| 93 | 0.30 ms |
SELECT t0.id AS id_1, t0.date_chargement AS date_chargement_2, t0.date_depart AS date_depart_3, t0.date_arriver AS date_arriver_4, t0.date_operation AS date_operation_5, t0.nom_bateau AS nom_bateau_6, t0.id_ag AS id_ag_7, t0.flag AS flag_8, t0.numero_contenaire AS numero_contenaire_9, t0.transporteur AS transporteur_10, t0.complet_flag AS complet_flag_11, t0.proprietaire_conteneur AS proprietaire_conteneur_12, t0.destination AS destination_13, t0.validation AS validation_14, t0.depenses_prevue AS depenses_prevue_15, t0.remarque_conteneur AS remarque_conteneur_16, t0.is_mco AS is_mco_17, t0.is_rapport AS is_rapport_18, t0.date_rapport_at AS date_rapport_at_19, t0.is_clients AS is_clients_20, t0.rapport AS rapport_21, t0.is_electronique AS is_electronique_22, t0.date_validation AS date_validation_23, t0.is_notifier AS is_notifier_24, t0.fin AS fin_25, t0.date_validation_fin AS date_validation_fin_26, t0.dateattribution AS dateattribution_27, t0.paye_gestionnaire AS paye_gestionnaire_28, t0.id_ct_id AS id_ct_id_29, t0.id_ville_id AS id_ville_id_30, t0.ville_initiale_id AS ville_initiale_id_31, t0.agent_gestionnaire_id AS agent_gestionnaire_id_32 FROM programme_contenaire t0 WHERE t0.id = ?
Parameters:
[
5476
]
|
| 94 | 0.17 ms |
SELECT t0.id AS id_1, t0.lieu AS lieu_2, t0.id_position AS id_position_3, t0.date_operation AS date_operation_4, t0.position_actuelle_flag AS position_actuelle_flag_5, t0.id_ct_pr_id AS id_ct_pr_id_6 FROM suivi_contenaire t0 WHERE t0.id_ct_pr_id = ?
Parameters:
[
5476
]
|
| 95 | 0.16 ms |
SELECT t0.id AS id_1, t0.quantite AS quantite_2, t0.sortie_at AS sortie_at_3, t0.remarque AS remarque_4, t0.noms AS noms_5, t0.telephone AS telephone_6, t0.plaque AS plaque_7, t0.commande_id AS commande_id_8, t0.user_id AS user_id_9 FROM depot t0 WHERE t0.commande_id = ?
Parameters:
[
7928115
]
|
| 96 | 0.15 ms |
SELECT t0.id AS id_1, t0.volume AS volume_2, t0.prix_unit AS prix_unit_3, t0.unite AS unite_4, t0.modification AS modification_5, t0.commande_id AS commande_id_6 FROM tmp_volume t0 WHERE t0.commande_id = ?
Parameters:
[
7928115
]
|
| 97 | 0.16 ms |
SELECT t0.id AS id_1, t0.libelle AS libelle_2, t0.montant AS montant_3, t0.modification AS modification_4, t0.commande_id AS commande_id_5 FROM autre_frais t0 WHERE t0.commande_id = ?
Parameters:
[
7928115
]
|
| 98 | 2.53 ms |
SELECT t0.id AS id_1, t0.montant AS montant_2, t0.date_operation AS date_operation_3, t0.motif AS motif_4, t0.flag_compassation AS flag_compassation_5, t0.fichier_banque AS fichier_banque_6, t0.id_cmd_id AS id_cmd_id_7, t0.id_ag_id AS id_ag_id_8 FROM reduction t0 WHERE t0.id_cmd_id = ?
Parameters:
[
7928115
]
|
| 99 | 0.16 ms |
SELECT t0.id AS id_1, t0.montant AS montant_2, t0.date_operation AS date_operation_3, t0.flag_en_avance AS flag_en_avance_4, t0.id_cmd_id AS id_cmd_id_5, t0.id_ag_id AS id_ag_id_6 FROM paiement t0 WHERE t0.id_cmd_id = ?
Parameters:
[
7928115
]
|
| 100 | 0.15 ms |
SELECT t0.id AS id_1, t0.qte AS qte_2, t0.libelle AS libelle_3, t0.modification AS modification_4, t0.commande_id AS commande_id_5 FROM tmp_marchandise t0 WHERE t0.commande_id = ?
Parameters:
[
7928115
]
|
| 101 | 0.10 ms |
SELECT t0.id AS id_1, t0.nom_contenaire AS nom_contenaire_2 FROM contenaire t0 WHERE t0.id = ?
Parameters:
[
5618
]
|
| 102 | 8.75 ms |
SELECT *,c.id AS idCommande, (SELECT nom_ag FROM agent a WHERE a.id = c.id_cl_id ) AS nom_client, (SELECT IFNULL(SUM(ROUND(tV.prix_unit * tV.volume)),0) FROM tmp_volume tV WHERE c.id = tV.commande_id ) AS pritotal, (SELECT MAX(p.id) AS maxid FROM paiement p WHERE p.id_cmd_id = c.id ) AS idFacture, (SELECT IFNULL(SUM(p.montant),0) FROM paiement p WHERE p.id_cmd_id = c.id AND p.flag_en_avance = 0 ) AS dejaPaie, (SELECT IFNULL(SUM(p.montant),0) FROM paiement p WHERE p.id_cmd_id = c.id AND p.flag_en_avance = 1 ) AS paieEnAvance, (SELECT IFNULL(SUM(atF.montant),0) FROM autre_frais atF WHERE atF.commande_id = c.id ) AS AutresFrais, (SELECT IFNULL(SUM(r.montant),0) FROM reduction r WHERE r.id_cmd_id = c.id AND r.flag_compassation = '0') AS reduction, (SELECT IFNULL(SUM(r.montant),0) FROM reduction r WHERE r.id_cmd_id = c.id AND r.flag_compassation = '1' ) AS compassation, (SELECT IFNULL(SUM(r.montant),0) FROM reduction r WHERE r.id_cmd_id = c.id AND r.flag_compassation = '2' ) AS banque, (SELECT r.montant FROM reduction r WHERE r.id_cmd_id = c.id AND r.flag_compassation = '2' ORDER BY r.id DESC LIMIT 1) AS banqueDujour, (SELECT IFNULL(SUM(r.montant),0) FROM reduction r WHERE r.id_cmd_id = c.id AND r.flag_compassation = '3' ) AS depot FROM commande c LEFT JOIN agent a ON (c.id_ag_id = a.id) LEFT JOIN programme_contenaire ctpr ON (c.id_ct_pr_id = ctpr.id) LEFT JOIN contenaire ct ON (ctpr.id_ct_id = ct.id) WHERE c.id = 7928231 ORDER BY c.id DESC
Parameters:
[] |
| 103 | 0.28 ms |
SELECT t0.id AS id_1, t0.date_chargement AS date_chargement_2, t0.date_depart AS date_depart_3, t0.date_arriver AS date_arriver_4, t0.date_operation AS date_operation_5, t0.nom_bateau AS nom_bateau_6, t0.id_ag AS id_ag_7, t0.flag AS flag_8, t0.numero_contenaire AS numero_contenaire_9, t0.transporteur AS transporteur_10, t0.complet_flag AS complet_flag_11, t0.proprietaire_conteneur AS proprietaire_conteneur_12, t0.destination AS destination_13, t0.validation AS validation_14, t0.depenses_prevue AS depenses_prevue_15, t0.remarque_conteneur AS remarque_conteneur_16, t0.is_mco AS is_mco_17, t0.is_rapport AS is_rapport_18, t0.date_rapport_at AS date_rapport_at_19, t0.is_clients AS is_clients_20, t0.rapport AS rapport_21, t0.is_electronique AS is_electronique_22, t0.date_validation AS date_validation_23, t0.is_notifier AS is_notifier_24, t0.fin AS fin_25, t0.date_validation_fin AS date_validation_fin_26, t0.dateattribution AS dateattribution_27, t0.paye_gestionnaire AS paye_gestionnaire_28, t0.id_ct_id AS id_ct_id_29, t0.id_ville_id AS id_ville_id_30, t0.ville_initiale_id AS ville_initiale_id_31, t0.agent_gestionnaire_id AS agent_gestionnaire_id_32 FROM programme_contenaire t0 WHERE t0.id = ?
Parameters:
[
5477
]
|
| 104 | 0.19 ms |
SELECT t0.id AS id_1, t0.lieu AS lieu_2, t0.id_position AS id_position_3, t0.date_operation AS date_operation_4, t0.position_actuelle_flag AS position_actuelle_flag_5, t0.id_ct_pr_id AS id_ct_pr_id_6 FROM suivi_contenaire t0 WHERE t0.id_ct_pr_id = ?
Parameters:
[
5477
]
|
| 105 | 0.20 ms |
SELECT t0.id AS id_1, t0.quantite AS quantite_2, t0.sortie_at AS sortie_at_3, t0.remarque AS remarque_4, t0.noms AS noms_5, t0.telephone AS telephone_6, t0.plaque AS plaque_7, t0.commande_id AS commande_id_8, t0.user_id AS user_id_9 FROM depot t0 WHERE t0.commande_id = ?
Parameters:
[
7928231
]
|
| 106 | 0.18 ms |
SELECT t0.id AS id_1, t0.volume AS volume_2, t0.prix_unit AS prix_unit_3, t0.unite AS unite_4, t0.modification AS modification_5, t0.commande_id AS commande_id_6 FROM tmp_volume t0 WHERE t0.commande_id = ?
Parameters:
[
7928231
]
|
| 107 | 0.22 ms |
SELECT t0.id AS id_1, t0.libelle AS libelle_2, t0.montant AS montant_3, t0.modification AS modification_4, t0.commande_id AS commande_id_5 FROM autre_frais t0 WHERE t0.commande_id = ?
Parameters:
[
7928231
]
|
| 108 | 2.57 ms |
SELECT t0.id AS id_1, t0.montant AS montant_2, t0.date_operation AS date_operation_3, t0.motif AS motif_4, t0.flag_compassation AS flag_compassation_5, t0.fichier_banque AS fichier_banque_6, t0.id_cmd_id AS id_cmd_id_7, t0.id_ag_id AS id_ag_id_8 FROM reduction t0 WHERE t0.id_cmd_id = ?
Parameters:
[
7928231
]
|
| 109 | 0.19 ms |
SELECT t0.id AS id_1, t0.montant AS montant_2, t0.date_operation AS date_operation_3, t0.flag_en_avance AS flag_en_avance_4, t0.id_cmd_id AS id_cmd_id_5, t0.id_ag_id AS id_ag_id_6 FROM paiement t0 WHERE t0.id_cmd_id = ?
Parameters:
[
7928231
]
|
| 110 | 0.18 ms |
SELECT t0.id AS id_1, t0.qte AS qte_2, t0.libelle AS libelle_3, t0.modification AS modification_4, t0.commande_id AS commande_id_5 FROM tmp_marchandise t0 WHERE t0.commande_id = ?
Parameters:
[
7928231
]
|
| 111 | 0.16 ms |
SELECT t0.id AS id_1, t0.nom_contenaire AS nom_contenaire_2 FROM contenaire t0 WHERE t0.id = ?
Parameters:
[
5619
]
|
| 112 | 8.79 ms |
SELECT *,c.id AS idCommande, (SELECT nom_ag FROM agent a WHERE a.id = c.id_cl_id ) AS nom_client, (SELECT IFNULL(SUM(ROUND(tV.prix_unit * tV.volume)),0) FROM tmp_volume tV WHERE c.id = tV.commande_id ) AS pritotal, (SELECT MAX(p.id) AS maxid FROM paiement p WHERE p.id_cmd_id = c.id ) AS idFacture, (SELECT IFNULL(SUM(p.montant),0) FROM paiement p WHERE p.id_cmd_id = c.id AND p.flag_en_avance = 0 ) AS dejaPaie, (SELECT IFNULL(SUM(p.montant),0) FROM paiement p WHERE p.id_cmd_id = c.id AND p.flag_en_avance = 1 ) AS paieEnAvance, (SELECT IFNULL(SUM(atF.montant),0) FROM autre_frais atF WHERE atF.commande_id = c.id ) AS AutresFrais, (SELECT IFNULL(SUM(r.montant),0) FROM reduction r WHERE r.id_cmd_id = c.id AND r.flag_compassation = '0') AS reduction, (SELECT IFNULL(SUM(r.montant),0) FROM reduction r WHERE r.id_cmd_id = c.id AND r.flag_compassation = '1' ) AS compassation, (SELECT IFNULL(SUM(r.montant),0) FROM reduction r WHERE r.id_cmd_id = c.id AND r.flag_compassation = '2' ) AS banque, (SELECT r.montant FROM reduction r WHERE r.id_cmd_id = c.id AND r.flag_compassation = '2' ORDER BY r.id DESC LIMIT 1) AS banqueDujour, (SELECT IFNULL(SUM(r.montant),0) FROM reduction r WHERE r.id_cmd_id = c.id AND r.flag_compassation = '3' ) AS depot FROM commande c LEFT JOIN agent a ON (c.id_ag_id = a.id) LEFT JOIN programme_contenaire ctpr ON (c.id_ct_pr_id = ctpr.id) LEFT JOIN contenaire ct ON (ctpr.id_ct_id = ct.id) WHERE c.id = 7928257 ORDER BY c.id DESC
Parameters:
[] |
| 113 | 0.31 ms |
SELECT t0.id AS id_1, t0.date_chargement AS date_chargement_2, t0.date_depart AS date_depart_3, t0.date_arriver AS date_arriver_4, t0.date_operation AS date_operation_5, t0.nom_bateau AS nom_bateau_6, t0.id_ag AS id_ag_7, t0.flag AS flag_8, t0.numero_contenaire AS numero_contenaire_9, t0.transporteur AS transporteur_10, t0.complet_flag AS complet_flag_11, t0.proprietaire_conteneur AS proprietaire_conteneur_12, t0.destination AS destination_13, t0.validation AS validation_14, t0.depenses_prevue AS depenses_prevue_15, t0.remarque_conteneur AS remarque_conteneur_16, t0.is_mco AS is_mco_17, t0.is_rapport AS is_rapport_18, t0.date_rapport_at AS date_rapport_at_19, t0.is_clients AS is_clients_20, t0.rapport AS rapport_21, t0.is_electronique AS is_electronique_22, t0.date_validation AS date_validation_23, t0.is_notifier AS is_notifier_24, t0.fin AS fin_25, t0.date_validation_fin AS date_validation_fin_26, t0.dateattribution AS dateattribution_27, t0.paye_gestionnaire AS paye_gestionnaire_28, t0.id_ct_id AS id_ct_id_29, t0.id_ville_id AS id_ville_id_30, t0.ville_initiale_id AS ville_initiale_id_31, t0.agent_gestionnaire_id AS agent_gestionnaire_id_32 FROM programme_contenaire t0 WHERE t0.id = ?
Parameters:
[
5478
]
|
| 114 | 0.20 ms |
SELECT t0.id AS id_1, t0.lieu AS lieu_2, t0.id_position AS id_position_3, t0.date_operation AS date_operation_4, t0.position_actuelle_flag AS position_actuelle_flag_5, t0.id_ct_pr_id AS id_ct_pr_id_6 FROM suivi_contenaire t0 WHERE t0.id_ct_pr_id = ?
Parameters:
[
5478
]
|
| 115 | 0.17 ms |
SELECT t0.id AS id_1, t0.quantite AS quantite_2, t0.sortie_at AS sortie_at_3, t0.remarque AS remarque_4, t0.noms AS noms_5, t0.telephone AS telephone_6, t0.plaque AS plaque_7, t0.commande_id AS commande_id_8, t0.user_id AS user_id_9 FROM depot t0 WHERE t0.commande_id = ?
Parameters:
[
7928257
]
|
| 116 | 0.18 ms |
SELECT t0.id AS id_1, t0.volume AS volume_2, t0.prix_unit AS prix_unit_3, t0.unite AS unite_4, t0.modification AS modification_5, t0.commande_id AS commande_id_6 FROM tmp_volume t0 WHERE t0.commande_id = ?
Parameters:
[
7928257
]
|
| 117 | 0.16 ms |
SELECT t0.id AS id_1, t0.libelle AS libelle_2, t0.montant AS montant_3, t0.modification AS modification_4, t0.commande_id AS commande_id_5 FROM autre_frais t0 WHERE t0.commande_id = ?
Parameters:
[
7928257
]
|
| 118 | 2.56 ms |
SELECT t0.id AS id_1, t0.montant AS montant_2, t0.date_operation AS date_operation_3, t0.motif AS motif_4, t0.flag_compassation AS flag_compassation_5, t0.fichier_banque AS fichier_banque_6, t0.id_cmd_id AS id_cmd_id_7, t0.id_ag_id AS id_ag_id_8 FROM reduction t0 WHERE t0.id_cmd_id = ?
Parameters:
[
7928257
]
|
| 119 | 0.20 ms |
SELECT t0.id AS id_1, t0.montant AS montant_2, t0.date_operation AS date_operation_3, t0.flag_en_avance AS flag_en_avance_4, t0.id_cmd_id AS id_cmd_id_5, t0.id_ag_id AS id_ag_id_6 FROM paiement t0 WHERE t0.id_cmd_id = ?
Parameters:
[
7928257
]
|
| 120 | 0.18 ms |
SELECT t0.id AS id_1, t0.qte AS qte_2, t0.libelle AS libelle_3, t0.modification AS modification_4, t0.commande_id AS commande_id_5 FROM tmp_marchandise t0 WHERE t0.commande_id = ?
Parameters:
[
7928257
]
|
| 121 | 0.14 ms |
SELECT t0.id AS id_1, t0.nom_contenaire AS nom_contenaire_2 FROM contenaire t0 WHERE t0.id = ?
Parameters:
[
5620
]
|
| 122 | 8.75 ms |
SELECT *,c.id AS idCommande, (SELECT nom_ag FROM agent a WHERE a.id = c.id_cl_id ) AS nom_client, (SELECT IFNULL(SUM(ROUND(tV.prix_unit * tV.volume)),0) FROM tmp_volume tV WHERE c.id = tV.commande_id ) AS pritotal, (SELECT MAX(p.id) AS maxid FROM paiement p WHERE p.id_cmd_id = c.id ) AS idFacture, (SELECT IFNULL(SUM(p.montant),0) FROM paiement p WHERE p.id_cmd_id = c.id AND p.flag_en_avance = 0 ) AS dejaPaie, (SELECT IFNULL(SUM(p.montant),0) FROM paiement p WHERE p.id_cmd_id = c.id AND p.flag_en_avance = 1 ) AS paieEnAvance, (SELECT IFNULL(SUM(atF.montant),0) FROM autre_frais atF WHERE atF.commande_id = c.id ) AS AutresFrais, (SELECT IFNULL(SUM(r.montant),0) FROM reduction r WHERE r.id_cmd_id = c.id AND r.flag_compassation = '0') AS reduction, (SELECT IFNULL(SUM(r.montant),0) FROM reduction r WHERE r.id_cmd_id = c.id AND r.flag_compassation = '1' ) AS compassation, (SELECT IFNULL(SUM(r.montant),0) FROM reduction r WHERE r.id_cmd_id = c.id AND r.flag_compassation = '2' ) AS banque, (SELECT r.montant FROM reduction r WHERE r.id_cmd_id = c.id AND r.flag_compassation = '2' ORDER BY r.id DESC LIMIT 1) AS banqueDujour, (SELECT IFNULL(SUM(r.montant),0) FROM reduction r WHERE r.id_cmd_id = c.id AND r.flag_compassation = '3' ) AS depot FROM commande c LEFT JOIN agent a ON (c.id_ag_id = a.id) LEFT JOIN programme_contenaire ctpr ON (c.id_ct_pr_id = ctpr.id) LEFT JOIN contenaire ct ON (ctpr.id_ct_id = ct.id) WHERE c.id = 7927265 ORDER BY c.id DESC
Parameters:
[] |
| 123 | 0.33 ms |
SELECT t0.id AS id_1, t0.date_chargement AS date_chargement_2, t0.date_depart AS date_depart_3, t0.date_arriver AS date_arriver_4, t0.date_operation AS date_operation_5, t0.nom_bateau AS nom_bateau_6, t0.id_ag AS id_ag_7, t0.flag AS flag_8, t0.numero_contenaire AS numero_contenaire_9, t0.transporteur AS transporteur_10, t0.complet_flag AS complet_flag_11, t0.proprietaire_conteneur AS proprietaire_conteneur_12, t0.destination AS destination_13, t0.validation AS validation_14, t0.depenses_prevue AS depenses_prevue_15, t0.remarque_conteneur AS remarque_conteneur_16, t0.is_mco AS is_mco_17, t0.is_rapport AS is_rapport_18, t0.date_rapport_at AS date_rapport_at_19, t0.is_clients AS is_clients_20, t0.rapport AS rapport_21, t0.is_electronique AS is_electronique_22, t0.date_validation AS date_validation_23, t0.is_notifier AS is_notifier_24, t0.fin AS fin_25, t0.date_validation_fin AS date_validation_fin_26, t0.dateattribution AS dateattribution_27, t0.paye_gestionnaire AS paye_gestionnaire_28, t0.id_ct_id AS id_ct_id_29, t0.id_ville_id AS id_ville_id_30, t0.ville_initiale_id AS ville_initiale_id_31, t0.agent_gestionnaire_id AS agent_gestionnaire_id_32 FROM programme_contenaire t0 WHERE t0.id = ?
Parameters:
[
5529
]
|
| 124 | 0.21 ms |
SELECT t0.id AS id_1, t0.lieu AS lieu_2, t0.id_position AS id_position_3, t0.date_operation AS date_operation_4, t0.position_actuelle_flag AS position_actuelle_flag_5, t0.id_ct_pr_id AS id_ct_pr_id_6 FROM suivi_contenaire t0 WHERE t0.id_ct_pr_id = ?
Parameters:
[
5529
]
|
| 125 | 0.18 ms |
SELECT t0.id AS id_1, t0.created_at AS created_at_2, t0.commentaire AS commentaire_3, t0.suivi_id AS suivi_id_4, t0.sous_position_id AS sous_position_id_5 FROM sous_suivi t0 WHERE t0.suivi_id = ?
Parameters:
[
8219
]
|
| 126 | 0.17 ms |
SELECT t0.id AS id_1, t0.quantite AS quantite_2, t0.sortie_at AS sortie_at_3, t0.remarque AS remarque_4, t0.noms AS noms_5, t0.telephone AS telephone_6, t0.plaque AS plaque_7, t0.commande_id AS commande_id_8, t0.user_id AS user_id_9 FROM depot t0 WHERE t0.commande_id = ?
Parameters:
[
7927265
]
|
| 127 | 0.18 ms |
SELECT t0.id AS id_1, t0.volume AS volume_2, t0.prix_unit AS prix_unit_3, t0.unite AS unite_4, t0.modification AS modification_5, t0.commande_id AS commande_id_6 FROM tmp_volume t0 WHERE t0.commande_id = ?
Parameters:
[
7927265
]
|
| 128 | 0.16 ms |
SELECT t0.id AS id_1, t0.libelle AS libelle_2, t0.montant AS montant_3, t0.modification AS modification_4, t0.commande_id AS commande_id_5 FROM autre_frais t0 WHERE t0.commande_id = ?
Parameters:
[
7927265
]
|
| 129 | 2.49 ms |
SELECT t0.id AS id_1, t0.montant AS montant_2, t0.date_operation AS date_operation_3, t0.motif AS motif_4, t0.flag_compassation AS flag_compassation_5, t0.fichier_banque AS fichier_banque_6, t0.id_cmd_id AS id_cmd_id_7, t0.id_ag_id AS id_ag_id_8 FROM reduction t0 WHERE t0.id_cmd_id = ?
Parameters:
[
7927265
]
|
| 130 | 0.20 ms |
SELECT t0.id AS id_1, t0.montant AS montant_2, t0.date_operation AS date_operation_3, t0.flag_en_avance AS flag_en_avance_4, t0.id_cmd_id AS id_cmd_id_5, t0.id_ag_id AS id_ag_id_6 FROM paiement t0 WHERE t0.id_cmd_id = ?
Parameters:
[
7927265
]
|
| 131 | 0.17 ms |
SELECT t0.id AS id_1, t0.qte AS qte_2, t0.libelle AS libelle_3, t0.modification AS modification_4, t0.commande_id AS commande_id_5 FROM tmp_marchandise t0 WHERE t0.commande_id = ?
Parameters:
[
7927265
]
|
| 132 | 0.13 ms |
SELECT t0.id AS id_1, t0.nom_contenaire AS nom_contenaire_2 FROM contenaire t0 WHERE t0.id = ?
Parameters:
[
5672
]
|
| 133 | 5.10 ms |
SELECT *,c.id AS idCommande, (SELECT nom_ag FROM agent a WHERE a.id = c.id_cl_id ) AS nom_client, (SELECT IFNULL(SUM(ROUND(tV.prix_unit * tV.volume)),0) FROM tmp_volume tV WHERE c.id = tV.commande_id ) AS pritotal, (SELECT MAX(p.id) AS maxid FROM paiement p WHERE p.id_cmd_id = c.id ) AS idFacture, (SELECT IFNULL(SUM(p.montant),0) FROM paiement p WHERE p.id_cmd_id = c.id AND p.flag_en_avance = 0 ) AS dejaPaie, (SELECT IFNULL(SUM(p.montant),0) FROM paiement p WHERE p.id_cmd_id = c.id AND p.flag_en_avance = 1 ) AS paieEnAvance, (SELECT IFNULL(SUM(atF.montant),0) FROM autre_frais atF WHERE atF.commande_id = c.id ) AS AutresFrais, (SELECT IFNULL(SUM(r.montant),0) FROM reduction r WHERE r.id_cmd_id = c.id AND r.flag_compassation = '0') AS reduction, (SELECT IFNULL(SUM(r.montant),0) FROM reduction r WHERE r.id_cmd_id = c.id AND r.flag_compassation = '1' ) AS compassation, (SELECT IFNULL(SUM(r.montant),0) FROM reduction r WHERE r.id_cmd_id = c.id AND r.flag_compassation = '2' ) AS banque, (SELECT r.montant FROM reduction r WHERE r.id_cmd_id = c.id AND r.flag_compassation = '2' ORDER BY r.id DESC LIMIT 1) AS banqueDujour, (SELECT IFNULL(SUM(r.montant),0) FROM reduction r WHERE r.id_cmd_id = c.id AND r.flag_compassation = '3' ) AS depot FROM commande c LEFT JOIN agent a ON (c.id_ag_id = a.id) LEFT JOIN programme_contenaire ctpr ON (c.id_ct_pr_id = ctpr.id) LEFT JOIN contenaire ct ON (ctpr.id_ct_id = ct.id) WHERE c.id = 7926303 ORDER BY c.id DESC
Parameters:
[] |
| 134 | 0.27 ms |
SELECT t0.id AS id_1, t0.date_chargement AS date_chargement_2, t0.date_depart AS date_depart_3, t0.date_arriver AS date_arriver_4, t0.date_operation AS date_operation_5, t0.nom_bateau AS nom_bateau_6, t0.id_ag AS id_ag_7, t0.flag AS flag_8, t0.numero_contenaire AS numero_contenaire_9, t0.transporteur AS transporteur_10, t0.complet_flag AS complet_flag_11, t0.proprietaire_conteneur AS proprietaire_conteneur_12, t0.destination AS destination_13, t0.validation AS validation_14, t0.depenses_prevue AS depenses_prevue_15, t0.remarque_conteneur AS remarque_conteneur_16, t0.is_mco AS is_mco_17, t0.is_rapport AS is_rapport_18, t0.date_rapport_at AS date_rapport_at_19, t0.is_clients AS is_clients_20, t0.rapport AS rapport_21, t0.is_electronique AS is_electronique_22, t0.date_validation AS date_validation_23, t0.is_notifier AS is_notifier_24, t0.fin AS fin_25, t0.date_validation_fin AS date_validation_fin_26, t0.dateattribution AS dateattribution_27, t0.paye_gestionnaire AS paye_gestionnaire_28, t0.id_ct_id AS id_ct_id_29, t0.id_ville_id AS id_ville_id_30, t0.ville_initiale_id AS ville_initiale_id_31, t0.agent_gestionnaire_id AS agent_gestionnaire_id_32 FROM programme_contenaire t0 WHERE t0.id = ?
Parameters:
[
5448
]
|
| 135 | 0.18 ms |
SELECT t0.id AS id_1, t0.lieu AS lieu_2, t0.id_position AS id_position_3, t0.date_operation AS date_operation_4, t0.position_actuelle_flag AS position_actuelle_flag_5, t0.id_ct_pr_id AS id_ct_pr_id_6 FROM suivi_contenaire t0 WHERE t0.id_ct_pr_id = ?
Parameters:
[
5448
]
|
| 136 | 0.17 ms |
SELECT t0.id AS id_1, t0.created_at AS created_at_2, t0.commentaire AS commentaire_3, t0.suivi_id AS suivi_id_4, t0.sous_position_id AS sous_position_id_5 FROM sous_suivi t0 WHERE t0.suivi_id = ?
Parameters:
[
8110
]
|
| 137 | 0.21 ms |
SELECT t0.id AS id_1, t0.quantite AS quantite_2, t0.sortie_at AS sortie_at_3, t0.remarque AS remarque_4, t0.noms AS noms_5, t0.telephone AS telephone_6, t0.plaque AS plaque_7, t0.commande_id AS commande_id_8, t0.user_id AS user_id_9 FROM depot t0 WHERE t0.commande_id = ?
Parameters:
[
7926303
]
|
| 138 | 0.19 ms |
SELECT t0.id AS id_1, t0.volume AS volume_2, t0.prix_unit AS prix_unit_3, t0.unite AS unite_4, t0.modification AS modification_5, t0.commande_id AS commande_id_6 FROM tmp_volume t0 WHERE t0.commande_id = ?
Parameters:
[
7926303
]
|
| 139 | 0.17 ms |
SELECT t0.id AS id_1, t0.libelle AS libelle_2, t0.montant AS montant_3, t0.modification AS modification_4, t0.commande_id AS commande_id_5 FROM autre_frais t0 WHERE t0.commande_id = ?
Parameters:
[
7926303
]
|
| 140 | 1.68 ms |
SELECT t0.id AS id_1, t0.montant AS montant_2, t0.date_operation AS date_operation_3, t0.motif AS motif_4, t0.flag_compassation AS flag_compassation_5, t0.fichier_banque AS fichier_banque_6, t0.id_cmd_id AS id_cmd_id_7, t0.id_ag_id AS id_ag_id_8 FROM reduction t0 WHERE t0.id_cmd_id = ?
Parameters:
[
7926303
]
|
| 141 | 0.18 ms |
SELECT t0.id AS id_1, t0.montant AS montant_2, t0.date_operation AS date_operation_3, t0.flag_en_avance AS flag_en_avance_4, t0.id_cmd_id AS id_cmd_id_5, t0.id_ag_id AS id_ag_id_6 FROM paiement t0 WHERE t0.id_cmd_id = ?
Parameters:
[
7926303
]
|
| 142 | 0.22 ms |
SELECT t0.id AS id_1, t0.qte AS qte_2, t0.libelle AS libelle_3, t0.modification AS modification_4, t0.commande_id AS commande_id_5 FROM tmp_marchandise t0 WHERE t0.commande_id = ?
Parameters:
[
7926303
]
|
| 143 | 0.15 ms |
SELECT t0.id AS id_1, t0.nom_contenaire AS nom_contenaire_2 FROM contenaire t0 WHERE t0.id = ?
Parameters:
[
5590
]
|
| 144 | 6.29 ms |
SELECT *,c.id AS idCommande, (SELECT nom_ag FROM agent a WHERE a.id = c.id_cl_id ) AS nom_client, (SELECT IFNULL(SUM(ROUND(tV.prix_unit * tV.volume)),0) FROM tmp_volume tV WHERE c.id = tV.commande_id ) AS pritotal, (SELECT MAX(p.id) AS maxid FROM paiement p WHERE p.id_cmd_id = c.id ) AS idFacture, (SELECT IFNULL(SUM(p.montant),0) FROM paiement p WHERE p.id_cmd_id = c.id AND p.flag_en_avance = 0 ) AS dejaPaie, (SELECT IFNULL(SUM(p.montant),0) FROM paiement p WHERE p.id_cmd_id = c.id AND p.flag_en_avance = 1 ) AS paieEnAvance, (SELECT IFNULL(SUM(atF.montant),0) FROM autre_frais atF WHERE atF.commande_id = c.id ) AS AutresFrais, (SELECT IFNULL(SUM(r.montant),0) FROM reduction r WHERE r.id_cmd_id = c.id AND r.flag_compassation = '0') AS reduction, (SELECT IFNULL(SUM(r.montant),0) FROM reduction r WHERE r.id_cmd_id = c.id AND r.flag_compassation = '1' ) AS compassation, (SELECT IFNULL(SUM(r.montant),0) FROM reduction r WHERE r.id_cmd_id = c.id AND r.flag_compassation = '2' ) AS banque, (SELECT r.montant FROM reduction r WHERE r.id_cmd_id = c.id AND r.flag_compassation = '2' ORDER BY r.id DESC LIMIT 1) AS banqueDujour, (SELECT IFNULL(SUM(r.montant),0) FROM reduction r WHERE r.id_cmd_id = c.id AND r.flag_compassation = '3' ) AS depot FROM commande c LEFT JOIN agent a ON (c.id_ag_id = a.id) LEFT JOIN programme_contenaire ctpr ON (c.id_ct_pr_id = ctpr.id) LEFT JOIN contenaire ct ON (ctpr.id_ct_id = ct.id) WHERE c.id = 7926326 ORDER BY c.id DESC
Parameters:
[] |
| 145 | 0.21 ms |
SELECT t0.id AS id_1, t0.date_chargement AS date_chargement_2, t0.date_depart AS date_depart_3, t0.date_arriver AS date_arriver_4, t0.date_operation AS date_operation_5, t0.nom_bateau AS nom_bateau_6, t0.id_ag AS id_ag_7, t0.flag AS flag_8, t0.numero_contenaire AS numero_contenaire_9, t0.transporteur AS transporteur_10, t0.complet_flag AS complet_flag_11, t0.proprietaire_conteneur AS proprietaire_conteneur_12, t0.destination AS destination_13, t0.validation AS validation_14, t0.depenses_prevue AS depenses_prevue_15, t0.remarque_conteneur AS remarque_conteneur_16, t0.is_mco AS is_mco_17, t0.is_rapport AS is_rapport_18, t0.date_rapport_at AS date_rapport_at_19, t0.is_clients AS is_clients_20, t0.rapport AS rapport_21, t0.is_electronique AS is_electronique_22, t0.date_validation AS date_validation_23, t0.is_notifier AS is_notifier_24, t0.fin AS fin_25, t0.date_validation_fin AS date_validation_fin_26, t0.dateattribution AS dateattribution_27, t0.paye_gestionnaire AS paye_gestionnaire_28, t0.id_ct_id AS id_ct_id_29, t0.id_ville_id AS id_ville_id_30, t0.ville_initiale_id AS ville_initiale_id_31, t0.agent_gestionnaire_id AS agent_gestionnaire_id_32 FROM programme_contenaire t0 WHERE t0.id = ?
Parameters:
[
5450
]
|
| 146 | 0.18 ms |
SELECT t0.id AS id_1, t0.lieu AS lieu_2, t0.id_position AS id_position_3, t0.date_operation AS date_operation_4, t0.position_actuelle_flag AS position_actuelle_flag_5, t0.id_ct_pr_id AS id_ct_pr_id_6 FROM suivi_contenaire t0 WHERE t0.id_ct_pr_id = ?
Parameters:
[
5450
]
|
| 147 | 0.17 ms |
SELECT t0.id AS id_1, t0.created_at AS created_at_2, t0.commentaire AS commentaire_3, t0.suivi_id AS suivi_id_4, t0.sous_position_id AS sous_position_id_5 FROM sous_suivi t0 WHERE t0.suivi_id = ?
Parameters:
[
8111
]
|
| 148 | 0.17 ms |
SELECT t0.id AS id_1, t0.quantite AS quantite_2, t0.sortie_at AS sortie_at_3, t0.remarque AS remarque_4, t0.noms AS noms_5, t0.telephone AS telephone_6, t0.plaque AS plaque_7, t0.commande_id AS commande_id_8, t0.user_id AS user_id_9 FROM depot t0 WHERE t0.commande_id = ?
Parameters:
[
7926326
]
|
| 149 | 0.16 ms |
SELECT t0.id AS id_1, t0.volume AS volume_2, t0.prix_unit AS prix_unit_3, t0.unite AS unite_4, t0.modification AS modification_5, t0.commande_id AS commande_id_6 FROM tmp_volume t0 WHERE t0.commande_id = ?
Parameters:
[
7926326
]
|
| 150 | 0.15 ms |
SELECT t0.id AS id_1, t0.libelle AS libelle_2, t0.montant AS montant_3, t0.modification AS modification_4, t0.commande_id AS commande_id_5 FROM autre_frais t0 WHERE t0.commande_id = ?
Parameters:
[
7926326
]
|
| 151 | 2.20 ms |
SELECT t0.id AS id_1, t0.montant AS montant_2, t0.date_operation AS date_operation_3, t0.motif AS motif_4, t0.flag_compassation AS flag_compassation_5, t0.fichier_banque AS fichier_banque_6, t0.id_cmd_id AS id_cmd_id_7, t0.id_ag_id AS id_ag_id_8 FROM reduction t0 WHERE t0.id_cmd_id = ?
Parameters:
[
7926326
]
|
| 152 | 0.21 ms |
SELECT t0.id AS id_1, t0.montant AS montant_2, t0.date_operation AS date_operation_3, t0.flag_en_avance AS flag_en_avance_4, t0.id_cmd_id AS id_cmd_id_5, t0.id_ag_id AS id_ag_id_6 FROM paiement t0 WHERE t0.id_cmd_id = ?
Parameters:
[
7926326
]
|
| 153 | 0.19 ms |
SELECT t0.id AS id_1, t0.qte AS qte_2, t0.libelle AS libelle_3, t0.modification AS modification_4, t0.commande_id AS commande_id_5 FROM tmp_marchandise t0 WHERE t0.commande_id = ?
Parameters:
[
7926326
]
|
| 154 | 0.15 ms |
SELECT t0.id AS id_1, t0.nom_contenaire AS nom_contenaire_2 FROM contenaire t0 WHERE t0.id = ?
Parameters:
[
5592
]
|
| 155 | 5.50 ms |
SELECT *,c.id AS idCommande, (SELECT nom_ag FROM agent a WHERE a.id = c.id_cl_id ) AS nom_client, (SELECT IFNULL(SUM(ROUND(tV.prix_unit * tV.volume)),0) FROM tmp_volume tV WHERE c.id = tV.commande_id ) AS pritotal, (SELECT MAX(p.id) AS maxid FROM paiement p WHERE p.id_cmd_id = c.id ) AS idFacture, (SELECT IFNULL(SUM(p.montant),0) FROM paiement p WHERE p.id_cmd_id = c.id AND p.flag_en_avance = 0 ) AS dejaPaie, (SELECT IFNULL(SUM(p.montant),0) FROM paiement p WHERE p.id_cmd_id = c.id AND p.flag_en_avance = 1 ) AS paieEnAvance, (SELECT IFNULL(SUM(atF.montant),0) FROM autre_frais atF WHERE atF.commande_id = c.id ) AS AutresFrais, (SELECT IFNULL(SUM(r.montant),0) FROM reduction r WHERE r.id_cmd_id = c.id AND r.flag_compassation = '0') AS reduction, (SELECT IFNULL(SUM(r.montant),0) FROM reduction r WHERE r.id_cmd_id = c.id AND r.flag_compassation = '1' ) AS compassation, (SELECT IFNULL(SUM(r.montant),0) FROM reduction r WHERE r.id_cmd_id = c.id AND r.flag_compassation = '2' ) AS banque, (SELECT r.montant FROM reduction r WHERE r.id_cmd_id = c.id AND r.flag_compassation = '2' ORDER BY r.id DESC LIMIT 1) AS banqueDujour, (SELECT IFNULL(SUM(r.montant),0) FROM reduction r WHERE r.id_cmd_id = c.id AND r.flag_compassation = '3' ) AS depot FROM commande c LEFT JOIN agent a ON (c.id_ag_id = a.id) LEFT JOIN programme_contenaire ctpr ON (c.id_ct_pr_id = ctpr.id) LEFT JOIN contenaire ct ON (ctpr.id_ct_id = ct.id) WHERE c.id = 7926601 ORDER BY c.id DESC
Parameters:
[] |
| 156 | 2.04 ms |
SELECT t0.id AS id_1, t0.date_chargement AS date_chargement_2, t0.date_depart AS date_depart_3, t0.date_arriver AS date_arriver_4, t0.date_operation AS date_operation_5, t0.nom_bateau AS nom_bateau_6, t0.id_ag AS id_ag_7, t0.flag AS flag_8, t0.numero_contenaire AS numero_contenaire_9, t0.transporteur AS transporteur_10, t0.complet_flag AS complet_flag_11, t0.proprietaire_conteneur AS proprietaire_conteneur_12, t0.destination AS destination_13, t0.validation AS validation_14, t0.depenses_prevue AS depenses_prevue_15, t0.remarque_conteneur AS remarque_conteneur_16, t0.is_mco AS is_mco_17, t0.is_rapport AS is_rapport_18, t0.date_rapport_at AS date_rapport_at_19, t0.is_clients AS is_clients_20, t0.rapport AS rapport_21, t0.is_electronique AS is_electronique_22, t0.date_validation AS date_validation_23, t0.is_notifier AS is_notifier_24, t0.fin AS fin_25, t0.date_validation_fin AS date_validation_fin_26, t0.dateattribution AS dateattribution_27, t0.paye_gestionnaire AS paye_gestionnaire_28, t0.id_ct_id AS id_ct_id_29, t0.id_ville_id AS id_ville_id_30, t0.ville_initiale_id AS ville_initiale_id_31, t0.agent_gestionnaire_id AS agent_gestionnaire_id_32 FROM programme_contenaire t0 WHERE t0.id = ?
Parameters:
[
5481
]
|
| 157 | 0.15 ms |
SELECT t0.id AS id_1, t0.lieu AS lieu_2, t0.id_position AS id_position_3, t0.date_operation AS date_operation_4, t0.position_actuelle_flag AS position_actuelle_flag_5, t0.id_ct_pr_id AS id_ct_pr_id_6 FROM suivi_contenaire t0 WHERE t0.id_ct_pr_id = ?
Parameters:
[
5481
]
|
| 158 | 0.14 ms |
SELECT t0.id AS id_1, t0.created_at AS created_at_2, t0.commentaire AS commentaire_3, t0.suivi_id AS suivi_id_4, t0.sous_position_id AS sous_position_id_5 FROM sous_suivi t0 WHERE t0.suivi_id = ?
Parameters:
[
8130
]
|
| 159 | 0.17 ms |
SELECT t0.id AS id_1, t0.quantite AS quantite_2, t0.sortie_at AS sortie_at_3, t0.remarque AS remarque_4, t0.noms AS noms_5, t0.telephone AS telephone_6, t0.plaque AS plaque_7, t0.commande_id AS commande_id_8, t0.user_id AS user_id_9 FROM depot t0 WHERE t0.commande_id = ?
Parameters:
[
7926601
]
|
| 160 | 0.14 ms |
SELECT t0.id AS id_1, t0.volume AS volume_2, t0.prix_unit AS prix_unit_3, t0.unite AS unite_4, t0.modification AS modification_5, t0.commande_id AS commande_id_6 FROM tmp_volume t0 WHERE t0.commande_id = ?
Parameters:
[
7926601
]
|
| 161 | 0.14 ms |
SELECT t0.id AS id_1, t0.libelle AS libelle_2, t0.montant AS montant_3, t0.modification AS modification_4, t0.commande_id AS commande_id_5 FROM autre_frais t0 WHERE t0.commande_id = ?
Parameters:
[
7926601
]
|
| 162 | 2.53 ms |
SELECT t0.id AS id_1, t0.montant AS montant_2, t0.date_operation AS date_operation_3, t0.motif AS motif_4, t0.flag_compassation AS flag_compassation_5, t0.fichier_banque AS fichier_banque_6, t0.id_cmd_id AS id_cmd_id_7, t0.id_ag_id AS id_ag_id_8 FROM reduction t0 WHERE t0.id_cmd_id = ?
Parameters:
[
7926601
]
|
| 163 | 0.13 ms |
SELECT t0.id AS id_1, t0.montant AS montant_2, t0.date_operation AS date_operation_3, t0.flag_en_avance AS flag_en_avance_4, t0.id_cmd_id AS id_cmd_id_5, t0.id_ag_id AS id_ag_id_6 FROM paiement t0 WHERE t0.id_cmd_id = ?
Parameters:
[
7926601
]
|
| 164 | 0.11 ms |
SELECT t0.id AS id_1, t0.qte AS qte_2, t0.libelle AS libelle_3, t0.modification AS modification_4, t0.commande_id AS commande_id_5 FROM tmp_marchandise t0 WHERE t0.commande_id = ?
Parameters:
[
7926601
]
|
| 165 | 0.08 ms |
SELECT t0.id AS id_1, t0.nom_contenaire AS nom_contenaire_2 FROM contenaire t0 WHERE t0.id = ?
Parameters:
[
5623
]
|
| 166 | 8.93 ms |
SELECT *,c.id AS idCommande, (SELECT nom_ag FROM agent a WHERE a.id = c.id_cl_id ) AS nom_client, (SELECT IFNULL(SUM(ROUND(tV.prix_unit * tV.volume)),0) FROM tmp_volume tV WHERE c.id = tV.commande_id ) AS pritotal, (SELECT MAX(p.id) AS maxid FROM paiement p WHERE p.id_cmd_id = c.id ) AS idFacture, (SELECT IFNULL(SUM(p.montant),0) FROM paiement p WHERE p.id_cmd_id = c.id AND p.flag_en_avance = 0 ) AS dejaPaie, (SELECT IFNULL(SUM(p.montant),0) FROM paiement p WHERE p.id_cmd_id = c.id AND p.flag_en_avance = 1 ) AS paieEnAvance, (SELECT IFNULL(SUM(atF.montant),0) FROM autre_frais atF WHERE atF.commande_id = c.id ) AS AutresFrais, (SELECT IFNULL(SUM(r.montant),0) FROM reduction r WHERE r.id_cmd_id = c.id AND r.flag_compassation = '0') AS reduction, (SELECT IFNULL(SUM(r.montant),0) FROM reduction r WHERE r.id_cmd_id = c.id AND r.flag_compassation = '1' ) AS compassation, (SELECT IFNULL(SUM(r.montant),0) FROM reduction r WHERE r.id_cmd_id = c.id AND r.flag_compassation = '2' ) AS banque, (SELECT r.montant FROM reduction r WHERE r.id_cmd_id = c.id AND r.flag_compassation = '2' ORDER BY r.id DESC LIMIT 1) AS banqueDujour, (SELECT IFNULL(SUM(r.montant),0) FROM reduction r WHERE r.id_cmd_id = c.id AND r.flag_compassation = '3' ) AS depot FROM commande c LEFT JOIN agent a ON (c.id_ag_id = a.id) LEFT JOIN programme_contenaire ctpr ON (c.id_ct_pr_id = ctpr.id) LEFT JOIN contenaire ct ON (ctpr.id_ct_id = ct.id) WHERE c.id = 7926653 ORDER BY c.id DESC
Parameters:
[] |
| 167 | 0.27 ms |
SELECT t0.id AS id_1, t0.date_chargement AS date_chargement_2, t0.date_depart AS date_depart_3, t0.date_arriver AS date_arriver_4, t0.date_operation AS date_operation_5, t0.nom_bateau AS nom_bateau_6, t0.id_ag AS id_ag_7, t0.flag AS flag_8, t0.numero_contenaire AS numero_contenaire_9, t0.transporteur AS transporteur_10, t0.complet_flag AS complet_flag_11, t0.proprietaire_conteneur AS proprietaire_conteneur_12, t0.destination AS destination_13, t0.validation AS validation_14, t0.depenses_prevue AS depenses_prevue_15, t0.remarque_conteneur AS remarque_conteneur_16, t0.is_mco AS is_mco_17, t0.is_rapport AS is_rapport_18, t0.date_rapport_at AS date_rapport_at_19, t0.is_clients AS is_clients_20, t0.rapport AS rapport_21, t0.is_electronique AS is_electronique_22, t0.date_validation AS date_validation_23, t0.is_notifier AS is_notifier_24, t0.fin AS fin_25, t0.date_validation_fin AS date_validation_fin_26, t0.dateattribution AS dateattribution_27, t0.paye_gestionnaire AS paye_gestionnaire_28, t0.id_ct_id AS id_ct_id_29, t0.id_ville_id AS id_ville_id_30, t0.ville_initiale_id AS ville_initiale_id_31, t0.agent_gestionnaire_id AS agent_gestionnaire_id_32 FROM programme_contenaire t0 WHERE t0.id = ?
Parameters:
[
5391
]
|
| 168 | 0.20 ms |
SELECT t0.id AS id_1, t0.lieu AS lieu_2, t0.id_position AS id_position_3, t0.date_operation AS date_operation_4, t0.position_actuelle_flag AS position_actuelle_flag_5, t0.id_ct_pr_id AS id_ct_pr_id_6 FROM suivi_contenaire t0 WHERE t0.id_ct_pr_id = ?
Parameters:
[
5391
]
|
| 169 | 0.17 ms |
SELECT t0.id AS id_1, t0.created_at AS created_at_2, t0.commentaire AS commentaire_3, t0.suivi_id AS suivi_id_4, t0.sous_position_id AS sous_position_id_5 FROM sous_suivi t0 WHERE t0.suivi_id = ?
Parameters:
[
8102
]
|
| 170 | 0.17 ms |
SELECT t0.id AS id_1, t0.quantite AS quantite_2, t0.sortie_at AS sortie_at_3, t0.remarque AS remarque_4, t0.noms AS noms_5, t0.telephone AS telephone_6, t0.plaque AS plaque_7, t0.commande_id AS commande_id_8, t0.user_id AS user_id_9 FROM depot t0 WHERE t0.commande_id = ?
Parameters:
[
7926653
]
|
| 171 | 0.17 ms |
SELECT t0.id AS id_1, t0.volume AS volume_2, t0.prix_unit AS prix_unit_3, t0.unite AS unite_4, t0.modification AS modification_5, t0.commande_id AS commande_id_6 FROM tmp_volume t0 WHERE t0.commande_id = ?
Parameters:
[
7926653
]
|
| 172 | 0.15 ms |
SELECT t0.id AS id_1, t0.libelle AS libelle_2, t0.montant AS montant_3, t0.modification AS modification_4, t0.commande_id AS commande_id_5 FROM autre_frais t0 WHERE t0.commande_id = ?
Parameters:
[
7926653
]
|
| 173 | 2.53 ms |
SELECT t0.id AS id_1, t0.montant AS montant_2, t0.date_operation AS date_operation_3, t0.motif AS motif_4, t0.flag_compassation AS flag_compassation_5, t0.fichier_banque AS fichier_banque_6, t0.id_cmd_id AS id_cmd_id_7, t0.id_ag_id AS id_ag_id_8 FROM reduction t0 WHERE t0.id_cmd_id = ?
Parameters:
[
7926653
]
|
| 174 | 0.17 ms |
SELECT t0.id AS id_1, t0.montant AS montant_2, t0.date_operation AS date_operation_3, t0.flag_en_avance AS flag_en_avance_4, t0.id_cmd_id AS id_cmd_id_5, t0.id_ag_id AS id_ag_id_6 FROM paiement t0 WHERE t0.id_cmd_id = ?
Parameters:
[
7926653
]
|
| 175 | 0.17 ms |
SELECT t0.id AS id_1, t0.qte AS qte_2, t0.libelle AS libelle_3, t0.modification AS modification_4, t0.commande_id AS commande_id_5 FROM tmp_marchandise t0 WHERE t0.commande_id = ?
Parameters:
[
7926653
]
|
| 176 | 0.13 ms |
SELECT t0.id AS id_1, t0.nom_contenaire AS nom_contenaire_2 FROM contenaire t0 WHERE t0.id = ?
Parameters:
[
5531
]
|
| 177 | 8.91 ms |
SELECT *,c.id AS idCommande, (SELECT nom_ag FROM agent a WHERE a.id = c.id_cl_id ) AS nom_client, (SELECT IFNULL(SUM(ROUND(tV.prix_unit * tV.volume)),0) FROM tmp_volume tV WHERE c.id = tV.commande_id ) AS pritotal, (SELECT MAX(p.id) AS maxid FROM paiement p WHERE p.id_cmd_id = c.id ) AS idFacture, (SELECT IFNULL(SUM(p.montant),0) FROM paiement p WHERE p.id_cmd_id = c.id AND p.flag_en_avance = 0 ) AS dejaPaie, (SELECT IFNULL(SUM(p.montant),0) FROM paiement p WHERE p.id_cmd_id = c.id AND p.flag_en_avance = 1 ) AS paieEnAvance, (SELECT IFNULL(SUM(atF.montant),0) FROM autre_frais atF WHERE atF.commande_id = c.id ) AS AutresFrais, (SELECT IFNULL(SUM(r.montant),0) FROM reduction r WHERE r.id_cmd_id = c.id AND r.flag_compassation = '0') AS reduction, (SELECT IFNULL(SUM(r.montant),0) FROM reduction r WHERE r.id_cmd_id = c.id AND r.flag_compassation = '1' ) AS compassation, (SELECT IFNULL(SUM(r.montant),0) FROM reduction r WHERE r.id_cmd_id = c.id AND r.flag_compassation = '2' ) AS banque, (SELECT r.montant FROM reduction r WHERE r.id_cmd_id = c.id AND r.flag_compassation = '2' ORDER BY r.id DESC LIMIT 1) AS banqueDujour, (SELECT IFNULL(SUM(r.montant),0) FROM reduction r WHERE r.id_cmd_id = c.id AND r.flag_compassation = '3' ) AS depot FROM commande c LEFT JOIN agent a ON (c.id_ag_id = a.id) LEFT JOIN programme_contenaire ctpr ON (c.id_ct_pr_id = ctpr.id) LEFT JOIN contenaire ct ON (ctpr.id_ct_id = ct.id) WHERE c.id = 7926679 ORDER BY c.id DESC
Parameters:
[] |
| 178 | 0.28 ms |
SELECT t0.id AS id_1, t0.date_chargement AS date_chargement_2, t0.date_depart AS date_depart_3, t0.date_arriver AS date_arriver_4, t0.date_operation AS date_operation_5, t0.nom_bateau AS nom_bateau_6, t0.id_ag AS id_ag_7, t0.flag AS flag_8, t0.numero_contenaire AS numero_contenaire_9, t0.transporteur AS transporteur_10, t0.complet_flag AS complet_flag_11, t0.proprietaire_conteneur AS proprietaire_conteneur_12, t0.destination AS destination_13, t0.validation AS validation_14, t0.depenses_prevue AS depenses_prevue_15, t0.remarque_conteneur AS remarque_conteneur_16, t0.is_mco AS is_mco_17, t0.is_rapport AS is_rapport_18, t0.date_rapport_at AS date_rapport_at_19, t0.is_clients AS is_clients_20, t0.rapport AS rapport_21, t0.is_electronique AS is_electronique_22, t0.date_validation AS date_validation_23, t0.is_notifier AS is_notifier_24, t0.fin AS fin_25, t0.date_validation_fin AS date_validation_fin_26, t0.dateattribution AS dateattribution_27, t0.paye_gestionnaire AS paye_gestionnaire_28, t0.id_ct_id AS id_ct_id_29, t0.id_ville_id AS id_ville_id_30, t0.ville_initiale_id AS ville_initiale_id_31, t0.agent_gestionnaire_id AS agent_gestionnaire_id_32 FROM programme_contenaire t0 WHERE t0.id = ?
Parameters:
[
5394
]
|
| 179 | 0.18 ms |
SELECT t0.id AS id_1, t0.lieu AS lieu_2, t0.id_position AS id_position_3, t0.date_operation AS date_operation_4, t0.position_actuelle_flag AS position_actuelle_flag_5, t0.id_ct_pr_id AS id_ct_pr_id_6 FROM suivi_contenaire t0 WHERE t0.id_ct_pr_id = ?
Parameters:
[
5394
]
|
| 180 | 0.17 ms |
SELECT t0.id AS id_1, t0.created_at AS created_at_2, t0.commentaire AS commentaire_3, t0.suivi_id AS suivi_id_4, t0.sous_position_id AS sous_position_id_5 FROM sous_suivi t0 WHERE t0.suivi_id = ?
Parameters:
[
8104
]
|
| 181 | 0.18 ms |
SELECT t0.id AS id_1, t0.quantite AS quantite_2, t0.sortie_at AS sortie_at_3, t0.remarque AS remarque_4, t0.noms AS noms_5, t0.telephone AS telephone_6, t0.plaque AS plaque_7, t0.commande_id AS commande_id_8, t0.user_id AS user_id_9 FROM depot t0 WHERE t0.commande_id = ?
Parameters:
[
7926679
]
|
| 182 | 0.17 ms |
SELECT t0.id AS id_1, t0.volume AS volume_2, t0.prix_unit AS prix_unit_3, t0.unite AS unite_4, t0.modification AS modification_5, t0.commande_id AS commande_id_6 FROM tmp_volume t0 WHERE t0.commande_id = ?
Parameters:
[
7926679
]
|
| 183 | 0.16 ms |
SELECT t0.id AS id_1, t0.libelle AS libelle_2, t0.montant AS montant_3, t0.modification AS modification_4, t0.commande_id AS commande_id_5 FROM autre_frais t0 WHERE t0.commande_id = ?
Parameters:
[
7926679
]
|
| 184 | 2.57 ms |
SELECT t0.id AS id_1, t0.montant AS montant_2, t0.date_operation AS date_operation_3, t0.motif AS motif_4, t0.flag_compassation AS flag_compassation_5, t0.fichier_banque AS fichier_banque_6, t0.id_cmd_id AS id_cmd_id_7, t0.id_ag_id AS id_ag_id_8 FROM reduction t0 WHERE t0.id_cmd_id = ?
Parameters:
[
7926679
]
|
| 185 | 0.18 ms |
SELECT t0.id AS id_1, t0.montant AS montant_2, t0.date_operation AS date_operation_3, t0.flag_en_avance AS flag_en_avance_4, t0.id_cmd_id AS id_cmd_id_5, t0.id_ag_id AS id_ag_id_6 FROM paiement t0 WHERE t0.id_cmd_id = ?
Parameters:
[
7926679
]
|
| 186 | 0.17 ms |
SELECT t0.id AS id_1, t0.qte AS qte_2, t0.libelle AS libelle_3, t0.modification AS modification_4, t0.commande_id AS commande_id_5 FROM tmp_marchandise t0 WHERE t0.commande_id = ?
Parameters:
[
7926679
]
|
| 187 | 0.14 ms |
SELECT t0.id AS id_1, t0.nom_contenaire AS nom_contenaire_2 FROM contenaire t0 WHERE t0.id = ?
Parameters:
[
5534
]
|
| 188 | 8.91 ms |
SELECT *,c.id AS idCommande, (SELECT nom_ag FROM agent a WHERE a.id = c.id_cl_id ) AS nom_client, (SELECT IFNULL(SUM(ROUND(tV.prix_unit * tV.volume)),0) FROM tmp_volume tV WHERE c.id = tV.commande_id ) AS pritotal, (SELECT MAX(p.id) AS maxid FROM paiement p WHERE p.id_cmd_id = c.id ) AS idFacture, (SELECT IFNULL(SUM(p.montant),0) FROM paiement p WHERE p.id_cmd_id = c.id AND p.flag_en_avance = 0 ) AS dejaPaie, (SELECT IFNULL(SUM(p.montant),0) FROM paiement p WHERE p.id_cmd_id = c.id AND p.flag_en_avance = 1 ) AS paieEnAvance, (SELECT IFNULL(SUM(atF.montant),0) FROM autre_frais atF WHERE atF.commande_id = c.id ) AS AutresFrais, (SELECT IFNULL(SUM(r.montant),0) FROM reduction r WHERE r.id_cmd_id = c.id AND r.flag_compassation = '0') AS reduction, (SELECT IFNULL(SUM(r.montant),0) FROM reduction r WHERE r.id_cmd_id = c.id AND r.flag_compassation = '1' ) AS compassation, (SELECT IFNULL(SUM(r.montant),0) FROM reduction r WHERE r.id_cmd_id = c.id AND r.flag_compassation = '2' ) AS banque, (SELECT r.montant FROM reduction r WHERE r.id_cmd_id = c.id AND r.flag_compassation = '2' ORDER BY r.id DESC LIMIT 1) AS banqueDujour, (SELECT IFNULL(SUM(r.montant),0) FROM reduction r WHERE r.id_cmd_id = c.id AND r.flag_compassation = '3' ) AS depot FROM commande c LEFT JOIN agent a ON (c.id_ag_id = a.id) LEFT JOIN programme_contenaire ctpr ON (c.id_ct_pr_id = ctpr.id) LEFT JOIN contenaire ct ON (ctpr.id_ct_id = ct.id) WHERE c.id = 7926258 ORDER BY c.id DESC
Parameters:
[] |
| 189 | 0.28 ms |
SELECT t0.id AS id_1, t0.date_chargement AS date_chargement_2, t0.date_depart AS date_depart_3, t0.date_arriver AS date_arriver_4, t0.date_operation AS date_operation_5, t0.nom_bateau AS nom_bateau_6, t0.id_ag AS id_ag_7, t0.flag AS flag_8, t0.numero_contenaire AS numero_contenaire_9, t0.transporteur AS transporteur_10, t0.complet_flag AS complet_flag_11, t0.proprietaire_conteneur AS proprietaire_conteneur_12, t0.destination AS destination_13, t0.validation AS validation_14, t0.depenses_prevue AS depenses_prevue_15, t0.remarque_conteneur AS remarque_conteneur_16, t0.is_mco AS is_mco_17, t0.is_rapport AS is_rapport_18, t0.date_rapport_at AS date_rapport_at_19, t0.is_clients AS is_clients_20, t0.rapport AS rapport_21, t0.is_electronique AS is_electronique_22, t0.date_validation AS date_validation_23, t0.is_notifier AS is_notifier_24, t0.fin AS fin_25, t0.date_validation_fin AS date_validation_fin_26, t0.dateattribution AS dateattribution_27, t0.paye_gestionnaire AS paye_gestionnaire_28, t0.id_ct_id AS id_ct_id_29, t0.id_ville_id AS id_ville_id_30, t0.ville_initiale_id AS ville_initiale_id_31, t0.agent_gestionnaire_id AS agent_gestionnaire_id_32 FROM programme_contenaire t0 WHERE t0.id = ?
Parameters:
[
5566
]
|
| 190 | 0.19 ms |
SELECT t0.id AS id_1, t0.lieu AS lieu_2, t0.id_position AS id_position_3, t0.date_operation AS date_operation_4, t0.position_actuelle_flag AS position_actuelle_flag_5, t0.id_ct_pr_id AS id_ct_pr_id_6 FROM suivi_contenaire t0 WHERE t0.id_ct_pr_id = ?
Parameters:
[
5566
]
|
| 191 | 0.16 ms |
SELECT t0.id AS id_1, t0.created_at AS created_at_2, t0.commentaire AS commentaire_3, t0.suivi_id AS suivi_id_4, t0.sous_position_id AS sous_position_id_5 FROM sous_suivi t0 WHERE t0.suivi_id = ?
Parameters:
[
8066
]
|
| 192 | 0.17 ms |
SELECT t0.id AS id_1, t0.quantite AS quantite_2, t0.sortie_at AS sortie_at_3, t0.remarque AS remarque_4, t0.noms AS noms_5, t0.telephone AS telephone_6, t0.plaque AS plaque_7, t0.commande_id AS commande_id_8, t0.user_id AS user_id_9 FROM depot t0 WHERE t0.commande_id = ?
Parameters:
[
7926258
]
|
| 193 | 0.16 ms |
SELECT t0.id AS id_1, t0.volume AS volume_2, t0.prix_unit AS prix_unit_3, t0.unite AS unite_4, t0.modification AS modification_5, t0.commande_id AS commande_id_6 FROM tmp_volume t0 WHERE t0.commande_id = ?
Parameters:
[
7926258
]
|
| 194 | 0.17 ms |
SELECT t0.id AS id_1, t0.libelle AS libelle_2, t0.montant AS montant_3, t0.modification AS modification_4, t0.commande_id AS commande_id_5 FROM autre_frais t0 WHERE t0.commande_id = ?
Parameters:
[
7926258
]
|
| 195 | 2.54 ms |
SELECT t0.id AS id_1, t0.montant AS montant_2, t0.date_operation AS date_operation_3, t0.motif AS motif_4, t0.flag_compassation AS flag_compassation_5, t0.fichier_banque AS fichier_banque_6, t0.id_cmd_id AS id_cmd_id_7, t0.id_ag_id AS id_ag_id_8 FROM reduction t0 WHERE t0.id_cmd_id = ?
Parameters:
[
7926258
]
|
| 196 | 0.19 ms |
SELECT t0.id AS id_1, t0.montant AS montant_2, t0.date_operation AS date_operation_3, t0.flag_en_avance AS flag_en_avance_4, t0.id_cmd_id AS id_cmd_id_5, t0.id_ag_id AS id_ag_id_6 FROM paiement t0 WHERE t0.id_cmd_id = ?
Parameters:
[
7926258
]
|
| 197 | 1.04 ms |
SELECT t0.id AS id_1, t0.qte AS qte_2, t0.libelle AS libelle_3, t0.modification AS modification_4, t0.commande_id AS commande_id_5 FROM tmp_marchandise t0 WHERE t0.commande_id = ?
Parameters:
[
7926258
]
|
| 198 | 0.49 ms |
SELECT t0.id AS id_1, t0.nom_contenaire AS nom_contenaire_2 FROM contenaire t0 WHERE t0.id = ?
Parameters:
[
5707
]
|
| 199 | 0.30 ms |
SELECT t0.id AS id_1, t0.nomville AS nomville_2, t0.adresse1 AS adresse1_3, t0.adresse2 AS adresse2_4, t0.email AS email_5, t0.num_tel AS num_tel_6, t0.addresse3 AS addresse3_7, t0.addresse4 AS addresse4_8, t0.addresse5 AS addresse5_9, t0.addresse6 AS addresse6_10, t0.flag_ville AS flag_ville_11, t0.logo AS logo_12, t0.port_bateau AS port_bateau_13, t0.taux_du_jour_pays AS taux_du_jour_pays_14, t0.is_taux AS is_taux_15, t0.monnaie AS monnaie_16, t0.tokenurl AS tokenurl_17, t0.token_id AS token_id_18, t0.basdepage AS basdepage_19, t0.basdepagemco AS basdepagemco_20, t0.cbm AS cbm_21, t0.tonne AS tonne_22, t0.kg AS kg_23, t0.conteneur AS conteneur_24, t0.kgelec AS kgelec_25, t0.prefixe_code AS prefixe_code_26, t0.estimateddate_text_air_cargo AS estimateddate_text_air_cargo_27, t0.estimateddate_text_sea_cargo AS estimateddate_text_sea_cargo_28 FROM ville t0 WHERE t0.id = ?
Parameters:
[
1
]
|
| 200 | 9.35 ms |
SELECT *,c.id AS idCommande, (SELECT nom_ag FROM agent a WHERE a.id = c.id_cl_id ) AS nom_client, (SELECT IFNULL(SUM(ROUND(tV.prix_unit * tV.volume)),0) FROM tmp_volume tV WHERE c.id = tV.commande_id ) AS pritotal, (SELECT MAX(p.id) AS maxid FROM paiement p WHERE p.id_cmd_id = c.id ) AS idFacture, (SELECT IFNULL(SUM(p.montant),0) FROM paiement p WHERE p.id_cmd_id = c.id AND p.flag_en_avance = 0 ) AS dejaPaie, (SELECT IFNULL(SUM(p.montant),0) FROM paiement p WHERE p.id_cmd_id = c.id AND p.flag_en_avance = 1 ) AS paieEnAvance, (SELECT IFNULL(SUM(atF.montant),0) FROM autre_frais atF WHERE atF.commande_id = c.id ) AS AutresFrais, (SELECT IFNULL(SUM(r.montant),0) FROM reduction r WHERE r.id_cmd_id = c.id AND r.flag_compassation = '0') AS reduction, (SELECT IFNULL(SUM(r.montant),0) FROM reduction r WHERE r.id_cmd_id = c.id AND r.flag_compassation = '1' ) AS compassation, (SELECT IFNULL(SUM(r.montant),0) FROM reduction r WHERE r.id_cmd_id = c.id AND r.flag_compassation = '2' ) AS banque, (SELECT r.montant FROM reduction r WHERE r.id_cmd_id = c.id AND r.flag_compassation = '2' ORDER BY r.id DESC LIMIT 1) AS banqueDujour, (SELECT IFNULL(SUM(r.montant),0) FROM reduction r WHERE r.id_cmd_id = c.id AND r.flag_compassation = '3' ) AS depot FROM commande c LEFT JOIN agent a ON (c.id_ag_id = a.id) LEFT JOIN programme_contenaire ctpr ON (c.id_ct_pr_id = ctpr.id) LEFT JOIN contenaire ct ON (ctpr.id_ct_id = ct.id) WHERE c.id = 7925668 ORDER BY c.id DESC
Parameters:
[] |
| 201 | 0.30 ms |
SELECT t0.id AS id_1, t0.date_chargement AS date_chargement_2, t0.date_depart AS date_depart_3, t0.date_arriver AS date_arriver_4, t0.date_operation AS date_operation_5, t0.nom_bateau AS nom_bateau_6, t0.id_ag AS id_ag_7, t0.flag AS flag_8, t0.numero_contenaire AS numero_contenaire_9, t0.transporteur AS transporteur_10, t0.complet_flag AS complet_flag_11, t0.proprietaire_conteneur AS proprietaire_conteneur_12, t0.destination AS destination_13, t0.validation AS validation_14, t0.depenses_prevue AS depenses_prevue_15, t0.remarque_conteneur AS remarque_conteneur_16, t0.is_mco AS is_mco_17, t0.is_rapport AS is_rapport_18, t0.date_rapport_at AS date_rapport_at_19, t0.is_clients AS is_clients_20, t0.rapport AS rapport_21, t0.is_electronique AS is_electronique_22, t0.date_validation AS date_validation_23, t0.is_notifier AS is_notifier_24, t0.fin AS fin_25, t0.date_validation_fin AS date_validation_fin_26, t0.dateattribution AS dateattribution_27, t0.paye_gestionnaire AS paye_gestionnaire_28, t0.id_ct_id AS id_ct_id_29, t0.id_ville_id AS id_ville_id_30, t0.ville_initiale_id AS ville_initiale_id_31, t0.agent_gestionnaire_id AS agent_gestionnaire_id_32 FROM programme_contenaire t0 WHERE t0.id = ?
Parameters:
[
5358
]
|
| 202 | 0.21 ms |
SELECT t0.id AS id_1, t0.lieu AS lieu_2, t0.id_position AS id_position_3, t0.date_operation AS date_operation_4, t0.position_actuelle_flag AS position_actuelle_flag_5, t0.id_ct_pr_id AS id_ct_pr_id_6 FROM suivi_contenaire t0 WHERE t0.id_ct_pr_id = ?
Parameters:
[
5358
]
|
| 203 | 0.19 ms |
SELECT t0.id AS id_1, t0.created_at AS created_at_2, t0.commentaire AS commentaire_3, t0.suivi_id AS suivi_id_4, t0.sous_position_id AS sous_position_id_5 FROM sous_suivi t0 WHERE t0.suivi_id = ?
Parameters:
[
7967
]
|
| 204 | 0.18 ms |
SELECT t0.id AS id_1, t0.quantite AS quantite_2, t0.sortie_at AS sortie_at_3, t0.remarque AS remarque_4, t0.noms AS noms_5, t0.telephone AS telephone_6, t0.plaque AS plaque_7, t0.commande_id AS commande_id_8, t0.user_id AS user_id_9 FROM depot t0 WHERE t0.commande_id = ?
Parameters:
[
7925668
]
|
| 205 | 0.19 ms |
SELECT t0.id AS id_1, t0.volume AS volume_2, t0.prix_unit AS prix_unit_3, t0.unite AS unite_4, t0.modification AS modification_5, t0.commande_id AS commande_id_6 FROM tmp_volume t0 WHERE t0.commande_id = ?
Parameters:
[
7925668
]
|
| 206 | 0.17 ms |
SELECT t0.id AS id_1, t0.libelle AS libelle_2, t0.montant AS montant_3, t0.modification AS modification_4, t0.commande_id AS commande_id_5 FROM autre_frais t0 WHERE t0.commande_id = ?
Parameters:
[
7925668
]
|
| 207 | 2.53 ms |
SELECT t0.id AS id_1, t0.montant AS montant_2, t0.date_operation AS date_operation_3, t0.motif AS motif_4, t0.flag_compassation AS flag_compassation_5, t0.fichier_banque AS fichier_banque_6, t0.id_cmd_id AS id_cmd_id_7, t0.id_ag_id AS id_ag_id_8 FROM reduction t0 WHERE t0.id_cmd_id = ?
Parameters:
[
7925668
]
|
| 208 | 0.17 ms |
SELECT t0.id AS id_1, t0.montant AS montant_2, t0.date_operation AS date_operation_3, t0.flag_en_avance AS flag_en_avance_4, t0.id_cmd_id AS id_cmd_id_5, t0.id_ag_id AS id_ag_id_6 FROM paiement t0 WHERE t0.id_cmd_id = ?
Parameters:
[
7925668
]
|
| 209 | 0.15 ms |
SELECT t0.id AS id_1, t0.qte AS qte_2, t0.libelle AS libelle_3, t0.modification AS modification_4, t0.commande_id AS commande_id_5 FROM tmp_marchandise t0 WHERE t0.commande_id = ?
Parameters:
[
7925668
]
|
| 210 | 0.15 ms |
SELECT t0.id AS id_1, t0.nom_contenaire AS nom_contenaire_2 FROM contenaire t0 WHERE t0.id = ?
Parameters:
[
5495
]
|
| 211 | 9.26 ms |
SELECT *,c.id AS idCommande, (SELECT nom_ag FROM agent a WHERE a.id = c.id_cl_id ) AS nom_client, (SELECT IFNULL(SUM(ROUND(tV.prix_unit * tV.volume)),0) FROM tmp_volume tV WHERE c.id = tV.commande_id ) AS pritotal, (SELECT MAX(p.id) AS maxid FROM paiement p WHERE p.id_cmd_id = c.id ) AS idFacture, (SELECT IFNULL(SUM(p.montant),0) FROM paiement p WHERE p.id_cmd_id = c.id AND p.flag_en_avance = 0 ) AS dejaPaie, (SELECT IFNULL(SUM(p.montant),0) FROM paiement p WHERE p.id_cmd_id = c.id AND p.flag_en_avance = 1 ) AS paieEnAvance, (SELECT IFNULL(SUM(atF.montant),0) FROM autre_frais atF WHERE atF.commande_id = c.id ) AS AutresFrais, (SELECT IFNULL(SUM(r.montant),0) FROM reduction r WHERE r.id_cmd_id = c.id AND r.flag_compassation = '0') AS reduction, (SELECT IFNULL(SUM(r.montant),0) FROM reduction r WHERE r.id_cmd_id = c.id AND r.flag_compassation = '1' ) AS compassation, (SELECT IFNULL(SUM(r.montant),0) FROM reduction r WHERE r.id_cmd_id = c.id AND r.flag_compassation = '2' ) AS banque, (SELECT r.montant FROM reduction r WHERE r.id_cmd_id = c.id AND r.flag_compassation = '2' ORDER BY r.id DESC LIMIT 1) AS banqueDujour, (SELECT IFNULL(SUM(r.montant),0) FROM reduction r WHERE r.id_cmd_id = c.id AND r.flag_compassation = '3' ) AS depot FROM commande c LEFT JOIN agent a ON (c.id_ag_id = a.id) LEFT JOIN programme_contenaire ctpr ON (c.id_ct_pr_id = ctpr.id) LEFT JOIN contenaire ct ON (ctpr.id_ct_id = ct.id) WHERE c.id = 7925497 ORDER BY c.id DESC
Parameters:
[] |
| 212 | 0.28 ms |
SELECT t0.id AS id_1, t0.date_chargement AS date_chargement_2, t0.date_depart AS date_depart_3, t0.date_arriver AS date_arriver_4, t0.date_operation AS date_operation_5, t0.nom_bateau AS nom_bateau_6, t0.id_ag AS id_ag_7, t0.flag AS flag_8, t0.numero_contenaire AS numero_contenaire_9, t0.transporteur AS transporteur_10, t0.complet_flag AS complet_flag_11, t0.proprietaire_conteneur AS proprietaire_conteneur_12, t0.destination AS destination_13, t0.validation AS validation_14, t0.depenses_prevue AS depenses_prevue_15, t0.remarque_conteneur AS remarque_conteneur_16, t0.is_mco AS is_mco_17, t0.is_rapport AS is_rapport_18, t0.date_rapport_at AS date_rapport_at_19, t0.is_clients AS is_clients_20, t0.rapport AS rapport_21, t0.is_electronique AS is_electronique_22, t0.date_validation AS date_validation_23, t0.is_notifier AS is_notifier_24, t0.fin AS fin_25, t0.date_validation_fin AS date_validation_fin_26, t0.dateattribution AS dateattribution_27, t0.paye_gestionnaire AS paye_gestionnaire_28, t0.id_ct_id AS id_ct_id_29, t0.id_ville_id AS id_ville_id_30, t0.ville_initiale_id AS ville_initiale_id_31, t0.agent_gestionnaire_id AS agent_gestionnaire_id_32 FROM programme_contenaire t0 WHERE t0.id = ?
Parameters:
[
5446
]
|
| 213 | 0.21 ms |
SELECT t0.id AS id_1, t0.lieu AS lieu_2, t0.id_position AS id_position_3, t0.date_operation AS date_operation_4, t0.position_actuelle_flag AS position_actuelle_flag_5, t0.id_ct_pr_id AS id_ct_pr_id_6 FROM suivi_contenaire t0 WHERE t0.id_ct_pr_id = ?
Parameters:
[
5446
]
|
| 214 | 0.19 ms |
SELECT t0.id AS id_1, t0.created_at AS created_at_2, t0.commentaire AS commentaire_3, t0.suivi_id AS suivi_id_4, t0.sous_position_id AS sous_position_id_5 FROM sous_suivi t0 WHERE t0.suivi_id = ?
Parameters:
[
7883
]
|
| 215 | 0.20 ms |
SELECT t0.id AS id_1, t0.quantite AS quantite_2, t0.sortie_at AS sortie_at_3, t0.remarque AS remarque_4, t0.noms AS noms_5, t0.telephone AS telephone_6, t0.plaque AS plaque_7, t0.commande_id AS commande_id_8, t0.user_id AS user_id_9 FROM depot t0 WHERE t0.commande_id = ?
Parameters:
[
7925497
]
|
| 216 | 0.18 ms |
SELECT t0.id AS id_1, t0.volume AS volume_2, t0.prix_unit AS prix_unit_3, t0.unite AS unite_4, t0.modification AS modification_5, t0.commande_id AS commande_id_6 FROM tmp_volume t0 WHERE t0.commande_id = ?
Parameters:
[
7925497
]
|
| 217 | 0.18 ms |
SELECT t0.id AS id_1, t0.libelle AS libelle_2, t0.montant AS montant_3, t0.modification AS modification_4, t0.commande_id AS commande_id_5 FROM autre_frais t0 WHERE t0.commande_id = ?
Parameters:
[
7925497
]
|
| 218 | 2.52 ms |
SELECT t0.id AS id_1, t0.montant AS montant_2, t0.date_operation AS date_operation_3, t0.motif AS motif_4, t0.flag_compassation AS flag_compassation_5, t0.fichier_banque AS fichier_banque_6, t0.id_cmd_id AS id_cmd_id_7, t0.id_ag_id AS id_ag_id_8 FROM reduction t0 WHERE t0.id_cmd_id = ?
Parameters:
[
7925497
]
|
| 219 | 0.21 ms |
SELECT t0.id AS id_1, t0.montant AS montant_2, t0.date_operation AS date_operation_3, t0.flag_en_avance AS flag_en_avance_4, t0.id_cmd_id AS id_cmd_id_5, t0.id_ag_id AS id_ag_id_6 FROM paiement t0 WHERE t0.id_cmd_id = ?
Parameters:
[
7925497
]
|
| 220 | 0.18 ms |
SELECT t0.id AS id_1, t0.qte AS qte_2, t0.libelle AS libelle_3, t0.modification AS modification_4, t0.commande_id AS commande_id_5 FROM tmp_marchandise t0 WHERE t0.commande_id = ?
Parameters:
[
7925497
]
|
| 221 | 0.16 ms |
SELECT t0.id AS id_1, t0.nom_contenaire AS nom_contenaire_2 FROM contenaire t0 WHERE t0.id = ?
Parameters:
[
5588
]
|
| 222 | 9.18 ms |
SELECT *,c.id AS idCommande, (SELECT nom_ag FROM agent a WHERE a.id = c.id_cl_id ) AS nom_client, (SELECT IFNULL(SUM(ROUND(tV.prix_unit * tV.volume)),0) FROM tmp_volume tV WHERE c.id = tV.commande_id ) AS pritotal, (SELECT MAX(p.id) AS maxid FROM paiement p WHERE p.id_cmd_id = c.id ) AS idFacture, (SELECT IFNULL(SUM(p.montant),0) FROM paiement p WHERE p.id_cmd_id = c.id AND p.flag_en_avance = 0 ) AS dejaPaie, (SELECT IFNULL(SUM(p.montant),0) FROM paiement p WHERE p.id_cmd_id = c.id AND p.flag_en_avance = 1 ) AS paieEnAvance, (SELECT IFNULL(SUM(atF.montant),0) FROM autre_frais atF WHERE atF.commande_id = c.id ) AS AutresFrais, (SELECT IFNULL(SUM(r.montant),0) FROM reduction r WHERE r.id_cmd_id = c.id AND r.flag_compassation = '0') AS reduction, (SELECT IFNULL(SUM(r.montant),0) FROM reduction r WHERE r.id_cmd_id = c.id AND r.flag_compassation = '1' ) AS compassation, (SELECT IFNULL(SUM(r.montant),0) FROM reduction r WHERE r.id_cmd_id = c.id AND r.flag_compassation = '2' ) AS banque, (SELECT r.montant FROM reduction r WHERE r.id_cmd_id = c.id AND r.flag_compassation = '2' ORDER BY r.id DESC LIMIT 1) AS banqueDujour, (SELECT IFNULL(SUM(r.montant),0) FROM reduction r WHERE r.id_cmd_id = c.id AND r.flag_compassation = '3' ) AS depot FROM commande c LEFT JOIN agent a ON (c.id_ag_id = a.id) LEFT JOIN programme_contenaire ctpr ON (c.id_ct_pr_id = ctpr.id) LEFT JOIN contenaire ct ON (ctpr.id_ct_id = ct.id) WHERE c.id = 7925393 ORDER BY c.id DESC
Parameters:
[] |
| 223 | 0.28 ms |
SELECT t0.id AS id_1, t0.date_chargement AS date_chargement_2, t0.date_depart AS date_depart_3, t0.date_arriver AS date_arriver_4, t0.date_operation AS date_operation_5, t0.nom_bateau AS nom_bateau_6, t0.id_ag AS id_ag_7, t0.flag AS flag_8, t0.numero_contenaire AS numero_contenaire_9, t0.transporteur AS transporteur_10, t0.complet_flag AS complet_flag_11, t0.proprietaire_conteneur AS proprietaire_conteneur_12, t0.destination AS destination_13, t0.validation AS validation_14, t0.depenses_prevue AS depenses_prevue_15, t0.remarque_conteneur AS remarque_conteneur_16, t0.is_mco AS is_mco_17, t0.is_rapport AS is_rapport_18, t0.date_rapport_at AS date_rapport_at_19, t0.is_clients AS is_clients_20, t0.rapport AS rapport_21, t0.is_electronique AS is_electronique_22, t0.date_validation AS date_validation_23, t0.is_notifier AS is_notifier_24, t0.fin AS fin_25, t0.date_validation_fin AS date_validation_fin_26, t0.dateattribution AS dateattribution_27, t0.paye_gestionnaire AS paye_gestionnaire_28, t0.id_ct_id AS id_ct_id_29, t0.id_ville_id AS id_ville_id_30, t0.ville_initiale_id AS ville_initiale_id_31, t0.agent_gestionnaire_id AS agent_gestionnaire_id_32 FROM programme_contenaire t0 WHERE t0.id = ?
Parameters:
[
5441
]
|
| 224 | 0.18 ms |
SELECT t0.id AS id_1, t0.lieu AS lieu_2, t0.id_position AS id_position_3, t0.date_operation AS date_operation_4, t0.position_actuelle_flag AS position_actuelle_flag_5, t0.id_ct_pr_id AS id_ct_pr_id_6 FROM suivi_contenaire t0 WHERE t0.id_ct_pr_id = ?
Parameters:
[
5441
]
|
| 225 | 0.17 ms |
SELECT t0.id AS id_1, t0.created_at AS created_at_2, t0.commentaire AS commentaire_3, t0.suivi_id AS suivi_id_4, t0.sous_position_id AS sous_position_id_5 FROM sous_suivi t0 WHERE t0.suivi_id = ?
Parameters:
[
7859
]
|
| 226 | 0.14 ms |
SELECT t0.id AS id_1, t0.created_at AS created_at_2, t0.commentaire AS commentaire_3, t0.suivi_id AS suivi_id_4, t0.sous_position_id AS sous_position_id_5 FROM sous_suivi t0 WHERE t0.suivi_id = ?
Parameters:
[
8491
]
|
| 227 | 0.14 ms |
SELECT t0.id AS id_1, t0.libelle AS libelle_2, t0.message_client AS message_client_3, t0.niveau AS niveau_4, t0.track_position_id AS track_position_id_5 FROM sous_position t0 WHERE t0.id = ?
Parameters:
[
263
]
|
| 228 | 0.14 ms |
SELECT t0.id AS id_1, t0.created_at AS created_at_2, t0.commentaire AS commentaire_3, t0.suivi_id AS suivi_id_4, t0.sous_position_id AS sous_position_id_5 FROM sous_suivi t0 WHERE t0.suivi_id = ?
Parameters:
[
8526
]
|
| 229 | 0.11 ms |
SELECT t0.id AS id_1, t0.libelle AS libelle_2, t0.message_client AS message_client_3, t0.niveau AS niveau_4, t0.track_position_id AS track_position_id_5 FROM sous_position t0 WHERE t0.id = ?
Parameters:
[
268
]
|
| 230 | 0.16 ms |
SELECT t0.id AS id_1, t0.quantite AS quantite_2, t0.sortie_at AS sortie_at_3, t0.remarque AS remarque_4, t0.noms AS noms_5, t0.telephone AS telephone_6, t0.plaque AS plaque_7, t0.commande_id AS commande_id_8, t0.user_id AS user_id_9 FROM depot t0 WHERE t0.commande_id = ?
Parameters:
[
7925393
]
|
| 231 | 0.14 ms |
SELECT t0.id AS id_1, t0.volume AS volume_2, t0.prix_unit AS prix_unit_3, t0.unite AS unite_4, t0.modification AS modification_5, t0.commande_id AS commande_id_6 FROM tmp_volume t0 WHERE t0.commande_id = ?
Parameters:
[
7925393
]
|
| 232 | 0.15 ms |
SELECT t0.id AS id_1, t0.libelle AS libelle_2, t0.montant AS montant_3, t0.modification AS modification_4, t0.commande_id AS commande_id_5 FROM autre_frais t0 WHERE t0.commande_id = ?
Parameters:
[
7925393
]
|
| 233 | 2.46 ms |
SELECT t0.id AS id_1, t0.montant AS montant_2, t0.date_operation AS date_operation_3, t0.motif AS motif_4, t0.flag_compassation AS flag_compassation_5, t0.fichier_banque AS fichier_banque_6, t0.id_cmd_id AS id_cmd_id_7, t0.id_ag_id AS id_ag_id_8 FROM reduction t0 WHERE t0.id_cmd_id = ?
Parameters:
[
7925393
]
|
| 234 | 0.18 ms |
SELECT t0.id AS id_1, t0.montant AS montant_2, t0.date_operation AS date_operation_3, t0.flag_en_avance AS flag_en_avance_4, t0.id_cmd_id AS id_cmd_id_5, t0.id_ag_id AS id_ag_id_6 FROM paiement t0 WHERE t0.id_cmd_id = ?
Parameters:
[
7925393
]
|
| 235 | 0.16 ms |
SELECT t0.id AS id_1, t0.qte AS qte_2, t0.libelle AS libelle_3, t0.modification AS modification_4, t0.commande_id AS commande_id_5 FROM tmp_marchandise t0 WHERE t0.commande_id = ?
Parameters:
[
7925393
]
|
| 236 | 0.12 ms |
SELECT t0.id AS id_1, t0.nom_contenaire AS nom_contenaire_2 FROM contenaire t0 WHERE t0.id = ?
Parameters:
[
5583
]
|
| 237 | 8.72 ms |
SELECT *,c.id AS idCommande, (SELECT nom_ag FROM agent a WHERE a.id = c.id_cl_id ) AS nom_client, (SELECT IFNULL(SUM(ROUND(tV.prix_unit * tV.volume)),0) FROM tmp_volume tV WHERE c.id = tV.commande_id ) AS pritotal, (SELECT MAX(p.id) AS maxid FROM paiement p WHERE p.id_cmd_id = c.id ) AS idFacture, (SELECT IFNULL(SUM(p.montant),0) FROM paiement p WHERE p.id_cmd_id = c.id AND p.flag_en_avance = 0 ) AS dejaPaie, (SELECT IFNULL(SUM(p.montant),0) FROM paiement p WHERE p.id_cmd_id = c.id AND p.flag_en_avance = 1 ) AS paieEnAvance, (SELECT IFNULL(SUM(atF.montant),0) FROM autre_frais atF WHERE atF.commande_id = c.id ) AS AutresFrais, (SELECT IFNULL(SUM(r.montant),0) FROM reduction r WHERE r.id_cmd_id = c.id AND r.flag_compassation = '0') AS reduction, (SELECT IFNULL(SUM(r.montant),0) FROM reduction r WHERE r.id_cmd_id = c.id AND r.flag_compassation = '1' ) AS compassation, (SELECT IFNULL(SUM(r.montant),0) FROM reduction r WHERE r.id_cmd_id = c.id AND r.flag_compassation = '2' ) AS banque, (SELECT r.montant FROM reduction r WHERE r.id_cmd_id = c.id AND r.flag_compassation = '2' ORDER BY r.id DESC LIMIT 1) AS banqueDujour, (SELECT IFNULL(SUM(r.montant),0) FROM reduction r WHERE r.id_cmd_id = c.id AND r.flag_compassation = '3' ) AS depot FROM commande c LEFT JOIN agent a ON (c.id_ag_id = a.id) LEFT JOIN programme_contenaire ctpr ON (c.id_ct_pr_id = ctpr.id) LEFT JOIN contenaire ct ON (ctpr.id_ct_id = ct.id) WHERE c.id = 7925089 ORDER BY c.id DESC
Parameters:
[] |
| 238 | 0.23 ms |
SELECT t0.id AS id_1, t0.date_chargement AS date_chargement_2, t0.date_depart AS date_depart_3, t0.date_arriver AS date_arriver_4, t0.date_operation AS date_operation_5, t0.nom_bateau AS nom_bateau_6, t0.id_ag AS id_ag_7, t0.flag AS flag_8, t0.numero_contenaire AS numero_contenaire_9, t0.transporteur AS transporteur_10, t0.complet_flag AS complet_flag_11, t0.proprietaire_conteneur AS proprietaire_conteneur_12, t0.destination AS destination_13, t0.validation AS validation_14, t0.depenses_prevue AS depenses_prevue_15, t0.remarque_conteneur AS remarque_conteneur_16, t0.is_mco AS is_mco_17, t0.is_rapport AS is_rapport_18, t0.date_rapport_at AS date_rapport_at_19, t0.is_clients AS is_clients_20, t0.rapport AS rapport_21, t0.is_electronique AS is_electronique_22, t0.date_validation AS date_validation_23, t0.is_notifier AS is_notifier_24, t0.fin AS fin_25, t0.date_validation_fin AS date_validation_fin_26, t0.dateattribution AS dateattribution_27, t0.paye_gestionnaire AS paye_gestionnaire_28, t0.id_ct_id AS id_ct_id_29, t0.id_ville_id AS id_ville_id_30, t0.ville_initiale_id AS ville_initiale_id_31, t0.agent_gestionnaire_id AS agent_gestionnaire_id_32 FROM programme_contenaire t0 WHERE t0.id = ?
Parameters:
[
5351
]
|
| 239 | 0.15 ms |
SELECT t0.id AS id_1, t0.lieu AS lieu_2, t0.id_position AS id_position_3, t0.date_operation AS date_operation_4, t0.position_actuelle_flag AS position_actuelle_flag_5, t0.id_ct_pr_id AS id_ct_pr_id_6 FROM suivi_contenaire t0 WHERE t0.id_ct_pr_id = ?
Parameters:
[
5351
]
|
| 240 | 0.16 ms |
SELECT t0.id AS id_1, t0.created_at AS created_at_2, t0.commentaire AS commentaire_3, t0.suivi_id AS suivi_id_4, t0.sous_position_id AS sous_position_id_5 FROM sous_suivi t0 WHERE t0.suivi_id = ?
Parameters:
[
7875
]
|
| 241 | 0.15 ms |
SELECT t0.id AS id_1, t0.quantite AS quantite_2, t0.sortie_at AS sortie_at_3, t0.remarque AS remarque_4, t0.noms AS noms_5, t0.telephone AS telephone_6, t0.plaque AS plaque_7, t0.commande_id AS commande_id_8, t0.user_id AS user_id_9 FROM depot t0 WHERE t0.commande_id = ?
Parameters:
[
7925089
]
|
| 242 | 0.14 ms |
SELECT t0.id AS id_1, t0.volume AS volume_2, t0.prix_unit AS prix_unit_3, t0.unite AS unite_4, t0.modification AS modification_5, t0.commande_id AS commande_id_6 FROM tmp_volume t0 WHERE t0.commande_id = ?
Parameters:
[
7925089
]
|
| 243 | 0.12 ms |
SELECT t0.id AS id_1, t0.libelle AS libelle_2, t0.montant AS montant_3, t0.modification AS modification_4, t0.commande_id AS commande_id_5 FROM autre_frais t0 WHERE t0.commande_id = ?
Parameters:
[
7925089
]
|
| 244 | 2.48 ms |
SELECT t0.id AS id_1, t0.montant AS montant_2, t0.date_operation AS date_operation_3, t0.motif AS motif_4, t0.flag_compassation AS flag_compassation_5, t0.fichier_banque AS fichier_banque_6, t0.id_cmd_id AS id_cmd_id_7, t0.id_ag_id AS id_ag_id_8 FROM reduction t0 WHERE t0.id_cmd_id = ?
Parameters:
[
7925089
]
|
| 245 | 0.20 ms |
SELECT t0.id AS id_1, t0.montant AS montant_2, t0.date_operation AS date_operation_3, t0.flag_en_avance AS flag_en_avance_4, t0.id_cmd_id AS id_cmd_id_5, t0.id_ag_id AS id_ag_id_6 FROM paiement t0 WHERE t0.id_cmd_id = ?
Parameters:
[
7925089
]
|
| 246 | 0.16 ms |
SELECT t0.id AS id_1, t0.qte AS qte_2, t0.libelle AS libelle_3, t0.modification AS modification_4, t0.commande_id AS commande_id_5 FROM tmp_marchandise t0 WHERE t0.commande_id = ?
Parameters:
[
7925089
]
|
| 247 | 0.12 ms |
SELECT t0.id AS id_1, t0.nom_contenaire AS nom_contenaire_2 FROM contenaire t0 WHERE t0.id = ?
Parameters:
[
5488
]
|
| 248 | 7.12 ms |
SELECT *,c.id AS idCommande, (SELECT nom_ag FROM agent a WHERE a.id = c.id_cl_id ) AS nom_client, (SELECT IFNULL(SUM(ROUND(tV.prix_unit * tV.volume)),0) FROM tmp_volume tV WHERE c.id = tV.commande_id ) AS pritotal, (SELECT MAX(p.id) AS maxid FROM paiement p WHERE p.id_cmd_id = c.id ) AS idFacture, (SELECT IFNULL(SUM(p.montant),0) FROM paiement p WHERE p.id_cmd_id = c.id AND p.flag_en_avance = 0 ) AS dejaPaie, (SELECT IFNULL(SUM(p.montant),0) FROM paiement p WHERE p.id_cmd_id = c.id AND p.flag_en_avance = 1 ) AS paieEnAvance, (SELECT IFNULL(SUM(atF.montant),0) FROM autre_frais atF WHERE atF.commande_id = c.id ) AS AutresFrais, (SELECT IFNULL(SUM(r.montant),0) FROM reduction r WHERE r.id_cmd_id = c.id AND r.flag_compassation = '0') AS reduction, (SELECT IFNULL(SUM(r.montant),0) FROM reduction r WHERE r.id_cmd_id = c.id AND r.flag_compassation = '1' ) AS compassation, (SELECT IFNULL(SUM(r.montant),0) FROM reduction r WHERE r.id_cmd_id = c.id AND r.flag_compassation = '2' ) AS banque, (SELECT r.montant FROM reduction r WHERE r.id_cmd_id = c.id AND r.flag_compassation = '2' ORDER BY r.id DESC LIMIT 1) AS banqueDujour, (SELECT IFNULL(SUM(r.montant),0) FROM reduction r WHERE r.id_cmd_id = c.id AND r.flag_compassation = '3' ) AS depot FROM commande c LEFT JOIN agent a ON (c.id_ag_id = a.id) LEFT JOIN programme_contenaire ctpr ON (c.id_ct_pr_id = ctpr.id) LEFT JOIN contenaire ct ON (ctpr.id_ct_id = ct.id) WHERE c.id = 7925140 ORDER BY c.id DESC
Parameters:
[] |
| 249 | 0.27 ms |
SELECT t0.id AS id_1, t0.date_chargement AS date_chargement_2, t0.date_depart AS date_depart_3, t0.date_arriver AS date_arriver_4, t0.date_operation AS date_operation_5, t0.nom_bateau AS nom_bateau_6, t0.id_ag AS id_ag_7, t0.flag AS flag_8, t0.numero_contenaire AS numero_contenaire_9, t0.transporteur AS transporteur_10, t0.complet_flag AS complet_flag_11, t0.proprietaire_conteneur AS proprietaire_conteneur_12, t0.destination AS destination_13, t0.validation AS validation_14, t0.depenses_prevue AS depenses_prevue_15, t0.remarque_conteneur AS remarque_conteneur_16, t0.is_mco AS is_mco_17, t0.is_rapport AS is_rapport_18, t0.date_rapport_at AS date_rapport_at_19, t0.is_clients AS is_clients_20, t0.rapport AS rapport_21, t0.is_electronique AS is_electronique_22, t0.date_validation AS date_validation_23, t0.is_notifier AS is_notifier_24, t0.fin AS fin_25, t0.date_validation_fin AS date_validation_fin_26, t0.dateattribution AS dateattribution_27, t0.paye_gestionnaire AS paye_gestionnaire_28, t0.id_ct_id AS id_ct_id_29, t0.id_ville_id AS id_ville_id_30, t0.ville_initiale_id AS ville_initiale_id_31, t0.agent_gestionnaire_id AS agent_gestionnaire_id_32 FROM programme_contenaire t0 WHERE t0.id = ?
Parameters:
[
5345
]
|
| 250 | 0.23 ms |
SELECT t0.id AS id_1, t0.lieu AS lieu_2, t0.id_position AS id_position_3, t0.date_operation AS date_operation_4, t0.position_actuelle_flag AS position_actuelle_flag_5, t0.id_ct_pr_id AS id_ct_pr_id_6 FROM suivi_contenaire t0 WHERE t0.id_ct_pr_id = ?
Parameters:
[
5345
]
|
| 251 | 0.16 ms |
SELECT t0.id AS id_1, t0.created_at AS created_at_2, t0.commentaire AS commentaire_3, t0.suivi_id AS suivi_id_4, t0.sous_position_id AS sous_position_id_5 FROM sous_suivi t0 WHERE t0.suivi_id = ?
Parameters:
[
7871
]
|
| 252 | 0.16 ms |
SELECT t0.id AS id_1, t0.quantite AS quantite_2, t0.sortie_at AS sortie_at_3, t0.remarque AS remarque_4, t0.noms AS noms_5, t0.telephone AS telephone_6, t0.plaque AS plaque_7, t0.commande_id AS commande_id_8, t0.user_id AS user_id_9 FROM depot t0 WHERE t0.commande_id = ?
Parameters:
[
7925140
]
|
| 253 | 0.15 ms |
SELECT t0.id AS id_1, t0.volume AS volume_2, t0.prix_unit AS prix_unit_3, t0.unite AS unite_4, t0.modification AS modification_5, t0.commande_id AS commande_id_6 FROM tmp_volume t0 WHERE t0.commande_id = ?
Parameters:
[
7925140
]
|
| 254 | 0.15 ms |
SELECT t0.id AS id_1, t0.libelle AS libelle_2, t0.montant AS montant_3, t0.modification AS modification_4, t0.commande_id AS commande_id_5 FROM autre_frais t0 WHERE t0.commande_id = ?
Parameters:
[
7925140
]
|
| 255 | 2.29 ms |
SELECT t0.id AS id_1, t0.montant AS montant_2, t0.date_operation AS date_operation_3, t0.motif AS motif_4, t0.flag_compassation AS flag_compassation_5, t0.fichier_banque AS fichier_banque_6, t0.id_cmd_id AS id_cmd_id_7, t0.id_ag_id AS id_ag_id_8 FROM reduction t0 WHERE t0.id_cmd_id = ?
Parameters:
[
7925140
]
|
| 256 | 0.19 ms |
SELECT t0.id AS id_1, t0.montant AS montant_2, t0.date_operation AS date_operation_3, t0.flag_en_avance AS flag_en_avance_4, t0.id_cmd_id AS id_cmd_id_5, t0.id_ag_id AS id_ag_id_6 FROM paiement t0 WHERE t0.id_cmd_id = ?
Parameters:
[
7925140
]
|
| 257 | 0.20 ms |
SELECT t0.id AS id_1, t0.qte AS qte_2, t0.libelle AS libelle_3, t0.modification AS modification_4, t0.commande_id AS commande_id_5 FROM tmp_marchandise t0 WHERE t0.commande_id = ?
Parameters:
[
7925140
]
|
| 258 | 0.13 ms |
SELECT t0.id AS id_1, t0.nom_contenaire AS nom_contenaire_2 FROM contenaire t0 WHERE t0.id = ?
Parameters:
[
5482
]
|
| 259 | 8.59 ms |
SELECT *,c.id AS idCommande, (SELECT nom_ag FROM agent a WHERE a.id = c.id_cl_id ) AS nom_client, (SELECT IFNULL(SUM(ROUND(tV.prix_unit * tV.volume)),0) FROM tmp_volume tV WHERE c.id = tV.commande_id ) AS pritotal, (SELECT MAX(p.id) AS maxid FROM paiement p WHERE p.id_cmd_id = c.id ) AS idFacture, (SELECT IFNULL(SUM(p.montant),0) FROM paiement p WHERE p.id_cmd_id = c.id AND p.flag_en_avance = 0 ) AS dejaPaie, (SELECT IFNULL(SUM(p.montant),0) FROM paiement p WHERE p.id_cmd_id = c.id AND p.flag_en_avance = 1 ) AS paieEnAvance, (SELECT IFNULL(SUM(atF.montant),0) FROM autre_frais atF WHERE atF.commande_id = c.id ) AS AutresFrais, (SELECT IFNULL(SUM(r.montant),0) FROM reduction r WHERE r.id_cmd_id = c.id AND r.flag_compassation = '0') AS reduction, (SELECT IFNULL(SUM(r.montant),0) FROM reduction r WHERE r.id_cmd_id = c.id AND r.flag_compassation = '1' ) AS compassation, (SELECT IFNULL(SUM(r.montant),0) FROM reduction r WHERE r.id_cmd_id = c.id AND r.flag_compassation = '2' ) AS banque, (SELECT r.montant FROM reduction r WHERE r.id_cmd_id = c.id AND r.flag_compassation = '2' ORDER BY r.id DESC LIMIT 1) AS banqueDujour, (SELECT IFNULL(SUM(r.montant),0) FROM reduction r WHERE r.id_cmd_id = c.id AND r.flag_compassation = '3' ) AS depot FROM commande c LEFT JOIN agent a ON (c.id_ag_id = a.id) LEFT JOIN programme_contenaire ctpr ON (c.id_ct_pr_id = ctpr.id) LEFT JOIN contenaire ct ON (ctpr.id_ct_id = ct.id) WHERE c.id = 7924998 ORDER BY c.id DESC
Parameters:
[] |
| 260 | 0.25 ms |
SELECT t0.id AS id_1, t0.date_chargement AS date_chargement_2, t0.date_depart AS date_depart_3, t0.date_arriver AS date_arriver_4, t0.date_operation AS date_operation_5, t0.nom_bateau AS nom_bateau_6, t0.id_ag AS id_ag_7, t0.flag AS flag_8, t0.numero_contenaire AS numero_contenaire_9, t0.transporteur AS transporteur_10, t0.complet_flag AS complet_flag_11, t0.proprietaire_conteneur AS proprietaire_conteneur_12, t0.destination AS destination_13, t0.validation AS validation_14, t0.depenses_prevue AS depenses_prevue_15, t0.remarque_conteneur AS remarque_conteneur_16, t0.is_mco AS is_mco_17, t0.is_rapport AS is_rapport_18, t0.date_rapport_at AS date_rapport_at_19, t0.is_clients AS is_clients_20, t0.rapport AS rapport_21, t0.is_electronique AS is_electronique_22, t0.date_validation AS date_validation_23, t0.is_notifier AS is_notifier_24, t0.fin AS fin_25, t0.date_validation_fin AS date_validation_fin_26, t0.dateattribution AS dateattribution_27, t0.paye_gestionnaire AS paye_gestionnaire_28, t0.id_ct_id AS id_ct_id_29, t0.id_ville_id AS id_ville_id_30, t0.ville_initiale_id AS ville_initiale_id_31, t0.agent_gestionnaire_id AS agent_gestionnaire_id_32 FROM programme_contenaire t0 WHERE t0.id = ?
Parameters:
[
5382
]
|
| 261 | 0.17 ms |
SELECT t0.id AS id_1, t0.lieu AS lieu_2, t0.id_position AS id_position_3, t0.date_operation AS date_operation_4, t0.position_actuelle_flag AS position_actuelle_flag_5, t0.id_ct_pr_id AS id_ct_pr_id_6 FROM suivi_contenaire t0 WHERE t0.id_ct_pr_id = ?
Parameters:
[
5382
]
|
| 262 | 0.15 ms |
SELECT t0.id AS id_1, t0.created_at AS created_at_2, t0.commentaire AS commentaire_3, t0.suivi_id AS suivi_id_4, t0.sous_position_id AS sous_position_id_5 FROM sous_suivi t0 WHERE t0.suivi_id = ?
Parameters:
[
7860
]
|
| 263 | 0.16 ms |
SELECT t0.id AS id_1, t0.quantite AS quantite_2, t0.sortie_at AS sortie_at_3, t0.remarque AS remarque_4, t0.noms AS noms_5, t0.telephone AS telephone_6, t0.plaque AS plaque_7, t0.commande_id AS commande_id_8, t0.user_id AS user_id_9 FROM depot t0 WHERE t0.commande_id = ?
Parameters:
[
7924998
]
|
| 264 | 0.14 ms |
SELECT t0.id AS id_1, t0.volume AS volume_2, t0.prix_unit AS prix_unit_3, t0.unite AS unite_4, t0.modification AS modification_5, t0.commande_id AS commande_id_6 FROM tmp_volume t0 WHERE t0.commande_id = ?
Parameters:
[
7924998
]
|
| 265 | 0.13 ms |
SELECT t0.id AS id_1, t0.libelle AS libelle_2, t0.montant AS montant_3, t0.modification AS modification_4, t0.commande_id AS commande_id_5 FROM autre_frais t0 WHERE t0.commande_id = ?
Parameters:
[
7924998
]
|
| 266 | 2.56 ms |
SELECT t0.id AS id_1, t0.montant AS montant_2, t0.date_operation AS date_operation_3, t0.motif AS motif_4, t0.flag_compassation AS flag_compassation_5, t0.fichier_banque AS fichier_banque_6, t0.id_cmd_id AS id_cmd_id_7, t0.id_ag_id AS id_ag_id_8 FROM reduction t0 WHERE t0.id_cmd_id = ?
Parameters:
[
7924998
]
|
| 267 | 0.17 ms |
SELECT t0.id AS id_1, t0.montant AS montant_2, t0.date_operation AS date_operation_3, t0.flag_en_avance AS flag_en_avance_4, t0.id_cmd_id AS id_cmd_id_5, t0.id_ag_id AS id_ag_id_6 FROM paiement t0 WHERE t0.id_cmd_id = ?
Parameters:
[
7924998
]
|
| 268 | 0.15 ms |
SELECT t0.id AS id_1, t0.qte AS qte_2, t0.libelle AS libelle_3, t0.modification AS modification_4, t0.commande_id AS commande_id_5 FROM tmp_marchandise t0 WHERE t0.commande_id = ?
Parameters:
[
7924998
]
|
| 269 | 0.13 ms |
SELECT t0.id AS id_1, t0.nom_contenaire AS nom_contenaire_2 FROM contenaire t0 WHERE t0.id = ?
Parameters:
[
5520
]
|
| 270 | 9.36 ms |
SELECT *,c.id AS idCommande, (SELECT nom_ag FROM agent a WHERE a.id = c.id_cl_id ) AS nom_client, (SELECT IFNULL(SUM(ROUND(tV.prix_unit * tV.volume)),0) FROM tmp_volume tV WHERE c.id = tV.commande_id ) AS pritotal, (SELECT MAX(p.id) AS maxid FROM paiement p WHERE p.id_cmd_id = c.id ) AS idFacture, (SELECT IFNULL(SUM(p.montant),0) FROM paiement p WHERE p.id_cmd_id = c.id AND p.flag_en_avance = 0 ) AS dejaPaie, (SELECT IFNULL(SUM(p.montant),0) FROM paiement p WHERE p.id_cmd_id = c.id AND p.flag_en_avance = 1 ) AS paieEnAvance, (SELECT IFNULL(SUM(atF.montant),0) FROM autre_frais atF WHERE atF.commande_id = c.id ) AS AutresFrais, (SELECT IFNULL(SUM(r.montant),0) FROM reduction r WHERE r.id_cmd_id = c.id AND r.flag_compassation = '0') AS reduction, (SELECT IFNULL(SUM(r.montant),0) FROM reduction r WHERE r.id_cmd_id = c.id AND r.flag_compassation = '1' ) AS compassation, (SELECT IFNULL(SUM(r.montant),0) FROM reduction r WHERE r.id_cmd_id = c.id AND r.flag_compassation = '2' ) AS banque, (SELECT r.montant FROM reduction r WHERE r.id_cmd_id = c.id AND r.flag_compassation = '2' ORDER BY r.id DESC LIMIT 1) AS banqueDujour, (SELECT IFNULL(SUM(r.montant),0) FROM reduction r WHERE r.id_cmd_id = c.id AND r.flag_compassation = '3' ) AS depot FROM commande c LEFT JOIN agent a ON (c.id_ag_id = a.id) LEFT JOIN programme_contenaire ctpr ON (c.id_ct_pr_id = ctpr.id) LEFT JOIN contenaire ct ON (ctpr.id_ct_id = ct.id) WHERE c.id = 7924803 ORDER BY c.id DESC
Parameters:
[] |
| 271 | 0.29 ms |
SELECT t0.id AS id_1, t0.date_chargement AS date_chargement_2, t0.date_depart AS date_depart_3, t0.date_arriver AS date_arriver_4, t0.date_operation AS date_operation_5, t0.nom_bateau AS nom_bateau_6, t0.id_ag AS id_ag_7, t0.flag AS flag_8, t0.numero_contenaire AS numero_contenaire_9, t0.transporteur AS transporteur_10, t0.complet_flag AS complet_flag_11, t0.proprietaire_conteneur AS proprietaire_conteneur_12, t0.destination AS destination_13, t0.validation AS validation_14, t0.depenses_prevue AS depenses_prevue_15, t0.remarque_conteneur AS remarque_conteneur_16, t0.is_mco AS is_mco_17, t0.is_rapport AS is_rapport_18, t0.date_rapport_at AS date_rapport_at_19, t0.is_clients AS is_clients_20, t0.rapport AS rapport_21, t0.is_electronique AS is_electronique_22, t0.date_validation AS date_validation_23, t0.is_notifier AS is_notifier_24, t0.fin AS fin_25, t0.date_validation_fin AS date_validation_fin_26, t0.dateattribution AS dateattribution_27, t0.paye_gestionnaire AS paye_gestionnaire_28, t0.id_ct_id AS id_ct_id_29, t0.id_ville_id AS id_ville_id_30, t0.ville_initiale_id AS ville_initiale_id_31, t0.agent_gestionnaire_id AS agent_gestionnaire_id_32 FROM programme_contenaire t0 WHERE t0.id = ?
Parameters:
[
5424
]
|
| 272 | 0.22 ms |
SELECT t0.id AS id_1, t0.lieu AS lieu_2, t0.id_position AS id_position_3, t0.date_operation AS date_operation_4, t0.position_actuelle_flag AS position_actuelle_flag_5, t0.id_ct_pr_id AS id_ct_pr_id_6 FROM suivi_contenaire t0 WHERE t0.id_ct_pr_id = ?
Parameters:
[
5424
]
|
| 273 | 0.19 ms |
SELECT t0.id AS id_1, t0.created_at AS created_at_2, t0.commentaire AS commentaire_3, t0.suivi_id AS suivi_id_4, t0.sous_position_id AS sous_position_id_5 FROM sous_suivi t0 WHERE t0.suivi_id = ?
Parameters:
[
7822
]
|
| 274 | 0.13 ms |
SELECT t0.id AS id_1, t0.created_at AS created_at_2, t0.commentaire AS commentaire_3, t0.suivi_id AS suivi_id_4, t0.sous_position_id AS sous_position_id_5 FROM sous_suivi t0 WHERE t0.suivi_id = ?
Parameters:
[
8515
]
|
| 275 | 0.16 ms |
SELECT t0.id AS id_1, t0.quantite AS quantite_2, t0.sortie_at AS sortie_at_3, t0.remarque AS remarque_4, t0.noms AS noms_5, t0.telephone AS telephone_6, t0.plaque AS plaque_7, t0.commande_id AS commande_id_8, t0.user_id AS user_id_9 FROM depot t0 WHERE t0.commande_id = ?
Parameters:
[
7924803
]
|
| 276 | 0.15 ms |
SELECT t0.id AS id_1, t0.volume AS volume_2, t0.prix_unit AS prix_unit_3, t0.unite AS unite_4, t0.modification AS modification_5, t0.commande_id AS commande_id_6 FROM tmp_volume t0 WHERE t0.commande_id = ?
Parameters:
[
7924803
]
|
| 277 | 0.14 ms |
SELECT t0.id AS id_1, t0.libelle AS libelle_2, t0.montant AS montant_3, t0.modification AS modification_4, t0.commande_id AS commande_id_5 FROM autre_frais t0 WHERE t0.commande_id = ?
Parameters:
[
7924803
]
|
| 278 | 2.52 ms |
SELECT t0.id AS id_1, t0.montant AS montant_2, t0.date_operation AS date_operation_3, t0.motif AS motif_4, t0.flag_compassation AS flag_compassation_5, t0.fichier_banque AS fichier_banque_6, t0.id_cmd_id AS id_cmd_id_7, t0.id_ag_id AS id_ag_id_8 FROM reduction t0 WHERE t0.id_cmd_id = ?
Parameters:
[
7924803
]
|
| 279 | 0.16 ms |
SELECT t0.id AS id_1, t0.montant AS montant_2, t0.date_operation AS date_operation_3, t0.flag_en_avance AS flag_en_avance_4, t0.id_cmd_id AS id_cmd_id_5, t0.id_ag_id AS id_ag_id_6 FROM paiement t0 WHERE t0.id_cmd_id = ?
Parameters:
[
7924803
]
|
| 280 | 0.14 ms |
SELECT t0.id AS id_1, t0.qte AS qte_2, t0.libelle AS libelle_3, t0.modification AS modification_4, t0.commande_id AS commande_id_5 FROM tmp_marchandise t0 WHERE t0.commande_id = ?
Parameters:
[
7924803
]
|
| 281 | 0.12 ms |
SELECT t0.id AS id_1, t0.nom_contenaire AS nom_contenaire_2 FROM contenaire t0 WHERE t0.id = ?
Parameters:
[
5565
]
|
| 282 | 8.74 ms |
SELECT *,c.id AS idCommande, (SELECT nom_ag FROM agent a WHERE a.id = c.id_cl_id ) AS nom_client, (SELECT IFNULL(SUM(ROUND(tV.prix_unit * tV.volume)),0) FROM tmp_volume tV WHERE c.id = tV.commande_id ) AS pritotal, (SELECT MAX(p.id) AS maxid FROM paiement p WHERE p.id_cmd_id = c.id ) AS idFacture, (SELECT IFNULL(SUM(p.montant),0) FROM paiement p WHERE p.id_cmd_id = c.id AND p.flag_en_avance = 0 ) AS dejaPaie, (SELECT IFNULL(SUM(p.montant),0) FROM paiement p WHERE p.id_cmd_id = c.id AND p.flag_en_avance = 1 ) AS paieEnAvance, (SELECT IFNULL(SUM(atF.montant),0) FROM autre_frais atF WHERE atF.commande_id = c.id ) AS AutresFrais, (SELECT IFNULL(SUM(r.montant),0) FROM reduction r WHERE r.id_cmd_id = c.id AND r.flag_compassation = '0') AS reduction, (SELECT IFNULL(SUM(r.montant),0) FROM reduction r WHERE r.id_cmd_id = c.id AND r.flag_compassation = '1' ) AS compassation, (SELECT IFNULL(SUM(r.montant),0) FROM reduction r WHERE r.id_cmd_id = c.id AND r.flag_compassation = '2' ) AS banque, (SELECT r.montant FROM reduction r WHERE r.id_cmd_id = c.id AND r.flag_compassation = '2' ORDER BY r.id DESC LIMIT 1) AS banqueDujour, (SELECT IFNULL(SUM(r.montant),0) FROM reduction r WHERE r.id_cmd_id = c.id AND r.flag_compassation = '3' ) AS depot FROM commande c LEFT JOIN agent a ON (c.id_ag_id = a.id) LEFT JOIN programme_contenaire ctpr ON (c.id_ct_pr_id = ctpr.id) LEFT JOIN contenaire ct ON (ctpr.id_ct_id = ct.id) WHERE c.id = 7924863 ORDER BY c.id DESC
Parameters:
[] |
| 283 | 0.24 ms |
SELECT t0.id AS id_1, t0.date_chargement AS date_chargement_2, t0.date_depart AS date_depart_3, t0.date_arriver AS date_arriver_4, t0.date_operation AS date_operation_5, t0.nom_bateau AS nom_bateau_6, t0.id_ag AS id_ag_7, t0.flag AS flag_8, t0.numero_contenaire AS numero_contenaire_9, t0.transporteur AS transporteur_10, t0.complet_flag AS complet_flag_11, t0.proprietaire_conteneur AS proprietaire_conteneur_12, t0.destination AS destination_13, t0.validation AS validation_14, t0.depenses_prevue AS depenses_prevue_15, t0.remarque_conteneur AS remarque_conteneur_16, t0.is_mco AS is_mco_17, t0.is_rapport AS is_rapport_18, t0.date_rapport_at AS date_rapport_at_19, t0.is_clients AS is_clients_20, t0.rapport AS rapport_21, t0.is_electronique AS is_electronique_22, t0.date_validation AS date_validation_23, t0.is_notifier AS is_notifier_24, t0.fin AS fin_25, t0.date_validation_fin AS date_validation_fin_26, t0.dateattribution AS dateattribution_27, t0.paye_gestionnaire AS paye_gestionnaire_28, t0.id_ct_id AS id_ct_id_29, t0.id_ville_id AS id_ville_id_30, t0.ville_initiale_id AS ville_initiale_id_31, t0.agent_gestionnaire_id AS agent_gestionnaire_id_32 FROM programme_contenaire t0 WHERE t0.id = ?
Parameters:
[
5343
]
|
| 284 | 0.16 ms |
SELECT t0.id AS id_1, t0.lieu AS lieu_2, t0.id_position AS id_position_3, t0.date_operation AS date_operation_4, t0.position_actuelle_flag AS position_actuelle_flag_5, t0.id_ct_pr_id AS id_ct_pr_id_6 FROM suivi_contenaire t0 WHERE t0.id_ct_pr_id = ?
Parameters:
[
5343
]
|
| 285 | 0.14 ms |
SELECT t0.id AS id_1, t0.created_at AS created_at_2, t0.commentaire AS commentaire_3, t0.suivi_id AS suivi_id_4, t0.sous_position_id AS sous_position_id_5 FROM sous_suivi t0 WHERE t0.suivi_id = ?
Parameters:
[
7869
]
|
| 286 | 0.14 ms |
SELECT t0.id AS id_1, t0.quantite AS quantite_2, t0.sortie_at AS sortie_at_3, t0.remarque AS remarque_4, t0.noms AS noms_5, t0.telephone AS telephone_6, t0.plaque AS plaque_7, t0.commande_id AS commande_id_8, t0.user_id AS user_id_9 FROM depot t0 WHERE t0.commande_id = ?
Parameters:
[
7924863
]
|
| 287 | 0.16 ms |
SELECT t0.id AS id_1, t0.volume AS volume_2, t0.prix_unit AS prix_unit_3, t0.unite AS unite_4, t0.modification AS modification_5, t0.commande_id AS commande_id_6 FROM tmp_volume t0 WHERE t0.commande_id = ?
Parameters:
[
7924863
]
|
| 288 | 0.12 ms |
SELECT t0.id AS id_1, t0.libelle AS libelle_2, t0.montant AS montant_3, t0.modification AS modification_4, t0.commande_id AS commande_id_5 FROM autre_frais t0 WHERE t0.commande_id = ?
Parameters:
[
7924863
]
|
| 289 | 2.52 ms |
SELECT t0.id AS id_1, t0.montant AS montant_2, t0.date_operation AS date_operation_3, t0.motif AS motif_4, t0.flag_compassation AS flag_compassation_5, t0.fichier_banque AS fichier_banque_6, t0.id_cmd_id AS id_cmd_id_7, t0.id_ag_id AS id_ag_id_8 FROM reduction t0 WHERE t0.id_cmd_id = ?
Parameters:
[
7924863
]
|
| 290 | 0.19 ms |
SELECT t0.id AS id_1, t0.montant AS montant_2, t0.date_operation AS date_operation_3, t0.flag_en_avance AS flag_en_avance_4, t0.id_cmd_id AS id_cmd_id_5, t0.id_ag_id AS id_ag_id_6 FROM paiement t0 WHERE t0.id_cmd_id = ?
Parameters:
[
7924863
]
|
| 291 | 0.15 ms |
SELECT t0.id AS id_1, t0.qte AS qte_2, t0.libelle AS libelle_3, t0.modification AS modification_4, t0.commande_id AS commande_id_5 FROM tmp_marchandise t0 WHERE t0.commande_id = ?
Parameters:
[
7924863
]
|
| 292 | 0.11 ms |
SELECT t0.id AS id_1, t0.nom_contenaire AS nom_contenaire_2 FROM contenaire t0 WHERE t0.id = ?
Parameters:
[
5480
]
|
| 293 | 8.66 ms |
SELECT *,c.id AS idCommande, (SELECT nom_ag FROM agent a WHERE a.id = c.id_cl_id ) AS nom_client, (SELECT IFNULL(SUM(ROUND(tV.prix_unit * tV.volume)),0) FROM tmp_volume tV WHERE c.id = tV.commande_id ) AS pritotal, (SELECT MAX(p.id) AS maxid FROM paiement p WHERE p.id_cmd_id = c.id ) AS idFacture, (SELECT IFNULL(SUM(p.montant),0) FROM paiement p WHERE p.id_cmd_id = c.id AND p.flag_en_avance = 0 ) AS dejaPaie, (SELECT IFNULL(SUM(p.montant),0) FROM paiement p WHERE p.id_cmd_id = c.id AND p.flag_en_avance = 1 ) AS paieEnAvance, (SELECT IFNULL(SUM(atF.montant),0) FROM autre_frais atF WHERE atF.commande_id = c.id ) AS AutresFrais, (SELECT IFNULL(SUM(r.montant),0) FROM reduction r WHERE r.id_cmd_id = c.id AND r.flag_compassation = '0') AS reduction, (SELECT IFNULL(SUM(r.montant),0) FROM reduction r WHERE r.id_cmd_id = c.id AND r.flag_compassation = '1' ) AS compassation, (SELECT IFNULL(SUM(r.montant),0) FROM reduction r WHERE r.id_cmd_id = c.id AND r.flag_compassation = '2' ) AS banque, (SELECT r.montant FROM reduction r WHERE r.id_cmd_id = c.id AND r.flag_compassation = '2' ORDER BY r.id DESC LIMIT 1) AS banqueDujour, (SELECT IFNULL(SUM(r.montant),0) FROM reduction r WHERE r.id_cmd_id = c.id AND r.flag_compassation = '3' ) AS depot FROM commande c LEFT JOIN agent a ON (c.id_ag_id = a.id) LEFT JOIN programme_contenaire ctpr ON (c.id_ct_pr_id = ctpr.id) LEFT JOIN contenaire ct ON (ctpr.id_ct_id = ct.id) WHERE c.id = 7924878 ORDER BY c.id DESC
Parameters:
[] |
| 294 | 0.27 ms |
SELECT t0.id AS id_1, t0.date_chargement AS date_chargement_2, t0.date_depart AS date_depart_3, t0.date_arriver AS date_arriver_4, t0.date_operation AS date_operation_5, t0.nom_bateau AS nom_bateau_6, t0.id_ag AS id_ag_7, t0.flag AS flag_8, t0.numero_contenaire AS numero_contenaire_9, t0.transporteur AS transporteur_10, t0.complet_flag AS complet_flag_11, t0.proprietaire_conteneur AS proprietaire_conteneur_12, t0.destination AS destination_13, t0.validation AS validation_14, t0.depenses_prevue AS depenses_prevue_15, t0.remarque_conteneur AS remarque_conteneur_16, t0.is_mco AS is_mco_17, t0.is_rapport AS is_rapport_18, t0.date_rapport_at AS date_rapport_at_19, t0.is_clients AS is_clients_20, t0.rapport AS rapport_21, t0.is_electronique AS is_electronique_22, t0.date_validation AS date_validation_23, t0.is_notifier AS is_notifier_24, t0.fin AS fin_25, t0.date_validation_fin AS date_validation_fin_26, t0.dateattribution AS dateattribution_27, t0.paye_gestionnaire AS paye_gestionnaire_28, t0.id_ct_id AS id_ct_id_29, t0.id_ville_id AS id_ville_id_30, t0.ville_initiale_id AS ville_initiale_id_31, t0.agent_gestionnaire_id AS agent_gestionnaire_id_32 FROM programme_contenaire t0 WHERE t0.id = ?
Parameters:
[
5344
]
|
| 295 | 0.17 ms |
SELECT t0.id AS id_1, t0.lieu AS lieu_2, t0.id_position AS id_position_3, t0.date_operation AS date_operation_4, t0.position_actuelle_flag AS position_actuelle_flag_5, t0.id_ct_pr_id AS id_ct_pr_id_6 FROM suivi_contenaire t0 WHERE t0.id_ct_pr_id = ?
Parameters:
[
5344
]
|
| 296 | 0.16 ms |
SELECT t0.id AS id_1, t0.created_at AS created_at_2, t0.commentaire AS commentaire_3, t0.suivi_id AS suivi_id_4, t0.sous_position_id AS sous_position_id_5 FROM sous_suivi t0 WHERE t0.suivi_id = ?
Parameters:
[
7870
]
|
| 297 | 0.15 ms |
SELECT t0.id AS id_1, t0.quantite AS quantite_2, t0.sortie_at AS sortie_at_3, t0.remarque AS remarque_4, t0.noms AS noms_5, t0.telephone AS telephone_6, t0.plaque AS plaque_7, t0.commande_id AS commande_id_8, t0.user_id AS user_id_9 FROM depot t0 WHERE t0.commande_id = ?
Parameters:
[
7924878
]
|
| 298 | 0.14 ms |
SELECT t0.id AS id_1, t0.volume AS volume_2, t0.prix_unit AS prix_unit_3, t0.unite AS unite_4, t0.modification AS modification_5, t0.commande_id AS commande_id_6 FROM tmp_volume t0 WHERE t0.commande_id = ?
Parameters:
[
7924878
]
|
| 299 | 0.15 ms |
SELECT t0.id AS id_1, t0.libelle AS libelle_2, t0.montant AS montant_3, t0.modification AS modification_4, t0.commande_id AS commande_id_5 FROM autre_frais t0 WHERE t0.commande_id = ?
Parameters:
[
7924878
]
|
| 300 | 2.53 ms |
SELECT t0.id AS id_1, t0.montant AS montant_2, t0.date_operation AS date_operation_3, t0.motif AS motif_4, t0.flag_compassation AS flag_compassation_5, t0.fichier_banque AS fichier_banque_6, t0.id_cmd_id AS id_cmd_id_7, t0.id_ag_id AS id_ag_id_8 FROM reduction t0 WHERE t0.id_cmd_id = ?
Parameters:
[
7924878
]
|
| 301 | 0.18 ms |
SELECT t0.id AS id_1, t0.montant AS montant_2, t0.date_operation AS date_operation_3, t0.flag_en_avance AS flag_en_avance_4, t0.id_cmd_id AS id_cmd_id_5, t0.id_ag_id AS id_ag_id_6 FROM paiement t0 WHERE t0.id_cmd_id = ?
Parameters:
[
7924878
]
|
| 302 | 0.18 ms |
SELECT t0.id AS id_1, t0.qte AS qte_2, t0.libelle AS libelle_3, t0.modification AS modification_4, t0.commande_id AS commande_id_5 FROM tmp_marchandise t0 WHERE t0.commande_id = ?
Parameters:
[
7924878
]
|
| 303 | 0.13 ms |
SELECT t0.id AS id_1, t0.nom_contenaire AS nom_contenaire_2 FROM contenaire t0 WHERE t0.id = ?
Parameters:
[
5481
]
|
| 304 | 5.59 ms |
SELECT *,c.id AS idCommande, (SELECT nom_ag FROM agent a WHERE a.id = c.id_cl_id ) AS nom_client, (SELECT IFNULL(SUM(ROUND(tV.prix_unit * tV.volume)),0) FROM tmp_volume tV WHERE c.id = tV.commande_id ) AS pritotal, (SELECT MAX(p.id) AS maxid FROM paiement p WHERE p.id_cmd_id = c.id ) AS idFacture, (SELECT IFNULL(SUM(p.montant),0) FROM paiement p WHERE p.id_cmd_id = c.id AND p.flag_en_avance = 0 ) AS dejaPaie, (SELECT IFNULL(SUM(p.montant),0) FROM paiement p WHERE p.id_cmd_id = c.id AND p.flag_en_avance = 1 ) AS paieEnAvance, (SELECT IFNULL(SUM(atF.montant),0) FROM autre_frais atF WHERE atF.commande_id = c.id ) AS AutresFrais, (SELECT IFNULL(SUM(r.montant),0) FROM reduction r WHERE r.id_cmd_id = c.id AND r.flag_compassation = '0') AS reduction, (SELECT IFNULL(SUM(r.montant),0) FROM reduction r WHERE r.id_cmd_id = c.id AND r.flag_compassation = '1' ) AS compassation, (SELECT IFNULL(SUM(r.montant),0) FROM reduction r WHERE r.id_cmd_id = c.id AND r.flag_compassation = '2' ) AS banque, (SELECT r.montant FROM reduction r WHERE r.id_cmd_id = c.id AND r.flag_compassation = '2' ORDER BY r.id DESC LIMIT 1) AS banqueDujour, (SELECT IFNULL(SUM(r.montant),0) FROM reduction r WHERE r.id_cmd_id = c.id AND r.flag_compassation = '3' ) AS depot FROM commande c LEFT JOIN agent a ON (c.id_ag_id = a.id) LEFT JOIN programme_contenaire ctpr ON (c.id_ct_pr_id = ctpr.id) LEFT JOIN contenaire ct ON (ctpr.id_ct_id = ct.id) WHERE c.id = 7924885 ORDER BY c.id DESC
Parameters:
[] |
| 305 | 0.22 ms |
SELECT t0.id AS id_1, t0.date_chargement AS date_chargement_2, t0.date_depart AS date_depart_3, t0.date_arriver AS date_arriver_4, t0.date_operation AS date_operation_5, t0.nom_bateau AS nom_bateau_6, t0.id_ag AS id_ag_7, t0.flag AS flag_8, t0.numero_contenaire AS numero_contenaire_9, t0.transporteur AS transporteur_10, t0.complet_flag AS complet_flag_11, t0.proprietaire_conteneur AS proprietaire_conteneur_12, t0.destination AS destination_13, t0.validation AS validation_14, t0.depenses_prevue AS depenses_prevue_15, t0.remarque_conteneur AS remarque_conteneur_16, t0.is_mco AS is_mco_17, t0.is_rapport AS is_rapport_18, t0.date_rapport_at AS date_rapport_at_19, t0.is_clients AS is_clients_20, t0.rapport AS rapport_21, t0.is_electronique AS is_electronique_22, t0.date_validation AS date_validation_23, t0.is_notifier AS is_notifier_24, t0.fin AS fin_25, t0.date_validation_fin AS date_validation_fin_26, t0.dateattribution AS dateattribution_27, t0.paye_gestionnaire AS paye_gestionnaire_28, t0.id_ct_id AS id_ct_id_29, t0.id_ville_id AS id_ville_id_30, t0.ville_initiale_id AS ville_initiale_id_31, t0.agent_gestionnaire_id AS agent_gestionnaire_id_32 FROM programme_contenaire t0 WHERE t0.id = ?
Parameters:
[
5346
]
|
| 306 | 0.14 ms |
SELECT t0.id AS id_1, t0.lieu AS lieu_2, t0.id_position AS id_position_3, t0.date_operation AS date_operation_4, t0.position_actuelle_flag AS position_actuelle_flag_5, t0.id_ct_pr_id AS id_ct_pr_id_6 FROM suivi_contenaire t0 WHERE t0.id_ct_pr_id = ?
Parameters:
[
5346
]
|
| 307 | 0.13 ms |
SELECT t0.id AS id_1, t0.created_at AS created_at_2, t0.commentaire AS commentaire_3, t0.suivi_id AS suivi_id_4, t0.sous_position_id AS sous_position_id_5 FROM sous_suivi t0 WHERE t0.suivi_id = ?
Parameters:
[
7872
]
|
| 308 | 0.17 ms |
SELECT t0.id AS id_1, t0.quantite AS quantite_2, t0.sortie_at AS sortie_at_3, t0.remarque AS remarque_4, t0.noms AS noms_5, t0.telephone AS telephone_6, t0.plaque AS plaque_7, t0.commande_id AS commande_id_8, t0.user_id AS user_id_9 FROM depot t0 WHERE t0.commande_id = ?
Parameters:
[
7924885
]
|
| 309 | 0.13 ms |
SELECT t0.id AS id_1, t0.volume AS volume_2, t0.prix_unit AS prix_unit_3, t0.unite AS unite_4, t0.modification AS modification_5, t0.commande_id AS commande_id_6 FROM tmp_volume t0 WHERE t0.commande_id = ?
Parameters:
[
7924885
]
|
| 310 | 0.11 ms |
SELECT t0.id AS id_1, t0.libelle AS libelle_2, t0.montant AS montant_3, t0.modification AS modification_4, t0.commande_id AS commande_id_5 FROM autre_frais t0 WHERE t0.commande_id = ?
Parameters:
[
7924885
]
|
| 311 | 1.48 ms |
SELECT t0.id AS id_1, t0.montant AS montant_2, t0.date_operation AS date_operation_3, t0.motif AS motif_4, t0.flag_compassation AS flag_compassation_5, t0.fichier_banque AS fichier_banque_6, t0.id_cmd_id AS id_cmd_id_7, t0.id_ag_id AS id_ag_id_8 FROM reduction t0 WHERE t0.id_cmd_id = ?
Parameters:
[
7924885
]
|
| 312 | 0.15 ms |
SELECT t0.id AS id_1, t0.montant AS montant_2, t0.date_operation AS date_operation_3, t0.flag_en_avance AS flag_en_avance_4, t0.id_cmd_id AS id_cmd_id_5, t0.id_ag_id AS id_ag_id_6 FROM paiement t0 WHERE t0.id_cmd_id = ?
Parameters:
[
7924885
]
|
| 313 | 0.15 ms |
SELECT t0.id AS id_1, t0.qte AS qte_2, t0.libelle AS libelle_3, t0.modification AS modification_4, t0.commande_id AS commande_id_5 FROM tmp_marchandise t0 WHERE t0.commande_id = ?
Parameters:
[
7924885
]
|
| 314 | 0.12 ms |
SELECT t0.id AS id_1, t0.nom_contenaire AS nom_contenaire_2 FROM contenaire t0 WHERE t0.id = ?
Parameters:
[
5483
]
|
| 315 | 4.93 ms |
SELECT *,c.id AS idCommande, (SELECT nom_ag FROM agent a WHERE a.id = c.id_cl_id ) AS nom_client, (SELECT IFNULL(SUM(ROUND(tV.prix_unit * tV.volume)),0) FROM tmp_volume tV WHERE c.id = tV.commande_id ) AS pritotal, (SELECT MAX(p.id) AS maxid FROM paiement p WHERE p.id_cmd_id = c.id ) AS idFacture, (SELECT IFNULL(SUM(p.montant),0) FROM paiement p WHERE p.id_cmd_id = c.id AND p.flag_en_avance = 0 ) AS dejaPaie, (SELECT IFNULL(SUM(p.montant),0) FROM paiement p WHERE p.id_cmd_id = c.id AND p.flag_en_avance = 1 ) AS paieEnAvance, (SELECT IFNULL(SUM(atF.montant),0) FROM autre_frais atF WHERE atF.commande_id = c.id ) AS AutresFrais, (SELECT IFNULL(SUM(r.montant),0) FROM reduction r WHERE r.id_cmd_id = c.id AND r.flag_compassation = '0') AS reduction, (SELECT IFNULL(SUM(r.montant),0) FROM reduction r WHERE r.id_cmd_id = c.id AND r.flag_compassation = '1' ) AS compassation, (SELECT IFNULL(SUM(r.montant),0) FROM reduction r WHERE r.id_cmd_id = c.id AND r.flag_compassation = '2' ) AS banque, (SELECT r.montant FROM reduction r WHERE r.id_cmd_id = c.id AND r.flag_compassation = '2' ORDER BY r.id DESC LIMIT 1) AS banqueDujour, (SELECT IFNULL(SUM(r.montant),0) FROM reduction r WHERE r.id_cmd_id = c.id AND r.flag_compassation = '3' ) AS depot FROM commande c LEFT JOIN agent a ON (c.id_ag_id = a.id) LEFT JOIN programme_contenaire ctpr ON (c.id_ct_pr_id = ctpr.id) LEFT JOIN contenaire ct ON (ctpr.id_ct_id = ct.id) WHERE c.id = 7924914 ORDER BY c.id DESC
Parameters:
[] |
| 316 | 0.20 ms |
SELECT t0.id AS id_1, t0.date_chargement AS date_chargement_2, t0.date_depart AS date_depart_3, t0.date_arriver AS date_arriver_4, t0.date_operation AS date_operation_5, t0.nom_bateau AS nom_bateau_6, t0.id_ag AS id_ag_7, t0.flag AS flag_8, t0.numero_contenaire AS numero_contenaire_9, t0.transporteur AS transporteur_10, t0.complet_flag AS complet_flag_11, t0.proprietaire_conteneur AS proprietaire_conteneur_12, t0.destination AS destination_13, t0.validation AS validation_14, t0.depenses_prevue AS depenses_prevue_15, t0.remarque_conteneur AS remarque_conteneur_16, t0.is_mco AS is_mco_17, t0.is_rapport AS is_rapport_18, t0.date_rapport_at AS date_rapport_at_19, t0.is_clients AS is_clients_20, t0.rapport AS rapport_21, t0.is_electronique AS is_electronique_22, t0.date_validation AS date_validation_23, t0.is_notifier AS is_notifier_24, t0.fin AS fin_25, t0.date_validation_fin AS date_validation_fin_26, t0.dateattribution AS dateattribution_27, t0.paye_gestionnaire AS paye_gestionnaire_28, t0.id_ct_id AS id_ct_id_29, t0.id_ville_id AS id_ville_id_30, t0.ville_initiale_id AS ville_initiale_id_31, t0.agent_gestionnaire_id AS agent_gestionnaire_id_32 FROM programme_contenaire t0 WHERE t0.id = ?
Parameters:
[
5347
]
|
| 317 | 0.16 ms |
SELECT t0.id AS id_1, t0.lieu AS lieu_2, t0.id_position AS id_position_3, t0.date_operation AS date_operation_4, t0.position_actuelle_flag AS position_actuelle_flag_5, t0.id_ct_pr_id AS id_ct_pr_id_6 FROM suivi_contenaire t0 WHERE t0.id_ct_pr_id = ?
Parameters:
[
5347
]
|
| 318 | 0.14 ms |
SELECT t0.id AS id_1, t0.created_at AS created_at_2, t0.commentaire AS commentaire_3, t0.suivi_id AS suivi_id_4, t0.sous_position_id AS sous_position_id_5 FROM sous_suivi t0 WHERE t0.suivi_id = ?
Parameters:
[
7873
]
|
| 319 | 0.14 ms |
SELECT t0.id AS id_1, t0.quantite AS quantite_2, t0.sortie_at AS sortie_at_3, t0.remarque AS remarque_4, t0.noms AS noms_5, t0.telephone AS telephone_6, t0.plaque AS plaque_7, t0.commande_id AS commande_id_8, t0.user_id AS user_id_9 FROM depot t0 WHERE t0.commande_id = ?
Parameters:
[
7924914
]
|
| 320 | 0.15 ms |
SELECT t0.id AS id_1, t0.volume AS volume_2, t0.prix_unit AS prix_unit_3, t0.unite AS unite_4, t0.modification AS modification_5, t0.commande_id AS commande_id_6 FROM tmp_volume t0 WHERE t0.commande_id = ?
Parameters:
[
7924914
]
|
| 321 | 0.14 ms |
SELECT t0.id AS id_1, t0.libelle AS libelle_2, t0.montant AS montant_3, t0.modification AS modification_4, t0.commande_id AS commande_id_5 FROM autre_frais t0 WHERE t0.commande_id = ?
Parameters:
[
7924914
]
|
| 322 | 1.43 ms |
SELECT t0.id AS id_1, t0.montant AS montant_2, t0.date_operation AS date_operation_3, t0.motif AS motif_4, t0.flag_compassation AS flag_compassation_5, t0.fichier_banque AS fichier_banque_6, t0.id_cmd_id AS id_cmd_id_7, t0.id_ag_id AS id_ag_id_8 FROM reduction t0 WHERE t0.id_cmd_id = ?
Parameters:
[
7924914
]
|
| 323 | 0.14 ms |
SELECT t0.id AS id_1, t0.montant AS montant_2, t0.date_operation AS date_operation_3, t0.flag_en_avance AS flag_en_avance_4, t0.id_cmd_id AS id_cmd_id_5, t0.id_ag_id AS id_ag_id_6 FROM paiement t0 WHERE t0.id_cmd_id = ?
Parameters:
[
7924914
]
|
| 324 | 0.16 ms |
SELECT t0.id AS id_1, t0.qte AS qte_2, t0.libelle AS libelle_3, t0.modification AS modification_4, t0.commande_id AS commande_id_5 FROM tmp_marchandise t0 WHERE t0.commande_id = ?
Parameters:
[
7924914
]
|
| 325 | 0.12 ms |
SELECT t0.id AS id_1, t0.nom_contenaire AS nom_contenaire_2 FROM contenaire t0 WHERE t0.id = ?
Parameters:
[
5484
]
|
| 326 | 4.95 ms |
SELECT *,c.id AS idCommande, (SELECT nom_ag FROM agent a WHERE a.id = c.id_cl_id ) AS nom_client, (SELECT IFNULL(SUM(ROUND(tV.prix_unit * tV.volume)),0) FROM tmp_volume tV WHERE c.id = tV.commande_id ) AS pritotal, (SELECT MAX(p.id) AS maxid FROM paiement p WHERE p.id_cmd_id = c.id ) AS idFacture, (SELECT IFNULL(SUM(p.montant),0) FROM paiement p WHERE p.id_cmd_id = c.id AND p.flag_en_avance = 0 ) AS dejaPaie, (SELECT IFNULL(SUM(p.montant),0) FROM paiement p WHERE p.id_cmd_id = c.id AND p.flag_en_avance = 1 ) AS paieEnAvance, (SELECT IFNULL(SUM(atF.montant),0) FROM autre_frais atF WHERE atF.commande_id = c.id ) AS AutresFrais, (SELECT IFNULL(SUM(r.montant),0) FROM reduction r WHERE r.id_cmd_id = c.id AND r.flag_compassation = '0') AS reduction, (SELECT IFNULL(SUM(r.montant),0) FROM reduction r WHERE r.id_cmd_id = c.id AND r.flag_compassation = '1' ) AS compassation, (SELECT IFNULL(SUM(r.montant),0) FROM reduction r WHERE r.id_cmd_id = c.id AND r.flag_compassation = '2' ) AS banque, (SELECT r.montant FROM reduction r WHERE r.id_cmd_id = c.id AND r.flag_compassation = '2' ORDER BY r.id DESC LIMIT 1) AS banqueDujour, (SELECT IFNULL(SUM(r.montant),0) FROM reduction r WHERE r.id_cmd_id = c.id AND r.flag_compassation = '3' ) AS depot FROM commande c LEFT JOIN agent a ON (c.id_ag_id = a.id) LEFT JOIN programme_contenaire ctpr ON (c.id_ct_pr_id = ctpr.id) LEFT JOIN contenaire ct ON (ctpr.id_ct_id = ct.id) WHERE c.id = 7924930 ORDER BY c.id DESC
Parameters:
[] |
| 327 | 0.23 ms |
SELECT t0.id AS id_1, t0.date_chargement AS date_chargement_2, t0.date_depart AS date_depart_3, t0.date_arriver AS date_arriver_4, t0.date_operation AS date_operation_5, t0.nom_bateau AS nom_bateau_6, t0.id_ag AS id_ag_7, t0.flag AS flag_8, t0.numero_contenaire AS numero_contenaire_9, t0.transporteur AS transporteur_10, t0.complet_flag AS complet_flag_11, t0.proprietaire_conteneur AS proprietaire_conteneur_12, t0.destination AS destination_13, t0.validation AS validation_14, t0.depenses_prevue AS depenses_prevue_15, t0.remarque_conteneur AS remarque_conteneur_16, t0.is_mco AS is_mco_17, t0.is_rapport AS is_rapport_18, t0.date_rapport_at AS date_rapport_at_19, t0.is_clients AS is_clients_20, t0.rapport AS rapport_21, t0.is_electronique AS is_electronique_22, t0.date_validation AS date_validation_23, t0.is_notifier AS is_notifier_24, t0.fin AS fin_25, t0.date_validation_fin AS date_validation_fin_26, t0.dateattribution AS dateattribution_27, t0.paye_gestionnaire AS paye_gestionnaire_28, t0.id_ct_id AS id_ct_id_29, t0.id_ville_id AS id_ville_id_30, t0.ville_initiale_id AS ville_initiale_id_31, t0.agent_gestionnaire_id AS agent_gestionnaire_id_32 FROM programme_contenaire t0 WHERE t0.id = ?
Parameters:
[
5348
]
|
| 328 | 0.15 ms |
SELECT t0.id AS id_1, t0.lieu AS lieu_2, t0.id_position AS id_position_3, t0.date_operation AS date_operation_4, t0.position_actuelle_flag AS position_actuelle_flag_5, t0.id_ct_pr_id AS id_ct_pr_id_6 FROM suivi_contenaire t0 WHERE t0.id_ct_pr_id = ?
Parameters:
[
5348
]
|
| 329 | 0.16 ms |
SELECT t0.id AS id_1, t0.created_at AS created_at_2, t0.commentaire AS commentaire_3, t0.suivi_id AS suivi_id_4, t0.sous_position_id AS sous_position_id_5 FROM sous_suivi t0 WHERE t0.suivi_id = ?
Parameters:
[
7874
]
|
| 330 | 0.14 ms |
SELECT t0.id AS id_1, t0.quantite AS quantite_2, t0.sortie_at AS sortie_at_3, t0.remarque AS remarque_4, t0.noms AS noms_5, t0.telephone AS telephone_6, t0.plaque AS plaque_7, t0.commande_id AS commande_id_8, t0.user_id AS user_id_9 FROM depot t0 WHERE t0.commande_id = ?
Parameters:
[
7924930
]
|
| 331 | 0.13 ms |
SELECT t0.id AS id_1, t0.volume AS volume_2, t0.prix_unit AS prix_unit_3, t0.unite AS unite_4, t0.modification AS modification_5, t0.commande_id AS commande_id_6 FROM tmp_volume t0 WHERE t0.commande_id = ?
Parameters:
[
7924930
]
|
| 332 | 0.13 ms |
SELECT t0.id AS id_1, t0.libelle AS libelle_2, t0.montant AS montant_3, t0.modification AS modification_4, t0.commande_id AS commande_id_5 FROM autre_frais t0 WHERE t0.commande_id = ?
Parameters:
[
7924930
]
|
| 333 | 1.54 ms |
SELECT t0.id AS id_1, t0.montant AS montant_2, t0.date_operation AS date_operation_3, t0.motif AS motif_4, t0.flag_compassation AS flag_compassation_5, t0.fichier_banque AS fichier_banque_6, t0.id_cmd_id AS id_cmd_id_7, t0.id_ag_id AS id_ag_id_8 FROM reduction t0 WHERE t0.id_cmd_id = ?
Parameters:
[
7924930
]
|
| 334 | 0.15 ms |
SELECT t0.id AS id_1, t0.montant AS montant_2, t0.date_operation AS date_operation_3, t0.flag_en_avance AS flag_en_avance_4, t0.id_cmd_id AS id_cmd_id_5, t0.id_ag_id AS id_ag_id_6 FROM paiement t0 WHERE t0.id_cmd_id = ?
Parameters:
[
7924930
]
|
| 335 | 0.14 ms |
SELECT t0.id AS id_1, t0.qte AS qte_2, t0.libelle AS libelle_3, t0.modification AS modification_4, t0.commande_id AS commande_id_5 FROM tmp_marchandise t0 WHERE t0.commande_id = ?
Parameters:
[
7924930
]
|
| 336 | 0.13 ms |
SELECT t0.id AS id_1, t0.nom_contenaire AS nom_contenaire_2 FROM contenaire t0 WHERE t0.id = ?
Parameters:
[
5485
]
|
| 337 | 7.69 ms |
SELECT *,c.id AS idCommande, (SELECT nom_ag FROM agent a WHERE a.id = c.id_cl_id ) AS nom_client, (SELECT IFNULL(SUM(ROUND(tV.prix_unit * tV.volume)),0) FROM tmp_volume tV WHERE c.id = tV.commande_id ) AS pritotal, (SELECT MAX(p.id) AS maxid FROM paiement p WHERE p.id_cmd_id = c.id ) AS idFacture, (SELECT IFNULL(SUM(p.montant),0) FROM paiement p WHERE p.id_cmd_id = c.id AND p.flag_en_avance = 0 ) AS dejaPaie, (SELECT IFNULL(SUM(p.montant),0) FROM paiement p WHERE p.id_cmd_id = c.id AND p.flag_en_avance = 1 ) AS paieEnAvance, (SELECT IFNULL(SUM(atF.montant),0) FROM autre_frais atF WHERE atF.commande_id = c.id ) AS AutresFrais, (SELECT IFNULL(SUM(r.montant),0) FROM reduction r WHERE r.id_cmd_id = c.id AND r.flag_compassation = '0') AS reduction, (SELECT IFNULL(SUM(r.montant),0) FROM reduction r WHERE r.id_cmd_id = c.id AND r.flag_compassation = '1' ) AS compassation, (SELECT IFNULL(SUM(r.montant),0) FROM reduction r WHERE r.id_cmd_id = c.id AND r.flag_compassation = '2' ) AS banque, (SELECT r.montant FROM reduction r WHERE r.id_cmd_id = c.id AND r.flag_compassation = '2' ORDER BY r.id DESC LIMIT 1) AS banqueDujour, (SELECT IFNULL(SUM(r.montant),0) FROM reduction r WHERE r.id_cmd_id = c.id AND r.flag_compassation = '3' ) AS depot FROM commande c LEFT JOIN agent a ON (c.id_ag_id = a.id) LEFT JOIN programme_contenaire ctpr ON (c.id_ct_pr_id = ctpr.id) LEFT JOIN contenaire ct ON (ctpr.id_ct_id = ct.id) WHERE c.id = 7924936 ORDER BY c.id DESC
Parameters:
[] |
| 338 | 0.29 ms |
SELECT t0.id AS id_1, t0.date_chargement AS date_chargement_2, t0.date_depart AS date_depart_3, t0.date_arriver AS date_arriver_4, t0.date_operation AS date_operation_5, t0.nom_bateau AS nom_bateau_6, t0.id_ag AS id_ag_7, t0.flag AS flag_8, t0.numero_contenaire AS numero_contenaire_9, t0.transporteur AS transporteur_10, t0.complet_flag AS complet_flag_11, t0.proprietaire_conteneur AS proprietaire_conteneur_12, t0.destination AS destination_13, t0.validation AS validation_14, t0.depenses_prevue AS depenses_prevue_15, t0.remarque_conteneur AS remarque_conteneur_16, t0.is_mco AS is_mco_17, t0.is_rapport AS is_rapport_18, t0.date_rapport_at AS date_rapport_at_19, t0.is_clients AS is_clients_20, t0.rapport AS rapport_21, t0.is_electronique AS is_electronique_22, t0.date_validation AS date_validation_23, t0.is_notifier AS is_notifier_24, t0.fin AS fin_25, t0.date_validation_fin AS date_validation_fin_26, t0.dateattribution AS dateattribution_27, t0.paye_gestionnaire AS paye_gestionnaire_28, t0.id_ct_id AS id_ct_id_29, t0.id_ville_id AS id_ville_id_30, t0.ville_initiale_id AS ville_initiale_id_31, t0.agent_gestionnaire_id AS agent_gestionnaire_id_32 FROM programme_contenaire t0 WHERE t0.id = ?
Parameters:
[
5376
]
|
| 339 | 0.18 ms |
SELECT t0.id AS id_1, t0.lieu AS lieu_2, t0.id_position AS id_position_3, t0.date_operation AS date_operation_4, t0.position_actuelle_flag AS position_actuelle_flag_5, t0.id_ct_pr_id AS id_ct_pr_id_6 FROM suivi_contenaire t0 WHERE t0.id_ct_pr_id = ?
Parameters:
[
5376
]
|
| 340 | 0.15 ms |
SELECT t0.id AS id_1, t0.created_at AS created_at_2, t0.commentaire AS commentaire_3, t0.suivi_id AS suivi_id_4, t0.sous_position_id AS sous_position_id_5 FROM sous_suivi t0 WHERE t0.suivi_id = ?
Parameters:
[
7866
]
|
| 341 | 0.17 ms |
SELECT t0.id AS id_1, t0.quantite AS quantite_2, t0.sortie_at AS sortie_at_3, t0.remarque AS remarque_4, t0.noms AS noms_5, t0.telephone AS telephone_6, t0.plaque AS plaque_7, t0.commande_id AS commande_id_8, t0.user_id AS user_id_9 FROM depot t0 WHERE t0.commande_id = ?
Parameters:
[
7924936
]
|
| 342 | 0.18 ms |
SELECT t0.id AS id_1, t0.volume AS volume_2, t0.prix_unit AS prix_unit_3, t0.unite AS unite_4, t0.modification AS modification_5, t0.commande_id AS commande_id_6 FROM tmp_volume t0 WHERE t0.commande_id = ?
Parameters:
[
7924936
]
|
| 343 | 0.18 ms |
SELECT t0.id AS id_1, t0.libelle AS libelle_2, t0.montant AS montant_3, t0.modification AS modification_4, t0.commande_id AS commande_id_5 FROM autre_frais t0 WHERE t0.commande_id = ?
Parameters:
[
7924936
]
|
| 344 | 2.53 ms |
SELECT t0.id AS id_1, t0.montant AS montant_2, t0.date_operation AS date_operation_3, t0.motif AS motif_4, t0.flag_compassation AS flag_compassation_5, t0.fichier_banque AS fichier_banque_6, t0.id_cmd_id AS id_cmd_id_7, t0.id_ag_id AS id_ag_id_8 FROM reduction t0 WHERE t0.id_cmd_id = ?
Parameters:
[
7924936
]
|
| 345 | 0.23 ms |
SELECT t0.id AS id_1, t0.montant AS montant_2, t0.date_operation AS date_operation_3, t0.flag_en_avance AS flag_en_avance_4, t0.id_cmd_id AS id_cmd_id_5, t0.id_ag_id AS id_ag_id_6 FROM paiement t0 WHERE t0.id_cmd_id = ?
Parameters:
[
7924936
]
|
| 346 | 0.20 ms |
SELECT t0.id AS id_1, t0.qte AS qte_2, t0.libelle AS libelle_3, t0.modification AS modification_4, t0.commande_id AS commande_id_5 FROM tmp_marchandise t0 WHERE t0.commande_id = ?
Parameters:
[
7924936
]
|
| 347 | 0.16 ms |
SELECT t0.id AS id_1, t0.nom_contenaire AS nom_contenaire_2 FROM contenaire t0 WHERE t0.id = ?
Parameters:
[
5514
]
|
| 348 | 8.74 ms |
SELECT *,c.id AS idCommande, (SELECT nom_ag FROM agent a WHERE a.id = c.id_cl_id ) AS nom_client, (SELECT IFNULL(SUM(ROUND(tV.prix_unit * tV.volume)),0) FROM tmp_volume tV WHERE c.id = tV.commande_id ) AS pritotal, (SELECT MAX(p.id) AS maxid FROM paiement p WHERE p.id_cmd_id = c.id ) AS idFacture, (SELECT IFNULL(SUM(p.montant),0) FROM paiement p WHERE p.id_cmd_id = c.id AND p.flag_en_avance = 0 ) AS dejaPaie, (SELECT IFNULL(SUM(p.montant),0) FROM paiement p WHERE p.id_cmd_id = c.id AND p.flag_en_avance = 1 ) AS paieEnAvance, (SELECT IFNULL(SUM(atF.montant),0) FROM autre_frais atF WHERE atF.commande_id = c.id ) AS AutresFrais, (SELECT IFNULL(SUM(r.montant),0) FROM reduction r WHERE r.id_cmd_id = c.id AND r.flag_compassation = '0') AS reduction, (SELECT IFNULL(SUM(r.montant),0) FROM reduction r WHERE r.id_cmd_id = c.id AND r.flag_compassation = '1' ) AS compassation, (SELECT IFNULL(SUM(r.montant),0) FROM reduction r WHERE r.id_cmd_id = c.id AND r.flag_compassation = '2' ) AS banque, (SELECT r.montant FROM reduction r WHERE r.id_cmd_id = c.id AND r.flag_compassation = '2' ORDER BY r.id DESC LIMIT 1) AS banqueDujour, (SELECT IFNULL(SUM(r.montant),0) FROM reduction r WHERE r.id_cmd_id = c.id AND r.flag_compassation = '3' ) AS depot FROM commande c LEFT JOIN agent a ON (c.id_ag_id = a.id) LEFT JOIN programme_contenaire ctpr ON (c.id_ct_pr_id = ctpr.id) LEFT JOIN contenaire ct ON (ctpr.id_ct_id = ct.id) WHERE c.id = 7924955 ORDER BY c.id DESC
Parameters:
[] |
| 349 | 0.27 ms |
SELECT t0.id AS id_1, t0.date_chargement AS date_chargement_2, t0.date_depart AS date_depart_3, t0.date_arriver AS date_arriver_4, t0.date_operation AS date_operation_5, t0.nom_bateau AS nom_bateau_6, t0.id_ag AS id_ag_7, t0.flag AS flag_8, t0.numero_contenaire AS numero_contenaire_9, t0.transporteur AS transporteur_10, t0.complet_flag AS complet_flag_11, t0.proprietaire_conteneur AS proprietaire_conteneur_12, t0.destination AS destination_13, t0.validation AS validation_14, t0.depenses_prevue AS depenses_prevue_15, t0.remarque_conteneur AS remarque_conteneur_16, t0.is_mco AS is_mco_17, t0.is_rapport AS is_rapport_18, t0.date_rapport_at AS date_rapport_at_19, t0.is_clients AS is_clients_20, t0.rapport AS rapport_21, t0.is_electronique AS is_electronique_22, t0.date_validation AS date_validation_23, t0.is_notifier AS is_notifier_24, t0.fin AS fin_25, t0.date_validation_fin AS date_validation_fin_26, t0.dateattribution AS dateattribution_27, t0.paye_gestionnaire AS paye_gestionnaire_28, t0.id_ct_id AS id_ct_id_29, t0.id_ville_id AS id_ville_id_30, t0.ville_initiale_id AS ville_initiale_id_31, t0.agent_gestionnaire_id AS agent_gestionnaire_id_32 FROM programme_contenaire t0 WHERE t0.id = ?
Parameters:
[
5378
]
|
| 350 | 0.18 ms |
SELECT t0.id AS id_1, t0.lieu AS lieu_2, t0.id_position AS id_position_3, t0.date_operation AS date_operation_4, t0.position_actuelle_flag AS position_actuelle_flag_5, t0.id_ct_pr_id AS id_ct_pr_id_6 FROM suivi_contenaire t0 WHERE t0.id_ct_pr_id = ?
Parameters:
[
5378
]
|
| 351 | 0.16 ms |
SELECT t0.id AS id_1, t0.created_at AS created_at_2, t0.commentaire AS commentaire_3, t0.suivi_id AS suivi_id_4, t0.sous_position_id AS sous_position_id_5 FROM sous_suivi t0 WHERE t0.suivi_id = ?
Parameters:
[
7864
]
|
| 352 | 0.16 ms |
SELECT t0.id AS id_1, t0.quantite AS quantite_2, t0.sortie_at AS sortie_at_3, t0.remarque AS remarque_4, t0.noms AS noms_5, t0.telephone AS telephone_6, t0.plaque AS plaque_7, t0.commande_id AS commande_id_8, t0.user_id AS user_id_9 FROM depot t0 WHERE t0.commande_id = ?
Parameters:
[
7924955
]
|
| 353 | 0.16 ms |
SELECT t0.id AS id_1, t0.volume AS volume_2, t0.prix_unit AS prix_unit_3, t0.unite AS unite_4, t0.modification AS modification_5, t0.commande_id AS commande_id_6 FROM tmp_volume t0 WHERE t0.commande_id = ?
Parameters:
[
7924955
]
|
| 354 | 0.15 ms |
SELECT t0.id AS id_1, t0.libelle AS libelle_2, t0.montant AS montant_3, t0.modification AS modification_4, t0.commande_id AS commande_id_5 FROM autre_frais t0 WHERE t0.commande_id = ?
Parameters:
[
7924955
]
|
| 355 | 2.26 ms |
SELECT t0.id AS id_1, t0.montant AS montant_2, t0.date_operation AS date_operation_3, t0.motif AS motif_4, t0.flag_compassation AS flag_compassation_5, t0.fichier_banque AS fichier_banque_6, t0.id_cmd_id AS id_cmd_id_7, t0.id_ag_id AS id_ag_id_8 FROM reduction t0 WHERE t0.id_cmd_id = ?
Parameters:
[
7924955
]
|
| 356 | 0.19 ms |
SELECT t0.id AS id_1, t0.montant AS montant_2, t0.date_operation AS date_operation_3, t0.flag_en_avance AS flag_en_avance_4, t0.id_cmd_id AS id_cmd_id_5, t0.id_ag_id AS id_ag_id_6 FROM paiement t0 WHERE t0.id_cmd_id = ?
Parameters:
[
7924955
]
|
| 357 | 0.18 ms |
SELECT t0.id AS id_1, t0.qte AS qte_2, t0.libelle AS libelle_3, t0.modification AS modification_4, t0.commande_id AS commande_id_5 FROM tmp_marchandise t0 WHERE t0.commande_id = ?
Parameters:
[
7924955
]
|
| 358 | 0.15 ms |
SELECT t0.id AS id_1, t0.nom_contenaire AS nom_contenaire_2 FROM contenaire t0 WHERE t0.id = ?
Parameters:
[
5516
]
|
| 359 | 5.10 ms |
SELECT *,c.id AS idCommande, (SELECT nom_ag FROM agent a WHERE a.id = c.id_cl_id ) AS nom_client, (SELECT IFNULL(SUM(ROUND(tV.prix_unit * tV.volume)),0) FROM tmp_volume tV WHERE c.id = tV.commande_id ) AS pritotal, (SELECT MAX(p.id) AS maxid FROM paiement p WHERE p.id_cmd_id = c.id ) AS idFacture, (SELECT IFNULL(SUM(p.montant),0) FROM paiement p WHERE p.id_cmd_id = c.id AND p.flag_en_avance = 0 ) AS dejaPaie, (SELECT IFNULL(SUM(p.montant),0) FROM paiement p WHERE p.id_cmd_id = c.id AND p.flag_en_avance = 1 ) AS paieEnAvance, (SELECT IFNULL(SUM(atF.montant),0) FROM autre_frais atF WHERE atF.commande_id = c.id ) AS AutresFrais, (SELECT IFNULL(SUM(r.montant),0) FROM reduction r WHERE r.id_cmd_id = c.id AND r.flag_compassation = '0') AS reduction, (SELECT IFNULL(SUM(r.montant),0) FROM reduction r WHERE r.id_cmd_id = c.id AND r.flag_compassation = '1' ) AS compassation, (SELECT IFNULL(SUM(r.montant),0) FROM reduction r WHERE r.id_cmd_id = c.id AND r.flag_compassation = '2' ) AS banque, (SELECT r.montant FROM reduction r WHERE r.id_cmd_id = c.id AND r.flag_compassation = '2' ORDER BY r.id DESC LIMIT 1) AS banqueDujour, (SELECT IFNULL(SUM(r.montant),0) FROM reduction r WHERE r.id_cmd_id = c.id AND r.flag_compassation = '3' ) AS depot FROM commande c LEFT JOIN agent a ON (c.id_ag_id = a.id) LEFT JOIN programme_contenaire ctpr ON (c.id_ct_pr_id = ctpr.id) LEFT JOIN contenaire ct ON (ctpr.id_ct_id = ct.id) WHERE c.id = 7924977 ORDER BY c.id DESC
Parameters:
[] |
| 360 | 0.23 ms |
SELECT t0.id AS id_1, t0.date_chargement AS date_chargement_2, t0.date_depart AS date_depart_3, t0.date_arriver AS date_arriver_4, t0.date_operation AS date_operation_5, t0.nom_bateau AS nom_bateau_6, t0.id_ag AS id_ag_7, t0.flag AS flag_8, t0.numero_contenaire AS numero_contenaire_9, t0.transporteur AS transporteur_10, t0.complet_flag AS complet_flag_11, t0.proprietaire_conteneur AS proprietaire_conteneur_12, t0.destination AS destination_13, t0.validation AS validation_14, t0.depenses_prevue AS depenses_prevue_15, t0.remarque_conteneur AS remarque_conteneur_16, t0.is_mco AS is_mco_17, t0.is_rapport AS is_rapport_18, t0.date_rapport_at AS date_rapport_at_19, t0.is_clients AS is_clients_20, t0.rapport AS rapport_21, t0.is_electronique AS is_electronique_22, t0.date_validation AS date_validation_23, t0.is_notifier AS is_notifier_24, t0.fin AS fin_25, t0.date_validation_fin AS date_validation_fin_26, t0.dateattribution AS dateattribution_27, t0.paye_gestionnaire AS paye_gestionnaire_28, t0.id_ct_id AS id_ct_id_29, t0.id_ville_id AS id_ville_id_30, t0.ville_initiale_id AS ville_initiale_id_31, t0.agent_gestionnaire_id AS agent_gestionnaire_id_32 FROM programme_contenaire t0 WHERE t0.id = ?
Parameters:
[
5380
]
|
| 361 | 0.15 ms |
SELECT t0.id AS id_1, t0.lieu AS lieu_2, t0.id_position AS id_position_3, t0.date_operation AS date_operation_4, t0.position_actuelle_flag AS position_actuelle_flag_5, t0.id_ct_pr_id AS id_ct_pr_id_6 FROM suivi_contenaire t0 WHERE t0.id_ct_pr_id = ?
Parameters:
[
5380
]
|
| 362 | 0.14 ms |
SELECT t0.id AS id_1, t0.created_at AS created_at_2, t0.commentaire AS commentaire_3, t0.suivi_id AS suivi_id_4, t0.sous_position_id AS sous_position_id_5 FROM sous_suivi t0 WHERE t0.suivi_id = ?
Parameters:
[
7862
]
|
| 363 | 0.14 ms |
SELECT t0.id AS id_1, t0.quantite AS quantite_2, t0.sortie_at AS sortie_at_3, t0.remarque AS remarque_4, t0.noms AS noms_5, t0.telephone AS telephone_6, t0.plaque AS plaque_7, t0.commande_id AS commande_id_8, t0.user_id AS user_id_9 FROM depot t0 WHERE t0.commande_id = ?
Parameters:
[
7924977
]
|
| 364 | 0.16 ms |
SELECT t0.id AS id_1, t0.volume AS volume_2, t0.prix_unit AS prix_unit_3, t0.unite AS unite_4, t0.modification AS modification_5, t0.commande_id AS commande_id_6 FROM tmp_volume t0 WHERE t0.commande_id = ?
Parameters:
[
7924977
]
|
| 365 | 0.13 ms |
SELECT t0.id AS id_1, t0.libelle AS libelle_2, t0.montant AS montant_3, t0.modification AS modification_4, t0.commande_id AS commande_id_5 FROM autre_frais t0 WHERE t0.commande_id = ?
Parameters:
[
7924977
]
|
| 366 | 1.60 ms |
SELECT t0.id AS id_1, t0.montant AS montant_2, t0.date_operation AS date_operation_3, t0.motif AS motif_4, t0.flag_compassation AS flag_compassation_5, t0.fichier_banque AS fichier_banque_6, t0.id_cmd_id AS id_cmd_id_7, t0.id_ag_id AS id_ag_id_8 FROM reduction t0 WHERE t0.id_cmd_id = ?
Parameters:
[
7924977
]
|
| 367 | 0.16 ms |
SELECT t0.id AS id_1, t0.montant AS montant_2, t0.date_operation AS date_operation_3, t0.flag_en_avance AS flag_en_avance_4, t0.id_cmd_id AS id_cmd_id_5, t0.id_ag_id AS id_ag_id_6 FROM paiement t0 WHERE t0.id_cmd_id = ?
Parameters:
[
7924977
]
|
| 368 | 0.17 ms |
SELECT t0.id AS id_1, t0.qte AS qte_2, t0.libelle AS libelle_3, t0.modification AS modification_4, t0.commande_id AS commande_id_5 FROM tmp_marchandise t0 WHERE t0.commande_id = ?
Parameters:
[
7924977
]
|
| 369 | 0.12 ms |
SELECT t0.id AS id_1, t0.nom_contenaire AS nom_contenaire_2 FROM contenaire t0 WHERE t0.id = ?
Parameters:
[
5518
]
|
| 370 | 6.95 ms |
SELECT *,c.id AS idCommande, (SELECT nom_ag FROM agent a WHERE a.id = c.id_cl_id ) AS nom_client, (SELECT IFNULL(SUM(ROUND(tV.prix_unit * tV.volume)),0) FROM tmp_volume tV WHERE c.id = tV.commande_id ) AS pritotal, (SELECT MAX(p.id) AS maxid FROM paiement p WHERE p.id_cmd_id = c.id ) AS idFacture, (SELECT IFNULL(SUM(p.montant),0) FROM paiement p WHERE p.id_cmd_id = c.id AND p.flag_en_avance = 0 ) AS dejaPaie, (SELECT IFNULL(SUM(p.montant),0) FROM paiement p WHERE p.id_cmd_id = c.id AND p.flag_en_avance = 1 ) AS paieEnAvance, (SELECT IFNULL(SUM(atF.montant),0) FROM autre_frais atF WHERE atF.commande_id = c.id ) AS AutresFrais, (SELECT IFNULL(SUM(r.montant),0) FROM reduction r WHERE r.id_cmd_id = c.id AND r.flag_compassation = '0') AS reduction, (SELECT IFNULL(SUM(r.montant),0) FROM reduction r WHERE r.id_cmd_id = c.id AND r.flag_compassation = '1' ) AS compassation, (SELECT IFNULL(SUM(r.montant),0) FROM reduction r WHERE r.id_cmd_id = c.id AND r.flag_compassation = '2' ) AS banque, (SELECT r.montant FROM reduction r WHERE r.id_cmd_id = c.id AND r.flag_compassation = '2' ORDER BY r.id DESC LIMIT 1) AS banqueDujour, (SELECT IFNULL(SUM(r.montant),0) FROM reduction r WHERE r.id_cmd_id = c.id AND r.flag_compassation = '3' ) AS depot FROM commande c LEFT JOIN agent a ON (c.id_ag_id = a.id) LEFT JOIN programme_contenaire ctpr ON (c.id_ct_pr_id = ctpr.id) LEFT JOIN contenaire ct ON (ctpr.id_ct_id = ct.id) WHERE c.id = 7924608 ORDER BY c.id DESC
Parameters:
[] |
| 371 | 0.28 ms |
SELECT t0.id AS id_1, t0.date_chargement AS date_chargement_2, t0.date_depart AS date_depart_3, t0.date_arriver AS date_arriver_4, t0.date_operation AS date_operation_5, t0.nom_bateau AS nom_bateau_6, t0.id_ag AS id_ag_7, t0.flag AS flag_8, t0.numero_contenaire AS numero_contenaire_9, t0.transporteur AS transporteur_10, t0.complet_flag AS complet_flag_11, t0.proprietaire_conteneur AS proprietaire_conteneur_12, t0.destination AS destination_13, t0.validation AS validation_14, t0.depenses_prevue AS depenses_prevue_15, t0.remarque_conteneur AS remarque_conteneur_16, t0.is_mco AS is_mco_17, t0.is_rapport AS is_rapport_18, t0.date_rapport_at AS date_rapport_at_19, t0.is_clients AS is_clients_20, t0.rapport AS rapport_21, t0.is_electronique AS is_electronique_22, t0.date_validation AS date_validation_23, t0.is_notifier AS is_notifier_24, t0.fin AS fin_25, t0.date_validation_fin AS date_validation_fin_26, t0.dateattribution AS dateattribution_27, t0.paye_gestionnaire AS paye_gestionnaire_28, t0.id_ct_id AS id_ct_id_29, t0.id_ville_id AS id_ville_id_30, t0.ville_initiale_id AS ville_initiale_id_31, t0.agent_gestionnaire_id AS agent_gestionnaire_id_32 FROM programme_contenaire t0 WHERE t0.id = ?
Parameters:
[
5417
]
|
| 372 | 0.16 ms |
SELECT t0.id AS id_1, t0.lieu AS lieu_2, t0.id_position AS id_position_3, t0.date_operation AS date_operation_4, t0.position_actuelle_flag AS position_actuelle_flag_5, t0.id_ct_pr_id AS id_ct_pr_id_6 FROM suivi_contenaire t0 WHERE t0.id_ct_pr_id = ?
Parameters:
[
5417
]
|
| 373 | 0.14 ms |
SELECT t0.id AS id_1, t0.created_at AS created_at_2, t0.commentaire AS commentaire_3, t0.suivi_id AS suivi_id_4, t0.sous_position_id AS sous_position_id_5 FROM sous_suivi t0 WHERE t0.suivi_id = ?
Parameters:
[
7815
]
|
| 374 | 0.13 ms |
SELECT t0.id AS id_1, t0.quantite AS quantite_2, t0.sortie_at AS sortie_at_3, t0.remarque AS remarque_4, t0.noms AS noms_5, t0.telephone AS telephone_6, t0.plaque AS plaque_7, t0.commande_id AS commande_id_8, t0.user_id AS user_id_9 FROM depot t0 WHERE t0.commande_id = ?
Parameters:
[
7924608
]
|
| 375 | 0.16 ms |
SELECT t0.id AS id_1, t0.volume AS volume_2, t0.prix_unit AS prix_unit_3, t0.unite AS unite_4, t0.modification AS modification_5, t0.commande_id AS commande_id_6 FROM tmp_volume t0 WHERE t0.commande_id = ?
Parameters:
[
7924608
]
|
| 376 | 0.14 ms |
SELECT t0.id AS id_1, t0.libelle AS libelle_2, t0.montant AS montant_3, t0.modification AS modification_4, t0.commande_id AS commande_id_5 FROM autre_frais t0 WHERE t0.commande_id = ?
Parameters:
[
7924608
]
|
| 377 | 1.69 ms |
SELECT t0.id AS id_1, t0.montant AS montant_2, t0.date_operation AS date_operation_3, t0.motif AS motif_4, t0.flag_compassation AS flag_compassation_5, t0.fichier_banque AS fichier_banque_6, t0.id_cmd_id AS id_cmd_id_7, t0.id_ag_id AS id_ag_id_8 FROM reduction t0 WHERE t0.id_cmd_id = ?
Parameters:
[
7924608
]
|
| 378 | 0.16 ms |
SELECT t0.id AS id_1, t0.montant AS montant_2, t0.date_operation AS date_operation_3, t0.flag_en_avance AS flag_en_avance_4, t0.id_cmd_id AS id_cmd_id_5, t0.id_ag_id AS id_ag_id_6 FROM paiement t0 WHERE t0.id_cmd_id = ?
Parameters:
[
7924608
]
|
| 379 | 0.14 ms |
SELECT t0.id AS id_1, t0.qte AS qte_2, t0.libelle AS libelle_3, t0.modification AS modification_4, t0.commande_id AS commande_id_5 FROM tmp_marchandise t0 WHERE t0.commande_id = ?
Parameters:
[
7924608
]
|
| 380 | 0.12 ms |
SELECT t0.id AS id_1, t0.nom_contenaire AS nom_contenaire_2 FROM contenaire t0 WHERE t0.id = ?
Parameters:
[
5558
]
|
| 381 | 5.12 ms |
SELECT *,c.id AS idCommande, (SELECT nom_ag FROM agent a WHERE a.id = c.id_cl_id ) AS nom_client, (SELECT IFNULL(SUM(ROUND(tV.prix_unit * tV.volume)),0) FROM tmp_volume tV WHERE c.id = tV.commande_id ) AS pritotal, (SELECT MAX(p.id) AS maxid FROM paiement p WHERE p.id_cmd_id = c.id ) AS idFacture, (SELECT IFNULL(SUM(p.montant),0) FROM paiement p WHERE p.id_cmd_id = c.id AND p.flag_en_avance = 0 ) AS dejaPaie, (SELECT IFNULL(SUM(p.montant),0) FROM paiement p WHERE p.id_cmd_id = c.id AND p.flag_en_avance = 1 ) AS paieEnAvance, (SELECT IFNULL(SUM(atF.montant),0) FROM autre_frais atF WHERE atF.commande_id = c.id ) AS AutresFrais, (SELECT IFNULL(SUM(r.montant),0) FROM reduction r WHERE r.id_cmd_id = c.id AND r.flag_compassation = '0') AS reduction, (SELECT IFNULL(SUM(r.montant),0) FROM reduction r WHERE r.id_cmd_id = c.id AND r.flag_compassation = '1' ) AS compassation, (SELECT IFNULL(SUM(r.montant),0) FROM reduction r WHERE r.id_cmd_id = c.id AND r.flag_compassation = '2' ) AS banque, (SELECT r.montant FROM reduction r WHERE r.id_cmd_id = c.id AND r.flag_compassation = '2' ORDER BY r.id DESC LIMIT 1) AS banqueDujour, (SELECT IFNULL(SUM(r.montant),0) FROM reduction r WHERE r.id_cmd_id = c.id AND r.flag_compassation = '3' ) AS depot FROM commande c LEFT JOIN agent a ON (c.id_ag_id = a.id) LEFT JOIN programme_contenaire ctpr ON (c.id_ct_pr_id = ctpr.id) LEFT JOIN contenaire ct ON (ctpr.id_ct_id = ct.id) WHERE c.id = 7924700 ORDER BY c.id DESC
Parameters:
[] |
| 382 | 0.22 ms |
SELECT t0.id AS id_1, t0.date_chargement AS date_chargement_2, t0.date_depart AS date_depart_3, t0.date_arriver AS date_arriver_4, t0.date_operation AS date_operation_5, t0.nom_bateau AS nom_bateau_6, t0.id_ag AS id_ag_7, t0.flag AS flag_8, t0.numero_contenaire AS numero_contenaire_9, t0.transporteur AS transporteur_10, t0.complet_flag AS complet_flag_11, t0.proprietaire_conteneur AS proprietaire_conteneur_12, t0.destination AS destination_13, t0.validation AS validation_14, t0.depenses_prevue AS depenses_prevue_15, t0.remarque_conteneur AS remarque_conteneur_16, t0.is_mco AS is_mco_17, t0.is_rapport AS is_rapport_18, t0.date_rapport_at AS date_rapport_at_19, t0.is_clients AS is_clients_20, t0.rapport AS rapport_21, t0.is_electronique AS is_electronique_22, t0.date_validation AS date_validation_23, t0.is_notifier AS is_notifier_24, t0.fin AS fin_25, t0.date_validation_fin AS date_validation_fin_26, t0.dateattribution AS dateattribution_27, t0.paye_gestionnaire AS paye_gestionnaire_28, t0.id_ct_id AS id_ct_id_29, t0.id_ville_id AS id_ville_id_30, t0.ville_initiale_id AS ville_initiale_id_31, t0.agent_gestionnaire_id AS agent_gestionnaire_id_32 FROM programme_contenaire t0 WHERE t0.id = ?
Parameters:
[
5416
]
|
| 383 | 0.16 ms |
SELECT t0.id AS id_1, t0.lieu AS lieu_2, t0.id_position AS id_position_3, t0.date_operation AS date_operation_4, t0.position_actuelle_flag AS position_actuelle_flag_5, t0.id_ct_pr_id AS id_ct_pr_id_6 FROM suivi_contenaire t0 WHERE t0.id_ct_pr_id = ?
Parameters:
[
5416
]
|
| 384 | 0.16 ms |
SELECT t0.id AS id_1, t0.created_at AS created_at_2, t0.commentaire AS commentaire_3, t0.suivi_id AS suivi_id_4, t0.sous_position_id AS sous_position_id_5 FROM sous_suivi t0 WHERE t0.suivi_id = ?
Parameters:
[
7814
]
|
| 385 | 0.15 ms |
SELECT t0.id AS id_1, t0.created_at AS created_at_2, t0.commentaire AS commentaire_3, t0.suivi_id AS suivi_id_4, t0.sous_position_id AS sous_position_id_5 FROM sous_suivi t0 WHERE t0.suivi_id = ?
Parameters:
[
8468
]
|
| 386 | 0.17 ms |
SELECT t0.id AS id_1, t0.quantite AS quantite_2, t0.sortie_at AS sortie_at_3, t0.remarque AS remarque_4, t0.noms AS noms_5, t0.telephone AS telephone_6, t0.plaque AS plaque_7, t0.commande_id AS commande_id_8, t0.user_id AS user_id_9 FROM depot t0 WHERE t0.commande_id = ?
Parameters:
[
7924700
]
|
| 387 | 0.17 ms |
SELECT t0.id AS id_1, t0.volume AS volume_2, t0.prix_unit AS prix_unit_3, t0.unite AS unite_4, t0.modification AS modification_5, t0.commande_id AS commande_id_6 FROM tmp_volume t0 WHERE t0.commande_id = ?
Parameters:
[
7924700
]
|
| 388 | 0.14 ms |
SELECT t0.id AS id_1, t0.libelle AS libelle_2, t0.montant AS montant_3, t0.modification AS modification_4, t0.commande_id AS commande_id_5 FROM autre_frais t0 WHERE t0.commande_id = ?
Parameters:
[
7924700
]
|
| 389 | 1.90 ms |
SELECT t0.id AS id_1, t0.montant AS montant_2, t0.date_operation AS date_operation_3, t0.motif AS motif_4, t0.flag_compassation AS flag_compassation_5, t0.fichier_banque AS fichier_banque_6, t0.id_cmd_id AS id_cmd_id_7, t0.id_ag_id AS id_ag_id_8 FROM reduction t0 WHERE t0.id_cmd_id = ?
Parameters:
[
7924700
]
|
| 390 | 0.18 ms |
SELECT t0.id AS id_1, t0.montant AS montant_2, t0.date_operation AS date_operation_3, t0.flag_en_avance AS flag_en_avance_4, t0.id_cmd_id AS id_cmd_id_5, t0.id_ag_id AS id_ag_id_6 FROM paiement t0 WHERE t0.id_cmd_id = ?
Parameters:
[
7924700
]
|
| 391 | 0.18 ms |
SELECT t0.id AS id_1, t0.qte AS qte_2, t0.libelle AS libelle_3, t0.modification AS modification_4, t0.commande_id AS commande_id_5 FROM tmp_marchandise t0 WHERE t0.commande_id = ?
Parameters:
[
7924700
]
|
| 392 | 0.14 ms |
SELECT t0.id AS id_1, t0.nom_contenaire AS nom_contenaire_2 FROM contenaire t0 WHERE t0.id = ?
Parameters:
[
5557
]
|
| 393 | 5.30 ms |
SELECT *,c.id AS idCommande, (SELECT nom_ag FROM agent a WHERE a.id = c.id_cl_id ) AS nom_client, (SELECT IFNULL(SUM(ROUND(tV.prix_unit * tV.volume)),0) FROM tmp_volume tV WHERE c.id = tV.commande_id ) AS pritotal, (SELECT MAX(p.id) AS maxid FROM paiement p WHERE p.id_cmd_id = c.id ) AS idFacture, (SELECT IFNULL(SUM(p.montant),0) FROM paiement p WHERE p.id_cmd_id = c.id AND p.flag_en_avance = 0 ) AS dejaPaie, (SELECT IFNULL(SUM(p.montant),0) FROM paiement p WHERE p.id_cmd_id = c.id AND p.flag_en_avance = 1 ) AS paieEnAvance, (SELECT IFNULL(SUM(atF.montant),0) FROM autre_frais atF WHERE atF.commande_id = c.id ) AS AutresFrais, (SELECT IFNULL(SUM(r.montant),0) FROM reduction r WHERE r.id_cmd_id = c.id AND r.flag_compassation = '0') AS reduction, (SELECT IFNULL(SUM(r.montant),0) FROM reduction r WHERE r.id_cmd_id = c.id AND r.flag_compassation = '1' ) AS compassation, (SELECT IFNULL(SUM(r.montant),0) FROM reduction r WHERE r.id_cmd_id = c.id AND r.flag_compassation = '2' ) AS banque, (SELECT r.montant FROM reduction r WHERE r.id_cmd_id = c.id AND r.flag_compassation = '2' ORDER BY r.id DESC LIMIT 1) AS banqueDujour, (SELECT IFNULL(SUM(r.montant),0) FROM reduction r WHERE r.id_cmd_id = c.id AND r.flag_compassation = '3' ) AS depot FROM commande c LEFT JOIN agent a ON (c.id_ag_id = a.id) LEFT JOIN programme_contenaire ctpr ON (c.id_ct_pr_id = ctpr.id) LEFT JOIN contenaire ct ON (ctpr.id_ct_id = ct.id) WHERE c.id = 7924462 ORDER BY c.id DESC
Parameters:
[] |
| 394 | 0.27 ms |
SELECT t0.id AS id_1, t0.date_chargement AS date_chargement_2, t0.date_depart AS date_depart_3, t0.date_arriver AS date_arriver_4, t0.date_operation AS date_operation_5, t0.nom_bateau AS nom_bateau_6, t0.id_ag AS id_ag_7, t0.flag AS flag_8, t0.numero_contenaire AS numero_contenaire_9, t0.transporteur AS transporteur_10, t0.complet_flag AS complet_flag_11, t0.proprietaire_conteneur AS proprietaire_conteneur_12, t0.destination AS destination_13, t0.validation AS validation_14, t0.depenses_prevue AS depenses_prevue_15, t0.remarque_conteneur AS remarque_conteneur_16, t0.is_mco AS is_mco_17, t0.is_rapport AS is_rapport_18, t0.date_rapport_at AS date_rapport_at_19, t0.is_clients AS is_clients_20, t0.rapport AS rapport_21, t0.is_electronique AS is_electronique_22, t0.date_validation AS date_validation_23, t0.is_notifier AS is_notifier_24, t0.fin AS fin_25, t0.date_validation_fin AS date_validation_fin_26, t0.dateattribution AS dateattribution_27, t0.paye_gestionnaire AS paye_gestionnaire_28, t0.id_ct_id AS id_ct_id_29, t0.id_ville_id AS id_ville_id_30, t0.ville_initiale_id AS ville_initiale_id_31, t0.agent_gestionnaire_id AS agent_gestionnaire_id_32 FROM programme_contenaire t0 WHERE t0.id = ?
Parameters:
[
5413
]
|
| 395 | 0.20 ms |
SELECT t0.id AS id_1, t0.lieu AS lieu_2, t0.id_position AS id_position_3, t0.date_operation AS date_operation_4, t0.position_actuelle_flag AS position_actuelle_flag_5, t0.id_ct_pr_id AS id_ct_pr_id_6 FROM suivi_contenaire t0 WHERE t0.id_ct_pr_id = ?
Parameters:
[
5413
]
|
| 396 | 0.17 ms |
SELECT t0.id AS id_1, t0.created_at AS created_at_2, t0.commentaire AS commentaire_3, t0.suivi_id AS suivi_id_4, t0.sous_position_id AS sous_position_id_5 FROM sous_suivi t0 WHERE t0.suivi_id = ?
Parameters:
[
7811
]
|
| 397 | 0.20 ms |
SELECT t0.id AS id_1, t0.created_at AS created_at_2, t0.commentaire AS commentaire_3, t0.suivi_id AS suivi_id_4, t0.sous_position_id AS sous_position_id_5 FROM sous_suivi t0 WHERE t0.suivi_id = ?
Parameters:
[
8439
]
|
| 398 | 0.29 ms |
SELECT t0.id AS id_1, t0.created_at AS created_at_2, t0.commentaire AS commentaire_3, t0.suivi_id AS suivi_id_4, t0.sous_position_id AS sous_position_id_5 FROM sous_suivi t0 WHERE t0.suivi_id = ?
Parameters:
[
8477
]
|
| 399 | 0.19 ms |
SELECT t0.id AS id_1, t0.libelle AS libelle_2, t0.message_client AS message_client_3, t0.niveau AS niveau_4, t0.track_position_id AS track_position_id_5 FROM sous_position t0 WHERE t0.id = ?
Parameters:
[
269
]
|
| 400 | 0.18 ms |
SELECT t0.id AS id_1, t0.created_at AS created_at_2, t0.commentaire AS commentaire_3, t0.suivi_id AS suivi_id_4, t0.sous_position_id AS sous_position_id_5 FROM sous_suivi t0 WHERE t0.suivi_id = ?
Parameters:
[
8518
]
|
| 401 | 0.16 ms |
SELECT t0.id AS id_1, t0.libelle AS libelle_2, t0.message_client AS message_client_3, t0.niveau AS niveau_4, t0.track_position_id AS track_position_id_5 FROM sous_position t0 WHERE t0.id = ?
Parameters:
[
295
]
|
| 402 | 0.18 ms |
SELECT t0.id AS id_1, t0.quantite AS quantite_2, t0.sortie_at AS sortie_at_3, t0.remarque AS remarque_4, t0.noms AS noms_5, t0.telephone AS telephone_6, t0.plaque AS plaque_7, t0.commande_id AS commande_id_8, t0.user_id AS user_id_9 FROM depot t0 WHERE t0.commande_id = ?
Parameters:
[
7924462
]
|
| 403 | 0.19 ms |
SELECT t0.id AS id_1, t0.volume AS volume_2, t0.prix_unit AS prix_unit_3, t0.unite AS unite_4, t0.modification AS modification_5, t0.commande_id AS commande_id_6 FROM tmp_volume t0 WHERE t0.commande_id = ?
Parameters:
[
7924462
]
|
| 404 | 0.19 ms |
SELECT t0.id AS id_1, t0.libelle AS libelle_2, t0.montant AS montant_3, t0.modification AS modification_4, t0.commande_id AS commande_id_5 FROM autre_frais t0 WHERE t0.commande_id = ?
Parameters:
[
7924462
]
|
| 405 | 1.98 ms |
SELECT t0.id AS id_1, t0.montant AS montant_2, t0.date_operation AS date_operation_3, t0.motif AS motif_4, t0.flag_compassation AS flag_compassation_5, t0.fichier_banque AS fichier_banque_6, t0.id_cmd_id AS id_cmd_id_7, t0.id_ag_id AS id_ag_id_8 FROM reduction t0 WHERE t0.id_cmd_id = ?
Parameters:
[
7924462
]
|
| 406 | 0.16 ms |
SELECT t0.id AS id_1, t0.montant AS montant_2, t0.date_operation AS date_operation_3, t0.flag_en_avance AS flag_en_avance_4, t0.id_cmd_id AS id_cmd_id_5, t0.id_ag_id AS id_ag_id_6 FROM paiement t0 WHERE t0.id_cmd_id = ?
Parameters:
[
7924462
]
|
| 407 | 0.19 ms |
SELECT t0.id AS id_1, t0.qte AS qte_2, t0.libelle AS libelle_3, t0.modification AS modification_4, t0.commande_id AS commande_id_5 FROM tmp_marchandise t0 WHERE t0.commande_id = ?
Parameters:
[
7924462
]
|
| 408 | 0.13 ms |
SELECT t0.id AS id_1, t0.nom_contenaire AS nom_contenaire_2 FROM contenaire t0 WHERE t0.id = ?
Parameters:
[
5539
]
|
| 409 | 5.91 ms |
SELECT *,c.id AS idCommande, (SELECT nom_ag FROM agent a WHERE a.id = c.id_cl_id ) AS nom_client, (SELECT IFNULL(SUM(ROUND(tV.prix_unit * tV.volume)),0) FROM tmp_volume tV WHERE c.id = tV.commande_id ) AS pritotal, (SELECT MAX(p.id) AS maxid FROM paiement p WHERE p.id_cmd_id = c.id ) AS idFacture, (SELECT IFNULL(SUM(p.montant),0) FROM paiement p WHERE p.id_cmd_id = c.id AND p.flag_en_avance = 0 ) AS dejaPaie, (SELECT IFNULL(SUM(p.montant),0) FROM paiement p WHERE p.id_cmd_id = c.id AND p.flag_en_avance = 1 ) AS paieEnAvance, (SELECT IFNULL(SUM(atF.montant),0) FROM autre_frais atF WHERE atF.commande_id = c.id ) AS AutresFrais, (SELECT IFNULL(SUM(r.montant),0) FROM reduction r WHERE r.id_cmd_id = c.id AND r.flag_compassation = '0') AS reduction, (SELECT IFNULL(SUM(r.montant),0) FROM reduction r WHERE r.id_cmd_id = c.id AND r.flag_compassation = '1' ) AS compassation, (SELECT IFNULL(SUM(r.montant),0) FROM reduction r WHERE r.id_cmd_id = c.id AND r.flag_compassation = '2' ) AS banque, (SELECT r.montant FROM reduction r WHERE r.id_cmd_id = c.id AND r.flag_compassation = '2' ORDER BY r.id DESC LIMIT 1) AS banqueDujour, (SELECT IFNULL(SUM(r.montant),0) FROM reduction r WHERE r.id_cmd_id = c.id AND r.flag_compassation = '3' ) AS depot FROM commande c LEFT JOIN agent a ON (c.id_ag_id = a.id) LEFT JOIN programme_contenaire ctpr ON (c.id_ct_pr_id = ctpr.id) LEFT JOIN contenaire ct ON (ctpr.id_ct_id = ct.id) WHERE c.id = 7924140 ORDER BY c.id DESC
Parameters:
[] |
| 410 | 0.24 ms |
SELECT t0.id AS id_1, t0.date_chargement AS date_chargement_2, t0.date_depart AS date_depart_3, t0.date_arriver AS date_arriver_4, t0.date_operation AS date_operation_5, t0.nom_bateau AS nom_bateau_6, t0.id_ag AS id_ag_7, t0.flag AS flag_8, t0.numero_contenaire AS numero_contenaire_9, t0.transporteur AS transporteur_10, t0.complet_flag AS complet_flag_11, t0.proprietaire_conteneur AS proprietaire_conteneur_12, t0.destination AS destination_13, t0.validation AS validation_14, t0.depenses_prevue AS depenses_prevue_15, t0.remarque_conteneur AS remarque_conteneur_16, t0.is_mco AS is_mco_17, t0.is_rapport AS is_rapport_18, t0.date_rapport_at AS date_rapport_at_19, t0.is_clients AS is_clients_20, t0.rapport AS rapport_21, t0.is_electronique AS is_electronique_22, t0.date_validation AS date_validation_23, t0.is_notifier AS is_notifier_24, t0.fin AS fin_25, t0.date_validation_fin AS date_validation_fin_26, t0.dateattribution AS dateattribution_27, t0.paye_gestionnaire AS paye_gestionnaire_28, t0.id_ct_id AS id_ct_id_29, t0.id_ville_id AS id_ville_id_30, t0.ville_initiale_id AS ville_initiale_id_31, t0.agent_gestionnaire_id AS agent_gestionnaire_id_32 FROM programme_contenaire t0 WHERE t0.id = ?
Parameters:
[
5404
]
|
| 411 | 0.16 ms |
SELECT t0.id AS id_1, t0.lieu AS lieu_2, t0.id_position AS id_position_3, t0.date_operation AS date_operation_4, t0.position_actuelle_flag AS position_actuelle_flag_5, t0.id_ct_pr_id AS id_ct_pr_id_6 FROM suivi_contenaire t0 WHERE t0.id_ct_pr_id = ?
Parameters:
[
5404
]
|
| 412 | 0.15 ms |
SELECT t0.id AS id_1, t0.created_at AS created_at_2, t0.commentaire AS commentaire_3, t0.suivi_id AS suivi_id_4, t0.sous_position_id AS sous_position_id_5 FROM sous_suivi t0 WHERE t0.suivi_id = ?
Parameters:
[
7778
]
|
| 413 | 0.14 ms |
SELECT t0.id AS id_1, t0.created_at AS created_at_2, t0.commentaire AS commentaire_3, t0.suivi_id AS suivi_id_4, t0.sous_position_id AS sous_position_id_5 FROM sous_suivi t0 WHERE t0.suivi_id = ?
Parameters:
[
8471
]
|
| 414 | 0.14 ms |
SELECT t0.id AS id_1, t0.quantite AS quantite_2, t0.sortie_at AS sortie_at_3, t0.remarque AS remarque_4, t0.noms AS noms_5, t0.telephone AS telephone_6, t0.plaque AS plaque_7, t0.commande_id AS commande_id_8, t0.user_id AS user_id_9 FROM depot t0 WHERE t0.commande_id = ?
Parameters:
[
7924140
]
|
| 415 | 0.14 ms |
SELECT t0.id AS id_1, t0.volume AS volume_2, t0.prix_unit AS prix_unit_3, t0.unite AS unite_4, t0.modification AS modification_5, t0.commande_id AS commande_id_6 FROM tmp_volume t0 WHERE t0.commande_id = ?
Parameters:
[
7924140
]
|
| 416 | 0.14 ms |
SELECT t0.id AS id_1, t0.libelle AS libelle_2, t0.montant AS montant_3, t0.modification AS modification_4, t0.commande_id AS commande_id_5 FROM autre_frais t0 WHERE t0.commande_id = ?
Parameters:
[
7924140
]
|
| 417 | 1.55 ms |
SELECT t0.id AS id_1, t0.montant AS montant_2, t0.date_operation AS date_operation_3, t0.motif AS motif_4, t0.flag_compassation AS flag_compassation_5, t0.fichier_banque AS fichier_banque_6, t0.id_cmd_id AS id_cmd_id_7, t0.id_ag_id AS id_ag_id_8 FROM reduction t0 WHERE t0.id_cmd_id = ?
Parameters:
[
7924140
]
|
| 418 | 0.16 ms |
SELECT t0.id AS id_1, t0.montant AS montant_2, t0.date_operation AS date_operation_3, t0.flag_en_avance AS flag_en_avance_4, t0.id_cmd_id AS id_cmd_id_5, t0.id_ag_id AS id_ag_id_6 FROM paiement t0 WHERE t0.id_cmd_id = ?
Parameters:
[
7924140
]
|
| 419 | 0.14 ms |
SELECT t0.id AS id_1, t0.qte AS qte_2, t0.libelle AS libelle_3, t0.modification AS modification_4, t0.commande_id AS commande_id_5 FROM tmp_marchandise t0 WHERE t0.commande_id = ?
Parameters:
[
7924140
]
|
| 420 | 0.16 ms |
SELECT t0.id AS id_1, t0.nom_contenaire AS nom_contenaire_2 FROM contenaire t0 WHERE t0.id = ?
Parameters:
[
5545
]
|
| 421 | 5.76 ms |
SELECT *,c.id AS idCommande, (SELECT nom_ag FROM agent a WHERE a.id = c.id_cl_id ) AS nom_client, (SELECT IFNULL(SUM(ROUND(tV.prix_unit * tV.volume)),0) FROM tmp_volume tV WHERE c.id = tV.commande_id ) AS pritotal, (SELECT MAX(p.id) AS maxid FROM paiement p WHERE p.id_cmd_id = c.id ) AS idFacture, (SELECT IFNULL(SUM(p.montant),0) FROM paiement p WHERE p.id_cmd_id = c.id AND p.flag_en_avance = 0 ) AS dejaPaie, (SELECT IFNULL(SUM(p.montant),0) FROM paiement p WHERE p.id_cmd_id = c.id AND p.flag_en_avance = 1 ) AS paieEnAvance, (SELECT IFNULL(SUM(atF.montant),0) FROM autre_frais atF WHERE atF.commande_id = c.id ) AS AutresFrais, (SELECT IFNULL(SUM(r.montant),0) FROM reduction r WHERE r.id_cmd_id = c.id AND r.flag_compassation = '0') AS reduction, (SELECT IFNULL(SUM(r.montant),0) FROM reduction r WHERE r.id_cmd_id = c.id AND r.flag_compassation = '1' ) AS compassation, (SELECT IFNULL(SUM(r.montant),0) FROM reduction r WHERE r.id_cmd_id = c.id AND r.flag_compassation = '2' ) AS banque, (SELECT r.montant FROM reduction r WHERE r.id_cmd_id = c.id AND r.flag_compassation = '2' ORDER BY r.id DESC LIMIT 1) AS banqueDujour, (SELECT IFNULL(SUM(r.montant),0) FROM reduction r WHERE r.id_cmd_id = c.id AND r.flag_compassation = '3' ) AS depot FROM commande c LEFT JOIN agent a ON (c.id_ag_id = a.id) LEFT JOIN programme_contenaire ctpr ON (c.id_ct_pr_id = ctpr.id) LEFT JOIN contenaire ct ON (ctpr.id_ct_id = ct.id) WHERE c.id = 7923829 ORDER BY c.id DESC
Parameters:
[] |
| 422 | 0.23 ms |
SELECT t0.id AS id_1, t0.date_chargement AS date_chargement_2, t0.date_depart AS date_depart_3, t0.date_arriver AS date_arriver_4, t0.date_operation AS date_operation_5, t0.nom_bateau AS nom_bateau_6, t0.id_ag AS id_ag_7, t0.flag AS flag_8, t0.numero_contenaire AS numero_contenaire_9, t0.transporteur AS transporteur_10, t0.complet_flag AS complet_flag_11, t0.proprietaire_conteneur AS proprietaire_conteneur_12, t0.destination AS destination_13, t0.validation AS validation_14, t0.depenses_prevue AS depenses_prevue_15, t0.remarque_conteneur AS remarque_conteneur_16, t0.is_mco AS is_mco_17, t0.is_rapport AS is_rapport_18, t0.date_rapport_at AS date_rapport_at_19, t0.is_clients AS is_clients_20, t0.rapport AS rapport_21, t0.is_electronique AS is_electronique_22, t0.date_validation AS date_validation_23, t0.is_notifier AS is_notifier_24, t0.fin AS fin_25, t0.date_validation_fin AS date_validation_fin_26, t0.dateattribution AS dateattribution_27, t0.paye_gestionnaire AS paye_gestionnaire_28, t0.id_ct_id AS id_ct_id_29, t0.id_ville_id AS id_ville_id_30, t0.ville_initiale_id AS ville_initiale_id_31, t0.agent_gestionnaire_id AS agent_gestionnaire_id_32 FROM programme_contenaire t0 WHERE t0.id = ?
Parameters:
[
5386
]
|
| 423 | 0.24 ms |
SELECT t0.id AS id_1, t0.lieu AS lieu_2, t0.id_position AS id_position_3, t0.date_operation AS date_operation_4, t0.position_actuelle_flag AS position_actuelle_flag_5, t0.id_ct_pr_id AS id_ct_pr_id_6 FROM suivi_contenaire t0 WHERE t0.id_ct_pr_id = ?
Parameters:
[
5386
]
|
| 424 | 0.28 ms |
SELECT t0.id AS id_1, t0.created_at AS created_at_2, t0.commentaire AS commentaire_3, t0.suivi_id AS suivi_id_4, t0.sous_position_id AS sous_position_id_5 FROM sous_suivi t0 WHERE t0.suivi_id = ?
Parameters:
[
7725
]
|
| 425 | 0.17 ms |
SELECT t0.id AS id_1, t0.created_at AS created_at_2, t0.commentaire AS commentaire_3, t0.suivi_id AS suivi_id_4, t0.sous_position_id AS sous_position_id_5 FROM sous_suivi t0 WHERE t0.suivi_id = ?
Parameters:
[
8469
]
|
| 426 | 0.17 ms |
SELECT t0.id AS id_1, t0.created_at AS created_at_2, t0.commentaire AS commentaire_3, t0.suivi_id AS suivi_id_4, t0.sous_position_id AS sous_position_id_5 FROM sous_suivi t0 WHERE t0.suivi_id = ?
Parameters:
[
8525
]
|
| 427 | 0.17 ms |
SELECT t0.id AS id_1, t0.libelle AS libelle_2, t0.message_client AS message_client_3, t0.niveau AS niveau_4, t0.track_position_id AS track_position_id_5 FROM sous_position t0 WHERE t0.id = ?
Parameters:
[
296
]
|
| 428 | 0.19 ms |
SELECT t0.id AS id_1, t0.quantite AS quantite_2, t0.sortie_at AS sortie_at_3, t0.remarque AS remarque_4, t0.noms AS noms_5, t0.telephone AS telephone_6, t0.plaque AS plaque_7, t0.commande_id AS commande_id_8, t0.user_id AS user_id_9 FROM depot t0 WHERE t0.commande_id = ?
Parameters:
[
7923829
]
|
| 429 | 0.17 ms |
SELECT t0.id AS id_1, t0.volume AS volume_2, t0.prix_unit AS prix_unit_3, t0.unite AS unite_4, t0.modification AS modification_5, t0.commande_id AS commande_id_6 FROM tmp_volume t0 WHERE t0.commande_id = ?
Parameters:
[
7923829
]
|
| 430 | 0.17 ms |
SELECT t0.id AS id_1, t0.libelle AS libelle_2, t0.montant AS montant_3, t0.modification AS modification_4, t0.commande_id AS commande_id_5 FROM autre_frais t0 WHERE t0.commande_id = ?
Parameters:
[
7923829
]
|
| 431 | 1.89 ms |
SELECT t0.id AS id_1, t0.montant AS montant_2, t0.date_operation AS date_operation_3, t0.motif AS motif_4, t0.flag_compassation AS flag_compassation_5, t0.fichier_banque AS fichier_banque_6, t0.id_cmd_id AS id_cmd_id_7, t0.id_ag_id AS id_ag_id_8 FROM reduction t0 WHERE t0.id_cmd_id = ?
Parameters:
[
7923829
]
|
| 432 | 0.20 ms |
SELECT t0.id AS id_1, t0.montant AS montant_2, t0.date_operation AS date_operation_3, t0.flag_en_avance AS flag_en_avance_4, t0.id_cmd_id AS id_cmd_id_5, t0.id_ag_id AS id_ag_id_6 FROM paiement t0 WHERE t0.id_cmd_id = ?
Parameters:
[
7923829
]
|
| 433 | 0.16 ms |
SELECT t0.id AS id_1, t0.qte AS qte_2, t0.libelle AS libelle_3, t0.modification AS modification_4, t0.commande_id AS commande_id_5 FROM tmp_marchandise t0 WHERE t0.commande_id = ?
Parameters:
[
7923829
]
|
| 434 | 0.12 ms |
SELECT t0.id AS id_1, t0.nom_contenaire AS nom_contenaire_2 FROM contenaire t0 WHERE t0.id = ?
Parameters:
[
5524
]
|
| 435 | 6.96 ms |
SELECT *,c.id AS idCommande, (SELECT nom_ag FROM agent a WHERE a.id = c.id_cl_id ) AS nom_client, (SELECT IFNULL(SUM(ROUND(tV.prix_unit * tV.volume)),0) FROM tmp_volume tV WHERE c.id = tV.commande_id ) AS pritotal, (SELECT MAX(p.id) AS maxid FROM paiement p WHERE p.id_cmd_id = c.id ) AS idFacture, (SELECT IFNULL(SUM(p.montant),0) FROM paiement p WHERE p.id_cmd_id = c.id AND p.flag_en_avance = 0 ) AS dejaPaie, (SELECT IFNULL(SUM(p.montant),0) FROM paiement p WHERE p.id_cmd_id = c.id AND p.flag_en_avance = 1 ) AS paieEnAvance, (SELECT IFNULL(SUM(atF.montant),0) FROM autre_frais atF WHERE atF.commande_id = c.id ) AS AutresFrais, (SELECT IFNULL(SUM(r.montant),0) FROM reduction r WHERE r.id_cmd_id = c.id AND r.flag_compassation = '0') AS reduction, (SELECT IFNULL(SUM(r.montant),0) FROM reduction r WHERE r.id_cmd_id = c.id AND r.flag_compassation = '1' ) AS compassation, (SELECT IFNULL(SUM(r.montant),0) FROM reduction r WHERE r.id_cmd_id = c.id AND r.flag_compassation = '2' ) AS banque, (SELECT r.montant FROM reduction r WHERE r.id_cmd_id = c.id AND r.flag_compassation = '2' ORDER BY r.id DESC LIMIT 1) AS banqueDujour, (SELECT IFNULL(SUM(r.montant),0) FROM reduction r WHERE r.id_cmd_id = c.id AND r.flag_compassation = '3' ) AS depot FROM commande c LEFT JOIN agent a ON (c.id_ag_id = a.id) LEFT JOIN programme_contenaire ctpr ON (c.id_ct_pr_id = ctpr.id) LEFT JOIN contenaire ct ON (ctpr.id_ct_id = ct.id) WHERE c.id = 7923162 ORDER BY c.id DESC
Parameters:
[] |
| 436 | 0.26 ms |
SELECT t0.id AS id_1, t0.date_chargement AS date_chargement_2, t0.date_depart AS date_depart_3, t0.date_arriver AS date_arriver_4, t0.date_operation AS date_operation_5, t0.nom_bateau AS nom_bateau_6, t0.id_ag AS id_ag_7, t0.flag AS flag_8, t0.numero_contenaire AS numero_contenaire_9, t0.transporteur AS transporteur_10, t0.complet_flag AS complet_flag_11, t0.proprietaire_conteneur AS proprietaire_conteneur_12, t0.destination AS destination_13, t0.validation AS validation_14, t0.depenses_prevue AS depenses_prevue_15, t0.remarque_conteneur AS remarque_conteneur_16, t0.is_mco AS is_mco_17, t0.is_rapport AS is_rapport_18, t0.date_rapport_at AS date_rapport_at_19, t0.is_clients AS is_clients_20, t0.rapport AS rapport_21, t0.is_electronique AS is_electronique_22, t0.date_validation AS date_validation_23, t0.is_notifier AS is_notifier_24, t0.fin AS fin_25, t0.date_validation_fin AS date_validation_fin_26, t0.dateattribution AS dateattribution_27, t0.paye_gestionnaire AS paye_gestionnaire_28, t0.id_ct_id AS id_ct_id_29, t0.id_ville_id AS id_ville_id_30, t0.ville_initiale_id AS ville_initiale_id_31, t0.agent_gestionnaire_id AS agent_gestionnaire_id_32 FROM programme_contenaire t0 WHERE t0.id = ?
Parameters:
[
5341
]
|
| 437 | 0.20 ms |
SELECT t0.id AS id_1, t0.lieu AS lieu_2, t0.id_position AS id_position_3, t0.date_operation AS date_operation_4, t0.position_actuelle_flag AS position_actuelle_flag_5, t0.id_ct_pr_id AS id_ct_pr_id_6 FROM suivi_contenaire t0 WHERE t0.id_ct_pr_id = ?
Parameters:
[
5341
]
|
| 438 | 0.17 ms |
SELECT t0.id AS id_1, t0.created_at AS created_at_2, t0.commentaire AS commentaire_3, t0.suivi_id AS suivi_id_4, t0.sous_position_id AS sous_position_id_5 FROM sous_suivi t0 WHERE t0.suivi_id = ?
Parameters:
[
7678
]
|
| 439 | 0.15 ms |
SELECT t0.id AS id_1, t0.created_at AS created_at_2, t0.commentaire AS commentaire_3, t0.suivi_id AS suivi_id_4, t0.sous_position_id AS sous_position_id_5 FROM sous_suivi t0 WHERE t0.suivi_id = ?
Parameters:
[
8045
]
|
| 440 | 0.15 ms |
SELECT t0.id AS id_1, t0.libelle AS libelle_2, t0.message_client AS message_client_3, t0.niveau AS niveau_4, t0.track_position_id AS track_position_id_5 FROM sous_position t0 WHERE t0.id = ?
Parameters:
[
293
]
|
| 441 | 0.17 ms |
SELECT t0.id AS id_1, t0.created_at AS created_at_2, t0.commentaire AS commentaire_3, t0.suivi_id AS suivi_id_4, t0.sous_position_id AS sous_position_id_5 FROM sous_suivi t0 WHERE t0.suivi_id = ?
Parameters:
[
8140
]
|
| 442 | 0.15 ms |
SELECT t0.id AS id_1, t0.created_at AS created_at_2, t0.commentaire AS commentaire_3, t0.suivi_id AS suivi_id_4, t0.sous_position_id AS sous_position_id_5 FROM sous_suivi t0 WHERE t0.suivi_id = ?
Parameters:
[
8257
]
|
| 443 | 0.18 ms |
SELECT t0.id AS id_1, t0.created_at AS created_at_2, t0.commentaire AS commentaire_3, t0.suivi_id AS suivi_id_4, t0.sous_position_id AS sous_position_id_5 FROM sous_suivi t0 WHERE t0.suivi_id = ?
Parameters:
[
8313
]
|
| 444 | 0.16 ms |
SELECT t0.id AS id_1, t0.created_at AS created_at_2, t0.commentaire AS commentaire_3, t0.suivi_id AS suivi_id_4, t0.sous_position_id AS sous_position_id_5 FROM sous_suivi t0 WHERE t0.suivi_id = ?
Parameters:
[
8388
]
|
| 445 | 0.15 ms |
SELECT t0.id AS id_1, t0.created_at AS created_at_2, t0.commentaire AS commentaire_3, t0.suivi_id AS suivi_id_4, t0.sous_position_id AS sous_position_id_5 FROM sous_suivi t0 WHERE t0.suivi_id = ?
Parameters:
[
8543
]
|
| 446 | 0.14 ms |
SELECT t0.id AS id_1, t0.libelle AS libelle_2, t0.message_client AS message_client_3, t0.niveau AS niveau_4, t0.track_position_id AS track_position_id_5 FROM sous_position t0 WHERE t0.id = ?
Parameters:
[
290
]
|
| 447 | 0.19 ms |
SELECT t0.id AS id_1, t0.quantite AS quantite_2, t0.sortie_at AS sortie_at_3, t0.remarque AS remarque_4, t0.noms AS noms_5, t0.telephone AS telephone_6, t0.plaque AS plaque_7, t0.commande_id AS commande_id_8, t0.user_id AS user_id_9 FROM depot t0 WHERE t0.commande_id = ?
Parameters:
[
7923162
]
|
| 448 | 0.21 ms |
SELECT t0.id AS id_1, t0.volume AS volume_2, t0.prix_unit AS prix_unit_3, t0.unite AS unite_4, t0.modification AS modification_5, t0.commande_id AS commande_id_6 FROM tmp_volume t0 WHERE t0.commande_id = ?
Parameters:
[
7923162
]
|
| 449 | 0.18 ms |
SELECT t0.id AS id_1, t0.libelle AS libelle_2, t0.montant AS montant_3, t0.modification AS modification_4, t0.commande_id AS commande_id_5 FROM autre_frais t0 WHERE t0.commande_id = ?
Parameters:
[
7923162
]
|
| 450 | 2.54 ms |
SELECT t0.id AS id_1, t0.montant AS montant_2, t0.date_operation AS date_operation_3, t0.motif AS motif_4, t0.flag_compassation AS flag_compassation_5, t0.fichier_banque AS fichier_banque_6, t0.id_cmd_id AS id_cmd_id_7, t0.id_ag_id AS id_ag_id_8 FROM reduction t0 WHERE t0.id_cmd_id = ?
Parameters:
[
7923162
]
|
| 451 | 0.22 ms |
SELECT t0.id AS id_1, t0.montant AS montant_2, t0.date_operation AS date_operation_3, t0.flag_en_avance AS flag_en_avance_4, t0.id_cmd_id AS id_cmd_id_5, t0.id_ag_id AS id_ag_id_6 FROM paiement t0 WHERE t0.id_cmd_id = ?
Parameters:
[
7923162
]
|
| 452 | 0.18 ms |
SELECT t0.id AS id_1, t0.qte AS qte_2, t0.libelle AS libelle_3, t0.modification AS modification_4, t0.commande_id AS commande_id_5 FROM tmp_marchandise t0 WHERE t0.commande_id = ?
Parameters:
[
7923162
]
|
| 453 | 0.15 ms |
SELECT t0.id AS id_1, t0.nom_contenaire AS nom_contenaire_2 FROM contenaire t0 WHERE t0.id = ?
Parameters:
[
5472
]
|
| 454 | 8.36 ms |
SELECT *,c.id AS idCommande, (SELECT nom_ag FROM agent a WHERE a.id = c.id_cl_id ) AS nom_client, (SELECT IFNULL(SUM(ROUND(tV.prix_unit * tV.volume)),0) FROM tmp_volume tV WHERE c.id = tV.commande_id ) AS pritotal, (SELECT MAX(p.id) AS maxid FROM paiement p WHERE p.id_cmd_id = c.id ) AS idFacture, (SELECT IFNULL(SUM(p.montant),0) FROM paiement p WHERE p.id_cmd_id = c.id AND p.flag_en_avance = 0 ) AS dejaPaie, (SELECT IFNULL(SUM(p.montant),0) FROM paiement p WHERE p.id_cmd_id = c.id AND p.flag_en_avance = 1 ) AS paieEnAvance, (SELECT IFNULL(SUM(atF.montant),0) FROM autre_frais atF WHERE atF.commande_id = c.id ) AS AutresFrais, (SELECT IFNULL(SUM(r.montant),0) FROM reduction r WHERE r.id_cmd_id = c.id AND r.flag_compassation = '0') AS reduction, (SELECT IFNULL(SUM(r.montant),0) FROM reduction r WHERE r.id_cmd_id = c.id AND r.flag_compassation = '1' ) AS compassation, (SELECT IFNULL(SUM(r.montant),0) FROM reduction r WHERE r.id_cmd_id = c.id AND r.flag_compassation = '2' ) AS banque, (SELECT r.montant FROM reduction r WHERE r.id_cmd_id = c.id AND r.flag_compassation = '2' ORDER BY r.id DESC LIMIT 1) AS banqueDujour, (SELECT IFNULL(SUM(r.montant),0) FROM reduction r WHERE r.id_cmd_id = c.id AND r.flag_compassation = '3' ) AS depot FROM commande c LEFT JOIN agent a ON (c.id_ag_id = a.id) LEFT JOIN programme_contenaire ctpr ON (c.id_ct_pr_id = ctpr.id) LEFT JOIN contenaire ct ON (ctpr.id_ct_id = ct.id) WHERE c.id = 7922854 ORDER BY c.id DESC
Parameters:
[] |
| 455 | 0.32 ms |
SELECT t0.id AS id_1, t0.date_chargement AS date_chargement_2, t0.date_depart AS date_depart_3, t0.date_arriver AS date_arriver_4, t0.date_operation AS date_operation_5, t0.nom_bateau AS nom_bateau_6, t0.id_ag AS id_ag_7, t0.flag AS flag_8, t0.numero_contenaire AS numero_contenaire_9, t0.transporteur AS transporteur_10, t0.complet_flag AS complet_flag_11, t0.proprietaire_conteneur AS proprietaire_conteneur_12, t0.destination AS destination_13, t0.validation AS validation_14, t0.depenses_prevue AS depenses_prevue_15, t0.remarque_conteneur AS remarque_conteneur_16, t0.is_mco AS is_mco_17, t0.is_rapport AS is_rapport_18, t0.date_rapport_at AS date_rapport_at_19, t0.is_clients AS is_clients_20, t0.rapport AS rapport_21, t0.is_electronique AS is_electronique_22, t0.date_validation AS date_validation_23, t0.is_notifier AS is_notifier_24, t0.fin AS fin_25, t0.date_validation_fin AS date_validation_fin_26, t0.dateattribution AS dateattribution_27, t0.paye_gestionnaire AS paye_gestionnaire_28, t0.id_ct_id AS id_ct_id_29, t0.id_ville_id AS id_ville_id_30, t0.ville_initiale_id AS ville_initiale_id_31, t0.agent_gestionnaire_id AS agent_gestionnaire_id_32 FROM programme_contenaire t0 WHERE t0.id = ?
Parameters:
[
5152
]
|
| 456 | 0.24 ms |
SELECT t0.id AS id_1, t0.lieu AS lieu_2, t0.id_position AS id_position_3, t0.date_operation AS date_operation_4, t0.position_actuelle_flag AS position_actuelle_flag_5, t0.id_ct_pr_id AS id_ct_pr_id_6 FROM suivi_contenaire t0 WHERE t0.id_ct_pr_id = ?
Parameters:
[
5152
]
|
| 457 | 0.20 ms |
SELECT t0.id AS id_1, t0.created_at AS created_at_2, t0.commentaire AS commentaire_3, t0.suivi_id AS suivi_id_4, t0.sous_position_id AS sous_position_id_5 FROM sous_suivi t0 WHERE t0.suivi_id = ?
Parameters:
[
7683
]
|
| 458 | 0.21 ms |
SELECT t0.id AS id_1, t0.quantite AS quantite_2, t0.sortie_at AS sortie_at_3, t0.remarque AS remarque_4, t0.noms AS noms_5, t0.telephone AS telephone_6, t0.plaque AS plaque_7, t0.commande_id AS commande_id_8, t0.user_id AS user_id_9 FROM depot t0 WHERE t0.commande_id = ?
Parameters:
[
7922854
]
|
| 459 | 0.21 ms |
SELECT t0.id AS id_1, t0.volume AS volume_2, t0.prix_unit AS prix_unit_3, t0.unite AS unite_4, t0.modification AS modification_5, t0.commande_id AS commande_id_6 FROM tmp_volume t0 WHERE t0.commande_id = ?
Parameters:
[
7922854
]
|
| 460 | 0.19 ms |
SELECT t0.id AS id_1, t0.libelle AS libelle_2, t0.montant AS montant_3, t0.modification AS modification_4, t0.commande_id AS commande_id_5 FROM autre_frais t0 WHERE t0.commande_id = ?
Parameters:
[
7922854
]
|
| 461 | 2.08 ms |
SELECT t0.id AS id_1, t0.montant AS montant_2, t0.date_operation AS date_operation_3, t0.motif AS motif_4, t0.flag_compassation AS flag_compassation_5, t0.fichier_banque AS fichier_banque_6, t0.id_cmd_id AS id_cmd_id_7, t0.id_ag_id AS id_ag_id_8 FROM reduction t0 WHERE t0.id_cmd_id = ?
Parameters:
[
7922854
]
|
| 462 | 0.23 ms |
SELECT t0.id AS id_1, t0.montant AS montant_2, t0.date_operation AS date_operation_3, t0.flag_en_avance AS flag_en_avance_4, t0.id_cmd_id AS id_cmd_id_5, t0.id_ag_id AS id_ag_id_6 FROM paiement t0 WHERE t0.id_cmd_id = ?
Parameters:
[
7922854
]
|
| 463 | 0.18 ms |
SELECT t0.id AS id_1, t0.qte AS qte_2, t0.libelle AS libelle_3, t0.modification AS modification_4, t0.commande_id AS commande_id_5 FROM tmp_marchandise t0 WHERE t0.commande_id = ?
Parameters:
[
7922854
]
|
| 464 | 0.16 ms |
SELECT t0.id AS id_1, t0.nom_contenaire AS nom_contenaire_2 FROM contenaire t0 WHERE t0.id = ?
Parameters:
[
5282
]
|
| 465 | 8.63 ms |
SELECT *,c.id AS idCommande, (SELECT nom_ag FROM agent a WHERE a.id = c.id_cl_id ) AS nom_client, (SELECT IFNULL(SUM(ROUND(tV.prix_unit * tV.volume)),0) FROM tmp_volume tV WHERE c.id = tV.commande_id ) AS pritotal, (SELECT MAX(p.id) AS maxid FROM paiement p WHERE p.id_cmd_id = c.id ) AS idFacture, (SELECT IFNULL(SUM(p.montant),0) FROM paiement p WHERE p.id_cmd_id = c.id AND p.flag_en_avance = 0 ) AS dejaPaie, (SELECT IFNULL(SUM(p.montant),0) FROM paiement p WHERE p.id_cmd_id = c.id AND p.flag_en_avance = 1 ) AS paieEnAvance, (SELECT IFNULL(SUM(atF.montant),0) FROM autre_frais atF WHERE atF.commande_id = c.id ) AS AutresFrais, (SELECT IFNULL(SUM(r.montant),0) FROM reduction r WHERE r.id_cmd_id = c.id AND r.flag_compassation = '0') AS reduction, (SELECT IFNULL(SUM(r.montant),0) FROM reduction r WHERE r.id_cmd_id = c.id AND r.flag_compassation = '1' ) AS compassation, (SELECT IFNULL(SUM(r.montant),0) FROM reduction r WHERE r.id_cmd_id = c.id AND r.flag_compassation = '2' ) AS banque, (SELECT r.montant FROM reduction r WHERE r.id_cmd_id = c.id AND r.flag_compassation = '2' ORDER BY r.id DESC LIMIT 1) AS banqueDujour, (SELECT IFNULL(SUM(r.montant),0) FROM reduction r WHERE r.id_cmd_id = c.id AND r.flag_compassation = '3' ) AS depot FROM commande c LEFT JOIN agent a ON (c.id_ag_id = a.id) LEFT JOIN programme_contenaire ctpr ON (c.id_ct_pr_id = ctpr.id) LEFT JOIN contenaire ct ON (ctpr.id_ct_id = ct.id) WHERE c.id = 7922942 ORDER BY c.id DESC
Parameters:
[] |
| 466 | 0.30 ms |
SELECT t0.id AS id_1, t0.date_chargement AS date_chargement_2, t0.date_depart AS date_depart_3, t0.date_arriver AS date_arriver_4, t0.date_operation AS date_operation_5, t0.nom_bateau AS nom_bateau_6, t0.id_ag AS id_ag_7, t0.flag AS flag_8, t0.numero_contenaire AS numero_contenaire_9, t0.transporteur AS transporteur_10, t0.complet_flag AS complet_flag_11, t0.proprietaire_conteneur AS proprietaire_conteneur_12, t0.destination AS destination_13, t0.validation AS validation_14, t0.depenses_prevue AS depenses_prevue_15, t0.remarque_conteneur AS remarque_conteneur_16, t0.is_mco AS is_mco_17, t0.is_rapport AS is_rapport_18, t0.date_rapport_at AS date_rapport_at_19, t0.is_clients AS is_clients_20, t0.rapport AS rapport_21, t0.is_electronique AS is_electronique_22, t0.date_validation AS date_validation_23, t0.is_notifier AS is_notifier_24, t0.fin AS fin_25, t0.date_validation_fin AS date_validation_fin_26, t0.dateattribution AS dateattribution_27, t0.paye_gestionnaire AS paye_gestionnaire_28, t0.id_ct_id AS id_ct_id_29, t0.id_ville_id AS id_ville_id_30, t0.ville_initiale_id AS ville_initiale_id_31, t0.agent_gestionnaire_id AS agent_gestionnaire_id_32 FROM programme_contenaire t0 WHERE t0.id = ?
Parameters:
[
5206
]
|
| 467 | 0.22 ms |
SELECT t0.id AS id_1, t0.lieu AS lieu_2, t0.id_position AS id_position_3, t0.date_operation AS date_operation_4, t0.position_actuelle_flag AS position_actuelle_flag_5, t0.id_ct_pr_id AS id_ct_pr_id_6 FROM suivi_contenaire t0 WHERE t0.id_ct_pr_id = ?
Parameters:
[
5206
]
|
| 468 | 0.17 ms |
SELECT t0.id AS id_1, t0.created_at AS created_at_2, t0.commentaire AS commentaire_3, t0.suivi_id AS suivi_id_4, t0.sous_position_id AS sous_position_id_5 FROM sous_suivi t0 WHERE t0.suivi_id = ?
Parameters:
[
7684
]
|
| 469 | 0.19 ms |
SELECT t0.id AS id_1, t0.quantite AS quantite_2, t0.sortie_at AS sortie_at_3, t0.remarque AS remarque_4, t0.noms AS noms_5, t0.telephone AS telephone_6, t0.plaque AS plaque_7, t0.commande_id AS commande_id_8, t0.user_id AS user_id_9 FROM depot t0 WHERE t0.commande_id = ?
Parameters:
[
7922942
]
|
| 470 | 0.17 ms |
SELECT t0.id AS id_1, t0.volume AS volume_2, t0.prix_unit AS prix_unit_3, t0.unite AS unite_4, t0.modification AS modification_5, t0.commande_id AS commande_id_6 FROM tmp_volume t0 WHERE t0.commande_id = ?
Parameters:
[
7922942
]
|
| 471 | 0.17 ms |
SELECT t0.id AS id_1, t0.libelle AS libelle_2, t0.montant AS montant_3, t0.modification AS modification_4, t0.commande_id AS commande_id_5 FROM autre_frais t0 WHERE t0.commande_id = ?
Parameters:
[
7922942
]
|
| 472 | 2.52 ms |
SELECT t0.id AS id_1, t0.montant AS montant_2, t0.date_operation AS date_operation_3, t0.motif AS motif_4, t0.flag_compassation AS flag_compassation_5, t0.fichier_banque AS fichier_banque_6, t0.id_cmd_id AS id_cmd_id_7, t0.id_ag_id AS id_ag_id_8 FROM reduction t0 WHERE t0.id_cmd_id = ?
Parameters:
[
7922942
]
|
| 473 | 0.22 ms |
SELECT t0.id AS id_1, t0.montant AS montant_2, t0.date_operation AS date_operation_3, t0.flag_en_avance AS flag_en_avance_4, t0.id_cmd_id AS id_cmd_id_5, t0.id_ag_id AS id_ag_id_6 FROM paiement t0 WHERE t0.id_cmd_id = ?
Parameters:
[
7922942
]
|
| 474 | 0.20 ms |
SELECT t0.id AS id_1, t0.qte AS qte_2, t0.libelle AS libelle_3, t0.modification AS modification_4, t0.commande_id AS commande_id_5 FROM tmp_marchandise t0 WHERE t0.commande_id = ?
Parameters:
[
7922942
]
|
| 475 | 0.16 ms |
SELECT t0.id AS id_1, t0.nom_contenaire AS nom_contenaire_2 FROM contenaire t0 WHERE t0.id = ?
Parameters:
[
5337
]
|
| 476 | 7.32 ms |
SELECT *,c.id AS idCommande, (SELECT nom_ag FROM agent a WHERE a.id = c.id_cl_id ) AS nom_client, (SELECT IFNULL(SUM(ROUND(tV.prix_unit * tV.volume)),0) FROM tmp_volume tV WHERE c.id = tV.commande_id ) AS pritotal, (SELECT MAX(p.id) AS maxid FROM paiement p WHERE p.id_cmd_id = c.id ) AS idFacture, (SELECT IFNULL(SUM(p.montant),0) FROM paiement p WHERE p.id_cmd_id = c.id AND p.flag_en_avance = 0 ) AS dejaPaie, (SELECT IFNULL(SUM(p.montant),0) FROM paiement p WHERE p.id_cmd_id = c.id AND p.flag_en_avance = 1 ) AS paieEnAvance, (SELECT IFNULL(SUM(atF.montant),0) FROM autre_frais atF WHERE atF.commande_id = c.id ) AS AutresFrais, (SELECT IFNULL(SUM(r.montant),0) FROM reduction r WHERE r.id_cmd_id = c.id AND r.flag_compassation = '0') AS reduction, (SELECT IFNULL(SUM(r.montant),0) FROM reduction r WHERE r.id_cmd_id = c.id AND r.flag_compassation = '1' ) AS compassation, (SELECT IFNULL(SUM(r.montant),0) FROM reduction r WHERE r.id_cmd_id = c.id AND r.flag_compassation = '2' ) AS banque, (SELECT r.montant FROM reduction r WHERE r.id_cmd_id = c.id AND r.flag_compassation = '2' ORDER BY r.id DESC LIMIT 1) AS banqueDujour, (SELECT IFNULL(SUM(r.montant),0) FROM reduction r WHERE r.id_cmd_id = c.id AND r.flag_compassation = '3' ) AS depot FROM commande c LEFT JOIN agent a ON (c.id_ag_id = a.id) LEFT JOIN programme_contenaire ctpr ON (c.id_ct_pr_id = ctpr.id) LEFT JOIN contenaire ct ON (ctpr.id_ct_id = ct.id) WHERE c.id = 7922366 ORDER BY c.id DESC
Parameters:
[] |
| 477 | 0.25 ms |
SELECT t0.id AS id_1, t0.date_chargement AS date_chargement_2, t0.date_depart AS date_depart_3, t0.date_arriver AS date_arriver_4, t0.date_operation AS date_operation_5, t0.nom_bateau AS nom_bateau_6, t0.id_ag AS id_ag_7, t0.flag AS flag_8, t0.numero_contenaire AS numero_contenaire_9, t0.transporteur AS transporteur_10, t0.complet_flag AS complet_flag_11, t0.proprietaire_conteneur AS proprietaire_conteneur_12, t0.destination AS destination_13, t0.validation AS validation_14, t0.depenses_prevue AS depenses_prevue_15, t0.remarque_conteneur AS remarque_conteneur_16, t0.is_mco AS is_mco_17, t0.is_rapport AS is_rapport_18, t0.date_rapport_at AS date_rapport_at_19, t0.is_clients AS is_clients_20, t0.rapport AS rapport_21, t0.is_electronique AS is_electronique_22, t0.date_validation AS date_validation_23, t0.is_notifier AS is_notifier_24, t0.fin AS fin_25, t0.date_validation_fin AS date_validation_fin_26, t0.dateattribution AS dateattribution_27, t0.paye_gestionnaire AS paye_gestionnaire_28, t0.id_ct_id AS id_ct_id_29, t0.id_ville_id AS id_ville_id_30, t0.ville_initiale_id AS ville_initiale_id_31, t0.agent_gestionnaire_id AS agent_gestionnaire_id_32 FROM programme_contenaire t0 WHERE t0.id = ?
Parameters:
[
5299
]
|
| 478 | 0.21 ms |
SELECT t0.id AS id_1, t0.lieu AS lieu_2, t0.id_position AS id_position_3, t0.date_operation AS date_operation_4, t0.position_actuelle_flag AS position_actuelle_flag_5, t0.id_ct_pr_id AS id_ct_pr_id_6 FROM suivi_contenaire t0 WHERE t0.id_ct_pr_id = ?
Parameters:
[
5299
]
|
| 479 | 0.20 ms |
SELECT t0.id AS id_1, t0.created_at AS created_at_2, t0.commentaire AS commentaire_3, t0.suivi_id AS suivi_id_4, t0.sous_position_id AS sous_position_id_5 FROM sous_suivi t0 WHERE t0.suivi_id = ?
Parameters:
[
7593
]
|
| 480 | 0.19 ms |
SELECT t0.id AS id_1, t0.created_at AS created_at_2, t0.commentaire AS commentaire_3, t0.suivi_id AS suivi_id_4, t0.sous_position_id AS sous_position_id_5 FROM sous_suivi t0 WHERE t0.suivi_id = ?
Parameters:
[
8380
]
|
| 481 | 0.18 ms |
SELECT t0.id AS id_1, t0.created_at AS created_at_2, t0.commentaire AS commentaire_3, t0.suivi_id AS suivi_id_4, t0.sous_position_id AS sous_position_id_5 FROM sous_suivi t0 WHERE t0.suivi_id = ?
Parameters:
[
8446
]
|
| 482 | 0.18 ms |
SELECT t0.id AS id_1, t0.created_at AS created_at_2, t0.commentaire AS commentaire_3, t0.suivi_id AS suivi_id_4, t0.sous_position_id AS sous_position_id_5 FROM sous_suivi t0 WHERE t0.suivi_id = ?
Parameters:
[
8485
]
|
| 483 | 0.20 ms |
SELECT t0.id AS id_1, t0.quantite AS quantite_2, t0.sortie_at AS sortie_at_3, t0.remarque AS remarque_4, t0.noms AS noms_5, t0.telephone AS telephone_6, t0.plaque AS plaque_7, t0.commande_id AS commande_id_8, t0.user_id AS user_id_9 FROM depot t0 WHERE t0.commande_id = ?
Parameters:
[
7922366
]
|
| 484 | 0.16 ms |
SELECT t0.id AS id_1, t0.volume AS volume_2, t0.prix_unit AS prix_unit_3, t0.unite AS unite_4, t0.modification AS modification_5, t0.commande_id AS commande_id_6 FROM tmp_volume t0 WHERE t0.commande_id = ?
Parameters:
[
7922366
]
|
| 485 | 0.20 ms |
SELECT t0.id AS id_1, t0.libelle AS libelle_2, t0.montant AS montant_3, t0.modification AS modification_4, t0.commande_id AS commande_id_5 FROM autre_frais t0 WHERE t0.commande_id = ?
Parameters:
[
7922366
]
|
| 486 | 2.12 ms |
SELECT t0.id AS id_1, t0.montant AS montant_2, t0.date_operation AS date_operation_3, t0.motif AS motif_4, t0.flag_compassation AS flag_compassation_5, t0.fichier_banque AS fichier_banque_6, t0.id_cmd_id AS id_cmd_id_7, t0.id_ag_id AS id_ag_id_8 FROM reduction t0 WHERE t0.id_cmd_id = ?
Parameters:
[
7922366
]
|
| 487 | 0.21 ms |
SELECT t0.id AS id_1, t0.montant AS montant_2, t0.date_operation AS date_operation_3, t0.flag_en_avance AS flag_en_avance_4, t0.id_cmd_id AS id_cmd_id_5, t0.id_ag_id AS id_ag_id_6 FROM paiement t0 WHERE t0.id_cmd_id = ?
Parameters:
[
7922366
]
|
| 488 | 0.20 ms |
SELECT t0.id AS id_1, t0.qte AS qte_2, t0.libelle AS libelle_3, t0.modification AS modification_4, t0.commande_id AS commande_id_5 FROM tmp_marchandise t0 WHERE t0.commande_id = ?
Parameters:
[
7922366
]
|
| 489 | 0.17 ms |
SELECT t0.id AS id_1, t0.nom_contenaire AS nom_contenaire_2 FROM contenaire t0 WHERE t0.id = ?
Parameters:
[
5435
]
|
| 490 | 5.39 ms |
SELECT *,c.id AS idCommande, (SELECT nom_ag FROM agent a WHERE a.id = c.id_cl_id ) AS nom_client, (SELECT IFNULL(SUM(ROUND(tV.prix_unit * tV.volume)),0) FROM tmp_volume tV WHERE c.id = tV.commande_id ) AS pritotal, (SELECT MAX(p.id) AS maxid FROM paiement p WHERE p.id_cmd_id = c.id ) AS idFacture, (SELECT IFNULL(SUM(p.montant),0) FROM paiement p WHERE p.id_cmd_id = c.id AND p.flag_en_avance = 0 ) AS dejaPaie, (SELECT IFNULL(SUM(p.montant),0) FROM paiement p WHERE p.id_cmd_id = c.id AND p.flag_en_avance = 1 ) AS paieEnAvance, (SELECT IFNULL(SUM(atF.montant),0) FROM autre_frais atF WHERE atF.commande_id = c.id ) AS AutresFrais, (SELECT IFNULL(SUM(r.montant),0) FROM reduction r WHERE r.id_cmd_id = c.id AND r.flag_compassation = '0') AS reduction, (SELECT IFNULL(SUM(r.montant),0) FROM reduction r WHERE r.id_cmd_id = c.id AND r.flag_compassation = '1' ) AS compassation, (SELECT IFNULL(SUM(r.montant),0) FROM reduction r WHERE r.id_cmd_id = c.id AND r.flag_compassation = '2' ) AS banque, (SELECT r.montant FROM reduction r WHERE r.id_cmd_id = c.id AND r.flag_compassation = '2' ORDER BY r.id DESC LIMIT 1) AS banqueDujour, (SELECT IFNULL(SUM(r.montant),0) FROM reduction r WHERE r.id_cmd_id = c.id AND r.flag_compassation = '3' ) AS depot FROM commande c LEFT JOIN agent a ON (c.id_ag_id = a.id) LEFT JOIN programme_contenaire ctpr ON (c.id_ct_pr_id = ctpr.id) LEFT JOIN contenaire ct ON (ctpr.id_ct_id = ct.id) WHERE c.id = 7920944 ORDER BY c.id DESC
Parameters:
[] |
| 491 | 0.32 ms |
SELECT t0.id AS id_1, t0.date_chargement AS date_chargement_2, t0.date_depart AS date_depart_3, t0.date_arriver AS date_arriver_4, t0.date_operation AS date_operation_5, t0.nom_bateau AS nom_bateau_6, t0.id_ag AS id_ag_7, t0.flag AS flag_8, t0.numero_contenaire AS numero_contenaire_9, t0.transporteur AS transporteur_10, t0.complet_flag AS complet_flag_11, t0.proprietaire_conteneur AS proprietaire_conteneur_12, t0.destination AS destination_13, t0.validation AS validation_14, t0.depenses_prevue AS depenses_prevue_15, t0.remarque_conteneur AS remarque_conteneur_16, t0.is_mco AS is_mco_17, t0.is_rapport AS is_rapport_18, t0.date_rapport_at AS date_rapport_at_19, t0.is_clients AS is_clients_20, t0.rapport AS rapport_21, t0.is_electronique AS is_electronique_22, t0.date_validation AS date_validation_23, t0.is_notifier AS is_notifier_24, t0.fin AS fin_25, t0.date_validation_fin AS date_validation_fin_26, t0.dateattribution AS dateattribution_27, t0.paye_gestionnaire AS paye_gestionnaire_28, t0.id_ct_id AS id_ct_id_29, t0.id_ville_id AS id_ville_id_30, t0.ville_initiale_id AS ville_initiale_id_31, t0.agent_gestionnaire_id AS agent_gestionnaire_id_32 FROM programme_contenaire t0 WHERE t0.id = ?
Parameters:
[
5176
]
|
| 492 | 0.19 ms |
SELECT t0.id AS id_1, t0.lieu AS lieu_2, t0.id_position AS id_position_3, t0.date_operation AS date_operation_4, t0.position_actuelle_flag AS position_actuelle_flag_5, t0.id_ct_pr_id AS id_ct_pr_id_6 FROM suivi_contenaire t0 WHERE t0.id_ct_pr_id = ?
Parameters:
[
5176
]
|
| 493 | 0.16 ms |
SELECT t0.id AS id_1, t0.created_at AS created_at_2, t0.commentaire AS commentaire_3, t0.suivi_id AS suivi_id_4, t0.sous_position_id AS sous_position_id_5 FROM sous_suivi t0 WHERE t0.suivi_id = ?
Parameters:
[
7486
]
|
| 494 | 0.16 ms |
SELECT t0.id AS id_1, t0.quantite AS quantite_2, t0.sortie_at AS sortie_at_3, t0.remarque AS remarque_4, t0.noms AS noms_5, t0.telephone AS telephone_6, t0.plaque AS plaque_7, t0.commande_id AS commande_id_8, t0.user_id AS user_id_9 FROM depot t0 WHERE t0.commande_id = ?
Parameters:
[
7920944
]
|
| 495 | 0.19 ms |
SELECT t0.id AS id_1, t0.volume AS volume_2, t0.prix_unit AS prix_unit_3, t0.unite AS unite_4, t0.modification AS modification_5, t0.commande_id AS commande_id_6 FROM tmp_volume t0 WHERE t0.commande_id = ?
Parameters:
[
7920944
]
|
| 496 | 0.14 ms |
SELECT t0.id AS id_1, t0.libelle AS libelle_2, t0.montant AS montant_3, t0.modification AS modification_4, t0.commande_id AS commande_id_5 FROM autre_frais t0 WHERE t0.commande_id = ?
Parameters:
[
7920944
]
|
| 497 | 2.04 ms |
SELECT t0.id AS id_1, t0.montant AS montant_2, t0.date_operation AS date_operation_3, t0.motif AS motif_4, t0.flag_compassation AS flag_compassation_5, t0.fichier_banque AS fichier_banque_6, t0.id_cmd_id AS id_cmd_id_7, t0.id_ag_id AS id_ag_id_8 FROM reduction t0 WHERE t0.id_cmd_id = ?
Parameters:
[
7920944
]
|
| 498 | 0.18 ms |
SELECT t0.id AS id_1, t0.montant AS montant_2, t0.date_operation AS date_operation_3, t0.flag_en_avance AS flag_en_avance_4, t0.id_cmd_id AS id_cmd_id_5, t0.id_ag_id AS id_ag_id_6 FROM paiement t0 WHERE t0.id_cmd_id = ?
Parameters:
[
7920944
]
|
| 499 | 0.19 ms |
SELECT t0.id AS id_1, t0.qte AS qte_2, t0.libelle AS libelle_3, t0.modification AS modification_4, t0.commande_id AS commande_id_5 FROM tmp_marchandise t0 WHERE t0.commande_id = ?
Parameters:
[
7920944
]
|
| 500 | 0.14 ms |
SELECT t0.id AS id_1, t0.nom_contenaire AS nom_contenaire_2 FROM contenaire t0 WHERE t0.id = ?
Parameters:
[
5304
]
|
| 501 | 5.14 ms |
SELECT *,c.id AS idCommande, (SELECT nom_ag FROM agent a WHERE a.id = c.id_cl_id ) AS nom_client, (SELECT IFNULL(SUM(ROUND(tV.prix_unit * tV.volume)),0) FROM tmp_volume tV WHERE c.id = tV.commande_id ) AS pritotal, (SELECT MAX(p.id) AS maxid FROM paiement p WHERE p.id_cmd_id = c.id ) AS idFacture, (SELECT IFNULL(SUM(p.montant),0) FROM paiement p WHERE p.id_cmd_id = c.id AND p.flag_en_avance = 0 ) AS dejaPaie, (SELECT IFNULL(SUM(p.montant),0) FROM paiement p WHERE p.id_cmd_id = c.id AND p.flag_en_avance = 1 ) AS paieEnAvance, (SELECT IFNULL(SUM(atF.montant),0) FROM autre_frais atF WHERE atF.commande_id = c.id ) AS AutresFrais, (SELECT IFNULL(SUM(r.montant),0) FROM reduction r WHERE r.id_cmd_id = c.id AND r.flag_compassation = '0') AS reduction, (SELECT IFNULL(SUM(r.montant),0) FROM reduction r WHERE r.id_cmd_id = c.id AND r.flag_compassation = '1' ) AS compassation, (SELECT IFNULL(SUM(r.montant),0) FROM reduction r WHERE r.id_cmd_id = c.id AND r.flag_compassation = '2' ) AS banque, (SELECT r.montant FROM reduction r WHERE r.id_cmd_id = c.id AND r.flag_compassation = '2' ORDER BY r.id DESC LIMIT 1) AS banqueDujour, (SELECT IFNULL(SUM(r.montant),0) FROM reduction r WHERE r.id_cmd_id = c.id AND r.flag_compassation = '3' ) AS depot FROM commande c LEFT JOIN agent a ON (c.id_ag_id = a.id) LEFT JOIN programme_contenaire ctpr ON (c.id_ct_pr_id = ctpr.id) LEFT JOIN contenaire ct ON (ctpr.id_ct_id = ct.id) WHERE c.id = 7920564 ORDER BY c.id DESC
Parameters:
[] |
| 502 | 0.24 ms |
SELECT t0.id AS id_1, t0.date_chargement AS date_chargement_2, t0.date_depart AS date_depart_3, t0.date_arriver AS date_arriver_4, t0.date_operation AS date_operation_5, t0.nom_bateau AS nom_bateau_6, t0.id_ag AS id_ag_7, t0.flag AS flag_8, t0.numero_contenaire AS numero_contenaire_9, t0.transporteur AS transporteur_10, t0.complet_flag AS complet_flag_11, t0.proprietaire_conteneur AS proprietaire_conteneur_12, t0.destination AS destination_13, t0.validation AS validation_14, t0.depenses_prevue AS depenses_prevue_15, t0.remarque_conteneur AS remarque_conteneur_16, t0.is_mco AS is_mco_17, t0.is_rapport AS is_rapport_18, t0.date_rapport_at AS date_rapport_at_19, t0.is_clients AS is_clients_20, t0.rapport AS rapport_21, t0.is_electronique AS is_electronique_22, t0.date_validation AS date_validation_23, t0.is_notifier AS is_notifier_24, t0.fin AS fin_25, t0.date_validation_fin AS date_validation_fin_26, t0.dateattribution AS dateattribution_27, t0.paye_gestionnaire AS paye_gestionnaire_28, t0.id_ct_id AS id_ct_id_29, t0.id_ville_id AS id_ville_id_30, t0.ville_initiale_id AS ville_initiale_id_31, t0.agent_gestionnaire_id AS agent_gestionnaire_id_32 FROM programme_contenaire t0 WHERE t0.id = ?
Parameters:
[
5150
]
|
| 503 | 0.21 ms |
SELECT t0.id AS id_1, t0.lieu AS lieu_2, t0.id_position AS id_position_3, t0.date_operation AS date_operation_4, t0.position_actuelle_flag AS position_actuelle_flag_5, t0.id_ct_pr_id AS id_ct_pr_id_6 FROM suivi_contenaire t0 WHERE t0.id_ct_pr_id = ?
Parameters:
[
5150
]
|
| 504 | 0.19 ms |
SELECT t0.id AS id_1, t0.created_at AS created_at_2, t0.commentaire AS commentaire_3, t0.suivi_id AS suivi_id_4, t0.sous_position_id AS sous_position_id_5 FROM sous_suivi t0 WHERE t0.suivi_id = ?
Parameters:
[
7446
]
|
| 505 | 0.20 ms |
SELECT t0.id AS id_1, t0.quantite AS quantite_2, t0.sortie_at AS sortie_at_3, t0.remarque AS remarque_4, t0.noms AS noms_5, t0.telephone AS telephone_6, t0.plaque AS plaque_7, t0.commande_id AS commande_id_8, t0.user_id AS user_id_9 FROM depot t0 WHERE t0.commande_id = ?
Parameters:
[
7920564
]
|
| 506 | 0.19 ms |
SELECT t0.id AS id_1, t0.volume AS volume_2, t0.prix_unit AS prix_unit_3, t0.unite AS unite_4, t0.modification AS modification_5, t0.commande_id AS commande_id_6 FROM tmp_volume t0 WHERE t0.commande_id = ?
Parameters:
[
7920564
]
|
| 507 | 0.17 ms |
SELECT t0.id AS id_1, t0.libelle AS libelle_2, t0.montant AS montant_3, t0.modification AS modification_4, t0.commande_id AS commande_id_5 FROM autre_frais t0 WHERE t0.commande_id = ?
Parameters:
[
7920564
]
|
| 508 | 2.56 ms |
SELECT t0.id AS id_1, t0.montant AS montant_2, t0.date_operation AS date_operation_3, t0.motif AS motif_4, t0.flag_compassation AS flag_compassation_5, t0.fichier_banque AS fichier_banque_6, t0.id_cmd_id AS id_cmd_id_7, t0.id_ag_id AS id_ag_id_8 FROM reduction t0 WHERE t0.id_cmd_id = ?
Parameters:
[
7920564
]
|
| 509 | 0.19 ms |
SELECT t0.id AS id_1, t0.montant AS montant_2, t0.date_operation AS date_operation_3, t0.flag_en_avance AS flag_en_avance_4, t0.id_cmd_id AS id_cmd_id_5, t0.id_ag_id AS id_ag_id_6 FROM paiement t0 WHERE t0.id_cmd_id = ?
Parameters:
[
7920564
]
|
| 510 | 0.19 ms |
SELECT t0.id AS id_1, t0.qte AS qte_2, t0.libelle AS libelle_3, t0.modification AS modification_4, t0.commande_id AS commande_id_5 FROM tmp_marchandise t0 WHERE t0.commande_id = ?
Parameters:
[
7920564
]
|
| 511 | 0.16 ms |
SELECT t0.id AS id_1, t0.nom_contenaire AS nom_contenaire_2 FROM contenaire t0 WHERE t0.id = ?
Parameters:
[
5280
]
|
| 512 | 28.64 ms |
SELECT *,c.id AS idCommande, (SELECT nom_ag FROM agent a WHERE a.id = c.id_cl_id ) AS nom_client, (SELECT IFNULL(SUM(ROUND(tV.prix_unit * tV.volume)),0) FROM tmp_volume tV WHERE c.id = tV.commande_id ) AS pritotal, (SELECT MAX(p.id) AS maxid FROM paiement p WHERE p.id_cmd_id = c.id ) AS idFacture, (SELECT IFNULL(SUM(p.montant),0) FROM paiement p WHERE p.id_cmd_id = c.id AND p.flag_en_avance = 0 ) AS dejaPaie, (SELECT IFNULL(SUM(p.montant),0) FROM paiement p WHERE p.id_cmd_id = c.id AND p.flag_en_avance = 1 ) AS paieEnAvance, (SELECT IFNULL(SUM(atF.montant),0) FROM autre_frais atF WHERE atF.commande_id = c.id ) AS AutresFrais, (SELECT IFNULL(SUM(r.montant),0) FROM reduction r WHERE r.id_cmd_id = c.id AND r.flag_compassation = '0') AS reduction, (SELECT IFNULL(SUM(r.montant),0) FROM reduction r WHERE r.id_cmd_id = c.id AND r.flag_compassation = '1' ) AS compassation, (SELECT IFNULL(SUM(r.montant),0) FROM reduction r WHERE r.id_cmd_id = c.id AND r.flag_compassation = '2' ) AS banque, (SELECT r.montant FROM reduction r WHERE r.id_cmd_id = c.id AND r.flag_compassation = '2' ORDER BY r.id DESC LIMIT 1) AS banqueDujour, (SELECT IFNULL(SUM(r.montant),0) FROM reduction r WHERE r.id_cmd_id = c.id AND r.flag_compassation = '3' ) AS depot FROM commande c LEFT JOIN agent a ON (c.id_ag_id = a.id) LEFT JOIN programme_contenaire ctpr ON (c.id_ct_pr_id = ctpr.id) LEFT JOIN contenaire ct ON (ctpr.id_ct_id = ct.id) WHERE c.id = 7920619 ORDER BY c.id DESC
Parameters:
[] |
| 513 | 0.37 ms |
SELECT t0.id AS id_1, t0.date_chargement AS date_chargement_2, t0.date_depart AS date_depart_3, t0.date_arriver AS date_arriver_4, t0.date_operation AS date_operation_5, t0.nom_bateau AS nom_bateau_6, t0.id_ag AS id_ag_7, t0.flag AS flag_8, t0.numero_contenaire AS numero_contenaire_9, t0.transporteur AS transporteur_10, t0.complet_flag AS complet_flag_11, t0.proprietaire_conteneur AS proprietaire_conteneur_12, t0.destination AS destination_13, t0.validation AS validation_14, t0.depenses_prevue AS depenses_prevue_15, t0.remarque_conteneur AS remarque_conteneur_16, t0.is_mco AS is_mco_17, t0.is_rapport AS is_rapport_18, t0.date_rapport_at AS date_rapport_at_19, t0.is_clients AS is_clients_20, t0.rapport AS rapport_21, t0.is_electronique AS is_electronique_22, t0.date_validation AS date_validation_23, t0.is_notifier AS is_notifier_24, t0.fin AS fin_25, t0.date_validation_fin AS date_validation_fin_26, t0.dateattribution AS dateattribution_27, t0.paye_gestionnaire AS paye_gestionnaire_28, t0.id_ct_id AS id_ct_id_29, t0.id_ville_id AS id_ville_id_30, t0.ville_initiale_id AS ville_initiale_id_31, t0.agent_gestionnaire_id AS agent_gestionnaire_id_32 FROM programme_contenaire t0 WHERE t0.id = ?
Parameters:
[
5153
]
|
| 514 | 0.24 ms |
SELECT t0.id AS id_1, t0.lieu AS lieu_2, t0.id_position AS id_position_3, t0.date_operation AS date_operation_4, t0.position_actuelle_flag AS position_actuelle_flag_5, t0.id_ct_pr_id AS id_ct_pr_id_6 FROM suivi_contenaire t0 WHERE t0.id_ct_pr_id = ?
Parameters:
[
5153
]
|
| 515 | 0.22 ms |
SELECT t0.id AS id_1, t0.created_at AS created_at_2, t0.commentaire AS commentaire_3, t0.suivi_id AS suivi_id_4, t0.sous_position_id AS sous_position_id_5 FROM sous_suivi t0 WHERE t0.suivi_id = ?
Parameters:
[
7445
]
|
| 516 | 0.22 ms |
SELECT t0.id AS id_1, t0.quantite AS quantite_2, t0.sortie_at AS sortie_at_3, t0.remarque AS remarque_4, t0.noms AS noms_5, t0.telephone AS telephone_6, t0.plaque AS plaque_7, t0.commande_id AS commande_id_8, t0.user_id AS user_id_9 FROM depot t0 WHERE t0.commande_id = ?
Parameters:
[
7920619
]
|
| 517 | 0.20 ms |
SELECT t0.id AS id_1, t0.volume AS volume_2, t0.prix_unit AS prix_unit_3, t0.unite AS unite_4, t0.modification AS modification_5, t0.commande_id AS commande_id_6 FROM tmp_volume t0 WHERE t0.commande_id = ?
Parameters:
[
7920619
]
|
| 518 | 0.42 ms |
SELECT t0.id AS id_1, t0.libelle AS libelle_2, t0.montant AS montant_3, t0.modification AS modification_4, t0.commande_id AS commande_id_5 FROM autre_frais t0 WHERE t0.commande_id = ?
Parameters:
[
7920619
]
|
| 519 | 2.62 ms |
SELECT t0.id AS id_1, t0.montant AS montant_2, t0.date_operation AS date_operation_3, t0.motif AS motif_4, t0.flag_compassation AS flag_compassation_5, t0.fichier_banque AS fichier_banque_6, t0.id_cmd_id AS id_cmd_id_7, t0.id_ag_id AS id_ag_id_8 FROM reduction t0 WHERE t0.id_cmd_id = ?
Parameters:
[
7920619
]
|
| 520 | 0.20 ms |
SELECT t0.id AS id_1, t0.montant AS montant_2, t0.date_operation AS date_operation_3, t0.flag_en_avance AS flag_en_avance_4, t0.id_cmd_id AS id_cmd_id_5, t0.id_ag_id AS id_ag_id_6 FROM paiement t0 WHERE t0.id_cmd_id = ?
Parameters:
[
7920619
]
|
| 521 | 0.16 ms |
SELECT t0.id AS id_1, t0.qte AS qte_2, t0.libelle AS libelle_3, t0.modification AS modification_4, t0.commande_id AS commande_id_5 FROM tmp_marchandise t0 WHERE t0.commande_id = ?
Parameters:
[
7920619
]
|
| 522 | 0.18 ms |
SELECT t0.id AS id_1, t0.nom_contenaire AS nom_contenaire_2 FROM contenaire t0 WHERE t0.id = ?
Parameters:
[
5283
]
|
| 523 | 9.03 ms |
SELECT *,c.id AS idCommande, (SELECT nom_ag FROM agent a WHERE a.id = c.id_cl_id ) AS nom_client, (SELECT IFNULL(SUM(ROUND(tV.prix_unit * tV.volume)),0) FROM tmp_volume tV WHERE c.id = tV.commande_id ) AS pritotal, (SELECT MAX(p.id) AS maxid FROM paiement p WHERE p.id_cmd_id = c.id ) AS idFacture, (SELECT IFNULL(SUM(p.montant),0) FROM paiement p WHERE p.id_cmd_id = c.id AND p.flag_en_avance = 0 ) AS dejaPaie, (SELECT IFNULL(SUM(p.montant),0) FROM paiement p WHERE p.id_cmd_id = c.id AND p.flag_en_avance = 1 ) AS paieEnAvance, (SELECT IFNULL(SUM(atF.montant),0) FROM autre_frais atF WHERE atF.commande_id = c.id ) AS AutresFrais, (SELECT IFNULL(SUM(r.montant),0) FROM reduction r WHERE r.id_cmd_id = c.id AND r.flag_compassation = '0') AS reduction, (SELECT IFNULL(SUM(r.montant),0) FROM reduction r WHERE r.id_cmd_id = c.id AND r.flag_compassation = '1' ) AS compassation, (SELECT IFNULL(SUM(r.montant),0) FROM reduction r WHERE r.id_cmd_id = c.id AND r.flag_compassation = '2' ) AS banque, (SELECT r.montant FROM reduction r WHERE r.id_cmd_id = c.id AND r.flag_compassation = '2' ORDER BY r.id DESC LIMIT 1) AS banqueDujour, (SELECT IFNULL(SUM(r.montant),0) FROM reduction r WHERE r.id_cmd_id = c.id AND r.flag_compassation = '3' ) AS depot FROM commande c LEFT JOIN agent a ON (c.id_ag_id = a.id) LEFT JOIN programme_contenaire ctpr ON (c.id_ct_pr_id = ctpr.id) LEFT JOIN contenaire ct ON (ctpr.id_ct_id = ct.id) WHERE c.id = 7920291 ORDER BY c.id DESC
Parameters:
[] |
| 524 | 0.32 ms |
SELECT t0.id AS id_1, t0.date_chargement AS date_chargement_2, t0.date_depart AS date_depart_3, t0.date_arriver AS date_arriver_4, t0.date_operation AS date_operation_5, t0.nom_bateau AS nom_bateau_6, t0.id_ag AS id_ag_7, t0.flag AS flag_8, t0.numero_contenaire AS numero_contenaire_9, t0.transporteur AS transporteur_10, t0.complet_flag AS complet_flag_11, t0.proprietaire_conteneur AS proprietaire_conteneur_12, t0.destination AS destination_13, t0.validation AS validation_14, t0.depenses_prevue AS depenses_prevue_15, t0.remarque_conteneur AS remarque_conteneur_16, t0.is_mco AS is_mco_17, t0.is_rapport AS is_rapport_18, t0.date_rapport_at AS date_rapport_at_19, t0.is_clients AS is_clients_20, t0.rapport AS rapport_21, t0.is_electronique AS is_electronique_22, t0.date_validation AS date_validation_23, t0.is_notifier AS is_notifier_24, t0.fin AS fin_25, t0.date_validation_fin AS date_validation_fin_26, t0.dateattribution AS dateattribution_27, t0.paye_gestionnaire AS paye_gestionnaire_28, t0.id_ct_id AS id_ct_id_29, t0.id_ville_id AS id_ville_id_30, t0.ville_initiale_id AS ville_initiale_id_31, t0.agent_gestionnaire_id AS agent_gestionnaire_id_32 FROM programme_contenaire t0 WHERE t0.id = ?
Parameters:
[
5178
]
|
| 525 | 0.21 ms |
SELECT t0.id AS id_1, t0.lieu AS lieu_2, t0.id_position AS id_position_3, t0.date_operation AS date_operation_4, t0.position_actuelle_flag AS position_actuelle_flag_5, t0.id_ct_pr_id AS id_ct_pr_id_6 FROM suivi_contenaire t0 WHERE t0.id_ct_pr_id = ?
Parameters:
[
5178
]
|
| 526 | 0.18 ms |
SELECT t0.id AS id_1, t0.created_at AS created_at_2, t0.commentaire AS commentaire_3, t0.suivi_id AS suivi_id_4, t0.sous_position_id AS sous_position_id_5 FROM sous_suivi t0 WHERE t0.suivi_id = ?
Parameters:
[
7411
]
|
| 527 | 0.17 ms |
SELECT t0.id AS id_1, t0.quantite AS quantite_2, t0.sortie_at AS sortie_at_3, t0.remarque AS remarque_4, t0.noms AS noms_5, t0.telephone AS telephone_6, t0.plaque AS plaque_7, t0.commande_id AS commande_id_8, t0.user_id AS user_id_9 FROM depot t0 WHERE t0.commande_id = ?
Parameters:
[
7920291
]
|
| 528 | 0.18 ms |
SELECT t0.id AS id_1, t0.volume AS volume_2, t0.prix_unit AS prix_unit_3, t0.unite AS unite_4, t0.modification AS modification_5, t0.commande_id AS commande_id_6 FROM tmp_volume t0 WHERE t0.commande_id = ?
Parameters:
[
7920291
]
|
| 529 | 0.17 ms |
SELECT t0.id AS id_1, t0.libelle AS libelle_2, t0.montant AS montant_3, t0.modification AS modification_4, t0.commande_id AS commande_id_5 FROM autre_frais t0 WHERE t0.commande_id = ?
Parameters:
[
7920291
]
|
| 530 | 2.43 ms |
SELECT t0.id AS id_1, t0.montant AS montant_2, t0.date_operation AS date_operation_3, t0.motif AS motif_4, t0.flag_compassation AS flag_compassation_5, t0.fichier_banque AS fichier_banque_6, t0.id_cmd_id AS id_cmd_id_7, t0.id_ag_id AS id_ag_id_8 FROM reduction t0 WHERE t0.id_cmd_id = ?
Parameters:
[
7920291
]
|
| 531 | 0.18 ms |
SELECT t0.id AS id_1, t0.montant AS montant_2, t0.date_operation AS date_operation_3, t0.flag_en_avance AS flag_en_avance_4, t0.id_cmd_id AS id_cmd_id_5, t0.id_ag_id AS id_ag_id_6 FROM paiement t0 WHERE t0.id_cmd_id = ?
Parameters:
[
7920291
]
|
| 532 | 0.18 ms |
SELECT t0.id AS id_1, t0.qte AS qte_2, t0.libelle AS libelle_3, t0.modification AS modification_4, t0.commande_id AS commande_id_5 FROM tmp_marchandise t0 WHERE t0.commande_id = ?
Parameters:
[
7920291
]
|
| 533 | 0.15 ms |
SELECT t0.id AS id_1, t0.nom_contenaire AS nom_contenaire_2 FROM contenaire t0 WHERE t0.id = ?
Parameters:
[
5306
]
|
| 534 | 8.48 ms |
SELECT *,c.id AS idCommande, (SELECT nom_ag FROM agent a WHERE a.id = c.id_cl_id ) AS nom_client, (SELECT IFNULL(SUM(ROUND(tV.prix_unit * tV.volume)),0) FROM tmp_volume tV WHERE c.id = tV.commande_id ) AS pritotal, (SELECT MAX(p.id) AS maxid FROM paiement p WHERE p.id_cmd_id = c.id ) AS idFacture, (SELECT IFNULL(SUM(p.montant),0) FROM paiement p WHERE p.id_cmd_id = c.id AND p.flag_en_avance = 0 ) AS dejaPaie, (SELECT IFNULL(SUM(p.montant),0) FROM paiement p WHERE p.id_cmd_id = c.id AND p.flag_en_avance = 1 ) AS paieEnAvance, (SELECT IFNULL(SUM(atF.montant),0) FROM autre_frais atF WHERE atF.commande_id = c.id ) AS AutresFrais, (SELECT IFNULL(SUM(r.montant),0) FROM reduction r WHERE r.id_cmd_id = c.id AND r.flag_compassation = '0') AS reduction, (SELECT IFNULL(SUM(r.montant),0) FROM reduction r WHERE r.id_cmd_id = c.id AND r.flag_compassation = '1' ) AS compassation, (SELECT IFNULL(SUM(r.montant),0) FROM reduction r WHERE r.id_cmd_id = c.id AND r.flag_compassation = '2' ) AS banque, (SELECT r.montant FROM reduction r WHERE r.id_cmd_id = c.id AND r.flag_compassation = '2' ORDER BY r.id DESC LIMIT 1) AS banqueDujour, (SELECT IFNULL(SUM(r.montant),0) FROM reduction r WHERE r.id_cmd_id = c.id AND r.flag_compassation = '3' ) AS depot FROM commande c LEFT JOIN agent a ON (c.id_ag_id = a.id) LEFT JOIN programme_contenaire ctpr ON (c.id_ct_pr_id = ctpr.id) LEFT JOIN contenaire ct ON (ctpr.id_ct_id = ct.id) WHERE c.id = 7920331 ORDER BY c.id DESC
Parameters:
[] |
| 535 | 0.33 ms |
SELECT t0.id AS id_1, t0.date_chargement AS date_chargement_2, t0.date_depart AS date_depart_3, t0.date_arriver AS date_arriver_4, t0.date_operation AS date_operation_5, t0.nom_bateau AS nom_bateau_6, t0.id_ag AS id_ag_7, t0.flag AS flag_8, t0.numero_contenaire AS numero_contenaire_9, t0.transporteur AS transporteur_10, t0.complet_flag AS complet_flag_11, t0.proprietaire_conteneur AS proprietaire_conteneur_12, t0.destination AS destination_13, t0.validation AS validation_14, t0.depenses_prevue AS depenses_prevue_15, t0.remarque_conteneur AS remarque_conteneur_16, t0.is_mco AS is_mco_17, t0.is_rapport AS is_rapport_18, t0.date_rapport_at AS date_rapport_at_19, t0.is_clients AS is_clients_20, t0.rapport AS rapport_21, t0.is_electronique AS is_electronique_22, t0.date_validation AS date_validation_23, t0.is_notifier AS is_notifier_24, t0.fin AS fin_25, t0.date_validation_fin AS date_validation_fin_26, t0.dateattribution AS dateattribution_27, t0.paye_gestionnaire AS paye_gestionnaire_28, t0.id_ct_id AS id_ct_id_29, t0.id_ville_id AS id_ville_id_30, t0.ville_initiale_id AS ville_initiale_id_31, t0.agent_gestionnaire_id AS agent_gestionnaire_id_32 FROM programme_contenaire t0 WHERE t0.id = ?
Parameters:
[
5181
]
|
| 536 | 0.20 ms |
SELECT t0.id AS id_1, t0.lieu AS lieu_2, t0.id_position AS id_position_3, t0.date_operation AS date_operation_4, t0.position_actuelle_flag AS position_actuelle_flag_5, t0.id_ct_pr_id AS id_ct_pr_id_6 FROM suivi_contenaire t0 WHERE t0.id_ct_pr_id = ?
Parameters:
[
5181
]
|
| 537 | 0.18 ms |
SELECT t0.id AS id_1, t0.created_at AS created_at_2, t0.commentaire AS commentaire_3, t0.suivi_id AS suivi_id_4, t0.sous_position_id AS sous_position_id_5 FROM sous_suivi t0 WHERE t0.suivi_id = ?
Parameters:
[
7414
]
|
| 538 | 0.17 ms |
SELECT t0.id AS id_1, t0.quantite AS quantite_2, t0.sortie_at AS sortie_at_3, t0.remarque AS remarque_4, t0.noms AS noms_5, t0.telephone AS telephone_6, t0.plaque AS plaque_7, t0.commande_id AS commande_id_8, t0.user_id AS user_id_9 FROM depot t0 WHERE t0.commande_id = ?
Parameters:
[
7920331
]
|
| 539 | 0.17 ms |
SELECT t0.id AS id_1, t0.volume AS volume_2, t0.prix_unit AS prix_unit_3, t0.unite AS unite_4, t0.modification AS modification_5, t0.commande_id AS commande_id_6 FROM tmp_volume t0 WHERE t0.commande_id = ?
Parameters:
[
7920331
]
|
| 540 | 0.19 ms |
SELECT t0.id AS id_1, t0.libelle AS libelle_2, t0.montant AS montant_3, t0.modification AS modification_4, t0.commande_id AS commande_id_5 FROM autre_frais t0 WHERE t0.commande_id = ?
Parameters:
[
7920331
]
|
| 541 | 2.38 ms |
SELECT t0.id AS id_1, t0.montant AS montant_2, t0.date_operation AS date_operation_3, t0.motif AS motif_4, t0.flag_compassation AS flag_compassation_5, t0.fichier_banque AS fichier_banque_6, t0.id_cmd_id AS id_cmd_id_7, t0.id_ag_id AS id_ag_id_8 FROM reduction t0 WHERE t0.id_cmd_id = ?
Parameters:
[
7920331
]
|
| 542 | 0.19 ms |
SELECT t0.id AS id_1, t0.montant AS montant_2, t0.date_operation AS date_operation_3, t0.flag_en_avance AS flag_en_avance_4, t0.id_cmd_id AS id_cmd_id_5, t0.id_ag_id AS id_ag_id_6 FROM paiement t0 WHERE t0.id_cmd_id = ?
Parameters:
[
7920331
]
|
| 543 | 0.18 ms |
SELECT t0.id AS id_1, t0.qte AS qte_2, t0.libelle AS libelle_3, t0.modification AS modification_4, t0.commande_id AS commande_id_5 FROM tmp_marchandise t0 WHERE t0.commande_id = ?
Parameters:
[
7920331
]
|
| 544 | 0.16 ms |
SELECT t0.id AS id_1, t0.nom_contenaire AS nom_contenaire_2 FROM contenaire t0 WHERE t0.id = ?
Parameters:
[
5310
]
|
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\Commande |
|
| App\Entity\ProgrammeContenaire |
|
| App\Entity\Agent |
|
| App\Entity\Paiement | No errors. |
| App\Entity\TmpMarchandise | No errors. |
| App\Entity\TmpVolume | No errors. |
| App\Entity\AutreFrais | No errors. |
| App\Entity\Reduction | No errors. |
| App\Entity\Remarque | No errors. |
| App\Entity\Depot | No errors. |
| App\Entity\Contenaire | No errors. |
| App\Entity\Ville |
|
| App\Entity\SuiviContenaire | No errors. |
| App\Entity\DepensesContenaire | No errors. |
| App\Entity\Declarant | No errors. |
| App\Entity\RemarqueConteneur | No errors. |
| App\Entity\Notification | No errors. |
| App\Entity\TmpConteneurReception | No errors. |
| App\Entity\SousSuivi | No errors. |
| App\Entity\SousPosition | No errors. |
| App\Entity\Position | No errors. |
| App\Entity\Utilisateur | No errors. |
| App\Entity\Bois | No errors. |
| App\Entity\TransfertEnvoie | No errors. |
| App\Entity\AutrePaiement | No errors. |
| App\Entity\Reception | No errors. |
| App\Entity\Attendance | No errors. |
| App\Entity\CategoriePrix | No errors. |