update user set password=#{password} where username=#{username} insert into user(username,password,email,create_time,update_time,type,school,avatar) values(#{username},#{password},#{email},#{createTime},#{updateTime},#{type},#{school},#{avatar}) delete from user where id = #{id}