select plan_id, area_id, type_id, plan_name, content, colour, acreage, cost, total_pct, risk, earnings from plan_info insert into plan_info area_id, type_id, plan_name, content, colour, acreage, cost, total_pct, risk, earnings, #{areaId}, #{typeId}, #{planName}, #{content}, #{colour}, #{acreage}, #{cost}, #{totalPct}, #{risk}, #{earnings}, update plan_info area_id = #{areaId}, type_id = #{typeId}, plan_name = #{planName}, content = #{content}, colour = #{colour}, acreage = #{acreage}, cost = #{cost}, total_pct = #{totalPct}, risk = #{risk}, earnings = #{earnings}, where plan_id = #{planId} delete from plan_info where plan_id = #{planId} delete from plan_info where plan_id in #{planId}