-- ----------------------------
-- 该脚本用于删除自动生成的用户权限管理数据。在搭建初始环境的时候，不要执行该脚本。
-- 再次重新生成项目的时候，如果您在生成器中新增了用户权限相关的数据，而之前已经搭建好的数据库中，也存在了
-- 您自己手动插入的权限数据时，可以通过执行该脚本，将现有数据库表中，生成器生成的权限数据删除，删除之后，可以再执行新生成的数据库脚本数据。
-- 请仅在下面的数据库链接中执行该脚本。
-- 主数据源 [192.168.0.35:3306/lmp]
-- ----------------------------

SET NAMES utf8mb4;
SET FOREIGN_KEY_CHECKS = 0;

-- ----------------------------
-- 全部菜单数据
-- ----------------------------
BEGIN;
DELETE FROM `sys_menu` WHERE menu_id = 1646329839285702657;
DELETE FROM `sys_menu` WHERE menu_id = 1646329839294091264;
DELETE FROM `sys_menu` WHERE menu_id = 1646330706839736417;
DELETE FROM `sys_menu` WHERE menu_id = 1646330706839736418;
DELETE FROM `sys_menu` WHERE menu_id = 1646330706839736419;
DELETE FROM `sys_menu` WHERE menu_id = 1646330706839736420;
DELETE FROM `sys_menu` WHERE menu_id = 1646330706839736421;
DELETE FROM `sys_menu` WHERE menu_id = 1646330706839736422;
DELETE FROM `sys_menu` WHERE menu_id = 1646329839294091265;
DELETE FROM `sys_menu` WHERE menu_id = 1646330706839736431;
DELETE FROM `sys_menu` WHERE menu_id = 1646330706839736432;
DELETE FROM `sys_menu` WHERE menu_id = 1646330706839736433;
DELETE FROM `sys_menu` WHERE menu_id = 1646330706839736434;
DELETE FROM `sys_menu` WHERE menu_id = 1654653808896118914;
DELETE FROM `sys_menu` WHERE menu_id = 1654653808896118915;
DELETE FROM `sys_menu` WHERE menu_id = 1646329839294091266;
DELETE FROM `sys_menu` WHERE menu_id = 1646330706839736441;
DELETE FROM `sys_menu` WHERE menu_id = 1646330706839736442;
DELETE FROM `sys_menu` WHERE menu_id = 1646330706839736443;
DELETE FROM `sys_menu` WHERE menu_id = 1646330706839736444;
DELETE FROM `sys_menu` WHERE menu_id = 1646330706839736445;
DELETE FROM `sys_menu` WHERE menu_id = 1646330706839736446;
DELETE FROM `sys_menu` WHERE menu_id = 1646330706839736447;
DELETE FROM `sys_menu` WHERE menu_id = 1646330706839736448;
DELETE FROM `sys_menu` WHERE menu_id = 1646330706839736449;
DELETE FROM `sys_menu` WHERE menu_id = 1646330706839736450;
DELETE FROM `sys_menu` WHERE menu_id = 1646329839294091267;
DELETE FROM `sys_menu` WHERE menu_id = 1646330706839736461;
DELETE FROM `sys_menu` WHERE menu_id = 1646330706839736462;
DELETE FROM `sys_menu` WHERE menu_id = 1646330706839736463;
DELETE FROM `sys_menu` WHERE menu_id = 1646330706839736464;
DELETE FROM `sys_menu` WHERE menu_id = 1646330706839736465;
DELETE FROM `sys_menu` WHERE menu_id = 1646330706839736466;
DELETE FROM `sys_menu` WHERE menu_id = 1646330706839736467;
DELETE FROM `sys_menu` WHERE menu_id = 1646330706839736468;
DELETE FROM `sys_menu` WHERE menu_id = 1646330706839736469;
DELETE FROM `sys_menu` WHERE menu_id = 1646329839294091268;
DELETE FROM `sys_menu` WHERE menu_id = 1646330706839736479;
DELETE FROM `sys_menu` WHERE menu_id = 1646330706839736480;
DELETE FROM `sys_menu` WHERE menu_id = 1646330706839736481;
DELETE FROM `sys_menu` WHERE menu_id = 1646330706839736482;
DELETE FROM `sys_menu` WHERE menu_id = 1646330706839736483;
DELETE FROM `sys_menu` WHERE menu_id = 1646329839294091269;
DELETE FROM `sys_menu` WHERE menu_id = 1646330706839736491;
DELETE FROM `sys_menu` WHERE menu_id = 1646330706839736492;
DELETE FROM `sys_menu` WHERE menu_id = 1646330706839736493;
DELETE FROM `sys_menu` WHERE menu_id = 1646330706839736494;
DELETE FROM `sys_menu` WHERE menu_id = 1646330706839736495;
DELETE FROM `sys_menu` WHERE menu_id = 1646329839294091270;
DELETE FROM `sys_menu` WHERE menu_id = 1646330706839736503;
DELETE FROM `sys_menu` WHERE menu_id = 1646330706839736504;
DELETE FROM `sys_menu` WHERE menu_id = 1646330706839736505;
DELETE FROM `sys_menu` WHERE menu_id = 1646330706839736506;
DELETE FROM `sys_menu` WHERE menu_id = 1646330706839736507;
DELETE FROM `sys_menu` WHERE menu_id = 1646330706839736508;
DELETE FROM `sys_menu` WHERE menu_id = 1646330706839736509;
DELETE FROM `sys_menu` WHERE menu_id = 1646330706839736510;
DELETE FROM `sys_menu` WHERE menu_id = 1646329839294091271;
DELETE FROM `sys_menu` WHERE menu_id = 1646330706839736521;
DELETE FROM `sys_menu` WHERE menu_id = 1646330706839736522;
DELETE FROM `sys_menu` WHERE menu_id = 1646330706839736523;
DELETE FROM `sys_menu` WHERE menu_id = 1646330706839736524;
DELETE FROM `sys_menu` WHERE menu_id = 1646330706839736525;
DELETE FROM `sys_menu` WHERE menu_id = 1646329839294091272;
DELETE FROM `sys_menu` WHERE menu_id = 1646330706839736533;
DELETE FROM `sys_menu` WHERE menu_id = 1646329839294091273;
DELETE FROM `sys_menu` WHERE menu_id = 1646330706839736537;
DELETE FROM `sys_menu` WHERE menu_id = 1646330706839736538;
DELETE FROM `sys_menu` WHERE menu_id = 1654653386475180032;
DELETE FROM `sys_menu` WHERE menu_id = 1654653808896119026;
DELETE FROM `sys_menu` WHERE menu_id = 1654653808896119027;
DELETE FROM `sys_menu` WHERE menu_id = 1654653808896119028;
DELETE FROM `sys_menu` WHERE menu_id = 1654653808896119029;
DELETE FROM `sys_menu` WHERE menu_id = 1654653808896119030;
COMMIT;

