-- 更新用户UID

SET @OLD_UID := 449854;
SET @NEW_UID := 10003;

UPDATE user_base SET uid=@NEW_UID WHERE uid=@OLD_UID;
UPDATE user_auth SET uid=@NEW_UID WHERE uid=@OLD_UID;
UPDATE user_count SET uid=@NEW_UID WHERE uid=@OLD_UID;
UPDATE user_decoration_base_info SET uid=@NEW_UID WHERE uid=@OLD_UID;
UPDATE user_detail SET uid=@NEW_UID WHERE uid=@OLD_UID;
UPDATE user_device SET uid=@NEW_UID WHERE uid=@OLD_UID;
UPDATE user_feedback SET uid=@NEW_UID WHERE uid=@OLD_UID;
UPDATE user_gift_count SET uid=@NEW_UID WHERE uid=@OLD_UID;
UPDATE user_honor SET uid=@NEW_UID WHERE uid=@OLD_UID;
UPDATE user_pack_gift SET uid=@NEW_UID WHERE uid=@OLD_UID;
UPDATE user_pack_gift_count SET uid=@NEW_UID WHERE uid=@OLD_UID;
UPDATE user_photo SET uid=@NEW_UID WHERE uid=@OLD_UID;
UPDATE user_property SET uid=@NEW_UID WHERE uid=@OLD_UID;
UPDATE user_property_record SET uid=@NEW_UID WHERE uid=@OLD_UID;
UPDATE user_setting SET uid=@NEW_UID WHERE uid=@OLD_UID;
UPDATE user_tag SET uid=@NEW_UID WHERE uid=@OLD_UID;
UPDATE user_task_progress SET uid=@NEW_UID WHERE uid=@OLD_UID;
UPDATE user_xp_record SET uid=@NEW_UID WHERE uid=@OLD_UID;
UPDATE room SET owner_uid=@NEW_UID WHERE owner_uid=@OLD_UID;
UPDATE room_attention SET uid=@NEW_UID WHERE uid=@OLD_UID;
UPDATE room_fans SET uid=@NEW_UID WHERE uid=@OLD_UID;
UPDATE recharge SET uid=@NEW_UID WHERE uid=@OLD_UID;

-- 更新用户数值

UPDATE user_base SET xp={经验值} WHERE uid={新ID};
UPDATE user_property SET rm={钻石},vm={水晶},point={金币} WHERE uid={新ID};

-- 举例：
UPDATE user_base SET xp=678704 WHERE uid=301543;
UPDATE user_property SET rm=1082,vm=62100,point=36 WHERE uid=301543;



UPDATE user_base SET xp=678704 WHERE uid=301543;
UPDATE user_property SET rm=1082,vm=62100,point=36 WHERE uid=301543;

UPDATE user_base SET xp=3092 WHERE uid=300679;
UPDATE user_property SET rm=49,vm=600,point=871 WHERE uid=300679;

UPDATE user_base SET xp=28740 WHERE uid=647536;
UPDATE user_property SET rm=11,vm=5100,point=371 WHERE uid=647536;

UPDATE user_base SET xp=34048 WHERE uid=688890;
UPDATE user_property SET rm=1485,vm=600,point=1530 WHERE uid=688890;

UPDATE user_base SET xp=1312665 WHERE uid=472924;
UPDATE user_property SET rm=65,vm=650,point=469 WHERE uid=472924;

UPDATE user_base SET xp=105188 WHERE uid=469125;
UPDATE user_property SET rm=0,vm=7550,point=624 WHERE uid=469125;

UPDATE user_base SET xp=16900 WHERE uid=972610;
UPDATE user_property SET rm=47,vm=14500,point=45 WHERE uid=972610;

UPDATE user_base SET xp=25529 WHERE uid=622274;
UPDATE user_property SET rm=2,vm=0,point=37 WHERE uid=622274;

