select id, itemlist, total, applytime, applyer from purchase insert into purchase itemlist, total, applytime, applyer, #{itemlist}, #{total}, #{applytime}, #{applyer}, update purchase itemlist = #{itemlist}, total = #{total}, applytime = #{applytime}, applyer = #{applyer}, where id = #{id} delete from purchase where id = #{id} delete from purchase where id in #{id}