-- ----------------------------
-- 全部权限字数据
-- ----------------------------
BEGIN;
DELETE FROM `sys_perm_code` WHERE perm_code_id = 1646330706839736484;
DELETE FROM `sys_perm_code` WHERE perm_code_id = 1646330706839736489;
DELETE FROM `sys_perm_code` WHERE perm_code_id = 1646330706839736472;
DELETE FROM `sys_perm_code` WHERE perm_code_id = 1646330706839736429;
DELETE FROM `sys_perm_code` WHERE perm_code_id = 1646330706839736456;
DELETE FROM `sys_perm_code` WHERE perm_code_id = 1646330706839736496;
DELETE FROM `sys_perm_code` WHERE perm_code_id = 1646330706839736458;
DELETE FROM `sys_perm_code` WHERE perm_code_id = 1646330706839736511;
DELETE FROM `sys_perm_code` WHERE perm_code_id = 1646330706839736514;
DELETE FROM `sys_perm_code` WHERE perm_code_id = 1646330706839736451;
DELETE FROM `sys_perm_code` WHERE perm_code_id = 1646330706839736477;
DELETE FROM `sys_perm_code` WHERE perm_code_id = 1654653808896118922;
DELETE FROM `sys_perm_code` WHERE perm_code_id = 1646330706839736497;
DELETE FROM `sys_perm_code` WHERE perm_code_id = 1646330706839736539;
DELETE FROM `sys_perm_code` WHERE perm_code_id = 1646330706839736528;
DELETE FROM `sys_perm_code` WHERE perm_code_id = 1646330706839736530;
DELETE FROM `sys_perm_code` WHERE perm_code_id = 1654653808896118921;
DELETE FROM `sys_perm_code` WHERE perm_code_id = 1646330706839736425;
DELETE FROM `sys_perm_code` WHERE perm_code_id = 1646330706839736435;
DELETE FROM `sys_perm_code` WHERE perm_code_id = 1654653808896119032;
DELETE FROM `sys_perm_code` WHERE perm_code_id = 1646330706839736531;
DELETE FROM `sys_perm_code` WHERE perm_code_id = 1646330706839736498;
DELETE FROM `sys_perm_code` WHERE perm_code_id = 1646330706839736423;
DELETE FROM `sys_perm_code` WHERE perm_code_id = 1646330706839736474;
DELETE FROM `sys_perm_code` WHERE perm_code_id = 1646330706839736518;
DELETE FROM `sys_perm_code` WHERE perm_code_id = 1646330706839736499;
DELETE FROM `sys_perm_code` WHERE perm_code_id = 1654653808896119034;
DELETE FROM `sys_perm_code` WHERE perm_code_id = 1646330706839736439;
DELETE FROM `sys_perm_code` WHERE perm_code_id = 1654653808896119031;
DELETE FROM `sys_perm_code` WHERE perm_code_id = 1646330706839736452;
DELETE FROM `sys_perm_code` WHERE perm_code_id = 1646330706839736475;
DELETE FROM `sys_perm_code` WHERE perm_code_id = 1646330706839736517;
DELETE FROM `sys_perm_code` WHERE perm_code_id = 1646330706839736473;
DELETE FROM `sys_perm_code` WHERE perm_code_id = 1646330706839736513;
DELETE FROM `sys_perm_code` WHERE perm_code_id = 1646330706839736541;
DELETE FROM `sys_perm_code` WHERE perm_code_id = 1646330706839736534;
DELETE FROM `sys_perm_code` WHERE perm_code_id = 1646330706839736424;
DELETE FROM `sys_perm_code` WHERE perm_code_id = 1646330706839736501;
DELETE FROM `sys_perm_code` WHERE perm_code_id = 1646330706839736488;
DELETE FROM `sys_perm_code` WHERE perm_code_id = 1646330706839736459;
DELETE FROM `sys_perm_code` WHERE perm_code_id = 1646330706839736527;
DELETE FROM `sys_perm_code` WHERE perm_code_id = 1646330706839736426;
DELETE FROM `sys_perm_code` WHERE perm_code_id = 1646330706839736471;
DELETE FROM `sys_perm_code` WHERE perm_code_id = 1646330706839736428;
DELETE FROM `sys_perm_code` WHERE perm_code_id = 1646330706839736526;
DELETE FROM `sys_perm_code` WHERE perm_code_id = 1646330706839736487;
DELETE FROM `sys_perm_code` WHERE perm_code_id = 1646330706839736516;
DELETE FROM `sys_perm_code` WHERE perm_code_id = 1646330706839736427;
DELETE FROM `sys_perm_code` WHERE perm_code_id = 1646330706839736485;
DELETE FROM `sys_perm_code` WHERE perm_code_id = 1646330706839736529;
DELETE FROM `sys_perm_code` WHERE perm_code_id = 1654653808896119033;
DELETE FROM `sys_perm_code` WHERE perm_code_id = 1646330706839736437;
DELETE FROM `sys_perm_code` WHERE perm_code_id = 1646330706839736512;
DELETE FROM `sys_perm_code` WHERE perm_code_id = 1646330706839736453;
DELETE FROM `sys_perm_code` WHERE perm_code_id = 1646330706839736454;
DELETE FROM `sys_perm_code` WHERE perm_code_id = 1646330706839736438;
DELETE FROM `sys_perm_code` WHERE perm_code_id = 1646330706839736515;
DELETE FROM `sys_perm_code` WHERE perm_code_id = 1646330706839736519;
DELETE FROM `sys_perm_code` WHERE perm_code_id = 1654653808896119035;
DELETE FROM `sys_perm_code` WHERE perm_code_id = 1646330706839736470;
DELETE FROM `sys_perm_code` WHERE perm_code_id = 1646330706839736455;
DELETE FROM `sys_perm_code` WHERE perm_code_id = 1646330706839736476;
DELETE FROM `sys_perm_code` WHERE perm_code_id = 1646330706839736457;
DELETE FROM `sys_perm_code` WHERE perm_code_id = 1646330706839736486;
DELETE FROM `sys_perm_code` WHERE perm_code_id = 1646330706839736500;
DELETE FROM `sys_perm_code` WHERE perm_code_id = 1646330706839736535;
DELETE FROM `sys_perm_code` WHERE perm_code_id = 1646330706839736436;
DELETE FROM `sys_perm_code` WHERE perm_code_id = 1646330706839736540;
COMMIT;

