|
@@ -1,271 +0,0 @@
|
|
|
-/*
|
|
|
-Navicat MySQL Data Transfer
|
|
|
-
|
|
|
-Source Server : 办公室外网
|
|
|
-Source Server Version : 50738
|
|
|
-Source Host : www.jihengcc.cn:17306
|
|
|
-Source Database : gihon
|
|
|
-
|
|
|
-Target Server Type : MYSQL
|
|
|
-Target Server Version : 50738
|
|
|
-File Encoding : 65001
|
|
|
-
|
|
|
-Date: 2022-07-19 20:52:40
|
|
|
-*/
|
|
|
-
|
|
|
-SET FOREIGN_KEY_CHECKS=0;
|
|
|
-
|
|
|
--- ----------------------------
|
|
|
--- Table structure for gihon_button
|
|
|
--- ----------------------------
|
|
|
-DROP TABLE IF EXISTS `gihon_button`;
|
|
|
-CREATE TABLE `gihon_button` (
|
|
|
- `id` bigint(20) NOT NULL AUTO_INCREMENT,
|
|
|
- `button_name` varchar(128) DEFAULT NULL COMMENT '菜单名称',
|
|
|
- `button_code` varchar(128) DEFAULT NULL COMMENT '菜单编码唯一',
|
|
|
- `path` varchar(128) DEFAULT NULL COMMENT '后台访问路径:用于服务器判断权限',
|
|
|
- `method` varchar(16) DEFAULT NULL COMMENT '后台访问方法:用于服务器判断权限',
|
|
|
- `order_num` int(11) DEFAULT NULL COMMENT '排序号升序',
|
|
|
- `menu_id` bigint(20) DEFAULT NULL COMMENT '菜单ID',
|
|
|
- `company_id` bigint(20) DEFAULT NULL COMMENT '公司Id(支持SAAS)',
|
|
|
- `create_time` datetime DEFAULT NULL COMMENT '创建时间',
|
|
|
- `update_time` datetime DEFAULT NULL COMMENT '修改时间',
|
|
|
- `create_user` bigint(20) DEFAULT NULL COMMENT '创建人',
|
|
|
- `update_user` bigint(20) DEFAULT NULL COMMENT '修改人',
|
|
|
- `state` int(11) DEFAULT NULL COMMENT '逻辑删除 1 删除 0 未删除',
|
|
|
- PRIMARY KEY (`id`)
|
|
|
-) ENGINE=InnoDB AUTO_INCREMENT=35 DEFAULT CHARSET=utf8mb4;
|
|
|
-
|
|
|
--- ----------------------------
|
|
|
--- Records of gihon_button
|
|
|
--- ----------------------------
|
|
|
-INSERT INTO `gihon_button` VALUES ('1', '公司列表', 'company_list', '/company/list', 'GET', '1', '1', null, '2022-07-19 17:25:55', '2022-07-19 17:25:57', '1', '1', '0');
|
|
|
-INSERT INTO `gihon_button` VALUES ('2', '公司新增', 'company_add', '/company', 'POST', '1', '1', null, '2022-07-19 17:25:55', '2022-07-19 17:25:57', '1', '1', '0');
|
|
|
-INSERT INTO `gihon_button` VALUES ('3', '公司禁用', 'company_disable', 'company/disable/*', 'POST', '1', '1', null, '2022-07-19 17:25:55', '2022-07-19 17:25:57', '1', '1', '0');
|
|
|
-INSERT INTO `gihon_button` VALUES ('4', '公司启用', 'company_enable', 'company/enable/*', 'POST', '1', '1', null, '2022-07-19 17:25:55', '2022-07-19 17:25:57', '1', '1', '0');
|
|
|
-INSERT INTO `gihon_button` VALUES ('5', '公司编辑', 'company_edit', 'company/*', 'POST', '1', '1', null, '2022-07-19 17:25:55', '2022-07-19 17:25:57', '1', '1', '0');
|
|
|
-INSERT INTO `gihon_button` VALUES ('6', '人员列表', 'user_list', '/user', 'GET', '0', '2', null, '2022-07-19 04:38:16', '2022-07-19 04:38:16', '1', '1', '0');
|
|
|
-INSERT INTO `gihon_button` VALUES ('7', '人员详情', 'user_info', '/user/*', 'GET', '2', '2', null, '2022-07-19 04:38:16', '2022-07-19 04:38:16', '1', '1', '0');
|
|
|
-INSERT INTO `gihon_button` VALUES ('8', '人员新增', 'user_add', '/user', 'POST', '2', '2', null, '2022-07-19 04:38:16', '2022-07-19 04:38:16', '1', '1', '0');
|
|
|
-INSERT INTO `gihon_button` VALUES ('9', '人员编辑', 'user_edit', '/user/*', 'POST', '2', '2', null, '2022-07-19 04:38:16', '2022-07-19 04:38:16', '1', '1', '0');
|
|
|
-INSERT INTO `gihon_button` VALUES ('10', '人员删除', 'user_remove', '/user/*', 'DELETE', '2', '2', null, '2022-07-19 04:38:16', '2022-07-19 04:38:16', '1', '1', '0');
|
|
|
-INSERT INTO `gihon_button` VALUES ('11', '人员重置密码', 'user_reset', '/user/reset', 'POST', '2', '2', null, '2022-07-19 04:38:16', '2022-07-19 04:38:16', '1', '1', '0');
|
|
|
-INSERT INTO `gihon_button` VALUES ('12', '角色列表', 'user_list', '/role/list', 'POST', '2', '3', null, '2022-07-19 04:38:16', '2022-07-19 04:38:16', '1', '1', '0');
|
|
|
-INSERT INTO `gihon_button` VALUES ('13', '角色详情', 'user_info', '/role/*', 'GET', '2', '3', null, '2022-07-19 04:38:16', '2022-07-19 04:38:16', '1', '1', '0');
|
|
|
-INSERT INTO `gihon_button` VALUES ('14', '角色新增', 'user_add', '/role', 'POST', '2', '3', null, '2022-07-19 04:38:16', '2022-07-19 04:38:16', '1', '1', '0');
|
|
|
-INSERT INTO `gihon_button` VALUES ('15', '角色编辑', 'user_edit', '/role/*', 'POST', '2', '3', null, '2022-07-19 04:38:16', '2022-07-19 04:38:16', '1', '1', '0');
|
|
|
-INSERT INTO `gihon_button` VALUES ('16', '角色删除', 'user_remove', '/role/*', 'DELETE', '2', '3', null, '2022-07-19 04:38:16', '2022-07-19 04:38:16', '1', '1', '0');
|
|
|
-INSERT INTO `gihon_button` VALUES ('17', '角色按钮权限', 'user_btn_list', '/role/button/list', 'POST', '2', '3', null, '2022-07-19 04:38:16', '2022-07-19 04:38:16', '1', '1', '0');
|
|
|
-INSERT INTO `gihon_button` VALUES ('18', '角色按钮权限设置', 'user_btn_set', '/role/button/set', 'POST', '2', '3', null, '2022-07-19 04:38:16', '2022-07-19 04:38:16', '1', '1', '0');
|
|
|
-INSERT INTO `gihon_button` VALUES ('19', '菜单列表', 'module_menu_list', '/module/menu/list', 'POST', '2', '5', null, '2022-07-19 04:58:16', '2022-07-19 04:58:16', '1', '1', '0');
|
|
|
-INSERT INTO `gihon_button` VALUES ('20', '菜单详情', 'module_menu_info', '/module/menu/*', 'GET', '2', '5', null, '2022-07-19 04:58:16', '2022-07-19 04:58:16', '1', '1', '0');
|
|
|
-INSERT INTO `gihon_button` VALUES ('21', '菜单新增', 'module_menu_add', '/module/menu', 'POST', '2', '5', null, '2022-07-19 04:58:16', '2022-07-19 04:58:16', '1', '1', '0');
|
|
|
-INSERT INTO `gihon_button` VALUES ('22', '菜单编辑', 'module_menu_edit', '/module/menu/*', 'POST', '2', '5', null, '2022-07-19 04:58:16', '2022-07-19 04:58:16', '1', '1', '0');
|
|
|
-INSERT INTO `gihon_button` VALUES ('23', '菜单删除', 'module_menu_remove', '/module/menu/*', 'DELETE', '2', '5', null, '2022-07-19 04:58:16', '2022-07-19 04:58:16', '1', '1', '0');
|
|
|
-INSERT INTO `gihon_button` VALUES ('24', '模块列表', 'module_list', '/module/list', 'POST', '2', '6', null, '2022-07-19 04:58:16', '2022-07-19 04:58:16', '1', '1', '0');
|
|
|
-INSERT INTO `gihon_button` VALUES ('25', '模块详情', 'module_info', '/module/*', 'GET', '2', '6', null, '2022-07-19 04:58:16', '2022-07-19 04:58:16', '1', '1', '0');
|
|
|
-INSERT INTO `gihon_button` VALUES ('26', '模块新增', 'module_add', '/module', 'POST', '2', '6', null, '2022-07-19 04:58:16', '2022-07-19 04:58:16', '1', '1', '0');
|
|
|
-INSERT INTO `gihon_button` VALUES ('27', '模块编辑', 'module_edit', '/module/*', 'POST', '2', '6', null, '2022-07-19 04:58:16', '2022-07-19 04:58:16', '1', '1', '0');
|
|
|
-INSERT INTO `gihon_button` VALUES ('28', '模块删除', 'module_remove', '/module/*', 'DELETE', '2', '6', null, '2022-07-19 04:58:16', '2022-07-19 04:58:16', '1', '1', '0');
|
|
|
-INSERT INTO `gihon_button` VALUES ('29', '模块查询', 'module_select', '/module/all', 'GET', '2', '6', null, '2022-07-19 04:58:16', '2022-07-19 04:58:16', '1', '1', '0');
|
|
|
-INSERT INTO `gihon_button` VALUES ('30', '按钮列表', 'module_btn_list', '/module/button/list', 'POST', '2', '7', null, '2022-07-19 04:58:16', '2022-07-19 04:58:16', '1', '1', '0');
|
|
|
-INSERT INTO `gihon_button` VALUES ('31', '按钮详情', 'module_btn_info', '/module/button/*', 'GET', '2', '7', null, '2022-07-19 04:58:16', '2022-07-19 04:58:16', '1', '1', '0');
|
|
|
-INSERT INTO `gihon_button` VALUES ('32', '按钮新增', 'module_btn_add', '/module/button', 'POST', '2', '7', null, '2022-07-19 04:58:16', '2022-07-19 04:58:16', '1', '1', '0');
|
|
|
-INSERT INTO `gihon_button` VALUES ('33', '按钮编辑', 'module_btn_edit', '/module/button/*', 'POST', '2', '7', null, '2022-07-19 04:58:16', '2022-07-19 04:58:16', '1', '1', '0');
|
|
|
-INSERT INTO `gihon_button` VALUES ('34', '按钮删除', 'module_btn_remove', '/module/button/*', 'DELETE', '2', '7', null, '2022-07-19 04:58:16', '2022-07-19 04:58:16', '1', '1', '0');
|
|
|
-
|
|
|
--- ----------------------------
|
|
|
--- Table structure for gihon_company
|
|
|
--- ----------------------------
|
|
|
-DROP TABLE IF EXISTS `gihon_company`;
|
|
|
-CREATE TABLE `gihon_company` (
|
|
|
- `id` bigint(20) NOT NULL AUTO_INCREMENT,
|
|
|
- `company_name` varchar(128) DEFAULT NULL COMMENT '名称',
|
|
|
- `company_description` varchar(512) DEFAULT NULL COMMENT '描述',
|
|
|
- `telephone` varchar(64) DEFAULT NULL COMMENT '电话',
|
|
|
- `address` varchar(512) DEFAULT NULL COMMENT '地址',
|
|
|
- `enable` tinyint(4) DEFAULT NULL COMMENT '是否启用1启用0未启用',
|
|
|
- `create_time` datetime DEFAULT NULL COMMENT '创建时间',
|
|
|
- `update_time` datetime DEFAULT NULL COMMENT '修改时间',
|
|
|
- `create_user` bigint(20) DEFAULT NULL COMMENT '创建人',
|
|
|
- `update_user` bigint(20) DEFAULT NULL COMMENT '修改人',
|
|
|
- `state` int(11) DEFAULT NULL COMMENT '逻辑删除 1 删除 0 未删除',
|
|
|
- PRIMARY KEY (`id`)
|
|
|
-) ENGINE=InnoDB AUTO_INCREMENT=3 DEFAULT CHARSET=utf8mb4;
|
|
|
-
|
|
|
--- ----------------------------
|
|
|
--- Records of gihon_company
|
|
|
--- ----------------------------
|
|
|
-INSERT INTO `gihon_company` VALUES ('1', '吉亨科技', '辽宁吉亨科技有限公司', null, null, '1', '2022-07-19 14:24:28', '2022-07-19 14:24:26', '1', '1', '0');
|
|
|
-INSERT INTO `gihon_company` VALUES ('2', '禹佳科技', '辽宁禹佳科技有限公司', null, null, '1', '2022-07-19 14:24:28', '2022-07-19 14:24:26', '1', '1', '0');
|
|
|
-
|
|
|
--- ----------------------------
|
|
|
--- Table structure for gihon_menu
|
|
|
--- ----------------------------
|
|
|
-DROP TABLE IF EXISTS `gihon_menu`;
|
|
|
-CREATE TABLE `gihon_menu` (
|
|
|
- `id` bigint(20) NOT NULL AUTO_INCREMENT,
|
|
|
- `menu_name` varchar(128) DEFAULT NULL COMMENT '菜单名称',
|
|
|
- `menu_code` varchar(128) DEFAULT NULL COMMENT '菜单编码唯一',
|
|
|
- `path` varchar(128) DEFAULT NULL COMMENT '路由路径:可以为空',
|
|
|
- `order_num` int(11) DEFAULT NULL COMMENT '排序号升序',
|
|
|
- `module_id` bigint(20) NOT NULL COMMENT '模块',
|
|
|
- `parent_id` bigint(20) NOT NULL DEFAULT '-1' COMMENT '父菜单:-1的代表顶级菜单',
|
|
|
- `company_id` bigint(20) DEFAULT NULL COMMENT '公司Id(支持SAAS)',
|
|
|
- `create_time` datetime DEFAULT NULL COMMENT '创建时间',
|
|
|
- `update_time` datetime DEFAULT NULL COMMENT '修改时间',
|
|
|
- `create_user` bigint(20) DEFAULT NULL COMMENT '创建人',
|
|
|
- `update_user` bigint(20) DEFAULT NULL COMMENT '修改人',
|
|
|
- `state` int(11) DEFAULT NULL COMMENT '逻辑删除 1 删除 0 未删除',
|
|
|
- PRIMARY KEY (`id`)
|
|
|
-) ENGINE=InnoDB AUTO_INCREMENT=8 DEFAULT CHARSET=utf8mb4;
|
|
|
-
|
|
|
--- ----------------------------
|
|
|
--- Records of gihon_menu
|
|
|
--- ----------------------------
|
|
|
-INSERT INTO `gihon_menu` VALUES ('1', '公司管理', 'company_manage', null, '1', '1', '-1', null, '2022-07-19 17:19:35', '2022-07-19 17:19:38', '1', '1', '0');
|
|
|
-INSERT INTO `gihon_menu` VALUES ('2', '人员管理', 'user_manage', null, '2', '1', '-1', null, '2022-07-19 17:19:35', '2022-07-19 17:19:38', '1', '1', '0');
|
|
|
-INSERT INTO `gihon_menu` VALUES ('3', '角色管理', 'role_manage', null, '3', '1', '-1', null, '2022-07-19 17:19:35', '2022-07-19 17:19:38', '1', '1', '0');
|
|
|
-INSERT INTO `gihon_menu` VALUES ('4', '系统模块管理', 'sys_module_manage', null, '4', '1', '-1', null, '2022-07-19 17:19:35', '2022-07-19 17:19:38', '1', '1', '0');
|
|
|
-INSERT INTO `gihon_menu` VALUES ('5', '菜单管理', 'menu_manage', null, '1', '1', '4', null, '2022-07-19 17:19:35', '2022-07-19 17:19:38', '1', '1', '0');
|
|
|
-INSERT INTO `gihon_menu` VALUES ('6', '模块管理', 'module_manage', null, '2', '1', '4', null, '2022-07-19 17:19:35', '2022-07-19 17:19:38', '1', '1', '0');
|
|
|
-INSERT INTO `gihon_menu` VALUES ('7', '按钮管理', 'button_manage', null, '3', '1', '4', null, '2022-07-19 17:19:35', '2022-07-19 17:19:38', '1', '1', '0');
|
|
|
-
|
|
|
--- ----------------------------
|
|
|
--- Table structure for gihon_module
|
|
|
--- ----------------------------
|
|
|
-DROP TABLE IF EXISTS `gihon_module`;
|
|
|
-CREATE TABLE `gihon_module` (
|
|
|
- `id` bigint(20) NOT NULL AUTO_INCREMENT,
|
|
|
- `module_name` varchar(128) DEFAULT NULL COMMENT '模块名称',
|
|
|
- `module_code` varchar(128) DEFAULT NULL COMMENT '模块编码',
|
|
|
- `module_description` varchar(128) DEFAULT NULL COMMENT '模块描述',
|
|
|
- `module_logo` varchar(128) DEFAULT NULL COMMENT '模块Logo',
|
|
|
- `order_num` int(11) DEFAULT NULL COMMENT '排序号升序',
|
|
|
- `module_type` int(11) NOT NULL COMMENT '模块类型:1WEB,2APP,3小程序',
|
|
|
- `company_id` bigint(20) DEFAULT NULL COMMENT '公司Id(支持SAAS)',
|
|
|
- `create_time` datetime DEFAULT NULL COMMENT '创建时间',
|
|
|
- `update_time` datetime DEFAULT NULL COMMENT '修改时间',
|
|
|
- `create_user` bigint(20) DEFAULT NULL COMMENT '创建人',
|
|
|
- `update_user` bigint(20) DEFAULT NULL COMMENT '修改人',
|
|
|
- `state` int(11) DEFAULT NULL COMMENT '逻辑删除 1 删除 0 未删除',
|
|
|
- PRIMARY KEY (`id`)
|
|
|
-) ENGINE=InnoDB AUTO_INCREMENT=2 DEFAULT CHARSET=utf8mb4;
|
|
|
-
|
|
|
--- ----------------------------
|
|
|
--- Records of gihon_module
|
|
|
--- ----------------------------
|
|
|
-INSERT INTO `gihon_module` VALUES ('1', '系统管理', 'SystemManage', 'RABC系统管理', null, '1', '1', null, '2022-07-19 16:46:36', '2022-07-19 16:46:39', '1', '1', '0');
|
|
|
-
|
|
|
--- ----------------------------
|
|
|
--- Table structure for gihon_role
|
|
|
--- ----------------------------
|
|
|
-DROP TABLE IF EXISTS `gihon_role`;
|
|
|
-CREATE TABLE `gihon_role` (
|
|
|
- `id` bigint(20) NOT NULL AUTO_INCREMENT,
|
|
|
- `role_name` varchar(128) DEFAULT NULL COMMENT '角色名称',
|
|
|
- `role_code` varchar(128) DEFAULT NULL COMMENT '角色编码',
|
|
|
- `role_description` varchar(64) DEFAULT NULL COMMENT '角色描述',
|
|
|
- `company_id` bigint(20) DEFAULT NULL COMMENT '公司Id(支持SAAS)',
|
|
|
- `create_time` datetime DEFAULT NULL COMMENT '创建时间',
|
|
|
- `update_time` datetime DEFAULT NULL COMMENT '修改时间',
|
|
|
- `create_user` bigint(20) DEFAULT NULL COMMENT '创建人',
|
|
|
- `update_user` bigint(20) DEFAULT NULL COMMENT '修改人',
|
|
|
- `state` int(11) DEFAULT NULL COMMENT '逻辑删除 1 删除 0 未删除',
|
|
|
- PRIMARY KEY (`id`)
|
|
|
-) ENGINE=InnoDB AUTO_INCREMENT=4 DEFAULT CHARSET=utf8mb4;
|
|
|
-
|
|
|
--- ----------------------------
|
|
|
--- Records of gihon_role
|
|
|
--- ----------------------------
|
|
|
-INSERT INTO `gihon_role` VALUES ('1', '超级管理员', 'SUPER_ADMIN', null, null, '2022-07-19 17:29:35', '2022-07-19 17:29:38', '1', '1', '0');
|
|
|
-INSERT INTO `gihon_role` VALUES ('2', '公司管理员', 'COMPANY_ADMIN', null, null, '2022-07-19 20:11:23', '2022-07-19 20:11:25', '1', '1', '0');
|
|
|
-INSERT INTO `gihon_role` VALUES ('3', '普通操作员', 'NOARMAL_OPERATER', null, null, '2022-07-19 20:11:58', '2022-07-19 20:12:00', '1', '1', '0');
|
|
|
-
|
|
|
--- ----------------------------
|
|
|
--- Table structure for gihon_role_button_tr
|
|
|
--- ----------------------------
|
|
|
-DROP TABLE IF EXISTS `gihon_role_button_tr`;
|
|
|
-CREATE TABLE `gihon_role_button_tr` (
|
|
|
- `button_id` bigint(20) NOT NULL,
|
|
|
- `role_id` bigint(20) NOT NULL
|
|
|
-) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4;
|
|
|
-
|
|
|
--- ----------------------------
|
|
|
--- Records of gihon_role_button_tr
|
|
|
--- ----------------------------
|
|
|
-INSERT INTO `gihon_role_button_tr` VALUES ('1', '2');
|
|
|
-INSERT INTO `gihon_role_button_tr` VALUES ('5', '2');
|
|
|
-INSERT INTO `gihon_role_button_tr` VALUES ('6', '2');
|
|
|
-INSERT INTO `gihon_role_button_tr` VALUES ('7', '2');
|
|
|
-INSERT INTO `gihon_role_button_tr` VALUES ('8', '2');
|
|
|
-INSERT INTO `gihon_role_button_tr` VALUES ('9', '2');
|
|
|
-INSERT INTO `gihon_role_button_tr` VALUES ('10', '2');
|
|
|
-INSERT INTO `gihon_role_button_tr` VALUES ('11', '2');
|
|
|
-INSERT INTO `gihon_role_button_tr` VALUES ('12', '2');
|
|
|
-INSERT INTO `gihon_role_button_tr` VALUES ('13', '2');
|
|
|
-INSERT INTO `gihon_role_button_tr` VALUES ('14', '2');
|
|
|
-INSERT INTO `gihon_role_button_tr` VALUES ('15', '2');
|
|
|
-INSERT INTO `gihon_role_button_tr` VALUES ('16', '2');
|
|
|
-INSERT INTO `gihon_role_button_tr` VALUES ('17', '2');
|
|
|
-INSERT INTO `gihon_role_button_tr` VALUES ('18', '2');
|
|
|
-INSERT INTO `gihon_role_button_tr` VALUES ('19', '2');
|
|
|
-INSERT INTO `gihon_role_button_tr` VALUES ('20', '2');
|
|
|
-INSERT INTO `gihon_role_button_tr` VALUES ('21', '2');
|
|
|
-INSERT INTO `gihon_role_button_tr` VALUES ('22', '2');
|
|
|
-INSERT INTO `gihon_role_button_tr` VALUES ('23', '2');
|
|
|
-INSERT INTO `gihon_role_button_tr` VALUES ('24', '2');
|
|
|
-INSERT INTO `gihon_role_button_tr` VALUES ('25', '2');
|
|
|
-INSERT INTO `gihon_role_button_tr` VALUES ('26', '2');
|
|
|
-INSERT INTO `gihon_role_button_tr` VALUES ('27', '2');
|
|
|
-INSERT INTO `gihon_role_button_tr` VALUES ('28', '2');
|
|
|
-INSERT INTO `gihon_role_button_tr` VALUES ('29', '2');
|
|
|
-INSERT INTO `gihon_role_button_tr` VALUES ('30', '2');
|
|
|
-INSERT INTO `gihon_role_button_tr` VALUES ('31', '2');
|
|
|
-INSERT INTO `gihon_role_button_tr` VALUES ('32', '2');
|
|
|
-INSERT INTO `gihon_role_button_tr` VALUES ('33', '2');
|
|
|
-INSERT INTO `gihon_role_button_tr` VALUES ('34', '2');
|
|
|
-
|
|
|
--- ----------------------------
|
|
|
--- Table structure for gihon_user
|
|
|
--- ----------------------------
|
|
|
-DROP TABLE IF EXISTS `gihon_user`;
|
|
|
-CREATE TABLE `gihon_user` (
|
|
|
- `id` bigint(20) NOT NULL AUTO_INCREMENT,
|
|
|
- `nick_name` varchar(128) DEFAULT NULL COMMENT '名称',
|
|
|
- `username` varchar(128) DEFAULT NULL COMMENT '账号',
|
|
|
- `telephone` varchar(64) DEFAULT NULL COMMENT '电话',
|
|
|
- `password` varchar(512) DEFAULT NULL COMMENT '密码',
|
|
|
- `gender` int(11) DEFAULT NULL COMMENT '1男2女',
|
|
|
- `company_admin` tinyint(4) DEFAULT '0' COMMENT '是否是公司管理员',
|
|
|
- `company_id` bigint(20) DEFAULT NULL COMMENT '公司Id(支持SAAS)',
|
|
|
- `create_time` datetime DEFAULT NULL COMMENT '创建时间',
|
|
|
- `update_time` datetime DEFAULT NULL COMMENT '修改时间',
|
|
|
- `create_user` bigint(20) DEFAULT NULL COMMENT '创建人',
|
|
|
- `update_user` bigint(20) DEFAULT NULL COMMENT '修改人',
|
|
|
- `state` int(11) DEFAULT NULL COMMENT '逻辑删除 1 删除 0 未删除',
|
|
|
- PRIMARY KEY (`id`)
|
|
|
-) ENGINE=InnoDB AUTO_INCREMENT=4 DEFAULT CHARSET=utf8mb4;
|
|
|
-
|
|
|
--- ----------------------------
|
|
|
--- Records of gihon_user
|
|
|
--- ----------------------------
|
|
|
-INSERT INTO `gihon_user` VALUES ('1', '超级管理员', 'superadmin', '12345678901', 'b958f4fe692b19aec511ae835788f72f', '1', '1', null, '2022-07-19 14:23:34', '2022-07-19 14:23:40', '1', '1', '0');
|
|
|
-INSERT INTO `gihon_user` VALUES ('2', '禹佳科技管理员', 'yujiaadmin', '12354', '3356d4b49334f4b7847bad63a051e4f2', '2', '1', '2', '2022-07-19 14:28:26', '2022-07-19 14:28:29', '1', '1', '0');
|
|
|
-INSERT INTO `gihon_user` VALUES ('3', 'yoke1', 'yoke1', '123', '00d52c23e52459aa498bf5acdb50458d', '1', '0', '2', '2022-07-19 14:29:00', '2022-07-19 14:29:04', '2', '2', '0');
|
|
|
-
|
|
|
--- ----------------------------
|
|
|
--- Table structure for gihon_user_role_tr
|
|
|
--- ----------------------------
|
|
|
-DROP TABLE IF EXISTS `gihon_user_role_tr`;
|
|
|
-CREATE TABLE `gihon_user_role_tr` (
|
|
|
- `user_id` bigint(20) NOT NULL,
|
|
|
- `role_id` bigint(20) NOT NULL
|
|
|
-) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4;
|
|
|
-
|
|
|
--- ----------------------------
|
|
|
--- Records of gihon_user_role_tr
|
|
|
--- ----------------------------
|
|
|
-INSERT INTO `gihon_user_role_tr` VALUES ('1', '1');
|
|
|
-INSERT INTO `gihon_user_role_tr` VALUES ('2', '2');
|
|
|
-INSERT INTO `gihon_user_role_tr` VALUES ('3', '3');
|