INSERT INTO model_demand_monitor_employment (year, total_count, first_industry_count, second_industry_count, third_industry_count) VALUES (#{year}, #{totalCount}, #{firstIndustryCount}, #{secondIndustryCount}, #{thirdIndustryCount}) UPDATE model_demand_monitor_employment SET year = #{year}, total_count = #{totalCount}, first_industry_count = #{firstIndustryCount}, second_industry_count = #{secondIndustryCount}, third_industry_count = #{thirdIndustryCount} WHERE id = #{id} DELETE FROM model_demand_monitor_employment WHERE id = #{id} DELETE FROM model_demand_monitor_employment WHERE id IS NOT NULL;