1 |
885.45 ms |
SELECT a0_.id AS id_0, a0_.email AS email_1, a0_.phone_number AS phone_number_2, a0_.password AS password_3, a0_.roles AS roles_4, a0_.lastname AS lastname_5, a0_.firstname AS firstname_6, a0_.created_at AS created_at_7, a0_.registration_source AS registration_source_8, a0_.honorific_prefix AS honorific_prefix_9, a0_.reset_token AS reset_token_10, a0_.reset_token_expiration_date AS reset_token_expiration_date_11, a0_.uniq_id AS uniq_id_12, a0_.code_confirmation AS code_confirmation_13, a0_.updated_at AS updated_at_14, a0_.is_active AS is_active_15 FROM app_users a0_ WHERE a0_.email = ? OR a0_.phone_number = ?
Parameters: [
"stanislas@digidom.pro"
"stanislas@digidom.pro"
]
SELECT a0_.id AS id_0, a0_.email AS email_1, a0_.phone_number AS phone_number_2, a0_.password AS password_3, a0_.roles AS roles_4, a0_.lastname AS lastname_5, a0_.firstname AS firstname_6, a0_.created_at AS created_at_7, a0_.registration_source AS registration_source_8, a0_.honorific_prefix AS honorific_prefix_9, a0_.reset_token AS reset_token_10, a0_.reset_token_expiration_date AS reset_token_expiration_date_11, a0_.uniq_id AS uniq_id_12, a0_.code_confirmation AS code_confirmation_13, a0_.updated_at AS updated_at_14, a0_.is_active AS is_active_15 FROM app_users a0_ WHERE a0_.email = 'stanislas@digidom.pro' OR a0_.phone_number = 'stanislas@digidom.pro';
|
2 |
8.48 ms |
SELECT t0.id AS id_1, t0.legal_name AS legal_name_2, t0.telephone AS telephone_3, t0.vat_id AS vat_id_4, t0.legal_status AS legal_status_5, t0.purpose AS purpose_6, t0.founding_date AS founding_date_7, t0.fiscal_date AS fiscal_date_8, t0.fiscal_date_end AS fiscal_date_end_9, t0.first_fiscal_date AS first_fiscal_date_10, t0.first_fiscal_date_end AS first_fiscal_date_end_11, t0.head_quarters_address_type AS head_quarters_address_type_12, t0.legal_representative_address_type AS legal_representative_address_type_13, t0.share_capital AS share_capital_14, t0.share_capital_type AS share_capital_type_15, t0.share_capital_fixed_amount AS share_capital_fixed_amount_16, t0.shares_count AS shares_count_17, t0.bank_choice AS bank_choice_18, t0.registration_source AS registration_source_19, t0.commercial_court_registry AS commercial_court_registry_20, t0.sector_other AS sector_other_21, t0.rcs AS rcs_22, t0.status AS status_23, t0.email AS email_24, t0.mandatary AS mandatary_25, t0.bal AS bal_26, t0.forwarding_frequency AS forwarding_frequency_27, t0.forwarding_address_name AS forwarding_address_name_28, t0.alternate_name AS alternate_name_29, t0.domiciliation_start_date AS domiciliation_start_date_30, t0.created_at AS created_at_31, t0.termination_date AS termination_date_32, t0.termination_reason AS termination_reason_33, t0.termination_reason_other AS termination_reason_other_34, t0.siret AS siret_35, t0.is_new_immatriculation AS is_new_immatriculation_36, t0.is_new_domiciliation AS is_new_domiciliation_37, t0.mandat_id AS mandat_id_38, t0.conversion_reason AS conversion_reason_39, t0.status_is_forced AS status_is_forced_40, t0.uniq_id AS uniq_id_41, t0.iban AS iban_42, t0.reference_gocardless AS reference_gocardless_43, t0.is_forwarding_active AS is_forwarding_active_44, t0.vatrate AS vatrate_45, t0.is_imported AS is_imported_46, t0.credit_notes_amount AS credit_notes_amount_47, t0.available_credits AS available_credits_48, t0.invoice_token AS invoice_token_49, t0.share_capital_free_percentage AS share_capital_free_percentage_50, t0.is_prescriber AS is_prescriber_51, t0.have_accountant AS have_accountant_52, t0.status_immatriculation AS status_immatriculation_53, t0.is_exempt_tva AS is_exempt_tva_54, t0.project_stage AS project_stage_55, t0.status_invoice_payed AS status_invoice_payed_56, t0.date_max_unpaid AS date_max_unpaid_57, t0.is_have_auditor AS is_have_auditor_58, t0.benefit_imposition AS benefit_imposition_59, t0.benefit_imposition_option AS benefit_imposition_option_60, t0.vat_taxe_regim AS vat_taxe_regim_61, t0.vat_taxe_regime_option AS vat_taxe_regime_option_62, t0.prolongation_date_kyc AS prolongation_date_kyc_63, t0.status_transfert AS status_transfert_64, t0.is_new_transfert AS is_new_transfert_65, t0.special_request_bal AS special_request_bal_66, t0.trac_fin AS trac_fin_67, t0.trac_fin_note AS trac_fin_note_68, t0.pack_imat AS pack_imat_69, t0.is_authorize_prescriber AS is_authorize_prescriber_70, t0.is_attached_to_prescriber AS is_attached_to_prescriber_71, t0.is_emptybal AS is_emptybal_72, t0.is_authorized_debit AS is_authorized_debit_73, t0.history_nav_tunnel AS history_nav_tunnel_74, t0.note AS note_75, t0.reason_change AS reason_change_76, t0.previous_pack AS previous_pack_77, t0.zapier_hook_url AS zapier_hook_url_78, t0.sigle AS sigle_79, t0.enseigne AS enseigne_80, t0.corporate_object AS corporate_object_81, t0.place_know_digidom AS place_know_digidom_82, t0.other_place_known_digidom AS other_place_known_digidom_83, t0.bank_name AS bank_name_84, t0.titulaire AS titulaire_85, t0.is_invalid_email AS is_invalid_email_86, t0.is_invalid_phone_number AS is_invalid_phone_number_87, t0.special_customer_type AS special_customer_type_88, t0.encrypted_parent_id AS encrypted_parent_id_89, t0.is_referral_process_finished AS is_referral_process_finished_90, t0.is_digidom_accountant AS is_digidom_accountant_91, t0.is_surveillance AS is_surveillance_92, t0.beneficial_owners AS beneficial_owners_93, t0.accounts_submission_last_year AS accounts_submission_last_year_94, t0.address_id AS address_id_95, t0.accountant_id AS accountant_id_96, t0.sector_id AS sector_id_97, t0.store_id AS store_id_98, t0.forwarding_address_id AS forwarding_address_id_99, t0.prescriber_id AS prescriber_id_100, t0.notification_preference_id AS notification_preference_id_101, t0.discount_code_id AS discount_code_id_102, t103.id AS id_104, t103.given_name AS given_name_105, t103.family_name AS family_name_106, t103.phone_number AS phone_number_107, t103.email AS email_108, t103.service AS service_109, t103.created_at AS created_at_110, t103.note AS note_111, t103.status AS status_112, t103.generate_user AS generate_user_113, t103.call_time AS call_time_114, t103.priority AS priority_115, t103.date AS date_116, t103.step AS step_117, t103.source AS source_118, t103.legal_name AS legal_name_119, t103.pack AS pack_120, t103.manager_id AS manager_id_121, t103.formality_id AS formality_id_122, t103.organization_id AS organization_id_123, t0.prescriber_source_id AS prescriber_source_id_124, t0.reason_unpaid_id AS reason_unpaid_id_125, t0.reason_ribinactive_id AS reason_ribinactive_id_126, t127.id AS id_128, t127.alternate_name AS alternate_name_129, t127.legal_name AS legal_name_130, t127.name_legal_representative AS name_legal_representative_131, t127.organization_id AS organization_id_132, t0.activity_category_id AS activity_category_id_133, t0.referral_source_id AS referral_source_id_134, t0.activity_domain_id AS activity_domain_id_135, t136.id AS id_137, t136.signature_request_id AS signature_request_id_138, t136.created_at AS created_at_139, t136.external_file_id AS external_file_id_140, t136.last_uploaded_file_at AS last_uploaded_file_at_141, t136.organization_id AS organization_id_142 FROM organization t0 LEFT JOIN leads t103 ON t103.organization_id = t0.id LEFT JOIN ibml_organization_configuration t127 ON t127.organization_id = t0.id LEFT JOIN process_yousign t136 ON t136.organization_id = t0.id WHERE t0.id = ? AND t0.status IN (?) LIMIT 1
Parameters: [
27651
[
"NEW PAIEMENT"
"CLIENT DOCS MANQUANTS"
"CLIENT OK"
"CLIENT DOCS EXPIRES"
"PRE-RESILIATION"
]
]
SELECT
t0.id AS id_1,
t0.legal_name AS legal_name_2,
t0.telephone AS telephone_3,
t0.vat_id AS vat_id_4,
t0.legal_status AS legal_status_5,
t0.purpose AS purpose_6,
t0.founding_date AS founding_date_7,
t0.fiscal_date AS fiscal_date_8,
t0.fiscal_date_end AS fiscal_date_end_9,
t0.first_fiscal_date AS first_fiscal_date_10,
t0.first_fiscal_date_end AS first_fiscal_date_end_11,
t0.head_quarters_address_type AS head_quarters_address_type_12,
t0.legal_representative_address_type AS legal_representative_address_type_13,
t0.share_capital AS share_capital_14,
t0.share_capital_type AS share_capital_type_15,
t0.share_capital_fixed_amount AS share_capital_fixed_amount_16,
t0.shares_count AS shares_count_17,
t0.bank_choice AS bank_choice_18,
t0.registration_source AS registration_source_19,
t0.commercial_court_registry AS commercial_court_registry_20,
t0.sector_other AS sector_other_21,
t0.rcs AS rcs_22,
t0.status AS status_23,
t0.email AS email_24,
t0.mandatary AS mandatary_25,
t0.bal AS bal_26,
t0.forwarding_frequency AS forwarding_frequency_27,
t0.forwarding_address_name AS forwarding_address_name_28,
t0.alternate_name AS alternate_name_29,
t0.domiciliation_start_date AS domiciliation_start_date_30,
t0.created_at AS created_at_31,
t0.termination_date AS termination_date_32,
t0.termination_reason AS termination_reason_33,
t0.termination_reason_other AS termination_reason_other_34,
t0.siret AS siret_35,
t0.is_new_immatriculation AS is_new_immatriculation_36,
t0.is_new_domiciliation AS is_new_domiciliation_37,
t0.mandat_id AS mandat_id_38,
t0.conversion_reason AS conversion_reason_39,
t0.status_is_forced AS status_is_forced_40,
t0.uniq_id AS uniq_id_41,
t0.iban AS iban_42,
t0.reference_gocardless AS reference_gocardless_43,
t0.is_forwarding_active AS is_forwarding_active_44,
t0.vatrate AS vatrate_45,
t0.is_imported AS is_imported_46,
t0.credit_notes_amount AS credit_notes_amount_47,
t0.available_credits AS available_credits_48,
t0.invoice_token AS invoice_token_49,
t0.share_capital_free_percentage AS share_capital_free_percentage_50,
t0.is_prescriber AS is_prescriber_51,
t0.have_accountant AS have_accountant_52,
t0.status_immatriculation AS status_immatriculation_53,
t0.is_exempt_tva AS is_exempt_tva_54,
t0.project_stage AS project_stage_55,
t0.status_invoice_payed AS status_invoice_payed_56,
t0.date_max_unpaid AS date_max_unpaid_57,
t0.is_have_auditor AS is_have_auditor_58,
t0.benefit_imposition AS benefit_imposition_59,
t0.benefit_imposition_option AS benefit_imposition_option_60,
t0.vat_taxe_regim AS vat_taxe_regim_61,
t0.vat_taxe_regime_option AS vat_taxe_regime_option_62,
t0.prolongation_date_kyc AS prolongation_date_kyc_63,
t0.status_transfert AS status_transfert_64,
t0.is_new_transfert AS is_new_transfert_65,
t0.special_request_bal AS special_request_bal_66,
t0.trac_fin AS trac_fin_67,
t0.trac_fin_note AS trac_fin_note_68,
t0.pack_imat AS pack_imat_69,
t0.is_authorize_prescriber AS is_authorize_prescriber_70,
t0.is_attached_to_prescriber AS is_attached_to_prescriber_71,
t0.is_emptybal AS is_emptybal_72,
t0.is_authorized_debit AS is_authorized_debit_73,
t0.history_nav_tunnel AS history_nav_tunnel_74,
t0.note AS note_75,
t0.reason_change AS reason_change_76,
t0.previous_pack AS previous_pack_77,
t0.zapier_hook_url AS zapier_hook_url_78,
t0.sigle AS sigle_79,
t0.enseigne AS enseigne_80,
t0.corporate_object AS corporate_object_81,
t0.place_know_digidom AS place_know_digidom_82,
t0.other_place_known_digidom AS other_place_known_digidom_83,
t0.bank_name AS bank_name_84,
t0.titulaire AS titulaire_85,
t0.is_invalid_email AS is_invalid_email_86,
t0.is_invalid_phone_number AS is_invalid_phone_number_87,
t0.special_customer_type AS special_customer_type_88,
t0.encrypted_parent_id AS encrypted_parent_id_89,
t0.is_referral_process_finished AS is_referral_process_finished_90,
t0.is_digidom_accountant AS is_digidom_accountant_91,
t0.is_surveillance AS is_surveillance_92,
t0.beneficial_owners AS beneficial_owners_93,
t0.accounts_submission_last_year AS accounts_submission_last_year_94,
t0.address_id AS address_id_95,
t0.accountant_id AS accountant_id_96,
t0.sector_id AS sector_id_97,
t0.store_id AS store_id_98,
t0.forwarding_address_id AS forwarding_address_id_99,
t0.prescriber_id AS prescriber_id_100,
t0.notification_preference_id AS notification_preference_id_101,
t0.discount_code_id AS discount_code_id_102,
t103.id AS id_104,
t103.given_name AS given_name_105,
t103.family_name AS family_name_106,
t103.phone_number AS phone_number_107,
t103.email AS email_108,
t103.service AS service_109,
t103.created_at AS created_at_110,
t103.note AS note_111,
t103.status AS status_112,
t103.generate_user AS generate_user_113,
t103.call_time AS call_time_114,
t103.priority AS priority_115,
t103.date AS date_116,
t103.step AS step_117,
t103.source AS source_118,
t103.legal_name AS legal_name_119,
t103.pack AS pack_120,
t103.manager_id AS manager_id_121,
t103.formality_id AS formality_id_122,
t103.organization_id AS organization_id_123,
t0.prescriber_source_id AS prescriber_source_id_124,
t0.reason_unpaid_id AS reason_unpaid_id_125,
t0.reason_ribinactive_id AS reason_ribinactive_id_126,
t127.id AS id_128,
t127.alternate_name AS alternate_name_129,
t127.legal_name AS legal_name_130,
t127.name_legal_representative AS name_legal_representative_131,
t127.organization_id AS organization_id_132,
t0.activity_category_id AS activity_category_id_133,
t0.referral_source_id AS referral_source_id_134,
t0.activity_domain_id AS activity_domain_id_135,
t136.id AS id_137,
t136.signature_request_id AS signature_request_id_138,
t136.created_at AS created_at_139,
t136.external_file_id AS external_file_id_140,
t136.last_uploaded_file_at AS last_uploaded_file_at_141,
t136.organization_id AS organization_id_142
FROM
organization t0
LEFT JOIN leads t103 ON t103.organization_id = t0.id
LEFT JOIN ibml_organization_configuration t127 ON t127.organization_id = t0.id
LEFT JOIN process_yousign t136 ON t136.organization_id = t0.id
WHERE
t0.id = ?
AND t0.status IN (?)
LIMIT
1
SELECT t0.id AS id_1, t0.legal_name AS legal_name_2, t0.telephone AS telephone_3, t0.vat_id AS vat_id_4, t0.legal_status AS legal_status_5, t0.purpose AS purpose_6, t0.founding_date AS founding_date_7, t0.fiscal_date AS fiscal_date_8, t0.fiscal_date_end AS fiscal_date_end_9, t0.first_fiscal_date AS first_fiscal_date_10, t0.first_fiscal_date_end AS first_fiscal_date_end_11, t0.head_quarters_address_type AS head_quarters_address_type_12, t0.legal_representative_address_type AS legal_representative_address_type_13, t0.share_capital AS share_capital_14, t0.share_capital_type AS share_capital_type_15, t0.share_capital_fixed_amount AS share_capital_fixed_amount_16, t0.shares_count AS shares_count_17, t0.bank_choice AS bank_choice_18, t0.registration_source AS registration_source_19, t0.commercial_court_registry AS commercial_court_registry_20, t0.sector_other AS sector_other_21, t0.rcs AS rcs_22, t0.status AS status_23, t0.email AS email_24, t0.mandatary AS mandatary_25, t0.bal AS bal_26, t0.forwarding_frequency AS forwarding_frequency_27, t0.forwarding_address_name AS forwarding_address_name_28, t0.alternate_name AS alternate_name_29, t0.domiciliation_start_date AS domiciliation_start_date_30, t0.created_at AS created_at_31, t0.termination_date AS termination_date_32, t0.termination_reason AS termination_reason_33, t0.termination_reason_other AS termination_reason_other_34, t0.siret AS siret_35, t0.is_new_immatriculation AS is_new_immatriculation_36, t0.is_new_domiciliation AS is_new_domiciliation_37, t0.mandat_id AS mandat_id_38, t0.conversion_reason AS conversion_reason_39, t0.status_is_forced AS status_is_forced_40, t0.uniq_id AS uniq_id_41, t0.iban AS iban_42, t0.reference_gocardless AS reference_gocardless_43, t0.is_forwarding_active AS is_forwarding_active_44, t0.vatrate AS vatrate_45, t0.is_imported AS is_imported_46, t0.credit_notes_amount AS credit_notes_amount_47, t0.available_credits AS available_credits_48, t0.invoice_token AS invoice_token_49, t0.share_capital_free_percentage AS share_capital_free_percentage_50, t0.is_prescriber AS is_prescriber_51, t0.have_accountant AS have_accountant_52, t0.status_immatriculation AS status_immatriculation_53, t0.is_exempt_tva AS is_exempt_tva_54, t0.project_stage AS project_stage_55, t0.status_invoice_payed AS status_invoice_payed_56, t0.date_max_unpaid AS date_max_unpaid_57, t0.is_have_auditor AS is_have_auditor_58, t0.benefit_imposition AS benefit_imposition_59, t0.benefit_imposition_option AS benefit_imposition_option_60, t0.vat_taxe_regim AS vat_taxe_regim_61, t0.vat_taxe_regime_option AS vat_taxe_regime_option_62, t0.prolongation_date_kyc AS prolongation_date_kyc_63, t0.status_transfert AS status_transfert_64, t0.is_new_transfert AS is_new_transfert_65, t0.special_request_bal AS special_request_bal_66, t0.trac_fin AS trac_fin_67, t0.trac_fin_note AS trac_fin_note_68, t0.pack_imat AS pack_imat_69, t0.is_authorize_prescriber AS is_authorize_prescriber_70, t0.is_attached_to_prescriber AS is_attached_to_prescriber_71, t0.is_emptybal AS is_emptybal_72, t0.is_authorized_debit AS is_authorized_debit_73, t0.history_nav_tunnel AS history_nav_tunnel_74, t0.note AS note_75, t0.reason_change AS reason_change_76, t0.previous_pack AS previous_pack_77, t0.zapier_hook_url AS zapier_hook_url_78, t0.sigle AS sigle_79, t0.enseigne AS enseigne_80, t0.corporate_object AS corporate_object_81, t0.place_know_digidom AS place_know_digidom_82, t0.other_place_known_digidom AS other_place_known_digidom_83, t0.bank_name AS bank_name_84, t0.titulaire AS titulaire_85, t0.is_invalid_email AS is_invalid_email_86, t0.is_invalid_phone_number AS is_invalid_phone_number_87, t0.special_customer_type AS special_customer_type_88, t0.encrypted_parent_id AS encrypted_parent_id_89, t0.is_referral_process_finished AS is_referral_process_finished_90, t0.is_digidom_accountant AS is_digidom_accountant_91, t0.is_surveillance AS is_surveillance_92, t0.beneficial_owners AS beneficial_owners_93, t0.accounts_submission_last_year AS accounts_submission_last_year_94, t0.address_id AS address_id_95, t0.accountant_id AS accountant_id_96, t0.sector_id AS sector_id_97, t0.store_id AS store_id_98, t0.forwarding_address_id AS forwarding_address_id_99, t0.prescriber_id AS prescriber_id_100, t0.notification_preference_id AS notification_preference_id_101, t0.discount_code_id AS discount_code_id_102, t103.id AS id_104, t103.given_name AS given_name_105, t103.family_name AS family_name_106, t103.phone_number AS phone_number_107, t103.email AS email_108, t103.service AS service_109, t103.created_at AS created_at_110, t103.note AS note_111, t103.status AS status_112, t103.generate_user AS generate_user_113, t103.call_time AS call_time_114, t103.priority AS priority_115, t103.date AS date_116, t103.step AS step_117, t103.source AS source_118, t103.legal_name AS legal_name_119, t103.pack AS pack_120, t103.manager_id AS manager_id_121, t103.formality_id AS formality_id_122, t103.organization_id AS organization_id_123, t0.prescriber_source_id AS prescriber_source_id_124, t0.reason_unpaid_id AS reason_unpaid_id_125, t0.reason_ribinactive_id AS reason_ribinactive_id_126, t127.id AS id_128, t127.alternate_name AS alternate_name_129, t127.legal_name AS legal_name_130, t127.name_legal_representative AS name_legal_representative_131, t127.organization_id AS organization_id_132, t0.activity_category_id AS activity_category_id_133, t0.referral_source_id AS referral_source_id_134, t0.activity_domain_id AS activity_domain_id_135, t136.id AS id_137, t136.signature_request_id AS signature_request_id_138, t136.created_at AS created_at_139, t136.external_file_id AS external_file_id_140, t136.last_uploaded_file_at AS last_uploaded_file_at_141, t136.organization_id AS organization_id_142 FROM organization t0 LEFT JOIN leads t103 ON t103.organization_id = t0.id LEFT JOIN ibml_organization_configuration t127 ON t127.organization_id = t0.id LEFT JOIN process_yousign t136 ON t136.organization_id = t0.id WHERE t0.id = 27651 AND t0.status IN ('NEW PAIEMENT', 'CLIENT DOCS MANQUANTS', 'CLIENT OK', 'CLIENT DOCS EXPIRES', 'PRE-RESILIATION') LIMIT 1;
|
3 |
589.65 ms |
SELECT o0_.id AS id_0, o0_.legal_name AS legal_name_1, o0_.telephone AS telephone_2, o0_.vat_id AS vat_id_3, o0_.legal_status AS legal_status_4, o0_.purpose AS purpose_5, o0_.founding_date AS founding_date_6, o0_.fiscal_date AS fiscal_date_7, o0_.fiscal_date_end AS fiscal_date_end_8, o0_.first_fiscal_date AS first_fiscal_date_9, o0_.first_fiscal_date_end AS first_fiscal_date_end_10, o0_.head_quarters_address_type AS head_quarters_address_type_11, o0_.legal_representative_address_type AS legal_representative_address_type_12, o0_.share_capital AS share_capital_13, o0_.share_capital_type AS share_capital_type_14, o0_.share_capital_fixed_amount AS share_capital_fixed_amount_15, o0_.shares_count AS shares_count_16, o0_.bank_choice AS bank_choice_17, o0_.registration_source AS registration_source_18, o0_.commercial_court_registry AS commercial_court_registry_19, o0_.sector_other AS sector_other_20, o0_.rcs AS rcs_21, o0_.status AS status_22, o0_.email AS email_23, o0_.mandatary AS mandatary_24, o0_.bal AS bal_25, o0_.forwarding_frequency AS forwarding_frequency_26, o0_.forwarding_address_name AS forwarding_address_name_27, o0_.alternate_name AS alternate_name_28, o0_.domiciliation_start_date AS domiciliation_start_date_29, o0_.created_at AS created_at_30, o0_.termination_date AS termination_date_31, o0_.termination_reason AS termination_reason_32, o0_.termination_reason_other AS termination_reason_other_33, o0_.siret AS siret_34, o0_.is_new_immatriculation AS is_new_immatriculation_35, o0_.is_new_domiciliation AS is_new_domiciliation_36, o0_.mandat_id AS mandat_id_37, o0_.conversion_reason AS conversion_reason_38, o0_.status_is_forced AS status_is_forced_39, o0_.uniq_id AS uniq_id_40, o0_.iban AS iban_41, o0_.reference_gocardless AS reference_gocardless_42, o0_.is_forwarding_active AS is_forwarding_active_43, o0_.vatrate AS vatrate_44, o0_.is_imported AS is_imported_45, o0_.credit_notes_amount AS credit_notes_amount_46, o0_.available_credits AS available_credits_47, o0_.invoice_token AS invoice_token_48, o0_.share_capital_free_percentage AS share_capital_free_percentage_49, o0_.is_prescriber AS is_prescriber_50, o0_.have_accountant AS have_accountant_51, o0_.status_immatriculation AS status_immatriculation_52, o0_.is_exempt_tva AS is_exempt_tva_53, o0_.project_stage AS project_stage_54, o0_.status_invoice_payed AS status_invoice_payed_55, o0_.date_max_unpaid AS date_max_unpaid_56, o0_.is_have_auditor AS is_have_auditor_57, o0_.benefit_imposition AS benefit_imposition_58, o0_.benefit_imposition_option AS benefit_imposition_option_59, o0_.vat_taxe_regim AS vat_taxe_regim_60, o0_.vat_taxe_regime_option AS vat_taxe_regime_option_61, o0_.prolongation_date_kyc AS prolongation_date_kyc_62, o0_.status_transfert AS status_transfert_63, o0_.is_new_transfert AS is_new_transfert_64, o0_.special_request_bal AS special_request_bal_65, o0_.trac_fin AS trac_fin_66, o0_.trac_fin_note AS trac_fin_note_67, o0_.pack_imat AS pack_imat_68, o0_.is_authorize_prescriber AS is_authorize_prescriber_69, o0_.is_attached_to_prescriber AS is_attached_to_prescriber_70, o0_.is_emptybal AS is_emptybal_71, o0_.is_authorized_debit AS is_authorized_debit_72, o0_.history_nav_tunnel AS history_nav_tunnel_73, o0_.note AS note_74, o0_.reason_change AS reason_change_75, o0_.previous_pack AS previous_pack_76, o0_.zapier_hook_url AS zapier_hook_url_77, o0_.sigle AS sigle_78, o0_.enseigne AS enseigne_79, o0_.corporate_object AS corporate_object_80, o0_.place_know_digidom AS place_know_digidom_81, o0_.other_place_known_digidom AS other_place_known_digidom_82, o0_.bank_name AS bank_name_83, o0_.titulaire AS titulaire_84, o0_.is_invalid_email AS is_invalid_email_85, o0_.is_invalid_phone_number AS is_invalid_phone_number_86, o0_.special_customer_type AS special_customer_type_87, o0_.encrypted_parent_id AS encrypted_parent_id_88, o0_.is_referral_process_finished AS is_referral_process_finished_89, o0_.is_digidom_accountant AS is_digidom_accountant_90, o0_.is_surveillance AS is_surveillance_91, o0_.beneficial_owners AS beneficial_owners_92, o0_.accounts_submission_last_year AS accounts_submission_last_year_93, o0_.address_id AS address_id_94, o0_.accountant_id AS accountant_id_95, o0_.sector_id AS sector_id_96, o0_.store_id AS store_id_97, o0_.forwarding_address_id AS forwarding_address_id_98, o0_.prescriber_id AS prescriber_id_99, o0_.notification_preference_id AS notification_preference_id_100, o0_.discount_code_id AS discount_code_id_101, o0_.prescriber_source_id AS prescriber_source_id_102, o0_.reason_unpaid_id AS reason_unpaid_id_103, o0_.reason_ribinactive_id AS reason_ribinactive_id_104, o0_.activity_category_id AS activity_category_id_105, o0_.referral_source_id AS referral_source_id_106, o0_.activity_domain_id AS activity_domain_id_107 FROM organization o0_ WHERE o0_.store_id = ? AND o0_.status IN (?) AND o0_.id <> ? AND (REGEXP_REPLACE(COALESCE(o0_.legal_name, ''), '[^[:alnum:]]+', '') <> '' AND (REGEXP_REPLACE(o0_.legal_name, '[^[:alnum:]]+', '') LIKE ?) OR REGEXP_REPLACE(COALESCE(o0_.alternate_name, ''), '[^[:alnum:]]+', '') <> '' AND (REGEXP_REPLACE(o0_.alternate_name, '[^[:alnum:]]+', '') LIKE ?) OR REGEXP_REPLACE(COALESCE(o0_.sigle, ''), '[^[:alnum:]]+', '') <> '' AND (REGEXP_REPLACE(o0_.sigle, '[^[:alnum:]]+', '') LIKE ?) OR REGEXP_REPLACE(COALESCE(o0_.enseigne, ''), '[^[:alnum:]]+', '') <> '' AND (REGEXP_REPLACE(o0_.enseigne, '[^[:alnum:]]+', '') LIKE ?))
Parameters: [
1
[
"NEW PAIEMENT"
"CLIENT DOCS MANQUANTS"
"CLIENT OK"
"CLIENT DOCS EXPIRES"
"PRE-RESILIATION"
]
27651
"nbn"
"nbn"
"nbn"
"nbn"
]
SELECT
o0_.id AS id_0,
o0_.legal_name AS legal_name_1,
o0_.telephone AS telephone_2,
o0_.vat_id AS vat_id_3,
o0_.legal_status AS legal_status_4,
o0_.purpose AS purpose_5,
o0_.founding_date AS founding_date_6,
o0_.fiscal_date AS fiscal_date_7,
o0_.fiscal_date_end AS fiscal_date_end_8,
o0_.first_fiscal_date AS first_fiscal_date_9,
o0_.first_fiscal_date_end AS first_fiscal_date_end_10,
o0_.head_quarters_address_type AS head_quarters_address_type_11,
o0_.legal_representative_address_type AS legal_representative_address_type_12,
o0_.share_capital AS share_capital_13,
o0_.share_capital_type AS share_capital_type_14,
o0_.share_capital_fixed_amount AS share_capital_fixed_amount_15,
o0_.shares_count AS shares_count_16,
o0_.bank_choice AS bank_choice_17,
o0_.registration_source AS registration_source_18,
o0_.commercial_court_registry AS commercial_court_registry_19,
o0_.sector_other AS sector_other_20,
o0_.rcs AS rcs_21,
o0_.status AS status_22,
o0_.email AS email_23,
o0_.mandatary AS mandatary_24,
o0_.bal AS bal_25,
o0_.forwarding_frequency AS forwarding_frequency_26,
o0_.forwarding_address_name AS forwarding_address_name_27,
o0_.alternate_name AS alternate_name_28,
o0_.domiciliation_start_date AS domiciliation_start_date_29,
o0_.created_at AS created_at_30,
o0_.termination_date AS termination_date_31,
o0_.termination_reason AS termination_reason_32,
o0_.termination_reason_other AS termination_reason_other_33,
o0_.siret AS siret_34,
o0_.is_new_immatriculation AS is_new_immatriculation_35,
o0_.is_new_domiciliation AS is_new_domiciliation_36,
o0_.mandat_id AS mandat_id_37,
o0_.conversion_reason AS conversion_reason_38,
o0_.status_is_forced AS status_is_forced_39,
o0_.uniq_id AS uniq_id_40,
o0_.iban AS iban_41,
o0_.reference_gocardless AS reference_gocardless_42,
o0_.is_forwarding_active AS is_forwarding_active_43,
o0_.vatrate AS vatrate_44,
o0_.is_imported AS is_imported_45,
o0_.credit_notes_amount AS credit_notes_amount_46,
o0_.available_credits AS available_credits_47,
o0_.invoice_token AS invoice_token_48,
o0_.share_capital_free_percentage AS share_capital_free_percentage_49,
o0_.is_prescriber AS is_prescriber_50,
o0_.have_accountant AS have_accountant_51,
o0_.status_immatriculation AS status_immatriculation_52,
o0_.is_exempt_tva AS is_exempt_tva_53,
o0_.project_stage AS project_stage_54,
o0_.status_invoice_payed AS status_invoice_payed_55,
o0_.date_max_unpaid AS date_max_unpaid_56,
o0_.is_have_auditor AS is_have_auditor_57,
o0_.benefit_imposition AS benefit_imposition_58,
o0_.benefit_imposition_option AS benefit_imposition_option_59,
o0_.vat_taxe_regim AS vat_taxe_regim_60,
o0_.vat_taxe_regime_option AS vat_taxe_regime_option_61,
o0_.prolongation_date_kyc AS prolongation_date_kyc_62,
o0_.status_transfert AS status_transfert_63,
o0_.is_new_transfert AS is_new_transfert_64,
o0_.special_request_bal AS special_request_bal_65,
o0_.trac_fin AS trac_fin_66,
o0_.trac_fin_note AS trac_fin_note_67,
o0_.pack_imat AS pack_imat_68,
o0_.is_authorize_prescriber AS is_authorize_prescriber_69,
o0_.is_attached_to_prescriber AS is_attached_to_prescriber_70,
o0_.is_emptybal AS is_emptybal_71,
o0_.is_authorized_debit AS is_authorized_debit_72,
o0_.history_nav_tunnel AS history_nav_tunnel_73,
o0_.note AS note_74,
o0_.reason_change AS reason_change_75,
o0_.previous_pack AS previous_pack_76,
o0_.zapier_hook_url AS zapier_hook_url_77,
o0_.sigle AS sigle_78,
o0_.enseigne AS enseigne_79,
o0_.corporate_object AS corporate_object_80,
o0_.place_know_digidom AS place_know_digidom_81,
o0_.other_place_known_digidom AS other_place_known_digidom_82,
o0_.bank_name AS bank_name_83,
o0_.titulaire AS titulaire_84,
o0_.is_invalid_email AS is_invalid_email_85,
o0_.is_invalid_phone_number AS is_invalid_phone_number_86,
o0_.special_customer_type AS special_customer_type_87,
o0_.encrypted_parent_id AS encrypted_parent_id_88,
o0_.is_referral_process_finished AS is_referral_process_finished_89,
o0_.is_digidom_accountant AS is_digidom_accountant_90,
o0_.is_surveillance AS is_surveillance_91,
o0_.beneficial_owners AS beneficial_owners_92,
o0_.accounts_submission_last_year AS accounts_submission_last_year_93,
o0_.address_id AS address_id_94,
o0_.accountant_id AS accountant_id_95,
o0_.sector_id AS sector_id_96,
o0_.store_id AS store_id_97,
o0_.forwarding_address_id AS forwarding_address_id_98,
o0_.prescriber_id AS prescriber_id_99,
o0_.notification_preference_id AS notification_preference_id_100,
o0_.discount_code_id AS discount_code_id_101,
o0_.prescriber_source_id AS prescriber_source_id_102,
o0_.reason_unpaid_id AS reason_unpaid_id_103,
o0_.reason_ribinactive_id AS reason_ribinactive_id_104,
o0_.activity_category_id AS activity_category_id_105,
o0_.referral_source_id AS referral_source_id_106,
o0_.activity_domain_id AS activity_domain_id_107
FROM
organization o0_
WHERE
o0_.store_id = ?
AND o0_.status IN (?)
AND o0_.id <> ?
AND (
REGEXP_REPLACE(
COALESCE(o0_.legal_name, ''),
'[^[:alnum:]]+',
''
) <> ''
AND (
REGEXP_REPLACE(
o0_.legal_name, '[^[:alnum:]]+',
''
) LIKE ?
)
OR REGEXP_REPLACE(
COALESCE(o0_.alternate_name, ''),
'[^[:alnum:]]+',
''
) <> ''
AND (
REGEXP_REPLACE(
o0_.alternate_name, '[^[:alnum:]]+',
''
) LIKE ?
)
OR REGEXP_REPLACE(
COALESCE(o0_.sigle, ''),
'[^[:alnum:]]+',
''
) <> ''
AND (
REGEXP_REPLACE(o0_.sigle, '[^[:alnum:]]+', '') LIKE ?
)
OR REGEXP_REPLACE(
COALESCE(o0_.enseigne, ''),
'[^[:alnum:]]+',
''
) <> ''
AND (
REGEXP_REPLACE(
o0_.enseigne, '[^[:alnum:]]+', ''
) LIKE ?
)
)
SELECT o0_.id AS id_0, o0_.legal_name AS legal_name_1, o0_.telephone AS telephone_2, o0_.vat_id AS vat_id_3, o0_.legal_status AS legal_status_4, o0_.purpose AS purpose_5, o0_.founding_date AS founding_date_6, o0_.fiscal_date AS fiscal_date_7, o0_.fiscal_date_end AS fiscal_date_end_8, o0_.first_fiscal_date AS first_fiscal_date_9, o0_.first_fiscal_date_end AS first_fiscal_date_end_10, o0_.head_quarters_address_type AS head_quarters_address_type_11, o0_.legal_representative_address_type AS legal_representative_address_type_12, o0_.share_capital AS share_capital_13, o0_.share_capital_type AS share_capital_type_14, o0_.share_capital_fixed_amount AS share_capital_fixed_amount_15, o0_.shares_count AS shares_count_16, o0_.bank_choice AS bank_choice_17, o0_.registration_source AS registration_source_18, o0_.commercial_court_registry AS commercial_court_registry_19, o0_.sector_other AS sector_other_20, o0_.rcs AS rcs_21, o0_.status AS status_22, o0_.email AS email_23, o0_.mandatary AS mandatary_24, o0_.bal AS bal_25, o0_.forwarding_frequency AS forwarding_frequency_26, o0_.forwarding_address_name AS forwarding_address_name_27, o0_.alternate_name AS alternate_name_28, o0_.domiciliation_start_date AS domiciliation_start_date_29, o0_.created_at AS created_at_30, o0_.termination_date AS termination_date_31, o0_.termination_reason AS termination_reason_32, o0_.termination_reason_other AS termination_reason_other_33, o0_.siret AS siret_34, o0_.is_new_immatriculation AS is_new_immatriculation_35, o0_.is_new_domiciliation AS is_new_domiciliation_36, o0_.mandat_id AS mandat_id_37, o0_.conversion_reason AS conversion_reason_38, o0_.status_is_forced AS status_is_forced_39, o0_.uniq_id AS uniq_id_40, o0_.iban AS iban_41, o0_.reference_gocardless AS reference_gocardless_42, o0_.is_forwarding_active AS is_forwarding_active_43, o0_.vatrate AS vatrate_44, o0_.is_imported AS is_imported_45, o0_.credit_notes_amount AS credit_notes_amount_46, o0_.available_credits AS available_credits_47, o0_.invoice_token AS invoice_token_48, o0_.share_capital_free_percentage AS share_capital_free_percentage_49, o0_.is_prescriber AS is_prescriber_50, o0_.have_accountant AS have_accountant_51, o0_.status_immatriculation AS status_immatriculation_52, o0_.is_exempt_tva AS is_exempt_tva_53, o0_.project_stage AS project_stage_54, o0_.status_invoice_payed AS status_invoice_payed_55, o0_.date_max_unpaid AS date_max_unpaid_56, o0_.is_have_auditor AS is_have_auditor_57, o0_.benefit_imposition AS benefit_imposition_58, o0_.benefit_imposition_option AS benefit_imposition_option_59, o0_.vat_taxe_regim AS vat_taxe_regim_60, o0_.vat_taxe_regime_option AS vat_taxe_regime_option_61, o0_.prolongation_date_kyc AS prolongation_date_kyc_62, o0_.status_transfert AS status_transfert_63, o0_.is_new_transfert AS is_new_transfert_64, o0_.special_request_bal AS special_request_bal_65, o0_.trac_fin AS trac_fin_66, o0_.trac_fin_note AS trac_fin_note_67, o0_.pack_imat AS pack_imat_68, o0_.is_authorize_prescriber AS is_authorize_prescriber_69, o0_.is_attached_to_prescriber AS is_attached_to_prescriber_70, o0_.is_emptybal AS is_emptybal_71, o0_.is_authorized_debit AS is_authorized_debit_72, o0_.history_nav_tunnel AS history_nav_tunnel_73, o0_.note AS note_74, o0_.reason_change AS reason_change_75, o0_.previous_pack AS previous_pack_76, o0_.zapier_hook_url AS zapier_hook_url_77, o0_.sigle AS sigle_78, o0_.enseigne AS enseigne_79, o0_.corporate_object AS corporate_object_80, o0_.place_know_digidom AS place_know_digidom_81, o0_.other_place_known_digidom AS other_place_known_digidom_82, o0_.bank_name AS bank_name_83, o0_.titulaire AS titulaire_84, o0_.is_invalid_email AS is_invalid_email_85, o0_.is_invalid_phone_number AS is_invalid_phone_number_86, o0_.special_customer_type AS special_customer_type_87, o0_.encrypted_parent_id AS encrypted_parent_id_88, o0_.is_referral_process_finished AS is_referral_process_finished_89, o0_.is_digidom_accountant AS is_digidom_accountant_90, o0_.is_surveillance AS is_surveillance_91, o0_.beneficial_owners AS beneficial_owners_92, o0_.accounts_submission_last_year AS accounts_submission_last_year_93, o0_.address_id AS address_id_94, o0_.accountant_id AS accountant_id_95, o0_.sector_id AS sector_id_96, o0_.store_id AS store_id_97, o0_.forwarding_address_id AS forwarding_address_id_98, o0_.prescriber_id AS prescriber_id_99, o0_.notification_preference_id AS notification_preference_id_100, o0_.discount_code_id AS discount_code_id_101, o0_.prescriber_source_id AS prescriber_source_id_102, o0_.reason_unpaid_id AS reason_unpaid_id_103, o0_.reason_ribinactive_id AS reason_ribinactive_id_104, o0_.activity_category_id AS activity_category_id_105, o0_.referral_source_id AS referral_source_id_106, o0_.activity_domain_id AS activity_domain_id_107 FROM organization o0_ WHERE o0_.store_id = 1 AND o0_.status IN ('NEW PAIEMENT', 'CLIENT DOCS MANQUANTS', 'CLIENT OK', 'CLIENT DOCS EXPIRES', 'PRE-RESILIATION') AND o0_.id <> 27651 AND (REGEXP_REPLACE(COALESCE(o0_.legal_name, ''), '[^['nbn':]]+', '') <> '' AND (REGEXP_REPLACE(o0_.legal_name, '[^['nbn':]]+', '') LIKE 'nbn') OR REGEXP_REPLACE(COALESCE(o0_.alternate_name, ''), '[^['nbn':]]+', '') <> '' AND (REGEXP_REPLACE(o0_.alternate_name, '[^[:alnum:]]+', '') LIKE ?) OR REGEXP_REPLACE(COALESCE(o0_.sigle, ''), '[^[:alnum:]]+', '') <> '' AND (REGEXP_REPLACE(o0_.sigle, '[^[:alnum:]]+', '') LIKE ?) OR REGEXP_REPLACE(COALESCE(o0_.enseigne, ''), '[^[:alnum:]]+', '') <> '' AND (REGEXP_REPLACE(o0_.enseigne, '[^[:alnum:]]+', '') LIKE ?));
|
4 |
1.87 ms |
SELECT t0.id AS id_1, t0.given_name AS given_name_2, t0.family_name AS family_name_3, t0.phone_number AS phone_number_4, t0.email AS email_5, t0.service AS service_6, t0.created_at AS created_at_7, t0.note AS note_8, t0.status AS status_9, t0.generate_user AS generate_user_10, t0.call_time AS call_time_11, t0.priority AS priority_12, t0.date AS date_13, t0.step AS step_14, t0.source AS source_15, t0.legal_name AS legal_name_16, t0.pack AS pack_17, t0.manager_id AS manager_id_18, t0.formality_id AS formality_id_19, t0.organization_id AS organization_id_20 FROM leads t0 WHERE t0.organization_id = ?
SELECT t0.id AS id_1, t0.given_name AS given_name_2, t0.family_name AS family_name_3, t0.phone_number AS phone_number_4, t0.email AS email_5, t0.service AS service_6, t0.created_at AS created_at_7, t0.note AS note_8, t0.status AS status_9, t0.generate_user AS generate_user_10, t0.call_time AS call_time_11, t0.priority AS priority_12, t0.date AS date_13, t0.step AS step_14, t0.source AS source_15, t0.legal_name AS legal_name_16, t0.pack AS pack_17, t0.manager_id AS manager_id_18, t0.formality_id AS formality_id_19, t0.organization_id AS organization_id_20 FROM leads t0 WHERE t0.organization_id = 12391;
|
5 |
3.68 ms |
SELECT t0.id AS id_1, t0.alternate_name AS alternate_name_2, t0.legal_name AS legal_name_3, t0.name_legal_representative AS name_legal_representative_4, t0.organization_id AS organization_id_5 FROM ibml_organization_configuration t0 WHERE t0.organization_id = ?
SELECT t0.id AS id_1, t0.alternate_name AS alternate_name_2, t0.legal_name AS legal_name_3, t0.name_legal_representative AS name_legal_representative_4, t0.organization_id AS organization_id_5 FROM ibml_organization_configuration t0 WHERE t0.organization_id = 12391;
|
6 |
3.70 ms |
SELECT t0.id AS id_1, t0.signature_request_id AS signature_request_id_2, t0.created_at AS created_at_3, t0.external_file_id AS external_file_id_4, t0.last_uploaded_file_at AS last_uploaded_file_at_5, t0.organization_id AS organization_id_6 FROM process_yousign t0 WHERE t0.organization_id = ?
SELECT t0.id AS id_1, t0.signature_request_id AS signature_request_id_2, t0.created_at AS created_at_3, t0.external_file_id AS external_file_id_4, t0.last_uploaded_file_at AS last_uploaded_file_at_5, t0.organization_id AS organization_id_6 FROM process_yousign t0 WHERE t0.organization_id = 12391;
|
7 |
1.63 ms |
SELECT t0.id AS id_1, t0.active AS active_2, t0.price AS price_3, t0.type AS type_4, t0.subscription_deposit AS subscription_deposit_5, t0.created_at AS created_at_6, t0.discount_without_tax AS discount_without_tax_7, t0.payment_dates AS payment_dates_8, t0.price_without_tax AS price_without_tax_9, t0.stored_total_price_without_tax AS stored_total_price_without_tax_10, t0.is_updated_price AS is_updated_price_11, t0.next_payment AS next_payment_12, t0.pack_history AS pack_history_13, t0.not_accepted_scan_enveloppe AS not_accepted_scan_enveloppe_14, t0.invoice_generation_date AS invoice_generation_date_15, t0.month_number AS month_number_16, t0.authorized_reccurency AS authorized_reccurency_17, t0.is_cancel_using_offer AS is_cancel_using_offer_18, t0.is_digipack_offer AS is_digipack_offer_19, t0.deadline_offered AS deadline_offered_20, t0.prepaid_months AS prepaid_months_21, t0.has_blocked_service AS has_blocked_service_22, t0.document_recovery_delay AS document_recovery_delay_23, t0.updated_at AS updated_at_24, t0.organization_id AS organization_id_25, t26.id AS id_27, t26.name AS name_28, t26.price AS price_29, t26.focus AS focus_30, t26.price_without_tax AS price_without_tax_31, t26.vat_rate AS vat_rate_32, t26.discount AS discount_33, t26.unique_key AS unique_key_34, t26.automation AS automation_35, t26.is_published AS is_published_36, t26.is_subscription AS is_subscription_37, t26.published_name AS published_name_38, t26.is_published_pack AS is_published_pack_39, t26.type AS type_40, t26.legal_status AS legal_status_41, t26.created_at AS created_at_42, t26.association_pack_id AS association_pack_id_43, t26.category_id AS category_id_44, t26.recurring_invoice_id AS recurring_invoice_id_45, t26.initial_invoice_id AS initial_invoice_id_46, t26.subscription_id AS subscription_id_47 FROM subscription t0 LEFT JOIN pack t26 ON t26.subscription_id = t0.id WHERE t0.organization_id = ?
SELECT
t0.id AS id_1,
t0.active AS active_2,
t0.price AS price_3,
t0.type AS type_4,
t0.subscription_deposit AS subscription_deposit_5,
t0.created_at AS created_at_6,
t0.discount_without_tax AS discount_without_tax_7,
t0.payment_dates AS payment_dates_8,
t0.price_without_tax AS price_without_tax_9,
t0.stored_total_price_without_tax AS stored_total_price_without_tax_10,
t0.is_updated_price AS is_updated_price_11,
t0.next_payment AS next_payment_12,
t0.pack_history AS pack_history_13,
t0.not_accepted_scan_enveloppe AS not_accepted_scan_enveloppe_14,
t0.invoice_generation_date AS invoice_generation_date_15,
t0.month_number AS month_number_16,
t0.authorized_reccurency AS authorized_reccurency_17,
t0.is_cancel_using_offer AS is_cancel_using_offer_18,
t0.is_digipack_offer AS is_digipack_offer_19,
t0.deadline_offered AS deadline_offered_20,
t0.prepaid_months AS prepaid_months_21,
t0.has_blocked_service AS has_blocked_service_22,
t0.document_recovery_delay AS document_recovery_delay_23,
t0.updated_at AS updated_at_24,
t0.organization_id AS organization_id_25,
t26.id AS id_27,
t26.name AS name_28,
t26.price AS price_29,
t26.focus AS focus_30,
t26.price_without_tax AS price_without_tax_31,
t26.vat_rate AS vat_rate_32,
t26.discount AS discount_33,
t26.unique_key AS unique_key_34,
t26.automation AS automation_35,
t26.is_published AS is_published_36,
t26.is_subscription AS is_subscription_37,
t26.published_name AS published_name_38,
t26.is_published_pack AS is_published_pack_39,
t26.type AS type_40,
t26.legal_status AS legal_status_41,
t26.created_at AS created_at_42,
t26.association_pack_id AS association_pack_id_43,
t26.category_id AS category_id_44,
t26.recurring_invoice_id AS recurring_invoice_id_45,
t26.initial_invoice_id AS initial_invoice_id_46,
t26.subscription_id AS subscription_id_47
FROM
subscription t0
LEFT JOIN pack t26 ON t26.subscription_id = t0.id
WHERE
t0.organization_id = ?
SELECT t0.id AS id_1, t0.active AS active_2, t0.price AS price_3, t0.type AS type_4, t0.subscription_deposit AS subscription_deposit_5, t0.created_at AS created_at_6, t0.discount_without_tax AS discount_without_tax_7, t0.payment_dates AS payment_dates_8, t0.price_without_tax AS price_without_tax_9, t0.stored_total_price_without_tax AS stored_total_price_without_tax_10, t0.is_updated_price AS is_updated_price_11, t0.next_payment AS next_payment_12, t0.pack_history AS pack_history_13, t0.not_accepted_scan_enveloppe AS not_accepted_scan_enveloppe_14, t0.invoice_generation_date AS invoice_generation_date_15, t0.month_number AS month_number_16, t0.authorized_reccurency AS authorized_reccurency_17, t0.is_cancel_using_offer AS is_cancel_using_offer_18, t0.is_digipack_offer AS is_digipack_offer_19, t0.deadline_offered AS deadline_offered_20, t0.prepaid_months AS prepaid_months_21, t0.has_blocked_service AS has_blocked_service_22, t0.document_recovery_delay AS document_recovery_delay_23, t0.updated_at AS updated_at_24, t0.organization_id AS organization_id_25, t26.id AS id_27, t26.name AS name_28, t26.price AS price_29, t26.focus AS focus_30, t26.price_without_tax AS price_without_tax_31, t26.vat_rate AS vat_rate_32, t26.discount AS discount_33, t26.unique_key AS unique_key_34, t26.automation AS automation_35, t26.is_published AS is_published_36, t26.is_subscription AS is_subscription_37, t26.published_name AS published_name_38, t26.is_published_pack AS is_published_pack_39, t26.type AS type_40, t26.legal_status AS legal_status_41, t26.created_at AS created_at_42, t26.association_pack_id AS association_pack_id_43, t26.category_id AS category_id_44, t26.recurring_invoice_id AS recurring_invoice_id_45, t26.initial_invoice_id AS initial_invoice_id_46, t26.subscription_id AS subscription_id_47 FROM subscription t0 LEFT JOIN pack t26 ON t26.subscription_id = t0.id WHERE t0.organization_id = 12391;
|
8 |
38.56 ms |
SELECT t0.id AS id_1, t0.type AS type_2, t0.price_without_tax AS price_without_tax_3, t0.trial AS trial_4, t0.remove_after_trial AS remove_after_trial_5, t0.trial_period_length AS trial_period_length_6, t0.created_at AS created_at_7, t0.product_id AS product_id_8, t9.id AS id_10, t9.name AS name_11, t9.alternate_name AS alternate_name_12, t9.price_without_tax AS price_without_tax_13, t9.description AS description_14, t9.active AS active_15, t9.meta_description AS meta_description_16, t9.meta_title AS meta_title_17, t9.url AS url_18, t9.created_at AS created_at_19, t9.subscription_type AS subscription_type_20, t9.unique_key AS unique_key_21, t9.is_displayed AS is_displayed_22, t9.is_archived AS is_archived_23, t9.is_subscription_component AS is_subscription_component_24, t9.category_id AS category_id_25, t9.category_for_billing_report_id AS category_for_billing_report_id_26, t0.subscription_id AS subscription_id_27, t28.id AS id_29, t28.active AS active_30, t28.price AS price_31, t28.type AS type_32, t28.subscription_deposit AS subscription_deposit_33, t28.created_at AS created_at_34, t28.discount_without_tax AS discount_without_tax_35, t28.payment_dates AS payment_dates_36, t28.price_without_tax AS price_without_tax_37, t28.stored_total_price_without_tax AS stored_total_price_without_tax_38, t28.is_updated_price AS is_updated_price_39, t28.next_payment AS next_payment_40, t28.pack_history AS pack_history_41, t28.not_accepted_scan_enveloppe AS not_accepted_scan_enveloppe_42, t28.invoice_generation_date AS invoice_generation_date_43, t28.month_number AS month_number_44, t28.authorized_reccurency AS authorized_reccurency_45, t28.is_cancel_using_offer AS is_cancel_using_offer_46, t28.is_digipack_offer AS is_digipack_offer_47, t28.deadline_offered AS deadline_offered_48, t28.prepaid_months AS prepaid_months_49, t28.has_blocked_service AS has_blocked_service_50, t28.document_recovery_delay AS document_recovery_delay_51, t28.updated_at AS updated_at_52, t28.organization_id AS organization_id_53, t0.subscription_model_id AS subscription_model_id_54 FROM service t0 INNER JOIN product t9 ON t0.product_id = t9.id LEFT JOIN subscription t28 ON t0.subscription_id = t28.id WHERE t0.subscription_id = ?
SELECT
t0.id AS id_1,
t0.type AS type_2,
t0.price_without_tax AS price_without_tax_3,
t0.trial AS trial_4,
t0.remove_after_trial AS remove_after_trial_5,
t0.trial_period_length AS trial_period_length_6,
t0.created_at AS created_at_7,
t0.product_id AS product_id_8,
t9.id AS id_10,
t9.name AS name_11,
t9.alternate_name AS alternate_name_12,
t9.price_without_tax AS price_without_tax_13,
t9.description AS description_14,
t9.active AS active_15,
t9.meta_description AS meta_description_16,
t9.meta_title AS meta_title_17,
t9.url AS url_18,
t9.created_at AS created_at_19,
t9.subscription_type AS subscription_type_20,
t9.unique_key AS unique_key_21,
t9.is_displayed AS is_displayed_22,
t9.is_archived AS is_archived_23,
t9.is_subscription_component AS is_subscription_component_24,
t9.category_id AS category_id_25,
t9.category_for_billing_report_id AS category_for_billing_report_id_26,
t0.subscription_id AS subscription_id_27,
t28.id AS id_29,
t28.active AS active_30,
t28.price AS price_31,
t28.type AS type_32,
t28.subscription_deposit AS subscription_deposit_33,
t28.created_at AS created_at_34,
t28.discount_without_tax AS discount_without_tax_35,
t28.payment_dates AS payment_dates_36,
t28.price_without_tax AS price_without_tax_37,
t28.stored_total_price_without_tax AS stored_total_price_without_tax_38,
t28.is_updated_price AS is_updated_price_39,
t28.next_payment AS next_payment_40,
t28.pack_history AS pack_history_41,
t28.not_accepted_scan_enveloppe AS not_accepted_scan_enveloppe_42,
t28.invoice_generation_date AS invoice_generation_date_43,
t28.month_number AS month_number_44,
t28.authorized_reccurency AS authorized_reccurency_45,
t28.is_cancel_using_offer AS is_cancel_using_offer_46,
t28.is_digipack_offer AS is_digipack_offer_47,
t28.deadline_offered AS deadline_offered_48,
t28.prepaid_months AS prepaid_months_49,
t28.has_blocked_service AS has_blocked_service_50,
t28.document_recovery_delay AS document_recovery_delay_51,
t28.updated_at AS updated_at_52,
t28.organization_id AS organization_id_53,
t0.subscription_model_id AS subscription_model_id_54
FROM
service t0
INNER JOIN product t9 ON t0.product_id = t9.id
LEFT JOIN subscription t28 ON t0.subscription_id = t28.id
WHERE
t0.subscription_id = ?
SELECT t0.id AS id_1, t0.type AS type_2, t0.price_without_tax AS price_without_tax_3, t0.trial AS trial_4, t0.remove_after_trial AS remove_after_trial_5, t0.trial_period_length AS trial_period_length_6, t0.created_at AS created_at_7, t0.product_id AS product_id_8, t9.id AS id_10, t9.name AS name_11, t9.alternate_name AS alternate_name_12, t9.price_without_tax AS price_without_tax_13, t9.description AS description_14, t9.active AS active_15, t9.meta_description AS meta_description_16, t9.meta_title AS meta_title_17, t9.url AS url_18, t9.created_at AS created_at_19, t9.subscription_type AS subscription_type_20, t9.unique_key AS unique_key_21, t9.is_displayed AS is_displayed_22, t9.is_archived AS is_archived_23, t9.is_subscription_component AS is_subscription_component_24, t9.category_id AS category_id_25, t9.category_for_billing_report_id AS category_for_billing_report_id_26, t0.subscription_id AS subscription_id_27, t28.id AS id_29, t28.active AS active_30, t28.price AS price_31, t28.type AS type_32, t28.subscription_deposit AS subscription_deposit_33, t28.created_at AS created_at_34, t28.discount_without_tax AS discount_without_tax_35, t28.payment_dates AS payment_dates_36, t28.price_without_tax AS price_without_tax_37, t28.stored_total_price_without_tax AS stored_total_price_without_tax_38, t28.is_updated_price AS is_updated_price_39, t28.next_payment AS next_payment_40, t28.pack_history AS pack_history_41, t28.not_accepted_scan_enveloppe AS not_accepted_scan_enveloppe_42, t28.invoice_generation_date AS invoice_generation_date_43, t28.month_number AS month_number_44, t28.authorized_reccurency AS authorized_reccurency_45, t28.is_cancel_using_offer AS is_cancel_using_offer_46, t28.is_digipack_offer AS is_digipack_offer_47, t28.deadline_offered AS deadline_offered_48, t28.prepaid_months AS prepaid_months_49, t28.has_blocked_service AS has_blocked_service_50, t28.document_recovery_delay AS document_recovery_delay_51, t28.updated_at AS updated_at_52, t28.organization_id AS organization_id_53, t0.subscription_model_id AS subscription_model_id_54 FROM service t0 INNER JOIN product t9 ON t0.product_id = t9.id LEFT JOIN subscription t28 ON t0.subscription_id = t28.id WHERE t0.subscription_id = 26715;
|