INSERT INTO t_rectification_punishment name, type, regulationsPath, punishmentPath, upload_id, upload_time #{name}, #{type}, #{regulationsPath}, #{punishmentPath}, #{uploadId}, #{uploadTime} update t_rectification_punishment set is_active = 0 where id = #{id}