insert into t_poem (poem_name,poem_user,poem_information,givelike,collection,`explain`,`time`) values (#{poemName},#{poemUser},#{poemInformation},0,0,#{explain},#{time}); update t_poem set poem_name=#{poemName}, poem_information=#{poemInformation}, `explain`=#{explain}, `time` = #{time} where poem_id = #{poemId}; delete from t_poem where poem_id = #{poemId}