SELECTs0_.idASid_0,s0_.nameASname_1,s0_.addressASaddress_2,s0_.postal_codeASpostal_code_3,s0_.locationASlocation_4,s0_.waiter_call_soundASwaiter_call_sound_5,s0_.latitudeASlatitude_6,s0_.longitudeASlongitude_7,s0_.mailASmail_8,s0_.phoneASphone_9,s0_.working_dateASworking_date_10,s0_.logo_file_nameASlogo_file_name_11,s0_.cover_file_nameAScover_file_name_12,s0_.allow_guest_orderASallow_guest_order_13,s0_.require_table_selectionASrequire_table_selection_14,s0_.kitchen_delayed_minutesASkitchen_delayed_minutes_15,s0_.ready_not_served_minutesASready_not_served_minutes_16,s0_.dirty_minutesASdirty_minutes_17,s0_.allow_waiter_callASallow_waiter_call_18,s0_.service_fee_payerASservice_fee_payer_19,s0_.service_fee_fixedASservice_fee_fixed_20,s0_.service_fee_percentASservice_fee_percent_21,s0_.service_fee_waivedASservice_fee_waived_22,s0_.service_fee_free_untilASservice_fee_free_until_23,s0_.deleted_atASdeleted_at_24,s0_.is_activeASis_active_25,s0_.created_atAScreated_at_26,s0_.updated_atASupdated_at_27,s0_.store_type_idASstore_type_id_28,s0_.company_idAScompany_id_29,s0_.default_currencyASdefault_currency_30,s0_.language_codeASlanguage_code_31FROMstores0_WHERE (s0_.is_active=?ANDs0_.store_type_id=?) AND (s0_.deleted_atISNULL)
SELECTs0_.idASid_0,s0_.nameASname_1,s0_.addressASaddress_2,s0_.postal_codeASpostal_code_3,s0_.locationASlocation_4,s0_.waiter_call_soundASwaiter_call_sound_5,s0_.latitudeASlatitude_6,s0_.longitudeASlongitude_7,s0_.mailASmail_8,s0_.phoneASphone_9,s0_.working_dateASworking_date_10,s0_.logo_file_nameASlogo_file_name_11,s0_.cover_file_nameAScover_file_name_12,s0_.allow_guest_orderASallow_guest_order_13,s0_.require_table_selectionASrequire_table_selection_14,s0_.kitchen_delayed_minutesASkitchen_delayed_minutes_15,s0_.ready_not_served_minutesASready_not_served_minutes_16,s0_.dirty_minutesASdirty_minutes_17,s0_.allow_waiter_callASallow_waiter_call_18,s0_.service_fee_payerASservice_fee_payer_19,s0_.service_fee_fixedASservice_fee_fixed_20,s0_.service_fee_percentASservice_fee_percent_21,s0_.service_fee_waivedASservice_fee_waived_22,s0_.service_fee_free_untilASservice_fee_free_until_23,s0_.deleted_atASdeleted_at_24,s0_.is_activeASis_active_25,s0_.created_atAScreated_at_26,s0_.updated_atASupdated_at_27,s0_.store_type_idASstore_type_id_28,s0_.company_idAScompany_id_29,s0_.default_currencyASdefault_currency_30,s0_.language_codeASlanguage_code_31FROMstores0_WHERE
(
s0_.is_active=?ANDs0_.store_type_id=?
)
AND (s0_.deleted_atISNULL)
SELECTs0_.idASid_0,s0_.nameASname_1,s0_.addressASaddress_2,s0_.postal_codeASpostal_code_3,s0_.locationASlocation_4,s0_.waiter_call_soundASwaiter_call_sound_5,s0_.latitudeASlatitude_6,s0_.longitudeASlongitude_7,s0_.mailASmail_8,s0_.phoneASphone_9,s0_.working_dateASworking_date_10,s0_.logo_file_nameASlogo_file_name_11,s0_.cover_file_nameAScover_file_name_12,s0_.allow_guest_orderASallow_guest_order_13,s0_.require_table_selectionASrequire_table_selection_14,s0_.kitchen_delayed_minutesASkitchen_delayed_minutes_15,s0_.ready_not_served_minutesASready_not_served_minutes_16,s0_.dirty_minutesASdirty_minutes_17,s0_.allow_waiter_callASallow_waiter_call_18,s0_.service_fee_payerASservice_fee_payer_19,s0_.service_fee_fixedASservice_fee_fixed_20,s0_.service_fee_percentASservice_fee_percent_21,s0_.service_fee_waivedASservice_fee_waived_22,s0_.service_fee_free_untilASservice_fee_free_until_23,s0_.deleted_atASdeleted_at_24,s0_.is_activeASis_active_25,s0_.created_atAScreated_at_26,s0_.updated_atASupdated_at_27,s0_.store_type_idASstore_type_id_28,s0_.company_idAScompany_id_29,s0_.default_currencyASdefault_currency_30,s0_.language_codeASlanguage_code_31FROMstores0_WHERE (s0_.is_active=1ANDs0_.store_type_id='1') AND (s0_.deleted_atISNULL);
SELECTs0_.idASid_0,s0_.nameASname_1,s0_.name_translationsASname_translations_2,s0_.deleted_atASdeleted_at_3,s0_.is_activeASis_active_4,s0_.created_atAScreated_at_5,s0_.updated_atASupdated_at_6FROMsta_store_types0_WHERE (s0_.is_active=?) AND (s0_.deleted_atISNULL)
SELECTs0_.idASid_0,s0_.nameASname_1,s0_.name_translationsASname_translations_2,s0_.deleted_atASdeleted_at_3,s0_.is_activeASis_active_4,s0_.created_atAScreated_at_5,s0_.updated_atASupdated_at_6FROMsta_store_types0_WHERE
(s0_.is_active=?)
AND (s0_.deleted_atISNULL)
SELECTs0_.idASid_0,s0_.nameASname_1,s0_.name_translationsASname_translations_2,s0_.deleted_atASdeleted_at_3,s0_.is_activeASis_active_4,s0_.created_atAScreated_at_5,s0_.updated_atASupdated_at_6FROMsta_store_types0_WHERE (s0_.is_active=1) AND (s0_.deleted_atISNULL);
SELECTt0.codeAScode_1,t0.nameASname_2,t0.display_nameASdisplay_name_3,t0.is_defaultASis_default_4,t0.deleted_atASdeleted_at_5,t0.is_activeASis_active_6,t0.created_atAScreated_at_7,t0.updated_atASupdated_at_8FROMsta_languaget0WHEREt0.is_active=?AND ((t0.deleted_atISNULL)) ORDER BYt0.codeASC
SELECTt0.codeAScode_1,t0.nameASname_2,t0.display_nameASdisplay_name_3,t0.is_defaultASis_default_4,t0.deleted_atASdeleted_at_5,t0.is_activeASis_active_6,t0.created_atAScreated_at_7,t0.updated_atASupdated_at_8FROMsta_languaget0WHEREt0.is_active=?AND (
(t0.deleted_atISNULL)
)
ORDER BYt0.codeASC
SELECTt0.codeAScode_1,t0.nameASname_2,t0.display_nameASdisplay_name_3,t0.is_defaultASis_default_4,t0.deleted_atASdeleted_at_5,t0.is_activeASis_active_6,t0.created_atAScreated_at_7,t0.updated_atASupdated_at_8FROMsta_languaget0WHEREt0.is_active=1AND ((t0.deleted_atISNULL)) ORDER BYt0.codeASC;