-- ----------------------------
-- 全部菜单和权限字关系数据
-- ----------------------------
BEGIN;
DELETE FROM `sys_menu_perm_code` WHERE menu_id = 1646330706839736417 AND perm_code_id = 1646330706839736424;
DELETE FROM `sys_menu_perm_code` WHERE menu_id = 1646330706839736418 AND perm_code_id = 1646330706839736425;
DELETE FROM `sys_menu_perm_code` WHERE menu_id = 1646330706839736419 AND perm_code_id = 1646330706839736426;
DELETE FROM `sys_menu_perm_code` WHERE menu_id = 1646330706839736420 AND perm_code_id = 1646330706839736427;
DELETE FROM `sys_menu_perm_code` WHERE menu_id = 1646330706839736421 AND perm_code_id = 1646330706839736428;
DELETE FROM `sys_menu_perm_code` WHERE menu_id = 1646330706839736422 AND perm_code_id = 1646330706839736429;
DELETE FROM `sys_menu_perm_code` WHERE menu_id = 1646330706839736431 AND perm_code_id = 1646330706839736436;
DELETE FROM `sys_menu_perm_code` WHERE menu_id = 1646330706839736432 AND perm_code_id = 1646330706839736437;
DELETE FROM `sys_menu_perm_code` WHERE menu_id = 1646330706839736433 AND perm_code_id = 1646330706839736438;
DELETE FROM `sys_menu_perm_code` WHERE menu_id = 1646330706839736434 AND perm_code_id = 1646330706839736439;
DELETE FROM `sys_menu_perm_code` WHERE menu_id = 1654653808896118914 AND perm_code_id = 1654653808896118921;
DELETE FROM `sys_menu_perm_code` WHERE menu_id = 1654653808896118915 AND perm_code_id = 1654653808896118922;
DELETE FROM `sys_menu_perm_code` WHERE menu_id = 1646330706839736443 AND perm_code_id = 1646330706839736452;
DELETE FROM `sys_menu_perm_code` WHERE menu_id = 1646330706839736448 AND perm_code_id = 1646330706839736453;
DELETE FROM `sys_menu_perm_code` WHERE menu_id = 1646330706839736444 AND perm_code_id = 1646330706839736454;
DELETE FROM `sys_menu_perm_code` WHERE menu_id = 1646330706839736445 AND perm_code_id = 1646330706839736455;
DELETE FROM `sys_menu_perm_code` WHERE menu_id = 1646330706839736446 AND perm_code_id = 1646330706839736456;
DELETE FROM `sys_menu_perm_code` WHERE menu_id = 1646330706839736449 AND perm_code_id = 1646330706839736458;
DELETE FROM `sys_menu_perm_code` WHERE menu_id = 1646330706839736450 AND perm_code_id = 1646330706839736459;
DELETE FROM `sys_menu_perm_code` WHERE menu_id = 1646330706839736447 AND perm_code_id = 1646330706839736457;
DELETE FROM `sys_menu_perm_code` WHERE menu_id = 1646330706839736463 AND perm_code_id = 1646330706839736471;
DELETE FROM `sys_menu_perm_code` WHERE menu_id = 1646330706839736467 AND perm_code_id = 1646330706839736472;
DELETE FROM `sys_menu_perm_code` WHERE menu_id = 1646330706839736464 AND perm_code_id = 1646330706839736473;
DELETE FROM `sys_menu_perm_code` WHERE menu_id = 1646330706839736465 AND perm_code_id = 1646330706839736474;
DELETE FROM `sys_menu_perm_code` WHERE menu_id = 1646330706839736466 AND perm_code_id = 1646330706839736475;
DELETE FROM `sys_menu_perm_code` WHERE menu_id = 1646330706839736468 AND perm_code_id = 1646330706839736476;
DELETE FROM `sys_menu_perm_code` WHERE menu_id = 1646330706839736469 AND perm_code_id = 1646330706839736477;
DELETE FROM `sys_menu_perm_code` WHERE menu_id = 1646330706839736479 AND perm_code_id = 1646330706839736485;
DELETE FROM `sys_menu_perm_code` WHERE menu_id = 1646330706839736480 AND perm_code_id = 1646330706839736486;
DELETE FROM `sys_menu_perm_code` WHERE menu_id = 1646330706839736481 AND perm_code_id = 1646330706839736487;
DELETE FROM `sys_menu_perm_code` WHERE menu_id = 1646330706839736482 AND perm_code_id = 1646330706839736488;
DELETE FROM `sys_menu_perm_code` WHERE menu_id = 1646330706839736483 AND perm_code_id = 1646330706839736489;
DELETE FROM `sys_menu_perm_code` WHERE menu_id = 1646330706839736491 AND perm_code_id = 1646330706839736497;
DELETE FROM `sys_menu_perm_code` WHERE menu_id = 1646330706839736492 AND perm_code_id = 1646330706839736498;
DELETE FROM `sys_menu_perm_code` WHERE menu_id = 1646330706839736493 AND perm_code_id = 1646330706839736499;
DELETE FROM `sys_menu_perm_code` WHERE menu_id = 1646330706839736494 AND perm_code_id = 1646330706839736500;
DELETE FROM `sys_menu_perm_code` WHERE menu_id = 1646330706839736495 AND perm_code_id = 1646330706839736501;
DELETE FROM `sys_menu_perm_code` WHERE menu_id = 1646330706839736503 AND perm_code_id = 1646330706839736512;
DELETE FROM `sys_menu_perm_code` WHERE menu_id = 1646330706839736504 AND perm_code_id = 1646330706839736513;
DELETE FROM `sys_menu_perm_code` WHERE menu_id = 1646330706839736505 AND perm_code_id = 1646330706839736514;
DELETE FROM `sys_menu_perm_code` WHERE menu_id = 1646330706839736506 AND perm_code_id = 1646330706839736515;
DELETE FROM `sys_menu_perm_code` WHERE menu_id = 1646330706839736507 AND perm_code_id = 1646330706839736516;
DELETE FROM `sys_menu_perm_code` WHERE menu_id = 1646330706839736508 AND perm_code_id = 1646330706839736517;
DELETE FROM `sys_menu_perm_code` WHERE menu_id = 1646330706839736509 AND perm_code_id = 1646330706839736518;
DELETE FROM `sys_menu_perm_code` WHERE menu_id = 1646330706839736510 AND perm_code_id = 1646330706839736519;
DELETE FROM `sys_menu_perm_code` WHERE menu_id = 1646329839294091271 AND perm_code_id = 1646330706839736527;
DELETE FROM `sys_menu_perm_code` WHERE menu_id = 1646329839294091271 AND perm_code_id = 1646330706839736528;
DELETE FROM `sys_menu_perm_code` WHERE menu_id = 1646329839294091271 AND perm_code_id = 1646330706839736529;
DELETE FROM `sys_menu_perm_code` WHERE menu_id = 1646329839294091271 AND perm_code_id = 1646330706839736530;
DELETE FROM `sys_menu_perm_code` WHERE menu_id = 1646329839294091271 AND perm_code_id = 1646330706839736531;
DELETE FROM `sys_menu_perm_code` WHERE menu_id = 1646330706839736521 AND perm_code_id = 1646330706839736527;
DELETE FROM `sys_menu_perm_code` WHERE menu_id = 1646330706839736522 AND perm_code_id = 1646330706839736528;
DELETE FROM `sys_menu_perm_code` WHERE menu_id = 1646330706839736523 AND perm_code_id = 1646330706839736529;
DELETE FROM `sys_menu_perm_code` WHERE menu_id = 1646330706839736524 AND perm_code_id = 1646330706839736530;
DELETE FROM `sys_menu_perm_code` WHERE menu_id = 1646330706839736525 AND perm_code_id = 1646330706839736531;
DELETE FROM `sys_menu_perm_code` WHERE menu_id = 1646330706839736533 AND perm_code_id = 1646330706839736535;
DELETE FROM `sys_menu_perm_code` WHERE menu_id = 1646330706839736537 AND perm_code_id = 1646330706839736540;
DELETE FROM `sys_menu_perm_code` WHERE menu_id = 1646330706839736538 AND perm_code_id = 1646330706839736541;
DELETE FROM `sys_menu_perm_code` WHERE menu_id = 1654653808896119027 AND perm_code_id = 1654653808896119032;
DELETE FROM `sys_menu_perm_code` WHERE menu_id = 1654653808896119028 AND perm_code_id = 1654653808896119033;
DELETE FROM `sys_menu_perm_code` WHERE menu_id = 1654653808896119029 AND perm_code_id = 1654653808896119034;
DELETE FROM `sys_menu_perm_code` WHERE menu_id = 1654653808896119030 AND perm_code_id = 1654653808896119035;
COMMIT;

