select id, email_job_alerts, email_application_updates, email_ai_match_suggestions,
email_newsletter, push_new_messages, push_interview_reminders,
mail_marketing_emails, mail_partner_offers,
del_flag, create_by, create_time, update_by, update_time, remark
from hotake_notification_preferences
insert into hotake_notification_preferences
email_job_alerts,
email_application_updates,
email_ai_match_suggestions,
email_newsletter,
push_new_messages,
push_interview_reminders,
mail_marketing_emails,
mail_partner_offers,
del_flag,
create_by,
create_time,
update_by,
update_time,
remark,
#{emailJobAlerts},
#{emailApplicationUpdates},
#{emailAiMatchSuggestions},
#{emailNewsletter},
#{pushNewMessages},
#{pushInterviewReminders},
#{mailMarketingEmails},
#{mailPartnerOffers},
#{delFlag},
#{createBy},
#{createTime},
#{updateBy},
#{updateTime},
#{remark},
update hotake_notification_preferences
email_job_alerts = #{emailJobAlerts},
email_application_updates = #{emailApplicationUpdates},
email_ai_match_suggestions = #{emailAiMatchSuggestions},
email_newsletter = #{emailNewsletter},
push_new_messages = #{pushNewMessages},
push_interview_reminders = #{pushInterviewReminders},
mail_marketing_emails = #{mailMarketingEmails},
mail_partner_offers = #{mailPartnerOffers},
del_flag = #{delFlag},
create_by = #{createBy},
create_time = #{createTime},
update_by = #{updateBy},
update_time = #{updateTime},
remark = #{remark},
where id = #{id}
delete from hotake_notification_preferences where id = #{id}
delete from hotake_notification_preferences where id in
#{id}