select plan_id, plan_code, plan_name,plan_type, start_date, end_date, cycle_type, cycle_count,status, remark, attr1, attr2, attr3, attr4, create_by, create_time, update_by, update_time from dv_check_plan insert into dv_check_plan plan_code, plan_name, plan_type, start_date, end_date, cycle_type, cycle_count, status, remark, attr1, attr2, attr3, attr4, create_by, create_time, update_by, update_time, #{planCode}, #{planName}, #{planType}, #{startDate}, #{endDate}, #{cycleType}, #{cycleCount}, #{status}, #{remark}, #{attr1}, #{attr2}, #{attr3}, #{attr4}, #{createBy}, #{createTime}, #{updateBy}, #{updateTime}, update dv_check_plan plan_code = #{planCode}, plan_name = #{planName}, plan_type = #{planType}, start_date = #{startDate}, end_date = #{endDate}, cycle_type = #{cycleType}, cycle_count = #{cycleCount}, status = #{status}, remark = #{remark}, attr1 = #{attr1}, attr2 = #{attr2}, attr3 = #{attr3}, attr4 = #{attr4}, create_by = #{createBy}, create_time = #{createTime}, update_by = #{updateBy}, update_time = #{updateTime}, where plan_id = #{planId} delete from dv_check_plan where plan_id = #{planId} delete from dv_check_plan where plan_id in #{planId}