-- ----------------------------
-- 全部权限资源模块数据
-- ----------------------------
BEGIN;
DELETE FROM `sys_perm_module` WHERE module_id = 1646329839298285569;
DELETE FROM `sys_perm_module` WHERE module_id = 1646329839298285568;
DELETE FROM `sys_perm_module` WHERE module_id = 1646329839277314050;
DELETE FROM `sys_perm_module` WHERE module_id = 1646330706839736399;
DELETE FROM `sys_perm_module` WHERE module_id = 1646329839419920384;
DELETE FROM `sys_perm_module` WHERE module_id = 1646329839369588736;
DELETE FROM `sys_perm_module` WHERE module_id = 1646330706839736346;
DELETE FROM `sys_perm_module` WHERE module_id = 1646330706839736358;
DELETE FROM `sys_perm_module` WHERE module_id = 1654653808896118841;
DELETE FROM `sys_perm_module` WHERE module_id = 1646330706839736368;
DELETE FROM `sys_perm_module` WHERE module_id = 1646330706839736376;
DELETE FROM `sys_perm_module` WHERE module_id = 1646330706839736384;
DELETE FROM `sys_perm_module` WHERE module_id = 1646330706839736390;
DELETE FROM `sys_perm_module` WHERE module_id = 1646330706839736400;
DELETE FROM `sys_perm_module` WHERE module_id = 1646330706839736410;
DELETE FROM `sys_perm_module` WHERE module_id = 1646330706839736412;
COMMIT;

