|
|
|
|
/*
|
|
|
|
|
Navicat MySQL Data Transfer
|
|
|
|
|
|
|
|
|
|
Source Server : mysql5.7
|
|
|
|
|
Source Server Type : MySQL
|
|
|
|
|
Source Server Version : 50724
|
|
|
|
|
Source Host : localhost:3307
|
|
|
|
|
Source Schema : lyr-one
|
|
|
|
|
|
|
|
|
|
Target Server Type : MySQL
|
|
|
|
|
Target Server Version : 50724
|
|
|
|
|
File Encoding : 65001
|
|
|
|
|
|
|
|
|
|
Date: 10/10/2023 09:43:15
|
|
|
|
|
*/
|
|
|
|
|
|
|
|
|
|
SET NAMES utf8mb4;
|
|
|
|
|
SET FOREIGN_KEY_CHECKS = 0;
|
|
|
|
|
|
|
|
|
|
-- ----------------------------
|
|
|
|
|
-- Table structure for electronic_consultation
|
|
|
|
|
-- ----------------------------
|
|
|
|
|
DROP TABLE IF EXISTS `electronic_consultation`;
|
|
|
|
|
CREATE TABLE `electronic_consultation` (
|
|
|
|
|
`id` bigint(20) NOT NULL AUTO_INCREMENT COMMENT '主键\r\n',
|
|
|
|
|
`create_by` varchar(50) CHARACTER SET utf8 COLLATE utf8_general_ci NULL DEFAULT NULL COMMENT '制单人\r\n',
|
|
|
|
|
`create_time` datetime(0) NULL DEFAULT NULL COMMENT '创建日期\r\n',
|
|
|
|
|
`company_id` bigint(20) NULL DEFAULT NULL COMMENT '业务实体id\r\n',
|
|
|
|
|
`company` varchar(30) CHARACTER SET utf8 COLLATE utf8_general_ci NULL DEFAULT NULL COMMENT '业务实体\r\n',
|
|
|
|
|
`update_time` datetime(0) NULL DEFAULT NULL COMMENT '更新日期\r\n',
|
|
|
|
|
`system_dept_id` bigint(20) NULL DEFAULT NULL COMMENT '所属部门id\r\n',
|
|
|
|
|
`system_dept` varchar(30) CHARACTER SET utf8 COLLATE utf8_general_ci NULL DEFAULT NULL COMMENT '所属部门\r\n',
|
|
|
|
|
`consultation_id` varchar(64) CHARACTER SET utf8 COLLATE utf8_general_ci NULL DEFAULT NULL COMMENT '咨询编号\r\n',
|
|
|
|
|
`consultation_type` varchar(50) CHARACTER SET utf8 COLLATE utf8_general_ci NULL DEFAULT NULL COMMENT '咨询类型\r\n',
|
|
|
|
|
`consultation_title` varchar(100) CHARACTER SET utf8 COLLATE utf8_general_ci NULL DEFAULT NULL COMMENT '咨询标题\r\n',
|
|
|
|
|
`consultation_content` varchar(500) CHARACTER SET utf8 COLLATE utf8_general_ci NULL DEFAULT NULL COMMENT '咨询内容\r\n',
|
|
|
|
|
`consultor_name` varchar(100) CHARACTER SET utf8 COLLATE utf8_general_ci NULL DEFAULT NULL COMMENT '咨询者姓名\r\n',
|
|
|
|
|
`consultor_phone` varchar(20) CHARACTER SET utf8 COLLATE utf8_general_ci NULL DEFAULT NULL COMMENT '咨询者电话\r\n',
|
|
|
|
|
`consultor_email` varchar(100) CHARACTER SET utf8 COLLATE utf8_general_ci NULL DEFAULT NULL COMMENT '咨询者邮箱\r\n',
|
|
|
|
|
`consultation_time` datetime(0) NULL DEFAULT NULL COMMENT '咨询时间\r\n',
|
|
|
|
|
`handler` varchar(100) CHARACTER SET utf8 COLLATE utf8_general_ci NULL DEFAULT NULL COMMENT '处理人员\r\n',
|
|
|
|
|
`handle_time` datetime(0) NULL DEFAULT NULL COMMENT '处理日期\r\n',
|
|
|
|
|
`handle_result` varchar(500) CHARACTER SET utf8 COLLATE utf8_general_ci NULL DEFAULT NULL COMMENT '处理结果\r\n',
|
|
|
|
|
`year` varchar(20) CHARACTER SET utf8 COLLATE utf8_general_ci NULL DEFAULT NULL COMMENT '年度\r\n',
|
|
|
|
|
`period` varchar(20) CHARACTER SET utf8 COLLATE utf8_general_ci NULL DEFAULT NULL COMMENT '月份\r\n',
|
|
|
|
|
`borrow_status` varchar(2) CHARACTER SET utf8 COLLATE utf8_general_ci NULL DEFAULT NULL COMMENT '借阅状态\r\n',
|
|
|
|
|
`record_time` varchar(20) CHARACTER SET utf8 COLLATE utf8_general_ci NULL DEFAULT NULL COMMENT '归档时间\r\n',
|
|
|
|
|
`position` varchar(255) CHARACTER SET utf8 COLLATE utf8_general_ci NULL DEFAULT NULL COMMENT '纸档位置\r\n',
|
|
|
|
|
`cherks` int(10) UNSIGNED NULL DEFAULT NULL COMMENT '完整性\r\n',
|
|
|
|
|
`record_id` bigint(20) NULL DEFAULT NULL COMMENT '归档id\r\n',
|
|
|
|
|
`user_id` bigint(20) NULL DEFAULT NULL COMMENT '用户id',
|
|
|
|
|
`deleted` bit(1) NULL DEFAULT b'0' COMMENT '是否删除',
|
|
|
|
|
`updater` varchar(20) CHARACTER SET utf8 COLLATE utf8_general_ci NULL DEFAULT NULL COMMENT '更新者',
|
|
|
|
|
`file_status` varchar(64) CHARACTER SET utf8 COLLATE utf8_general_ci NULL DEFAULT NULL COMMENT '归档状态',
|
|
|
|
|
`tenant_id` bigint(20) NOT NULL COMMENT '租户编号',
|
|
|
|
|
PRIMARY KEY (`id`) USING BTREE
|
|
|
|
|
) ENGINE = InnoDB AUTO_INCREMENT = 8 CHARACTER SET = utf8 COLLATE = utf8_general_ci COMMENT = '咨询档案表' ROW_FORMAT = Dynamic;
|
|
|
|
|
|
|
|
|
|
-- ----------------------------
|
|
|
|
|
-- Table structure for electronic_customer_complaint
|
|
|
|
|
-- ----------------------------
|
|
|
|
|
DROP TABLE IF EXISTS `electronic_customer_complaint`;
|
|
|
|
|
CREATE TABLE `electronic_customer_complaint` (
|
|
|
|
|
`id` bigint(255) NOT NULL AUTO_INCREMENT COMMENT '主键',
|
|
|
|
|
`create_by` varchar(255) CHARACTER SET utf8 COLLATE utf8_general_ci NULL DEFAULT NULL COMMENT ' 制单人',
|
|
|
|
|
`creator` varchar(255) CHARACTER SET utf8 COLLATE utf8_general_ci NULL DEFAULT NULL COMMENT '创建者',
|
|
|
|
|
`create_time` datetime(0) NULL DEFAULT NULL COMMENT '创建日期',
|
|
|
|
|
`company_id` bigint(20) NULL DEFAULT NULL COMMENT '业务实体id',
|
|
|
|
|
`company` varchar(30) CHARACTER SET utf8 COLLATE utf8_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 utf8 COLLATE utf8_general_ci NULL DEFAULT NULL COMMENT '所属部门',
|
|
|
|
|
`complaint_code` varchar(64) CHARACTER SET utf8 COLLATE utf8_general_ci NULL DEFAULT NULL COMMENT '客诉编号',
|
|
|
|
|
`customer_name` varchar(100) CHARACTER SET utf8 COLLATE utf8_general_ci NULL DEFAULT NULL COMMENT '客户名称',
|
|
|
|
|
`customer_phone` varchar(20) CHARACTER SET utf8 COLLATE utf8_general_ci NULL DEFAULT NULL COMMENT '客户电话',
|
|
|
|
|
`customer_email` varchar(100) CHARACTER SET utf8 COLLATE utf8_general_ci NULL DEFAULT NULL COMMENT '客户邮箱',
|
|
|
|
|
`complaint_time` datetime(0) NULL DEFAULT NULL COMMENT '客诉时间',
|
|
|
|
|
`complaint_type` varchar(50) CHARACTER SET utf8 COLLATE utf8_general_ci NULL DEFAULT NULL COMMENT '客诉类型',
|
|
|
|
|
`complaint_content` varchar(500) CHARACTER SET utf8 COLLATE utf8_general_ci NULL DEFAULT NULL COMMENT '客诉内容',
|
|
|
|
|
`handler` varchar(100) CHARACTER SET utf8 COLLATE utf8_general_ci NULL DEFAULT NULL COMMENT '处理人',
|
|
|
|
|
`handle_time` datetime(0) NULL DEFAULT NULL COMMENT '处理时间',
|
|
|
|
|
`handle_result` varchar(500) CHARACTER SET utf8 COLLATE utf8_general_ci NULL DEFAULT NULL COMMENT '处理结果',
|
|
|
|
|
`year` varchar(20) CHARACTER SET utf8 COLLATE utf8_general_ci NULL DEFAULT NULL COMMENT '年度',
|
|
|
|
|
`period` varchar(20) CHARACTER SET utf8 COLLATE utf8_general_ci NULL DEFAULT NULL COMMENT '月份',
|
|
|
|
|
`borrow_status` varchar(2) CHARACTER SET utf8 COLLATE utf8_general_ci NULL DEFAULT NULL COMMENT '借阅状态',
|
|
|
|
|
`record_time` varchar(20) CHARACTER SET utf8 COLLATE utf8_general_ci NULL DEFAULT NULL COMMENT '归档时间',
|
|
|
|
|
`position` varchar(255) CHARACTER SET utf8 COLLATE utf8_general_ci NULL DEFAULT NULL COMMENT '纸档位置',
|
|
|
|
|
`cherks` int(10) NULL DEFAULT NULL COMMENT '完整性',
|
|
|
|
|
`user_id` bigint(20) NULL DEFAULT NULL COMMENT '用户id',
|
|
|
|
|
`deleted` bit(1) NULL DEFAULT b'0' COMMENT '是否删除',
|
|
|
|
|
`updater` varchar(20) CHARACTER SET utf8 COLLATE utf8_general_ci NULL DEFAULT NULL COMMENT '更新者',
|
|
|
|
|
`record_id` bigint(20) NULL DEFAULT NULL COMMENT '归档id',
|
|
|
|
|
`file_status` varchar(64) CHARACTER SET utf8 COLLATE utf8_general_ci NULL DEFAULT NULL COMMENT '归档状态',
|
|
|
|
|
`tenant_id` bigint(20) NOT NULL COMMENT '租户编号',
|
|
|
|
|
PRIMARY KEY (`id`) USING BTREE
|
|
|
|
|
) ENGINE = InnoDB AUTO_INCREMENT = 4 CHARACTER SET = utf8 COLLATE = utf8_general_ci COMMENT = '客诉档案' ROW_FORMAT = Dynamic;
|
|
|
|
|
|
|
|
|
|
-- ----------------------------
|
|
|
|
|
-- Table structure for electronic_other
|
|
|
|
|
-- ----------------------------
|
|
|
|
|
DROP TABLE IF EXISTS `electronic_other`;
|
|
|
|
|
CREATE TABLE `electronic_other` (
|
|
|
|
|
`id` bigint(20) NOT NULL AUTO_INCREMENT COMMENT '主键',
|
|
|
|
|
`name` varchar(255) CHARACTER SET utf8 COLLATE utf8_general_ci NULL DEFAULT NULL COMMENT '表名',
|
|
|
|
|
`flow_code` varchar(64) CHARACTER SET utf8 COLLATE utf8_general_ci NULL DEFAULT NULL COMMENT 'OA/ERP流程编号\r\n',
|
|
|
|
|
`source` varchar(30) CHARACTER SET utf8 COLLATE utf8_general_ci NULL DEFAULT NULL COMMENT '文件来源',
|
|
|
|
|
`year` varchar(20) CHARACTER SET utf8 COLLATE utf8_general_ci NULL DEFAULT NULL COMMENT '年度',
|
|
|
|
|
`period` varchar(20) CHARACTER SET utf8 COLLATE utf8_general_ci NULL DEFAULT NULL COMMENT '月份',
|
|
|
|
|
`business_type` varchar(30) CHARACTER SET utf8 COLLATE utf8_general_ci NULL DEFAULT NULL COMMENT '业务类型',
|
|
|
|
|
`create_time` datetime(0) NULL DEFAULT NULL COMMENT '创建时间',
|
|
|
|
|
`updater` varchar(64) CHARACTER SET utf8 COLLATE utf8_general_ci NULL DEFAULT NULL COMMENT '更新者',
|
|
|
|
|
`update_time` datetime(0) NULL DEFAULT NULL COMMENT '更新时间',
|
|
|
|
|
`create_by` varchar(20) CHARACTER SET utf8 COLLATE utf8_general_ci NULL DEFAULT NULL COMMENT '制单人',
|
|
|
|
|
`creator` varchar(20) CHARACTER SET utf8 COLLATE utf8_general_ci NULL DEFAULT NULL COMMENT '创建者',
|
|
|
|
|
`company_id` bigint(20) NULL DEFAULT NULL COMMENT '业务实体id',
|
|
|
|
|
`company` varchar(30) CHARACTER SET utf8 COLLATE utf8_general_ci NULL DEFAULT NULL COMMENT '业务实体',
|
|
|
|
|
`del_status` varbinary(2) NULL DEFAULT NULL COMMENT '删除状态',
|
|
|
|
|
`suffix` varchar(10) CHARACTER SET utf8 COLLATE utf8_general_ci NULL DEFAULT NULL COMMENT '文件后缀',
|
|
|
|
|
`file_url` varchar(255) CHARACTER SET utf8 COLLATE utf8_general_ci NULL DEFAULT NULL COMMENT '文件地址',
|
|
|
|
|
`file_ap` varchar(255) CHARACTER SET utf8 COLLATE utf8_general_ci NULL DEFAULT NULL COMMENT '绝对路径',
|
|
|
|
|
`flow_id` varchar(40) CHARACTER SET utf8 COLLATE utf8_general_ci NULL DEFAULT NULL COMMENT '流程号',
|
|
|
|
|
`note` varchar(500) CHARACTER SET utf8 COLLATE utf8_general_ci NULL DEFAULT NULL COMMENT '摘要',
|
|
|
|
|
`dept_id` bigint(20) NULL DEFAULT NULL COMMENT '所属部门id',
|
|
|
|
|
`dept_name` varchar(30) CHARACTER SET utf8 COLLATE utf8_general_ci NULL DEFAULT NULL COMMENT '所属部门',
|
|
|
|
|
`record_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 '是否删除',
|
|
|
|
|
`archive_state` varchar(64) CHARACTER SET utf8 COLLATE utf8_general_ci NULL DEFAULT NULL COMMENT '归档状态',
|
|
|
|
|
`tenant_id` bigint(20) NOT NULL COMMENT '租户编号',
|
|
|
|
|
PRIMARY KEY (`id`) USING BTREE
|
|
|
|
|
) ENGINE = InnoDB AUTO_INCREMENT = 5 CHARACTER SET = utf8 COLLATE = utf8_general_ci COMMENT = '其他档案' ROW_FORMAT = Dynamic;
|
|
|
|
|
|
|
|
|
|
-- 菜单 SQL
|
|
|
|
|
INSERT INTO system_menu(
|
|
|
|
|
name, permission, type, sort, parent_id,
|
|
|
|
|
path, icon, component, status, component_name
|
|
|
|
|
)
|
|
|
|
|
VALUES (
|
|
|
|
|
'其他档案管理', '', 2, 0, 2382,
|
|
|
|
|
'electronic-other', '', 'ea/electronicOther/index', 0, 'ElectronicOther'
|
|
|
|
|
);
|
|
|
|
|
|
|
|
|
|
-- 按钮父菜单ID
|
|
|
|
|
-- 暂时只支持 MySQL。如果你是 Oracle、PostgreSQL、SQLServer 的话,需要手动修改 @parentId 的部分的代码
|
|
|
|
|
SELECT @parentId := LAST_INSERT_ID();
|
|
|
|
|
|
|
|
|
|
-- 按钮 SQL
|
|
|
|
|
INSERT INTO system_menu(
|
|
|
|
|
name, permission, type, sort, parent_id,
|
|
|
|
|
path, icon, component, status
|
|
|
|
|
)
|
|
|
|
|
VALUES (
|
|
|
|
|
'其他档案查询', 'ea:electronic-other:query', 3, 1, @parentId,
|
|
|
|
|
'', '', '', 0
|
|
|
|
|
);
|
|
|
|
|
INSERT INTO system_menu(
|
|
|
|
|
name, permission, type, sort, parent_id,
|
|
|
|
|
path, icon, component, status
|
|
|
|
|
)
|
|
|
|
|
VALUES (
|
|
|
|
|
'其他档案创建', 'ea:electronic-other:create', 3, 2, @parentId,
|
|
|
|
|
'', '', '', 0
|
|
|
|
|
);
|
|
|
|
|
INSERT INTO system_menu(
|
|
|
|
|
name, permission, type, sort, parent_id,
|
|
|
|
|
path, icon, component, status
|
|
|
|
|
)
|
|
|
|
|
VALUES (
|
|
|
|
|
'其他档案更新', 'ea:electronic-other:update', 3, 3, @parentId,
|
|
|
|
|
'', '', '', 0
|
|
|
|
|
);
|
|
|
|
|
INSERT INTO system_menu(
|
|
|
|
|
name, permission, type, sort, parent_id,
|
|
|
|
|
path, icon, component, status
|
|
|
|
|
)
|
|
|
|
|
VALUES (
|
|
|
|
|
'其他档案删除', 'ea:electronic-other:delete', 3, 4, @parentId,
|
|
|
|
|
'', '', '', 0
|
|
|
|
|
);
|
|
|
|
|
INSERT INTO system_menu(
|
|
|
|
|
name, permission, type, sort, parent_id,
|
|
|
|
|
path, icon, component, status
|
|
|
|
|
)
|
|
|
|
|
VALUES (
|
|
|
|
|
'其他档案导出', 'ea:electronic-other:export', 3, 5, @parentId,
|
|
|
|
|
'', '', '', 0
|
|
|
|
|
);
|
|
|
|
|
|
|
|
|
|
-- 菜单 SQL
|
|
|
|
|
INSERT INTO system_menu(
|
|
|
|
|
name, permission, type, sort, parent_id,
|
|
|
|
|
path, icon, component, status, component_name
|
|
|
|
|
)
|
|
|
|
|
VALUES (
|
|
|
|
|
'客诉档案管理', '', 2, 0, 2382,
|
|
|
|
|
'electronic-customer-complaint', '', 'ea/electronicCustomerComplaint/index', 0, 'ElectronicCustomerComplaint'
|
|
|
|
|
);
|
|
|
|
|
|
|
|
|
|
-- 按钮父菜单ID
|
|
|
|
|
-- 暂时只支持 MySQL。如果你是 Oracle、PostgreSQL、SQLServer 的话,需要手动修改 @parentId 的部分的代码
|
|
|
|
|
SELECT @parentId := LAST_INSERT_ID();
|
|
|
|
|
|
|
|
|
|
-- 按钮 SQL
|
|
|
|
|
INSERT INTO system_menu(
|
|
|
|
|
name, permission, type, sort, parent_id,
|
|
|
|
|
path, icon, component, status
|
|
|
|
|
)
|
|
|
|
|
VALUES (
|
|
|
|
|
'客诉档案查询', 'ea:electronic-customer-complaint:query', 3, 1, @parentId,
|
|
|
|
|
'', '', '', 0
|
|
|
|
|
);
|
|
|
|
|
INSERT INTO system_menu(
|
|
|
|
|
name, permission, type, sort, parent_id,
|
|
|
|
|
path, icon, component, status
|
|
|
|
|
)
|
|
|
|
|
VALUES (
|
|
|
|
|
'客诉档案创建', 'ea:electronic-customer-complaint:create', 3, 2, @parentId,
|
|
|
|
|
'', '', '', 0
|
|
|
|
|
);
|
|
|
|
|
INSERT INTO system_menu(
|
|
|
|
|
name, permission, type, sort, parent_id,
|
|
|
|
|
path, icon, component, status
|
|
|
|
|
)
|
|
|
|
|
VALUES (
|
|
|
|
|
'客诉档案更新', 'ea:electronic-customer-complaint:update', 3, 3, @parentId,
|
|
|
|
|
'', '', '', 0
|
|
|
|
|
);
|
|
|
|
|
INSERT INTO system_menu(
|
|
|
|
|
name, permission, type, sort, parent_id,
|
|
|
|
|
path, icon, component, status
|
|
|
|
|
)
|
|
|
|
|
VALUES (
|
|
|
|
|
'客诉档案删除', 'ea:electronic-customer-complaint:delete', 3, 4, @parentId,
|
|
|
|
|
'', '', '', 0
|
|
|
|
|
);
|
|
|
|
|
INSERT INTO system_menu(
|
|
|
|
|
name, permission, type, sort, parent_id,
|
|
|
|
|
path, icon, component, status
|
|
|
|
|
)
|
|
|
|
|
VALUES (
|
|
|
|
|
'客诉档案导出', 'ea:electronic-customer-complaint:export', 3, 5, @parentId,
|
|
|
|
|
'', '', '', 0
|
|
|
|
|
);
|
|
|
|
|
|
|
|
|
|
-- 菜单 SQL
|
|
|
|
|
INSERT INTO system_menu(
|
|
|
|
|
name, permission, type, sort, parent_id,
|
|
|
|
|
path, icon, component, status, component_name
|
|
|
|
|
)
|
|
|
|
|
VALUES (
|
|
|
|
|
'咨询档案管理', '', 2, 0, 2382,
|
|
|
|
|
'electronic-consultation', '', 'ea/electronicConsultation/index', 0, 'ElectronicConsultation'
|
|
|
|
|
);
|
|
|
|
|
|
|
|
|
|
-- 按钮父菜单ID
|
|
|
|
|
-- 暂时只支持 MySQL。如果你是 Oracle、PostgreSQL、SQLServer 的话,需要手动修改 @parentId 的部分的代码
|
|
|
|
|
SELECT @parentId := LAST_INSERT_ID();
|
|
|
|
|
|
|
|
|
|
-- 按钮 SQL
|
|
|
|
|
INSERT INTO system_menu(
|
|
|
|
|
name, permission, type, sort, parent_id,
|
|
|
|
|
path, icon, component, status
|
|
|
|
|
)
|
|
|
|
|
VALUES (
|
|
|
|
|
'咨询档案查询', 'ea:electronic-consultation:query', 3, 1, @parentId,
|
|
|
|
|
'', '', '', 0
|
|
|
|
|
);
|
|
|
|
|
INSERT INTO system_menu(
|
|
|
|
|
name, permission, type, sort, parent_id,
|
|
|
|
|
path, icon, component, status
|
|
|
|
|
)
|
|
|
|
|
VALUES (
|
|
|
|
|
'咨询档案创建', 'ea:electronic-consultation:create', 3, 2, @parentId,
|
|
|
|
|
'', '', '', 0
|
|
|
|
|
);
|
|
|
|
|
INSERT INTO system_menu(
|
|
|
|
|
name, permission, type, sort, parent_id,
|
|
|
|
|
path, icon, component, status
|
|
|
|
|
)
|
|
|
|
|
VALUES (
|
|
|
|
|
'咨询档案更新', 'ea:electronic-consultation:update', 3, 3, @parentId,
|
|
|
|
|
'', '', '', 0
|
|
|
|
|
);
|
|
|
|
|
INSERT INTO system_menu(
|
|
|
|
|
name, permission, type, sort, parent_id,
|
|
|
|
|
path, icon, component, status
|
|
|
|
|
)
|
|
|
|
|
VALUES (
|
|
|
|
|
'咨询档案删除', 'ea:electronic-consultation:delete', 3, 4, @parentId,
|
|
|
|
|
'', '', '', 0
|
|
|
|
|
);
|
|
|
|
|
INSERT INTO system_menu(
|
|
|
|
|
name, permission, type, sort, parent_id,
|
|
|
|
|
path, icon, component, status
|
|
|
|
|
)
|
|
|
|
|
VALUES (
|
|
|
|
|
'咨询档案导出', 'ea:electronic-consultation:export', 3, 5, @parentId,
|
|
|
|
|
'', '', '', 0
|
|
|
|
|
);
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
SET FOREIGN_KEY_CHECKS = 1;
|