SELECTa0_.idASid_0,a0_.nameASname_1,a0_.descriptionASdescription_2,a0_.statusASstatus_3,a0_.planned_dateASplanned_date_4,a0_.completed_dateAScompleted_date_5,a0_.categoryAScategory_6,a0_.participant_countASparticipant_count_7,a0_.costAScost_8,a0_.responsible_personASresponsible_person_9,a0_.created_atAScreated_at_10,a0_.project_idASproject_id_11,a0_.location_idASlocation_id_12FROMactivitya0_WHEREa0_.planned_date<?ANDa0_.statusNOTIN (?,?) ORDER BYa0_.planned_dateASC
SELECTa0_.idASid_0,a0_.nameASname_1,a0_.descriptionASdescription_2,a0_.statusASstatus_3,a0_.planned_dateASplanned_date_4,a0_.completed_dateAScompleted_date_5,a0_.categoryAScategory_6,a0_.participant_countASparticipant_count_7,a0_.costAScost_8,a0_.responsible_personASresponsible_person_9,a0_.created_atAScreated_at_10,a0_.project_idASproject_id_11,a0_.location_idASlocation_id_12FROMactivitya0_WHEREa0_.planned_date<?ANDa0_.statusNOTIN (?,?)
ORDER BYa0_.planned_dateASC
SELECTa0_.idASid_0,a0_.nameASname_1,a0_.descriptionASdescription_2,a0_.statusASstatus_3,a0_.planned_dateASplanned_date_4,a0_.completed_dateAScompleted_date_5,a0_.categoryAScategory_6,a0_.participant_countASparticipant_count_7,a0_.costAScost_8,a0_.responsible_personASresponsible_person_9,a0_.created_atAScreated_at_10,a0_.project_idASproject_id_11,a0_.location_idASlocation_id_12FROMactivitya0_WHEREa0_.planned_date<'2026-03-13 04:50:28'ANDa0_.statusNOTIN ('completed','cancelled') ORDER BYa0_.planned_dateASC;
SELECTa0_.idASid_0,a0_.nameASname_1,a0_.descriptionASdescription_2,a0_.statusASstatus_3,a0_.planned_dateASplanned_date_4,a0_.completed_dateAScompleted_date_5,a0_.categoryAScategory_6,a0_.participant_countASparticipant_count_7,a0_.costAScost_8,a0_.responsible_personASresponsible_person_9,a0_.created_atAScreated_at_10,a0_.project_idASproject_id_11,a0_.location_idASlocation_id_12FROMactivitya0_WHEREa0_.planned_date<?ANDa0_.statusNOTIN (?,?) ORDER BYa0_.planned_dateASC
SELECTa0_.idASid_0,a0_.nameASname_1,a0_.descriptionASdescription_2,a0_.statusASstatus_3,a0_.planned_dateASplanned_date_4,a0_.completed_dateAScompleted_date_5,a0_.categoryAScategory_6,a0_.participant_countASparticipant_count_7,a0_.costAScost_8,a0_.responsible_personASresponsible_person_9,a0_.created_atAScreated_at_10,a0_.project_idASproject_id_11,a0_.location_idASlocation_id_12FROMactivitya0_WHEREa0_.planned_date<?ANDa0_.statusNOTIN (?,?)
ORDER BYa0_.planned_dateASC
SELECTa0_.idASid_0,a0_.nameASname_1,a0_.descriptionASdescription_2,a0_.statusASstatus_3,a0_.planned_dateASplanned_date_4,a0_.completed_dateAScompleted_date_5,a0_.categoryAScategory_6,a0_.participant_countASparticipant_count_7,a0_.costAScost_8,a0_.responsible_personASresponsible_person_9,a0_.created_atAScreated_at_10,a0_.project_idASproject_id_11,a0_.location_idASlocation_id_12FROMactivitya0_WHEREa0_.planned_date<'2026-03-13 04:50:28'ANDa0_.statusNOTIN ('completed','cancelled') ORDER BYa0_.planned_dateASC;