-- ----------------------------
-- 全部权限资源数据
-- ----------------------------
BEGIN;
DELETE FROM `sys_perm` WHERE perm_id = 1646329839432503296;
DELETE FROM `sys_perm` WHERE perm_id = 1646329839432503305;
DELETE FROM `sys_perm` WHERE perm_id = 1646329839432503315;
DELETE FROM `sys_perm` WHERE perm_id = 1646329839432503317;
DELETE FROM `sys_perm` WHERE perm_id = 1646329839432503318;
DELETE FROM `sys_perm` WHERE perm_id = 1646329839449280512;
DELETE FROM `sys_perm` WHERE perm_id = 1646329839449280515;
DELETE FROM `sys_perm` WHERE perm_id = 1646329839449280518;
DELETE FROM `sys_perm` WHERE perm_id = 1646329839449280520;
DELETE FROM `sys_perm` WHERE perm_id = 1654653808896118797;
DELETE FROM `sys_perm` WHERE perm_id = 1654653808896118798;
DELETE FROM `sys_perm` WHERE perm_id = 1654653808896118799;
DELETE FROM `sys_perm` WHERE perm_id = 1654653808896118800;
DELETE FROM `sys_perm` WHERE perm_id = 1654653808896118801;
DELETE FROM `sys_perm` WHERE perm_id = 1654653808896118802;
DELETE FROM `sys_perm` WHERE perm_id = 1646329839386365952;
DELETE FROM `sys_perm` WHERE perm_id = 1646329839386365967;
DELETE FROM `sys_perm` WHERE perm_id = 1646329839386365983;
DELETE FROM `sys_perm` WHERE perm_id = 1646329839386365985;
DELETE FROM `sys_perm` WHERE perm_id = 1646329839386365986;
DELETE FROM `sys_perm` WHERE perm_id = 1646329839398948864;
DELETE FROM `sys_perm` WHERE perm_id = 1646329839403143169;
DELETE FROM `sys_perm` WHERE perm_id = 1646329839403143175;
DELETE FROM `sys_perm` WHERE perm_id = 1646329839403143177;
DELETE FROM `sys_perm` WHERE perm_id = 1646329839411531776;
DELETE FROM `sys_perm` WHERE perm_id = 1646329839315062799;
DELETE FROM `sys_perm` WHERE perm_id = 1646329839315062798;
DELETE FROM `sys_perm` WHERE perm_id = 1646330706839736343;
DELETE FROM `sys_perm` WHERE perm_id = 1646330706839736344;
DELETE FROM `sys_perm` WHERE perm_id = 1646330706839736345;
DELETE FROM `sys_perm` WHERE perm_id = 1646330706839736347;
DELETE FROM `sys_perm` WHERE perm_id = 1646330706839736348;
DELETE FROM `sys_perm` WHERE perm_id = 1646330706839736349;
DELETE FROM `sys_perm` WHERE perm_id = 1646330706839736350;
DELETE FROM `sys_perm` WHERE perm_id = 1646330706839736351;
DELETE FROM `sys_perm` WHERE perm_id = 1646330706839736352;
DELETE FROM `sys_perm` WHERE perm_id = 1646330706839736353;
DELETE FROM `sys_perm` WHERE perm_id = 1646330706839736354;
DELETE FROM `sys_perm` WHERE perm_id = 1646330706839736355;
DELETE FROM `sys_perm` WHERE perm_id = 1646330706839736356;
DELETE FROM `sys_perm` WHERE perm_id = 1646330706839736357;
DELETE FROM `sys_perm` WHERE perm_id = 1646330706839736359;
DELETE FROM `sys_perm` WHERE perm_id = 1646330706839736360;
DELETE FROM `sys_perm` WHERE perm_id = 1646330706839736361;
DELETE FROM `sys_perm` WHERE perm_id = 1646330706839736362;
DELETE FROM `sys_perm` WHERE perm_id = 1646330706839736363;
DELETE FROM `sys_perm` WHERE perm_id = 1646330706839736364;
DELETE FROM `sys_perm` WHERE perm_id = 1646330706839736365;
DELETE FROM `sys_perm` WHERE perm_id = 1646330706839736366;
DELETE FROM `sys_perm` WHERE perm_id = 1646330706839736367;
DELETE FROM `sys_perm` WHERE perm_id = 1654653808896118842;
DELETE FROM `sys_perm` WHERE perm_id = 1654653808896118843;
DELETE FROM `sys_perm` WHERE perm_id = 1654653808896118844;
DELETE FROM `sys_perm` WHERE perm_id = 1654653808896118845;
DELETE FROM `sys_perm` WHERE perm_id = 1654653808896118846;
DELETE FROM `sys_perm` WHERE perm_id = 1646330706839736369;
DELETE FROM `sys_perm` WHERE perm_id = 1646330706839736370;
DELETE FROM `sys_perm` WHERE perm_id = 1646330706839736371;
DELETE FROM `sys_perm` WHERE perm_id = 1646330706839736372;
DELETE FROM `sys_perm` WHERE perm_id = 1646330706839736373;
DELETE FROM `sys_perm` WHERE perm_id = 1646330706839736374;
DELETE FROM `sys_perm` WHERE perm_id = 1646330706839736375;
DELETE FROM `sys_perm` WHERE perm_id = 1646330706839736377;
DELETE FROM `sys_perm` WHERE perm_id = 1646330706839736378;
DELETE FROM `sys_perm` WHERE perm_id = 1646330706839736379;
DELETE FROM `sys_perm` WHERE perm_id = 1646330706839736380;
DELETE FROM `sys_perm` WHERE perm_id = 1646330706839736381;
DELETE FROM `sys_perm` WHERE perm_id = 1646330706839736382;
DELETE FROM `sys_perm` WHERE perm_id = 1646330706839736383;
DELETE FROM `sys_perm` WHERE perm_id = 1646330706839736385;
DELETE FROM `sys_perm` WHERE perm_id = 1646330706839736386;
DELETE FROM `sys_perm` WHERE perm_id = 1646330706839736387;
DELETE FROM `sys_perm` WHERE perm_id = 1646330706839736388;
DELETE FROM `sys_perm` WHERE perm_id = 1646330706839736389;
DELETE FROM `sys_perm` WHERE perm_id = 1646330706839736391;
DELETE FROM `sys_perm` WHERE perm_id = 1646330706839736392;
DELETE FROM `sys_perm` WHERE perm_id = 1646330706839736393;
DELETE FROM `sys_perm` WHERE perm_id = 1646330706839736394;
DELETE FROM `sys_perm` WHERE perm_id = 1646330706839736395;
DELETE FROM `sys_perm` WHERE perm_id = 1646330706839736396;
DELETE FROM `sys_perm` WHERE perm_id = 1646330706839736397;
DELETE FROM `sys_perm` WHERE perm_id = 1646330706839736398;
DELETE FROM `sys_perm` WHERE perm_id = 1646330706839736401;
DELETE FROM `sys_perm` WHERE perm_id = 1646330706839736402;
DELETE FROM `sys_perm` WHERE perm_id = 1646330706839736403;
DELETE FROM `sys_perm` WHERE perm_id = 1646330706839736404;
DELETE FROM `sys_perm` WHERE perm_id = 1646330706839736405;
DELETE FROM `sys_perm` WHERE perm_id = 1646330706839736406;
DELETE FROM `sys_perm` WHERE perm_id = 1646330706839736407;
DELETE FROM `sys_perm` WHERE perm_id = 1646330706839736408;
DELETE FROM `sys_perm` WHERE perm_id = 1646330706839736409;
DELETE FROM `sys_perm` WHERE perm_id = 1646330706839736411;
DELETE FROM `sys_perm` WHERE perm_id = 1646330706839736413;
DELETE FROM `sys_perm` WHERE perm_id = 1646330706839736414;
COMMIT;