UPDATE user_base SET xp=16900 WHERE uid=972610;
UPDATE user_property SET rm=47,vm=14500,point=45 WHERE uid=972610;

UPDATE user_base SET xp=487 WHERE uid=488264;
UPDATE user_property SET rm=3,vm=300,point=63 WHERE uid=488264;

UPDATE user_base SET xp=87641 WHERE uid=335763;
UPDATE user_property SET rm=20595,vm=22500,point=1583 WHERE uid=335763;

UPDATE user_base SET xp=248203 WHERE uid=866762;
UPDATE user_property SET rm=1321,vm=2550,point=53109 WHERE uid=866762;

UPDATE user_base SET xp=736378 WHERE uid=994105;
UPDATE user_property SET rm=3820,vm=30150,point=29767 WHERE uid=994105;

UPDATE user_base SET xp=54243 WHERE uid=238928;
UPDATE user_property SET rm=2059,vm=500,point=46 WHERE uid=238928;

UPDATE user_base SET xp=14567 WHERE uid=428717;
UPDATE user_property SET rm=592,vm=100,point=215 WHERE uid=428717;

UPDATE user_base SET xp=28740 WHERE uid=647536;
UPDATE user_property SET rm=11,vm=5100,point=371 WHERE uid=647536;

UPDATE user_base SET xp=17402 WHERE uid=526699;
UPDATE user_property SET rm=0,vm=0,point=722 WHERE uid=526699;

UPDATE user_base SET xp=0 WHERE uid=553948;
UPDATE user_property SET rm=0,vm=0,point=0 WHERE uid=553948;

UPDATE user_base SET xp=111637 WHERE uid=962979;
UPDATE user_property SET rm=158,vm=4000,point=24 WHERE uid=962979;

UPDATE user_base SET xp=10 WHERE uid=127203;
UPDATE user_property SET rm=157,vm=3100,point=5 WHERE uid=127203;

UPDATE user_base SET xp=111637 WHERE uid=962979;
UPDATE user_property SET rm=158,vm=4000,point=24 WHERE uid=962979;

UPDATE user_base SET xp=201877 WHERE uid=811161;
UPDATE user_property SET rm=78,vm=2375,point=16009 WHERE uid=811161;

UPDATE user_base SET xp=8486 WHERE uid=689175;
UPDATE user_property SET rm=160,vm=500,point=86 WHERE uid=689175;

UPDATE user_base SET xp=70207 WHERE uid=134862;
UPDATE user_property SET rm=51,vm=200,point=6 WHERE uid=134862;

UPDATE user_base SET xp=361563 WHERE uid=401275;
UPDATE user_property SET rm=1223,vm=600,point=94 WHERE uid=401275;

UPDATE user_base SET xp=17104 WHERE uid=194545;
UPDATE user_property SET rm=36,vm=6200,point=4877 WHERE uid=194545;

UPDATE user_base SET xp=111262 WHERE uid=143297;
UPDATE user_property SET rm=54,vm=1500,point=49 WHERE uid=143297;

UPDATE user_base SET xp=15021 WHERE uid=642501;
UPDATE user_property SET rm=13,vm=4600,point=23 WHERE uid=642501;

UPDATE user_base SET xp=6849 WHERE uid=105076;
UPDATE user_property SET rm=3,vm=0,point=772 WHERE uid=105076;

UPDATE user_base SET xp=60000 WHERE uid=513372;
UPDATE user_property SET rm=635,vm=0,point=9 WHERE uid=513372;

UPDATE user_base SET xp=278699 WHERE uid=21077101;
UPDATE user_property SET rm=960,vm=1350,point=52 WHERE uid=21077101;

UPDATE user_base SET xp=16666 WHERE uid=894170;
UPDATE user_property SET rm=55,vm=1100,point=5677 WHERE uid=894170;

UPDATE user_base SET xp=112774 WHERE uid=848064;
UPDATE user_property SET rm=40049,vm=94370,point=28205 WHERE uid=848064;

