INSERT INTO user (id, username, PASSWORD, email, birthder, LEVEL,uid,isok,memory,groupid,token) VALUES (NULL, #{username}, #{password}, #{email}, #{birthder}, #{level},#{uid},#{isok},#{memory},#{groupid},#{token}) UPDATE `user` set `isok`=1 where uid=#{uid} INSERT INTO imgdata (id, imgname, imgurl, userid, updatetime,sizes,abnormal,source,imgtype,md5key,imguid,format,about,violation) VALUES (NULL, #{imgname}, #{imgurl}, #{userid}, #{updatetime},#{sizes},#{abnormal},#{source},#{imgtype},#{md5key},#{imguid},#{format},#{about},null) UPDATE `user` `email` = #{email}, `username` = #{username}, `password` = #{password}, `memory` = #{memory}, `groupid` = #{groupid} `token` = #{token}, where uid=#{uid} UPDATE `user` `email` = #{email}, `username` = #{username}, `password` = #{password}, `memory` = #{memory}, `groupid` = #{groupid}, `isok` = #{isok}, `uid` = #{uid}, `token` = #{token}, where id=#{id} DELETE FROM user WHERE id=#{id} UPDATE `user` set `isok`=#{isok} where id=#{id} UPDATE `user` set `memory`=#{memory} where id=#{id}