-- ----------------------------
-- 全部权限字和权限资源关系数据
-- ----------------------------
BEGIN;
DELETE FROM `sys_perm_code_perm` WHERE perm_code_id = 1646330706839736424 AND perm_id = 1646329839398948864;
DELETE FROM `sys_perm_code_perm` WHERE perm_code_id = 1646330706839736424 AND perm_id = 1646329839403143169;
DELETE FROM `sys_perm_code_perm` WHERE perm_code_id = 1646330706839736425 AND perm_id = 1646329839386365952;
DELETE FROM `sys_perm_code_perm` WHERE perm_code_id = 1646330706839736425 AND perm_id = 1646329839449280512;
DELETE FROM `sys_perm_code_perm` WHERE perm_code_id = 1646330706839736425 AND perm_id = 1646330706839736362;
DELETE FROM `sys_perm_code_perm` WHERE perm_code_id = 1646330706839736425 AND perm_id = 1646330706839736350;
DELETE FROM `sys_perm_code_perm` WHERE perm_code_id = 1646330706839736426 AND perm_id = 1646329839403143175;
DELETE FROM `sys_perm_code_perm` WHERE perm_code_id = 1646330706839736426 AND perm_id = 1646329839386365967;
DELETE FROM `sys_perm_code_perm` WHERE perm_code_id = 1646330706839736426 AND perm_id = 1646329839403143177;
DELETE FROM `sys_perm_code_perm` WHERE perm_code_id = 1646330706839736426 AND perm_id = 1646329839449280512;
DELETE FROM `sys_perm_code_perm` WHERE perm_code_id = 1646330706839736426 AND perm_id = 1646330706839736362;
DELETE FROM `sys_perm_code_perm` WHERE perm_code_id = 1646330706839736426 AND perm_id = 1646330706839736350;
DELETE FROM `sys_perm_code_perm` WHERE perm_code_id = 1646330706839736427 AND perm_id = 1646329839386365983;
DELETE FROM `sys_perm_code_perm` WHERE perm_code_id = 1646330706839736428 AND perm_id = 1646329839411531776;
DELETE FROM `sys_perm_code_perm` WHERE perm_code_id = 1646330706839736429 AND perm_id = 1646330706839736345;
DELETE FROM `sys_perm_code_perm` WHERE perm_code_id = 1646330706839736429 AND perm_id = 1646330706839736344;
DELETE FROM `sys_perm_code_perm` WHERE perm_code_id = 1646330706839736429 AND perm_id = 1646330706839736343;
DELETE FROM `sys_perm_code_perm` WHERE perm_code_id = 1646330706839736436 AND perm_id = 1646329839449280512;
DELETE FROM `sys_perm_code_perm` WHERE perm_code_id = 1646330706839736436 AND perm_id = 1646329839449280515;
DELETE FROM `sys_perm_code_perm` WHERE perm_code_id = 1646330706839736437 AND perm_id = 1646329839432503296;
DELETE FROM `sys_perm_code_perm` WHERE perm_code_id = 1646330706839736438 AND perm_id = 1646329839449280518;
DELETE FROM `sys_perm_code_perm` WHERE perm_code_id = 1646330706839736438 AND perm_id = 1646329839432503305;
DELETE FROM `sys_perm_code_perm` WHERE perm_code_id = 1646330706839736438 AND perm_id = 1646329839449280520;
DELETE FROM `sys_perm_code_perm` WHERE perm_code_id = 1646330706839736439 AND perm_id = 1646329839432503315;
DELETE FROM `sys_perm_code_perm` WHERE perm_code_id = 1654653808896118921 AND perm_id = 1654653808896118797;
DELETE FROM `sys_perm_code_perm` WHERE perm_code_id = 1654653808896118921 AND perm_id = 1654653808896118801;
DELETE FROM `sys_perm_code_perm` WHERE perm_code_id = 1654653808896118921 AND perm_id = 1654653808896118798;
DELETE FROM `sys_perm_code_perm` WHERE perm_code_id = 1654653808896118921 AND perm_id = 1654653808896118799;
DELETE FROM `sys_perm_code_perm` WHERE perm_code_id = 1654653808896118921 AND perm_id = 1654653808896118800;
DELETE FROM `sys_perm_code_perm` WHERE perm_code_id = 1654653808896118921 AND perm_id = 1654653808896118802;
DELETE FROM `sys_perm_code_perm` WHERE perm_code_id = 1654653808896118922 AND perm_id = 1654653808896118800;
DELETE FROM `sys_perm_code_perm` WHERE perm_code_id = 1654653808896118922 AND perm_id = 1654653808896118802;
DELETE FROM `sys_perm_code_perm` WHERE perm_code_id = 1646330706839736452 AND perm_id = 1646330706839736350;
DELETE FROM `sys_perm_code_perm` WHERE perm_code_id = 1646330706839736454 AND perm_id = 1646330706839736347;
DELETE FROM `sys_perm_code_perm` WHERE perm_code_id = 1646330706839736454 AND perm_id = 1646330706839736372;
DELETE FROM `sys_perm_code_perm` WHERE perm_code_id = 1646330706839736455 AND perm_id = 1646330706839736351;
DELETE FROM `sys_perm_code_perm` WHERE perm_code_id = 1646330706839736455 AND perm_id = 1646330706839736348;
DELETE FROM `sys_perm_code_perm` WHERE perm_code_id = 1646330706839736455 AND perm_id = 1646330706839736372;
DELETE FROM `sys_perm_code_perm` WHERE perm_code_id = 1646330706839736457 AND perm_id = 1646330706839736357;
DELETE FROM `sys_perm_code_perm` WHERE perm_code_id = 1646330706839736457 AND perm_id = 1646330706839736356;
DELETE FROM `sys_perm_code_perm` WHERE perm_code_id = 1646330706839736456 AND perm_id = 1646330706839736349;
DELETE FROM `sys_perm_code_perm` WHERE perm_code_id = 1646330706839736453 AND perm_id = 1646330706839736354;
DELETE FROM `sys_perm_code_perm` WHERE perm_code_id = 1646330706839736458 AND perm_id = 1646330706839736352;
DELETE FROM `sys_perm_code_perm` WHERE perm_code_id = 1646330706839736458 AND perm_id = 1646330706839736355;
DELETE FROM `sys_perm_code_perm` WHERE perm_code_id = 1646330706839736459 AND perm_id = 1646330706839736353;
DELETE FROM `sys_perm_code_perm` WHERE perm_code_id = 1646330706839736471 AND perm_id = 1646330706839736362;
DELETE FROM `sys_perm_code_perm` WHERE perm_code_id = 1646330706839736473 AND perm_id = 1646330706839736359;
DELETE FROM `sys_perm_code_perm` WHERE perm_code_id = 1646330706839736474 AND perm_id = 1646330706839736363;
DELETE FROM `sys_perm_code_perm` WHERE perm_code_id = 1646330706839736474 AND perm_id = 1646330706839736360;
DELETE FROM `sys_perm_code_perm` WHERE perm_code_id = 1646330706839736475 AND perm_id = 1646330706839736361;
DELETE FROM `sys_perm_code_perm` WHERE perm_code_id = 1646330706839736472 AND perm_id = 1646330706839736366;
DELETE FROM `sys_perm_code_perm` WHERE perm_code_id = 1646330706839736476 AND perm_id = 1646330706839736364;
DELETE FROM `sys_perm_code_perm` WHERE perm_code_id = 1646330706839736476 AND perm_id = 1646330706839736367;
DELETE FROM `sys_perm_code_perm` WHERE perm_code_id = 1646330706839736477 AND perm_id = 1646330706839736365;
DELETE FROM `sys_perm_code_perm` WHERE perm_code_id = 1646330706839736485 AND perm_id = 1646330706839736372;
DELETE FROM `sys_perm_code_perm` WHERE perm_code_id = 1646330706839736486 AND perm_id = 1646330706839736369;
DELETE FROM `sys_perm_code_perm` WHERE perm_code_id = 1646330706839736486 AND perm_id = 1646330706839736380;
DELETE FROM `sys_perm_code_perm` WHERE perm_code_id = 1646330706839736487 AND perm_id = 1646330706839736373;
DELETE FROM `sys_perm_code_perm` WHERE perm_code_id = 1646330706839736487 AND perm_id = 1646330706839736371;
DELETE FROM `sys_perm_code_perm` WHERE perm_code_id = 1646330706839736488 AND perm_id = 1646330706839736370;
DELETE FROM `sys_perm_code_perm` WHERE perm_code_id = 1646330706839736487 AND perm_id = 1646330706839736380;
DELETE FROM `sys_perm_code_perm` WHERE perm_code_id = 1646330706839736489 AND perm_id = 1646330706839736374;
DELETE FROM `sys_perm_code_perm` WHERE perm_code_id = 1646330706839736489 AND perm_id = 1646330706839736375;
DELETE FROM `sys_perm_code_perm` WHERE perm_code_id = 1646330706839736497 AND perm_id = 1646330706839736380;
DELETE FROM `sys_perm_code_perm` WHERE perm_code_id = 1646330706839736498 AND perm_id = 1646330706839736377;
DELETE FROM `sys_perm_code_perm` WHERE perm_code_id = 1646330706839736498 AND perm_id = 1646330706839736389;
DELETE FROM `sys_perm_code_perm` WHERE perm_code_id = 1646330706839736499 AND perm_id = 1646330706839736381;
DELETE FROM `sys_perm_code_perm` WHERE perm_code_id = 1646330706839736499 AND perm_id = 1646330706839736378;
DELETE FROM `sys_perm_code_perm` WHERE perm_code_id = 1646330706839736499 AND perm_id = 1646330706839736389;
DELETE FROM `sys_perm_code_perm` WHERE perm_code_id = 1646330706839736500 AND perm_id = 1646330706839736379;
DELETE FROM `sys_perm_code_perm` WHERE perm_code_id = 1646330706839736501 AND perm_id = 1646330706839736382;
DELETE FROM `sys_perm_code_perm` WHERE perm_code_id = 1646330706839736501 AND perm_id = 1646330706839736383;
DELETE FROM `sys_perm_code_perm` WHERE perm_code_id = 1646330706839736512 AND perm_id = 1646330706839736388;
DELETE FROM `sys_perm_code_perm` WHERE perm_code_id = 1646330706839736512 AND perm_id = 1646330706839736389;
DELETE FROM `sys_perm_code_perm` WHERE perm_code_id = 1646330706839736512 AND perm_id = 1646330706839736394;
DELETE FROM `sys_perm_code_perm` WHERE perm_code_id = 1646330706839736513 AND perm_id = 1646330706839736385;
DELETE FROM `sys_perm_code_perm` WHERE perm_code_id = 1646330706839736514 AND perm_id = 1646330706839736386;
DELETE FROM `sys_perm_code_perm` WHERE perm_code_id = 1646330706839736515 AND perm_id = 1646330706839736387;
DELETE FROM `sys_perm_code_perm` WHERE perm_code_id = 1646330706839736516 AND perm_id = 1646330706839736391;
DELETE FROM `sys_perm_code_perm` WHERE perm_code_id = 1646330706839736517 AND perm_id = 1646330706839736395;
DELETE FROM `sys_perm_code_perm` WHERE perm_code_id = 1646330706839736517 AND perm_id = 1646330706839736392;
DELETE FROM `sys_perm_code_perm` WHERE perm_code_id = 1646330706839736518 AND perm_id = 1646330706839736393;
DELETE FROM `sys_perm_code_perm` WHERE perm_code_id = 1646330706839736519 AND perm_id = 1646330706839736396;
DELETE FROM `sys_perm_code_perm` WHERE perm_code_id = 1646330706839736519 AND perm_id = 1646330706839736397;
DELETE FROM `sys_perm_code_perm` WHERE perm_code_id = 1646330706839736519 AND perm_id = 1646330706839736398;
DELETE FROM `sys_perm_code_perm` WHERE perm_code_id = 1646330706839736527 AND perm_id = 1646330706839736401;
DELETE FROM `sys_perm_code_perm` WHERE perm_code_id = 1646330706839736527 AND perm_id = 1646330706839736402;
DELETE FROM `sys_perm_code_perm` WHERE perm_code_id = 1646330706839736527 AND perm_id = 1646330706839736403;
DELETE FROM `sys_perm_code_perm` WHERE perm_code_id = 1646330706839736527 AND perm_id = 1646330706839736404;
DELETE FROM `sys_perm_code_perm` WHERE perm_code_id = 1646330706839736527 AND perm_id = 1646330706839736405;
DELETE FROM `sys_perm_code_perm` WHERE perm_code_id = 1646330706839736527 AND perm_id = 1646330706839736406;
DELETE FROM `sys_perm_code_perm` WHERE perm_code_id = 1646330706839736527 AND perm_id = 1646330706839736407;
DELETE FROM `sys_perm_code_perm` WHERE perm_code_id = 1646330706839736527 AND perm_id = 1646330706839736408;
DELETE FROM `sys_perm_code_perm` WHERE perm_code_id = 1646330706839736527 AND perm_id = 1646330706839736409;
DELETE FROM `sys_perm_code_perm` WHERE perm_code_id = 1646330706839736535 AND perm_id = 1646330706839736411;
DELETE FROM `sys_perm_code_perm` WHERE perm_code_id = 1646330706839736540 AND perm_id = 1646330706839736413;
DELETE FROM `sys_perm_code_perm` WHERE perm_code_id = 1646330706839736541 AND perm_id = 1646330706839736414;
DELETE FROM `sys_perm_code_perm` WHERE perm_code_id = 1654653808896119032 AND perm_id = 1654653808896118845;
DELETE FROM `sys_perm_code_perm` WHERE perm_code_id = 1654653808896119033 AND perm_id = 1654653808896118842;
DELETE FROM `sys_perm_code_perm` WHERE perm_code_id = 1654653808896119034 AND perm_id = 1654653808896118846;
DELETE FROM `sys_perm_code_perm` WHERE perm_code_id = 1654653808896119034 AND perm_id = 1654653808896118843;
DELETE FROM `sys_perm_code_perm` WHERE perm_code_id = 1654653808896119035 AND perm_id = 1654653808896118844;

