You cannot select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
lyr-one-test/sql/setting20230926JilingLee.sql

87 lines
25 KiB
Java

This file contains ambiguous Unicode characters!

This file contains ambiguous Unicode characters that may be confused with others in your current locale. If your use case is intentional and legitimate, you can safely ignore this warning. Use the Escape button to highlight these characters.

-- ----------------------------
-- structure for setting_detection
-- ----------------------------
DROP TABLE IF EXISTS `setting_detection`;
CREATE TABLE `setting_detection` (
`id` bigint(20) NOT NULL AUTO_INCREMENT COMMENT 'ID',
`one_type` varchar(64) CHARACTER SET utf8mb4 COLLATE utf8mb4_general_ci NULL DEFAULT NULL COMMENT '',
`two_type` varchar(64) CHARACTER SET utf8mb4 COLLATE utf8mb4_general_ci NULL DEFAULT NULL COMMENT '',
`code` varchar(64) CHARACTER SET utf8mb4 COLLATE utf8mb4_general_ci NULL DEFAULT NULL COMMENT '',
`name` varchar(64) CHARACTER SET utf8mb4 COLLATE utf8mb4_general_ci NULL DEFAULT NULL COMMENT '',
`purpose` varchar(255) CHARACTER SET utf8mb4 COLLATE utf8mb4_general_ci NULL DEFAULT NULL COMMENT '',
`objects` varchar(255) CHARACTER SET utf8mb4 COLLATE utf8mb4_general_ci NULL DEFAULT NULL COMMENT '',
`methods` varchar(255) CHARACTER SET utf8mb4 COLLATE utf8mb4_general_ci NULL DEFAULT NULL COMMENT '',
`enable_flag` bit(1) NULL DEFAULT NULL COMMENT '0-1-',
`remark` varchar(500) CHARACTER SET utf8mb4 COLLATE utf8mb4_general_ci NULL DEFAULT NULL COMMENT '',
`attr1` varchar(64) CHARACTER SET utf8mb4 COLLATE utf8mb4_general_ci NULL DEFAULT NULL COMMENT '1',
`attr2` varchar(255) CHARACTER SET utf8mb4 COLLATE utf8mb4_general_ci NULL DEFAULT NULL COMMENT '2',
`attr3` int(11) NULL DEFAULT NULL COMMENT '3',
`attr4` int(11) NULL DEFAULT NULL COMMENT '4',
`creator` varchar(64) CHARACTER SET utf8mb4 COLLATE utf8mb4_general_ci NULL DEFAULT NULL COMMENT '',
`create_time` datetime(0) NULL DEFAULT NULL COMMENT '',
`create_by` varchar(20) CHARACTER SET utf8mb4 COLLATE utf8mb4_general_ci NULL DEFAULT NULL COMMENT '',
`updater` varchar(20) CHARACTER SET utf8mb4 COLLATE utf8mb4_general_ci NULL DEFAULT NULL COMMENT '',
`update_time` datetime(0) NULL DEFAULT NULL COMMENT '',
`dept_id` bigint(20) NULL DEFAULT NULL COMMENT 'ID',
`dept_name` varchar(30) CHARACTER SET utf8mb4 COLLATE utf8mb4_general_ci NULL DEFAULT NULL COMMENT '',
`company_id` bigint(20) NULL DEFAULT NULL COMMENT 'ID',
`user_id` bigint(20) NULL DEFAULT NULL COMMENT 'ID',
`deleted` bit(1) NULL DEFAULT b'0' COMMENT '0-1-',
`company` varchar(30) CHARACTER SET utf8mb4 COLLATE utf8mb4_general_ci NULL DEFAULT NULL COMMENT '',
`tenant_id` bigint(20) NOT NULL COMMENT '/',
PRIMARY KEY (`id`) USING BTREE
) ENGINE = InnoDB AUTO_INCREMENT = 37 CHARACTER SET = utf8mb4 COLLATE = utf8mb4_general_ci COMMENT = '' ROW_FORMAT = Dynamic;
-- ----------------------------
-- Records of setting_detection
-- ----------------------------
INSERT INTO `setting_detection` VALUES (1, '', '', 'GD-1-1', '', '', '', '', b'1', NULL, NULL, NULL, NULL, NULL, 'Creator', '2022-01-01 00:00:00', 'Create_by', 'Updater', '2022-01-01 00:00:00', NULL, NULL, NULL, NULL, b'0', NULL, 1);
INSERT INTO `setting_detection` VALUES (2, '', '', 'GD-1-10', '', '', '', '()', b'1', NULL, NULL, NULL, NULL, NULL, 'Creator', '2022-01-02 00:00:00', 'Create_by', 'Updater', '2022-01-02 00:00:00', NULL, NULL, NULL, NULL, b'0', NULL, 1);
INSERT INTO `setting_detection` VALUES (3, '', '', 'GD-1-11', '', '', '', '', b'1', NULL, NULL, NULL, NULL, NULL, 'Creator', '2022-01-03 00:00:00', 'Create_by', 'Updater', '2022-01-03 00:00:00', NULL, NULL, NULL, NULL, b'0', NULL, 1);
INSERT INTO `setting_detection` VALUES (4, '', '', 'GD-1-12', '', '', '', '', b'1', NULL, NULL, NULL, NULL, NULL, 'Creator', '2022-01-04 00:00:00', 'Create_by', 'Updater', '2022-01-04 00:00:00', NULL, NULL, NULL, NULL, b'0', NULL, 1);
INSERT INTO `setting_detection` VALUES (5, '', '', 'GD-1-13', '', '', '', '', b'1', NULL, NULL, NULL, NULL, NULL, 'Creator', '2022-01-05 00:00:00', 'Create_by', 'Updater', '2022-01-05 00:00:00', NULL, NULL, NULL, NULL, b'0', NULL, 1);
INSERT INTO `setting_detection` VALUES (6, '', '', 'GD-1-14', '', '', '', '', b'1', NULL, NULL, NULL, NULL, NULL, 'Creator', '2022-01-06 00:00:00', 'Create_by', 'Updater', '2022-01-06 00:00:00', NULL, NULL, NULL, NULL, b'0', NULL, 1);
INSERT INTO `setting_detection` VALUES (7, '', '', 'GD-1-2', '', '', '', 'DA/T 46-2009: a) ; b) ', b'1', NULL, NULL, NULL, NULL, NULL, 'Creator', '2022-01-07 00:00:00', 'Create_by', 'Updater', '2022-01-07 00:00:00', NULL, NULL, NULL, NULL, b'0', NULL, 1);
INSERT INTO `setting_detection` VALUES (8, '', '', 'GD-1-3', '', '', '', 'DA/T 46-2009: a) ; b) ', b'1', NULL, NULL, NULL, NULL, NULL, 'Creator', '2022-01-08 00:00:00', 'Create_by', 'Updater', '2022-01-08 00:00:00', NULL, NULL, NULL, NULL, b'0', NULL, 1);
INSERT INTO `setting_detection` VALUES (9, '', '', 'GD-1-4', '', '', '', 'DA/T 46-2009: a) ; b) ', b'1', NULL, NULL, NULL, NULL, NULL, 'Creator', '2022-01-09 00:00:00', 'Create_by', 'Updater', '2022-01-09 00:00:00', NULL, NULL, NULL, NULL, b'0', NULL, 1);
INSERT INTO `setting_detection` VALUES (10, '', '', 'GD-1-5', ' ', ' ', '', 'DA/T 18-1999DA/T 46-2009 :\na) ;\nb) ', b'1', NULL, NULL, NULL, NULL, NULL, 'Creator', '2022-01-01 00:00:00', 'Create_by', 'Updater', '2022-01-01 00:00:00', NULL, NULL, NULL, NULL, b'0', NULL, 1);
INSERT INTO `setting_detection` VALUES (11, '', '', 'GD-1-6', ' ', '', '', 'GB 18030-2005 :\na) ;\nb) ', b'1', NULL, NULL, NULL, NULL, NULL, 'Creator', '2022-01-02 00:00:00', 'Create_by', 'Updater', '2022-01-02 00:00:00', NULL, NULL, NULL, NULL, b'0', NULL, 1);
INSERT INTO `setting_detection` VALUES (12, '', '', 'GD-1-7', '', ' / ', '/', 'DA/T 13-1994/ :\na) /;\nb) /', b'1', NULL, NULL, NULL, NULL, NULL, 'Creator', '2022-01-03 00:00:00', 'Create_by', 'Updater', '2022-01-03 00:00:00', NULL, NULL, NULL, NULL, b'0', NULL, 1);
INSERT INTO `setting_detection` VALUES (13, '', '', 'GD-1-8', ' ', ' ', ' ', '(:)\n', b'1', NULL, NULL, NULL, NULL, NULL, 'Creator', '2022-01-04 00:00:00', 'Create_by', 'Updater', '2022-01-04 00:00:00', NULL, NULL, NULL, NULL, b'0', NULL, 1);
INSERT INTO `setting_detection` VALUES (14, '', '', 'GD-2-1', '', ' ', '', 'GB/T 18894-2016A.1 ', b'1', NULL, NULL, NULL, NULL, NULL, 'Creator', '2022-01-05 00:00:00', 'Create_by', 'Updater', '2022-01-05 00:00:00', NULL, NULL, NULL, NULL, b'0', NULL, 1);
INSERT INTO `setting_detection` VALUES (15, '', '', 'GD-2-11', ' ', ' ', '', '\n', b'1', NULL, NULL, NULL, NULL, NULL, 'Creator', '2022-01-06 00:00:00', 'Create_by', 'Updater', '2022-01-06 00:00:00', NULL, NULL, NULL, NULL, b'0', NULL, 1);
INSERT INTO `setting_detection` VALUES (16, '', '', 'GD-2-2', '', ' ', '', 'GB/T 18894-2016A.1 ', b'1', NULL, NULL, NULL, NULL, NULL, 'Creator', '2022-01-07 00:00:00', 'Create_by', 'Updater', '2022-01-07 00:00:00', NULL, NULL, NULL, NULL, b'0', NULL, 1);
INSERT INTO `setting_detection` VALUES (17, '', '', 'GD-2-3', '', '', '', 'DA/T 46-2009 ', b'1', NULL, NULL, NULL, NULL, NULL, 'Creator', '2022-01-08 00:00:00', 'Create_by', 'Updater', '2022-01-08 00:00:00', NULL, NULL, NULL, NULL, b'0', NULL, 1);
INSERT INTO `setting_detection` VALUES (18, '', '', 'GD-2-4', '', '', '', 'DA/T46-2009 ', b'1', NULL, NULL, NULL, NULL, NULL, 'Creator', '2022-01-09 00:00:00', 'Create_by', 'Updater', '2022-01-09 00:00:00', NULL, NULL, NULL, NULL, b'0', NULL, 1);
INSERT INTO `setting_detection` VALUES (19, '', '', 'GD-2-5', '', '', '', ' ', b'1', NULL, NULL, NULL, NULL, NULL, 'Creator', '2022-01-01 00:00:00', 'Create_by', 'Updater', '2022-01-01 00:00:00', NULL, NULL, NULL, NULL, b'0', NULL, 1);
INSERT INTO `setting_detection` VALUES (20, '', '', 'GD-2-6', '', ' ', ' ', 'DA/T 22-2015 () ', b'1', NULL, NULL, NULL, NULL, NULL, 'Creator', '2022-01-02 00:00:00', 'Create_by', 'Updater', '2022-01-02 00:00:00', NULL, NULL, NULL, NULL, b'0', NULL, 1);
INSERT INTO `setting_detection` VALUES (21, '', '', 'GD-2-7', '', ' ', '', '', b'1', NULL, NULL, NULL, NULL, NULL, 'Creator', '2022-01-03 00:00:00', 'Create_by', 'Updater', '2022-01-03 00:00:00', NULL, NULL, NULL, NULL, b'0', NULL, 1);
INSERT INTO `setting_detection` VALUES (22, '', '', 'GD-2-8', '', ' ', ' ', '', b'1', NULL, NULL, NULL, NULL, NULL, 'Creator', '2022-01-04 00:00:00', 'Create_by', 'Updater', '2022-01-04 00:00:00', NULL, NULL, NULL, NULL, b'0', NULL, 1);
INSERT INTO `setting_detection` VALUES (23, '', '', 'GD-2-9', '', '', '', ' \n', b'1', NULL, NULL, NULL, NULL, NULL, 'Creator', '2022-01-05 00:00:00', 'Create_by', 'Updater', '2022-01-05 00:00:00', NULL, NULL, NULL, NULL, b'0', NULL, 1);
INSERT INTO `setting_detection` VALUES (24, '', '', 'GD-3-1', ' ', '', '', 'XML \n', b'1', NULL, NULL, NULL, NULL, NULL, 'Creator', '2022-01-06 00:00:00', 'Create_by', 'Updater', '2022-01-06 00:00:00', NULL, NULL, NULL, NULL, b'0', NULL, 1);
INSERT INTO `setting_detection` VALUES (25, '', '', 'GD-3-2', ' 访', ' 访', '', '访\n', b'1', NULL, NULL, NULL, NULL, NULL, 'Creator', '2022-01-07 00:00:00', 'Create_by', 'Updater', '2022-01-07 00:00:00', NULL, NULL, NULL, NULL, b'0', NULL, 1);
INSERT INTO `setting_detection` VALUES (26, '', '', 'GD-3-3', '', ' ', '', ' \nGB/T 18894-2016GB/T 33190-2016 ', b'1', NULL, NULL, NULL, NULL, NULL, 'Creator', '2022-01-08 00:00:00', 'Create_by', 'Updater', '2022-01-08 00:00:00', NULL, NULL, NULL, NULL, b'0', NULL, 1);
INSERT INTO `setting_detection` VALUES (27, '', '', 'GD-3-4', '', ' ', '', '', b'1', NULL, NULL, NULL, NULL, NULL, 'Creator', '2022-01-09 00:00:00', 'Create_by', 'Updater', '2022-01-09 00:00:00', NULL, NULL, NULL, NULL, b'0', NULL, 1);
INSERT INTO `setting_detection` VALUES (28, '', '', 'GD-3-6', ' ', ' ', ' ', '\n', b'1', NULL, NULL, NULL, NULL, NULL, 'Creator', '2022-01-01 00:00:00', 'Create_by', 'Updater', '2022-01-01 00:00:00', NULL, NULL, NULL, NULL, b'0', NULL, 1);
INSERT INTO `setting_detection` VALUES (29, '', '', 'GD-3-8', ' ', ' ', ' ', '\n ', b'1', NULL, NULL, NULL, NULL, NULL, 'Creator', '2022-01-02 00:00:00', 'Create_by', 'Updater', '2022-01-02 00:00:00', NULL, NULL, NULL, NULL, b'0', NULL, 1);
INSERT INTO `setting_detection` VALUES (30, '', '', 'GD-4-1', '', ' ', '', '', b'1', NULL, NULL, NULL, NULL, NULL, 'Creator', '2022-01-03 00:00:00', 'Create_by', 'Updater', '2022-01-03 00:00:00', NULL, NULL, NULL, NULL, b'0', NULL, 1);
INSERT INTO `setting_detection` VALUES (31, '', '', 'GD-4-2', '', ' ', '', ' ', b'1', NULL, NULL, NULL, NULL, NULL, 'Creator', '2022-01-04 00:00:00', 'Create_by', 'Updater', '2022-01-04 00:00:00', NULL, NULL, NULL, NULL, b'0', NULL, 1);
INSERT INTO `setting_detection` VALUES (32, '', '', 'GD-4-3', ' ', ' ', '', '', b'1', NULL, NULL, NULL, NULL, NULL, 'Creator', '2022-01-05 00:00:00', 'Create_by', 'Updater', '2022-01-05 00:00:00', NULL, NULL, NULL, NULL, b'0', NULL, 1);
INSERT INTO `setting_detection` VALUES (33, '', '', 'GD-4-4', ' ', ' ', '', ' ', b'1', NULL, NULL, NULL, NULL, NULL, 'Creator', '2022-01-06 00:00:00', 'Create_by', 'Updater', '2022-01-06 00:00:00', NULL, NULL, NULL, NULL, b'0', NULL, 1);
INSERT INTO `setting_detection` VALUES (34, '', '', 'GD-4-5', '', ' ', '', '', b'1', NULL, NULL, NULL, NULL, NULL, 'Creator', '2022-01-07 00:00:00', 'Create_by', 'Updater', '2022-01-07 00:00:00', NULL, NULL, NULL, NULL, b'0', NULL, 1);
INSERT INTO `setting_detection` VALUES (35, '', '', 'GD-4-6', '', '', '', 'DA/T 38-2008PIEPOFBLER\n', b'1', NULL, NULL, NULL, NULL, NULL, 'Creator', '2022-01-08 00:00:00', 'Create_by', 'Updater', '2022-01-08 00:00:00', NULL, NULL, NULL, NULL, b'0', NULL, 1);
INSERT INTO `setting_detection` VALUES (36, '', '', 'GD-4-7', ' ', ' ', '', ' ', b'1', NULL, NULL, NULL, NULL, NULL, 'Creator', '2022-01-09 00:00:00', 'Create_by', 'Updater', '2022-01-09 00:00:00', NULL, NULL, NULL, NULL, b'0', NULL, 1);
SET FOREIGN_KEY_CHECKS = 1;
--
SELECT `id` INTO @menuId FROM system_menu WHERE name='';
INSERT INTO `lyr-one`.`system_menu`(`name`, `permission`, `type`, `sort`, `parent_id`, `path`, `icon`, `component`, `component_name`, `status`, `visible`, `keep_alive`, `always_show`, `creator`, `create_time`, `updater`, `update_time`, `deleted`) VALUES ('', '', 2, 0, @menuId, 'detection', '', 'setting/detection/index', 'Detection', 0, b'1', b'1', b'1', '', '2023-09-25 15:52:37', '', '2023-09-25 15:52:37', b'0');
SET @menuId2 = LAST_INSERT_ID();
INSERT INTO `lyr-one`.`system_menu`(`id`, `name`, `permission`, `type`, `sort`, `parent_id`, `path`, `icon`, `component`, `component_name`, `status`, `visible`, `keep_alive`, `always_show`, `creator`, `create_time`, `updater`, `update_time`, `deleted`) VALUES (NULL, '', 'setting:detection:query', 3, 1, @menuId2, '', '', '', NULL, 0, b'1', b'1', b'1', '', '2023-09-25 15:52:37', '', '2023-09-25 15:52:37', b'0');
INSERT INTO `lyr-one`.`system_menu`(`id`, `name`, `permission`, `type`, `sort`, `parent_id`, `path`, `icon`, `component`, `component_name`, `status`, `visible`, `keep_alive`, `always_show`, `creator`, `create_time`, `updater`, `update_time`, `deleted`) VALUES (NULL, '', 'setting:detection:create', 3, 2, @menuId2, '', '', '', NULL, 0, b'1', b'1', b'1', '', '2023-09-25 15:52:37', '', '2023-09-25 15:52:37', b'0');
INSERT INTO `lyr-one`.`system_menu`(`id`, `name`, `permission`, `type`, `sort`, `parent_id`, `path`, `icon`, `component`, `component_name`, `status`, `visible`, `keep_alive`, `always_show`, `creator`, `create_time`, `updater`, `update_time`, `deleted`) VALUES (NULL, '', 'setting:detection:update', 3, 3, @menuId2, '', '', '', NULL, 0, b'1', b'1', b'1', '', '2023-09-25 15:52:37', '', '2023-09-25 15:52:37', b'0');
INSERT INTO `lyr-one`.`system_menu`(`id`, `name`, `permission`, `type`, `sort`, `parent_id`, `path`, `icon`, `component`, `component_name`, `status`, `visible`, `keep_alive`, `always_show`, `creator`, `create_time`, `updater`, `update_time`, `deleted`) VALUES (NULL, '', 'setting:detection:delete', 3, 4, @menuId2, '', '', '', NULL, 0, b'1', b'1', b'1', '', '2023-09-25 15:52:37', '', '2023-09-25 15:52:37', b'0');
INSERT INTO `lyr-one`.`system_menu`(`id`, `name`, `permission`, `type`, `sort`, `parent_id`, `path`, `icon`, `component`, `component_name`, `status`, `visible`, `keep_alive`, `always_show`, `creator`, `create_time`, `updater`, `update_time`, `deleted`) VALUES (NULL, '', 'setting:detection:export', 3, 5, @menuId2, '', '', '', NULL, 0, b'1', b'1', b'1', '', '2023-09-25 15:52:37', '', '2023-09-25 15:52:37', b'0');