id,title,content,time,user delete from notice where id = #{id} insert into notice id, title, content, time, user, #{id}, #{title}, #{content}, #{time}, #{user}, update notice title = #{title}, content = #{content}, time = #{time}, user = #{user}, where id = #{id}