DELETE FROM `sys_perm_whitelist` WHERE perm_url = '/admin/upms/login/getLoginInfo';
DELETE FROM `sys_perm_whitelist` WHERE perm_url = '/admin/upms/sysRole/listDict';
DELETE FROM `sys_perm_whitelist` WHERE perm_url = '/admin/upms/sysRole/listDictByIds';
DELETE FROM `sys_perm_whitelist` WHERE perm_url = '/admin/upms/sysUser/list';
DELETE FROM `sys_perm_whitelist` WHERE perm_url = '/admin/upms/sysMenu/listMenuDict';
DELETE FROM `sys_perm_whitelist` WHERE perm_url = '/admin/upms/sysPost/listDict';
DELETE FROM `sys_perm_whitelist` WHERE perm_url = '/admin/upms/sysPost/listDictByIds';
DELETE FROM `sys_perm_whitelist` WHERE perm_url = '/admin/upms/sysPost/list';
DELETE FROM `sys_perm_whitelist` WHERE perm_url = '/admin/upms/sysDept/listSysDeptPostWithRelation';
DELETE FROM `sys_perm_whitelist` WHERE perm_url = '/admin/upms/sysDept/listAllChildDeptIdByParentIds';
DELETE FROM `sys_perm_whitelist` WHERE perm_url = '/admin/upms/globalDict/listDict';
DELETE FROM `sys_perm_whitelist` WHERE perm_url = '/admin/upms/globalDict/listDictByIds';
DELETE FROM `sys_perm_whitelist` WHERE perm_url = '/admin/upms/globalDict/listAll';
DELETE FROM `sys_perm_whitelist` WHERE perm_url = '/admin/upms/sysDept/listDict';
DELETE FROM `sys_perm_whitelist` WHERE perm_url = '/admin/upms/sysDept/listDictByIds';
DELETE FROM `sys_perm_whitelist` WHERE perm_url = '/admin/upms/sysDept/listDictByParentId';
DELETE FROM `sys_perm_whitelist` WHERE perm_url = '/admin/upms/login/doLogout';
DELETE FROM `sys_perm_whitelist` WHERE perm_url = '/admin/upms/login/changePassword';
DELETE FROM `sys_perm_whitelist` WHERE perm_url = '/admin/upms/login/changeHeadImage';
DELETE FROM `sys_perm_whitelist` WHERE perm_url = '/admin/upms/login/downloadHeadImage';

-- ----------------------------
-- 以下记录用于通用扩展，这里的注释，是为了便于老用户进行手动数据补偿。
-- ----------------------------
DELETE FROM `sys_perm_whitelist` WHERE perm_url = '/admin/commonext/bizwidget/list';
DELETE FROM `sys_perm_whitelist` WHERE perm_url = '/admin/commonext/bizwidget/view';

COMMIT;

SET FOREIGN_KEY_CHECKS = 1;
