INSERT INTO model_demand_monitor_industry_trend (year_month, industry_code, industry_name, demand_count) VALUES (#{yearMonth}, #{industryCode}, #{industryName}, #{demandCount}) UPDATE model_demand_monitor_industry_trend SET year_month = #{yearMonth}, industry_code = #{industryCode}, industry_name = #{industryName}, demand_count = #{demandCount} WHERE id = #{id} DELETE FROM model_demand_monitor_industry_trend WHERE id = #{id} DELETE FROM model_demand_monitor_industry_trend WHERE id IS NOT NULL;