绑定角色逻辑
This commit is contained in:
@@ -21,3 +21,56 @@ UPDATE `foton_slrs`.`sar_menu` SET `SOR_DIVIDE` = NULL, `MENU_NAME` = '资料中
|
||||
UPDATE `foton_slrs`.`sar_menu` SET `SOR_DIVIDE` = NULL, `MENU_NAME` = '资料中心新增', `PARENT_ID` = '32143ffassgabyabayg', `PARENT_IDS` = NULL, `LEVEL` = 2, `DISPLAY_SEQ` = NULL, `HREF` = NULL, `VALID_FLAG` = NULL, `CREATION_TIME` = NULL, `MODIFY_TIME` = NULL, `REMARKS` = NULL WHERE `ID` = '45db41d367f474e10a7ae5dbe8cb0f6e';
|
||||
UPDATE `foton_slrs`.`sar_menu` SET `SOR_DIVIDE` = NULL, `MENU_NAME` = '资料中心修改', `PARENT_ID` = '32143ffassgabyabayg', `PARENT_IDS` = NULL, `LEVEL` = 2, `DISPLAY_SEQ` = NULL, `HREF` = NULL, `VALID_FLAG` = NULL, `CREATION_TIME` = NULL, `MODIFY_TIME` = NULL, `REMARKS` = NULL WHERE `ID` = 'd9698737e801822ab8f96dbcd47b7d62';
|
||||
UPDATE `foton_slrs`.`sar_menu` SET `SOR_DIVIDE` = NULL, `MENU_NAME` = '左侧树新增', `PARENT_ID` = '32143ffassgabyabayg', `PARENT_IDS` = NULL, `LEVEL` = 2, `DISPLAY_SEQ` = NULL, `HREF` = NULL, `VALID_FLAG` = NULL, `CREATION_TIME` = NULL, `MODIFY_TIME` = NULL, `REMARKS` = NULL WHERE `ID` = 'e9e80920563325fa7f6e91213ee98466';
|
||||
|
||||
=======资料中心左侧树结构=======
|
||||
|
||||
INSERT INTO `foton_slrs`.`zl_tree`(`id`, `p_id`, `name`, `sort`) VALUES ('1', NULL, '资料中心', '0');
|
||||
INSERT INTO `foton_slrs`.`zl_tree`(`id`, `p_id`, `name`, `sort`) VALUES ('10', '1', '常用资料', '9');
|
||||
INSERT INTO `foton_slrs`.`zl_tree`(`id`, `p_id`, `name`, `sort`) VALUES ('11', '10', '模板', '10');
|
||||
INSERT INTO `foton_slrs`.`zl_tree`(`id`, `p_id`, `name`, `sort`) VALUES ('12', '10', '法律\\法规\\管理办法', '11');
|
||||
INSERT INTO `foton_slrs`.`zl_tree`(`id`, `p_id`, `name`, `sort`) VALUES ('13', '10', '标准体系框架', '12');
|
||||
INSERT INTO `foton_slrs`.`zl_tree`(`id`, `p_id`, `name`, `sort`) VALUES ('14', '10', '汽车标准件', '13');
|
||||
INSERT INTO `foton_slrs`.`zl_tree`(`id`, `p_id`, `name`, `sort`) VALUES ('15', '14', '汽车标准手册', '14');
|
||||
INSERT INTO `foton_slrs`.`zl_tree`(`id`, `p_id`, `name`, `sort`) VALUES ('16', '14', '福田企业标准件手册', '15');
|
||||
INSERT INTO `foton_slrs`.`zl_tree`(`id`, `p_id`, `name`, `sort`) VALUES ('17', '14', '汽车标准件调研资料', '16');
|
||||
INSERT INTO `foton_slrs`.`zl_tree`(`id`, `p_id`, `name`, `sort`) VALUES ('18', '10', '福田汽车新能源汽车试验手册', '17');
|
||||
INSERT INTO `foton_slrs`.`zl_tree`(`id`, `p_id`, `name`, `sort`) VALUES ('19', '1', '标准法规目录', '18');
|
||||
INSERT INTO `foton_slrs`.`zl_tree`(`id`, `p_id`, `name`, `sort`) VALUES ('2', '1', '标准公告', '2');
|
||||
INSERT INTO `foton_slrs`.`zl_tree`(`id`, `p_id`, `name`, `sort`) VALUES ('20', '19', '外部标准目录', '19');
|
||||
INSERT INTO `foton_slrs`.`zl_tree`(`id`, `p_id`, `name`, `sort`) VALUES ('21', '19', '企业标准目录', '20');
|
||||
INSERT INTO `foton_slrs`.`zl_tree`(`id`, `p_id`, `name`, `sort`) VALUES ('22', '1', '标准法规分析报告', '21');
|
||||
INSERT INTO `foton_slrs`.`zl_tree`(`id`, `p_id`, `name`, `sort`) VALUES ('23', '1', '标准法规符合性检车报告', '22');
|
||||
INSERT INTO `foton_slrs`.`zl_tree`(`id`, `p_id`, `name`, `sort`) VALUES ('3', '2', '标准公告', '3');
|
||||
INSERT INTO `foton_slrs`.`zl_tree`(`id`, `p_id`, `name`, `sort`) VALUES ('4', '2', '标准化信息', '4');
|
||||
INSERT INTO `foton_slrs`.`zl_tree`(`id`, `p_id`, `name`, `sort`) VALUES ('5', '2', '企业标准发布通知', '5');
|
||||
INSERT INTO `foton_slrs`.`zl_tree`(`id`, `p_id`, `name`, `sort`) VALUES ('6', '1', '标准新闻', '1');
|
||||
INSERT INTO `foton_slrs`.`zl_tree`(`id`, `p_id`, `name`, `sort`) VALUES ('7', '1', '会议/培训信息', '6');
|
||||
INSERT INTO `foton_slrs`.`zl_tree`(`id`, `p_id`, `name`, `sort`) VALUES ('8', '7', '会议信息', '7');
|
||||
INSERT INTO `foton_slrs`.`zl_tree`(`id`, `p_id`, `name`, `sort`) VALUES ('9', '7', '培训信息', '8');
|
||||
|
||||
======更新语句=======
|
||||
|
||||
UPDATE `foton_slrs`.`zl_tree` SET `p_id` = NULL, `name` = '资料中心', `sort` = '0' WHERE `id` = '1';
|
||||
UPDATE `foton_slrs`.`zl_tree` SET `p_id` = '1', `name` = '常用资料', `sort` = '9' WHERE `id` = '10';
|
||||
UPDATE `foton_slrs`.`zl_tree` SET `p_id` = '10', `name` = '模板', `sort` = '10' WHERE `id` = '11';
|
||||
UPDATE `foton_slrs`.`zl_tree` SET `p_id` = '10', `name` = '法律\\法规\\管理办法', `sort` = '11' WHERE `id` = '12';
|
||||
UPDATE `foton_slrs`.`zl_tree` SET `p_id` = '10', `name` = '标准体系框架', `sort` = '12' WHERE `id` = '13';
|
||||
UPDATE `foton_slrs`.`zl_tree` SET `p_id` = '10', `name` = '汽车标准件', `sort` = '13' WHERE `id` = '14';
|
||||
UPDATE `foton_slrs`.`zl_tree` SET `p_id` = '14', `name` = '汽车标准手册', `sort` = '14' WHERE `id` = '15';
|
||||
UPDATE `foton_slrs`.`zl_tree` SET `p_id` = '14', `name` = '福田企业标准件手册', `sort` = '15' WHERE `id` = '16';
|
||||
UPDATE `foton_slrs`.`zl_tree` SET `p_id` = '14', `name` = '汽车标准件调研资料', `sort` = '16' WHERE `id` = '17';
|
||||
UPDATE `foton_slrs`.`zl_tree` SET `p_id` = '10', `name` = '福田汽车新能源汽车试验手册', `sort` = '17' WHERE `id` = '18';
|
||||
UPDATE `foton_slrs`.`zl_tree` SET `p_id` = '1', `name` = '标准法规目录', `sort` = '18' WHERE `id` = '19';
|
||||
UPDATE `foton_slrs`.`zl_tree` SET `p_id` = '1', `name` = '标准公告', `sort` = '2' WHERE `id` = '2';
|
||||
UPDATE `foton_slrs`.`zl_tree` SET `p_id` = '19', `name` = '外部标准目录', `sort` = '19' WHERE `id` = '20';
|
||||
UPDATE `foton_slrs`.`zl_tree` SET `p_id` = '19', `name` = '企业标准目录', `sort` = '20' WHERE `id` = '21';
|
||||
UPDATE `foton_slrs`.`zl_tree` SET `p_id` = '1', `name` = '标准法规分析报告', `sort` = '21' WHERE `id` = '22';
|
||||
UPDATE `foton_slrs`.`zl_tree` SET `p_id` = '1', `name` = '标准法规符合性检车报告', `sort` = '22' WHERE `id` = '23';
|
||||
UPDATE `foton_slrs`.`zl_tree` SET `p_id` = '2', `name` = '标准公告', `sort` = '3' WHERE `id` = '3';
|
||||
UPDATE `foton_slrs`.`zl_tree` SET `p_id` = '2', `name` = '标准化信息', `sort` = '4' WHERE `id` = '4';
|
||||
UPDATE `foton_slrs`.`zl_tree` SET `p_id` = '2', `name` = '企业标准发布通知', `sort` = '5' WHERE `id` = '5';
|
||||
UPDATE `foton_slrs`.`zl_tree` SET `p_id` = '1', `name` = '标准新闻', `sort` = '1' WHERE `id` = '6';
|
||||
UPDATE `foton_slrs`.`zl_tree` SET `p_id` = '1', `name` = '会议/培训信息', `sort` = '6' WHERE `id` = '7';
|
||||
UPDATE `foton_slrs`.`zl_tree` SET `p_id` = '7', `name` = '会议信息', `sort` = '7' WHERE `id` = '8';
|
||||
UPDATE `foton_slrs`.`zl_tree` SET `p_id` = '7', `name` = '培训信息', `sort` = '8' WHERE `id` = '9';
|
||||
|
||||
|
||||
Reference in New Issue
Block a user