电子档案-资产档案-sql权限

new
parent 2b8d5a6dfd
commit 6e7b8b5abf

@ -0,0 +1,40 @@
--
CREATE TABLE `ea_electronic_assets` (
`id` bigint(20) NOT NULL AUTO_INCREMENT COMMENT 'id',
`company_id` bigint(20) NULL DEFAULT NULL COMMENT 'id',
`company` varchar(255) CHARACTER SET utf8mb4 COLLATE utf8mb4_general_ci NULL DEFAULT NULL COMMENT '',
`dept_id` bigint(20) NULL DEFAULT NULL COMMENT 'id',
`dept_name` varchar(255) CHARACTER SET utf8mb4 COLLATE utf8mb4_general_ci NULL DEFAULT NULL COMMENT '',
`asset_code` varchar(255) CHARACTER SET utf8mb4 COLLATE utf8mb4_general_ci NULL DEFAULT NULL COMMENT '',
`asset_name` varchar(255) CHARACTER SET utf8mb4 COLLATE utf8mb4_general_ci NULL DEFAULT NULL COMMENT '',
`asset_description` varchar(255) CHARACTER SET utf8mb4 COLLATE utf8mb4_general_ci NULL DEFAULT NULL COMMENT '',
`asset_type` varchar(255) CHARACTER SET utf8mb4 COLLATE utf8mb4_general_ci NULL DEFAULT NULL COMMENT '',
`purchase_date` datetime NULL DEFAULT NULL COMMENT '',
`disposal_date` datetime NULL DEFAULT NULL COMMENT '',
`asset_status` varchar(255) CHARACTER SET utf8mb4 COLLATE utf8mb4_general_ci NULL DEFAULT NULL COMMENT '',
`purchase_price` decimal(10, 2) NULL DEFAULT NULL COMMENT '',
`asset_quantity` int(20) NULL DEFAULT NULL COMMENT '',
`purchase_channel` varchar(255) CHARACTER SET utf8mb4 COLLATE utf8mb4_general_ci NULL DEFAULT NULL COMMENT '',
`source` varchar(255) CHARACTER SET utf8mb4 COLLATE utf8mb4_general_ci NULL DEFAULT NULL COMMENT '',
`year` varchar(255) CHARACTER SET utf8mb4 COLLATE utf8mb4_general_ci NULL DEFAULT NULL COMMENT '',
`period` varchar(255) CHARACTER SET utf8mb4 COLLATE utf8mb4_general_ci NULL DEFAULT NULL COMMENT '',
`borrow_status` varchar(255) CHARACTER SET utf8mb4 COLLATE utf8mb4_general_ci NULL DEFAULT NULL COMMENT '',
`position` varchar(255) CHARACTER SET utf8mb4 COLLATE utf8mb4_general_ci NULL DEFAULT NULL COMMENT '',
`cherks` varchar(255) CHARACTER SET utf8mb4 COLLATE utf8mb4_general_ci NULL DEFAULT NULL COMMENT '',
`record_id` bigint(20) NULL DEFAULT NULL COMMENT 'id',
`file_status` varchar(255) CHARACTER SET utf8mb4 COLLATE utf8mb4_general_ci NULL DEFAULT NULL COMMENT '',
`tenant_id` bigint(20) NULL DEFAULT NULL COMMENT '',
`create_time` datetime NULL DEFAULT NULL COMMENT '',
`update_time` datetime NULL DEFAULT NULL COMMENT '',
`create_by` varchar(255) CHARACTER SET utf8mb4 COLLATE utf8mb4_general_ci NULL DEFAULT NULL COMMENT '',
`deleted` tinyint(1) NULL DEFAULT NULL COMMENT '',
PRIMARY KEY (`id`) CHARACTER SET = utf8mb4 COLLATE = utf8mb4_general_ci COMMENT = '' ;
-- ,
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 (2350, '', '', 1, 0, 0, '/ea', 'documentation', NULL, NULL, 0, b'1', b'1', b'1', '1', '2023-09-11 11:20:40', '1', '2023-09-11 11:27:13', 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 (2351, '', 'ea:electronicAssets:list', 2, 1, 2350, 'electronicAssets', 'build', 'ea/electronicAssets/index', 'electronicAssets', 0, b'1', b'1', b'1', '1', '2023-09-11 11:26:16', '1', '2023-09-11 11:27:25', 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 (2352, '', 'ea:electronic:create', 3, 1, 2351, '', '', '', '', 0, b'1', b'1', b'1', '', '2023-09-11 13:23:14', '', '2023-09-11 13:23:14', 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 (2353, '', 'ea:electronic:export', 3, 4, 2351, '', '', '', '', 0, b'1', b'1', b'1', '', '2023-09-11 13:36:31', '', '2023-09-11 13:37:08', 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 (2354, '', 'ea:electronic:update', 3, 2, 2351, '', '', '', '', 0, b'1', b'1', b'1', '', '2023-09-11 13:37:03', '', '2023-09-11 13:37:03', 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 (2355, '', 'ea:electronic:delete', 3, 3, 2351, '', '', '', '', 0, b'1', b'1', b'1', '', '2023-09-11 13:37:30', '', '2023-09-11 13:37:30', b'0');
Loading…
Cancel
Save