1.10 ms (25.20%)
|
1 |
SELECT COALESCE(d0_.nick_name, CONCAT(d0_.cognome, ' ', d0_.nome)) AS sclr_0, i1_.id AS id_1, i1_.date_from AS date_from_2, i1_.date_to AS date_to_3, i1_.annullamento AS annullamento_4, i1_.worker_cf AS worker_cf_5, i1_.communication_code AS communication_code_6, i1_.employer_cf AS employer_cf_7, i1_.employer_email AS employer_email_8, i1_.xml_path AS xml_path_9, i1_.pdf_path AS pdf_path_10, i1_.mailjet_message_id AS mailjet_message_id_11, i1_.mail_status AS mail_status_12, i1_.mail_sent_at AS mail_sent_at_13, i1_.mail_delivered_at AS mail_delivered_at_14, i1_.last_webhook_payload AS last_webhook_payload_15, i1_.cancelled AS cancelled_16, i1_.created_at AS created_at_17, i1_.updated_at AS updated_at_18, d0_.id AS id_19, d0_.nome AS nome_20, d0_.cognome AS cognome_21, d0_.wno_id AS wno_id_22, d0_.codice_fiscale AS codice_fiscale_23, d0_.contract_type AS contract_type_24, d0_.codice_comunicazione_intermittente AS codice_comunicazione_intermittente_25, d0_.email AS email_26, d0_.telefono AS telefono_27, d0_.nick_name AS nick_name_28, d0_.data_scadenza_contratto AS data_scadenza_contratto_29, d0_.is_active AS is_active_30, d0_.created_at AS created_at_31, d0_.updated_at AS updated_at_32, d0_.ore_lun AS ore_lun_33, d0_.ore_mar AS ore_mar_34, d0_.ore_mer AS ore_mer_35, d0_.ore_gio AS ore_gio_36, d0_.ore_ven AS ore_ven_37, d0_.ore_sab AS ore_sab_38, d0_.ore_dom AS ore_dom_39, d0_.straordinari_mode AS straordinari_mode_40, d0_.straordinari_max_value AS straordinari_max_value_41, i1_.dipendente_id AS dipendente_id_42, i1_.parent_call_id AS parent_call_id_43 FROM intermittent_call i1_ LEFT JOIN dipendenti d0_ ON i1_.dipendente_id = d0_.id WHERE i1_.annullamento = ? AND i1_.cancelled = ? AND i1_.date_to >= ? AND i1_.id IN (?, ?, ?, ?, ?, ?, ?) ORDER BY sclr_0 ASC, i1_.date_to ASC
Parameters: [
0
0
"2026-06-19 00:00:00"
171
185
192
190
191
170
184
]
SELECT
COALESCE(
d0_.nick_name,
CONCAT(d0_.cognome, ' ', d0_.nome)
) AS sclr_0,
i1_.id AS id_1,
i1_.date_from AS date_from_2,
i1_.date_to AS date_to_3,
i1_.annullamento AS annullamento_4,
i1_.worker_cf AS worker_cf_5,
i1_.communication_code AS communication_code_6,
i1_.employer_cf AS employer_cf_7,
i1_.employer_email AS employer_email_8,
i1_.xml_path AS xml_path_9,
i1_.pdf_path AS pdf_path_10,
i1_.mailjet_message_id AS mailjet_message_id_11,
i1_.mail_status AS mail_status_12,
i1_.mail_sent_at AS mail_sent_at_13,
i1_.mail_delivered_at AS mail_delivered_at_14,
i1_.last_webhook_payload AS last_webhook_payload_15,
i1_.cancelled AS cancelled_16,
i1_.created_at AS created_at_17,
i1_.updated_at AS updated_at_18,
d0_.id AS id_19,
d0_.nome AS nome_20,
d0_.cognome AS cognome_21,
d0_.wno_id AS wno_id_22,
d0_.codice_fiscale AS codice_fiscale_23,
d0_.contract_type AS contract_type_24,
d0_.codice_comunicazione_intermittente AS codice_comunicazione_intermittente_25,
d0_.email AS email_26,
d0_.telefono AS telefono_27,
d0_.nick_name AS nick_name_28,
d0_.data_scadenza_contratto AS data_scadenza_contratto_29,
d0_.is_active AS is_active_30,
d0_.created_at AS created_at_31,
d0_.updated_at AS updated_at_32,
d0_.ore_lun AS ore_lun_33,
d0_.ore_mar AS ore_mar_34,
d0_.ore_mer AS ore_mer_35,
d0_.ore_gio AS ore_gio_36,
d0_.ore_ven AS ore_ven_37,
d0_.ore_sab AS ore_sab_38,
d0_.ore_dom AS ore_dom_39,
d0_.straordinari_mode AS straordinari_mode_40,
d0_.straordinari_max_value AS straordinari_max_value_41,
i1_.dipendente_id AS dipendente_id_42,
i1_.parent_call_id AS parent_call_id_43
FROM
intermittent_call i1_
LEFT JOIN dipendenti d0_ ON i1_.dipendente_id = d0_.id
WHERE
i1_.annullamento = ?
AND i1_.cancelled = ?
AND i1_.date_to >= ?
AND i1_.id IN (?, ?, ?, ?, ?, ?, ?)
ORDER BY
sclr_0 ASC,
i1_.date_to ASC
SELECT COALESCE(d0_.nick_name, CONCAT(d0_.cognome, ' ', d0_.nome)) AS sclr_0, i1_.id AS id_1, i1_.date_from AS date_from_2, i1_.date_to AS date_to_3, i1_.annullamento AS annullamento_4, i1_.worker_cf AS worker_cf_5, i1_.communication_code AS communication_code_6, i1_.employer_cf AS employer_cf_7, i1_.employer_email AS employer_email_8, i1_.xml_path AS xml_path_9, i1_.pdf_path AS pdf_path_10, i1_.mailjet_message_id AS mailjet_message_id_11, i1_.mail_status AS mail_status_12, i1_.mail_sent_at AS mail_sent_at_13, i1_.mail_delivered_at AS mail_delivered_at_14, i1_.last_webhook_payload AS last_webhook_payload_15, i1_.cancelled AS cancelled_16, i1_.created_at AS created_at_17, i1_.updated_at AS updated_at_18, d0_.id AS id_19, d0_.nome AS nome_20, d0_.cognome AS cognome_21, d0_.wno_id AS wno_id_22, d0_.codice_fiscale AS codice_fiscale_23, d0_.contract_type AS contract_type_24, d0_.codice_comunicazione_intermittente AS codice_comunicazione_intermittente_25, d0_.email AS email_26, d0_.telefono AS telefono_27, d0_.nick_name AS nick_name_28, d0_.data_scadenza_contratto AS data_scadenza_contratto_29, d0_.is_active AS is_active_30, d0_.created_at AS created_at_31, d0_.updated_at AS updated_at_32, d0_.ore_lun AS ore_lun_33, d0_.ore_mar AS ore_mar_34, d0_.ore_mer AS ore_mer_35, d0_.ore_gio AS ore_gio_36, d0_.ore_ven AS ore_ven_37, d0_.ore_sab AS ore_sab_38, d0_.ore_dom AS ore_dom_39, d0_.straordinari_mode AS straordinari_mode_40, d0_.straordinari_max_value AS straordinari_max_value_41, i1_.dipendente_id AS dipendente_id_42, i1_.parent_call_id AS parent_call_id_43 FROM intermittent_call i1_ LEFT JOIN dipendenti d0_ ON i1_.dipendente_id = d0_.id WHERE i1_.annullamento = 0 AND i1_.cancelled = 0 AND i1_.date_to >= '2026-06-19 00:00:00' AND i1_.id IN (171, 185, 192, 190, 191, 170, 184) ORDER BY sclr_0 ASC, i1_.date_to ASC;
|