fix: ignore insert
This commit is contained in:
@@ -29,9 +29,154 @@ CREATE TABLE IF NOT EXISTS `omc_db`.`chart_graph` (
|
||||
|
||||
|
||||
-- 新增初始图
|
||||
INSERT INTO `omc_db`.`chart_graph` (`row_id`, `row_type`, `row_group`, `id`, `type`, `depth`, `x`, `y`, `size`, `icon`, `img`, `clip_cfg`, `direction`, `source`, `target`, `combo_id`, `padding`, `parent_id`, `children`, `style`, `label`, `label_cfg`) VALUES (1, 'node', 'hello', 'node-1', 'rect', 0, -218, -20, '[80,40]', '{\"height\":25,\"img\":\"/svg/service.svg\",\"offset\":20,\"show\":false,\"width\":25}', '', '', '', '', '', '', '', '', '', '{\"active\":{\"fill\":\"rgb(247, 250, 255)\",\"lineWidth\":2,\"shadowBlur\":10,\"shadowColor\":\"rgb(95, 149, 255)\",\"stroke\":\"rgb(95, 149, 255)\"},\"cursor\":\"pointer\",\"disable\":{\"fill\":\"rgb(250, 250, 250)\",\"lineWidth\":1,\"stroke\":\"rgb(224, 224, 224)\"},\"fill\":\"#ff0000\",\"highlight\":{\"fill\":\"rgb(223, 234, 255)\",\"lineWidth\":2,\"stroke\":\"#4572d9\",\"text-shape\":{\"fontWeight\":500}},\"inactive\":{\"fill\":\"rgb(247, 250, 255)\",\"lineWidth\":1,\"stroke\":\"rgb(191, 213, 255)\"},\"lineWidth\":1,\"radius\":4,\"selected\":{\"fill\":\"rgb(255, 255, 255)\",\"lineWidth\":4,\"shadowBlur\":10,\"shadowColor\":\"rgb(95, 149, 255)\",\"stroke\":\"rgb(95, 149, 255)\",\"text-shape\":{\"fontWeight\":500}},\"stroke\":\"#ff0000\"}', 'Node-1', '{\"offset\":0,\"position\":\"center\",\"style\":{\"fill\":\"#ffffff\",\"fontSize\":12,\"fontWeight\":500}}');
|
||||
INSERT INTO `omc_db`.`chart_graph` (`row_id`, `row_type`, `row_group`, `id`, `type`, `depth`, `x`, `y`, `size`, `icon`, `img`, `clip_cfg`, `direction`, `source`, `target`, `combo_id`, `padding`, `parent_id`, `children`, `style`, `label`, `label_cfg`) VALUES (2, 'node', 'hello', 'node-2', 'star', 0, 82, -15, '60', '{\"height\":25,\"img\":\"\",\"offset\":20,\"show\":false,\"width\":25}', '', '', '', '', '', '', '', '', '', '{\"active\":{\"fill\":\"rgb(247, 250, 255)\",\"lineWidth\":2,\"shadowBlur\":10,\"shadowColor\":\"rgb(95, 149, 255)\",\"stroke\":\"rgb(95, 149, 255)\"},\"cursor\":\"pointer\",\"disable\":{\"fill\":\"rgb(250, 250, 250)\",\"lineWidth\":1,\"stroke\":\"rgb(224, 224, 224)\"},\"fill\":\"#2bff00\",\"highlight\":{\"fill\":\"rgb(223, 234, 255)\",\"lineWidth\":2,\"stroke\":\"#4572d9\",\"text-shape\":{\"fontWeight\":500}},\"inactive\":{\"fill\":\"rgb(247, 250, 255)\",\"lineWidth\":1,\"stroke\":\"rgb(191, 213, 255)\"},\"lineWidth\":1,\"radius\":4,\"selected\":{\"fill\":\"rgb(255, 255, 255)\",\"lineWidth\":4,\"shadowBlur\":10,\"shadowColor\":\"rgb(95, 149, 255)\",\"stroke\":\"rgb(95, 149, 255)\",\"text-shape\":{\"fontWeight\":500}},\"stroke\":\"#05ff16\"}', 'Node-2', '{\"offset\":0,\"position\":\"center\",\"style\":{\"fill\":\"#ffffff\",\"fontSize\":12,\"fontWeight\":500}}');
|
||||
INSERT INTO `omc_db`.`chart_graph` (`row_id`, `row_type`, `row_group`, `id`, `type`, `depth`, `x`, `y`, `size`, `icon`, `img`, `clip_cfg`, `direction`, `source`, `target`, `combo_id`, `padding`, `parent_id`, `children`, `style`, `label`, `label_cfg`) VALUES (3, 'edge', 'hello', 'node-1~1704427926706~node-2', 'polyline', 0, 0, 0, '', '', '', '', '', 'node-1', 'node-2', '', '', '', '', '{\"active\":{\"lineWidth\":1,\"stroke\":\"rgb(95, 149, 255)\"},\"cursor\":\"pointer\",\"disable\":{\"lineWidth\":1,\"stroke\":\"rgb(245, 245, 245)\"},\"endArrow\":true,\"highlight\":{\"lineWidth\":2,\"stroke\":\"rgb(95, 149, 255)\",\"text-shape\":{\"fontWeight\":500}},\"inactive\":{\"lineWidth\":1,\"stroke\":\"rgb(234, 234, 234)\"},\"lineWidth\":5,\"offset\":20,\"radius\":2,\"selected\":{\"lineWidth\":2,\"shadowBlur\":10,\"shadowColor\":\"rgb(95, 149, 255)\",\"stroke\":\"rgb(95, 149, 255)\",\"text-shape\":{\"fontWeight\":500}},\"stroke\":\"#0062ff\"}', '1 to 2', '{\"autoRotate\":false,\"position\":\"middle\",\"refX\":0,\"refY\":0,\"style\":{\"fill\":\"#ffffff\",\"fontSize\":12,\"fontWeight\":500}}');
|
||||
INSERT
|
||||
IGNORE INTO `omc_db`.`chart_graph` (
|
||||
`row_id`,
|
||||
`row_type`,
|
||||
`row_group`,
|
||||
`id`,
|
||||
`type`,
|
||||
`depth`,
|
||||
`x`,
|
||||
`y`,
|
||||
`size`,
|
||||
`icon`,
|
||||
`img`,
|
||||
`clip_cfg`,
|
||||
`direction`,
|
||||
`source`,
|
||||
`target`,
|
||||
`combo_id`,
|
||||
`padding`,
|
||||
`parent_id`,
|
||||
`children`,
|
||||
`style`,
|
||||
`label`,
|
||||
`label_cfg`
|
||||
)
|
||||
VALUES (
|
||||
1,
|
||||
'node',
|
||||
'hello',
|
||||
'node-1',
|
||||
'rect',
|
||||
0,
|
||||
-218,
|
||||
-20,
|
||||
'[80,40]',
|
||||
'{\"height\":25,\"img\":\"/svg/service.svg\",\"offset\":20,\"show\":false,\"width\":25}',
|
||||
'',
|
||||
'',
|
||||
'',
|
||||
'',
|
||||
'',
|
||||
'',
|
||||
'',
|
||||
'',
|
||||
'',
|
||||
'{\"active\":{\"fill\":\"rgb(247, 250, 255)\",\"lineWidth\":2,\"shadowBlur\":10,\"shadowColor\":\"rgb(95, 149, 255)\",\"stroke\":\"rgb(95, 149, 255)\"},\"cursor\":\"pointer\",\"disable\":{\"fill\":\"rgb(250, 250, 250)\",\"lineWidth\":1,\"stroke\":\"rgb(224, 224, 224)\"},\"fill\":\"#ff0000\",\"highlight\":{\"fill\":\"rgb(223, 234, 255)\",\"lineWidth\":2,\"stroke\":\"#4572d9\",\"text-shape\":{\"fontWeight\":500}},\"inactive\":{\"fill\":\"rgb(247, 250, 255)\",\"lineWidth\":1,\"stroke\":\"rgb(191, 213, 255)\"},\"lineWidth\":1,\"radius\":4,\"selected\":{\"fill\":\"rgb(255, 255, 255)\",\"lineWidth\":4,\"shadowBlur\":10,\"shadowColor\":\"rgb(95, 149, 255)\",\"stroke\":\"rgb(95, 149, 255)\",\"text-shape\":{\"fontWeight\":500}},\"stroke\":\"#ff0000\"}',
|
||||
'Node-1',
|
||||
'{\"offset\":0,\"position\":\"center\",\"style\":{\"fill\":\"#ffffff\",\"fontSize\":12,\"fontWeight\":500}}'
|
||||
);
|
||||
|
||||
INSERT
|
||||
IGNORE INTO `omc_db`.`chart_graph` (
|
||||
`row_id`,
|
||||
`row_type`,
|
||||
`row_group`,
|
||||
`id`,
|
||||
`type`,
|
||||
`depth`,
|
||||
`x`,
|
||||
`y`,
|
||||
`size`,
|
||||
`icon`,
|
||||
`img`,
|
||||
`clip_cfg`,
|
||||
`direction`,
|
||||
`source`,
|
||||
`target`,
|
||||
`combo_id`,
|
||||
`padding`,
|
||||
`parent_id`,
|
||||
`children`,
|
||||
`style`,
|
||||
`label`,
|
||||
`label_cfg`
|
||||
)
|
||||
VALUES (
|
||||
2,
|
||||
'node',
|
||||
'hello',
|
||||
'node-2',
|
||||
'star',
|
||||
0,
|
||||
82,
|
||||
-15,
|
||||
'60',
|
||||
'{\"height\":25,\"img\":\"\",\"offset\":20,\"show\":false,\"width\":25}',
|
||||
'',
|
||||
'',
|
||||
'',
|
||||
'',
|
||||
'',
|
||||
'',
|
||||
'',
|
||||
'',
|
||||
'',
|
||||
'{\"active\":{\"fill\":\"rgb(247, 250, 255)\",\"lineWidth\":2,\"shadowBlur\":10,\"shadowColor\":\"rgb(95, 149, 255)\",\"stroke\":\"rgb(95, 149, 255)\"},\"cursor\":\"pointer\",\"disable\":{\"fill\":\"rgb(250, 250, 250)\",\"lineWidth\":1,\"stroke\":\"rgb(224, 224, 224)\"},\"fill\":\"#2bff00\",\"highlight\":{\"fill\":\"rgb(223, 234, 255)\",\"lineWidth\":2,\"stroke\":\"#4572d9\",\"text-shape\":{\"fontWeight\":500}},\"inactive\":{\"fill\":\"rgb(247, 250, 255)\",\"lineWidth\":1,\"stroke\":\"rgb(191, 213, 255)\"},\"lineWidth\":1,\"radius\":4,\"selected\":{\"fill\":\"rgb(255, 255, 255)\",\"lineWidth\":4,\"shadowBlur\":10,\"shadowColor\":\"rgb(95, 149, 255)\",\"stroke\":\"rgb(95, 149, 255)\",\"text-shape\":{\"fontWeight\":500}},\"stroke\":\"#05ff16\"}',
|
||||
'Node-2',
|
||||
'{\"offset\":0,\"position\":\"center\",\"style\":{\"fill\":\"#ffffff\",\"fontSize\":12,\"fontWeight\":500}}'
|
||||
);
|
||||
|
||||
INSERT
|
||||
IGNORE INTO `omc_db`.`chart_graph` (
|
||||
`row_id`,
|
||||
`row_type`,
|
||||
`row_group`,
|
||||
`id`,
|
||||
`type`,
|
||||
`depth`,
|
||||
`x`,
|
||||
`y`,
|
||||
`size`,
|
||||
`icon`,
|
||||
`img`,
|
||||
`clip_cfg`,
|
||||
`direction`,
|
||||
`source`,
|
||||
`target`,
|
||||
`combo_id`,
|
||||
`padding`,
|
||||
`parent_id`,
|
||||
`children`,
|
||||
`style`,
|
||||
`label`,
|
||||
`label_cfg`
|
||||
)
|
||||
VALUES (
|
||||
3,
|
||||
'edge',
|
||||
'hello',
|
||||
'node-1~1704427926706~node-2',
|
||||
'polyline',
|
||||
0,
|
||||
0,
|
||||
0,
|
||||
'',
|
||||
'',
|
||||
'',
|
||||
'',
|
||||
'',
|
||||
'node-1',
|
||||
'node-2',
|
||||
'',
|
||||
'',
|
||||
'',
|
||||
'',
|
||||
'{\"active\":{\"lineWidth\":1,\"stroke\":\"rgb(95, 149, 255)\"},\"cursor\":\"pointer\",\"disable\":{\"lineWidth\":1,\"stroke\":\"rgb(245, 245, 245)\"},\"endArrow\":true,\"highlight\":{\"lineWidth\":2,\"stroke\":\"rgb(95, 149, 255)\",\"text-shape\":{\"fontWeight\":500}},\"inactive\":{\"lineWidth\":1,\"stroke\":\"rgb(234, 234, 234)\"},\"lineWidth\":5,\"offset\":20,\"radius\":2,\"selected\":{\"lineWidth\":2,\"shadowBlur\":10,\"shadowColor\":\"rgb(95, 149, 255)\",\"stroke\":\"rgb(95, 149, 255)\",\"text-shape\":{\"fontWeight\":500}},\"stroke\":\"#0062ff\"}',
|
||||
'1 to 2',
|
||||
'{\"autoRotate\":false,\"position\":\"middle\",\"refX\":0,\"refY\":0,\"style\":{\"fill\":\"#ffffff\",\"fontSize\":12,\"fontWeight\":500}}'
|
||||
);
|
||||
|
||||
SET FOREIGN_KEY_CHECKS=1;
|
||||
@@ -1040,8 +1040,8 @@ INSERT
|
||||
IGNORE INTO `omc_db`.`sys_role_menu` (`role_id`, `menu_id`)
|
||||
VALUES (2, 2123);
|
||||
|
||||
INSERT INTO
|
||||
`omc_db`.`sys_role_menu` (`role_id`, `menu_id`)
|
||||
INSERT
|
||||
IGNORE INTO `omc_db`.`sys_role_menu` (`role_id`, `menu_id`)
|
||||
VALUES (2, 2126);
|
||||
|
||||
SET FOREIGN_KEY_CHECKS=1;
|
||||
Reference in New Issue
Block a user