insert into role(id,name,remark) values(null,#{name},#{remark}) update role set name = #{name},remark = #{remark} where id = #{id} delete from role where id = #{id}