insert into notice(id, title, content, time) values (#{id}, #{title}, #{content}, #{time}) update notice set title = #{title}, content = #{content}, time = #{time} where id = #{id}