db_image_synthesis20230701.sql 49 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376377378379380381382383384385386387388389390391392393394395396397398399400401402403404405406407408409410411412413414415416417418419420421422423424425426427428429430431432433434435436437438439440441442443444445446447448449450451452453454455456457458459460461462463464465466467468469470471472473474475476477478479480481482483484485486487488489490491492493494495496497498499500501502503504505506507508509510511512513514515516517518519520521522523524525526527528529530531532533534535536537538539540541542543544545546547548549550551552553554555556557558559560561562563564565566567568569570571572573574575576577578579580581
  1. /*
  2. Navicat MySQL Data Transfer
  3. Source Server : localhost
  4. Source Server Version : 80012
  5. Source Host : localhost:3306
  6. Source Database : db_image_synthesis
  7. Target Server Type : MYSQL
  8. Target Server Version : 80012
  9. File Encoding : 65001
  10. Date: 2023-07-01 17:08:56
  11. */
  12. SET FOREIGN_KEY_CHECKS=0;
  13. -- ----------------------------
  14. -- Table structure for sys_dept
  15. -- ----------------------------
  16. DROP TABLE IF EXISTS `sys_dept`;
  17. CREATE TABLE `sys_dept` (
  18. `id` varchar(64) CHARACTER SET utf8 NOT NULL COMMENT '主键',
  19. `org_id` int(11) DEFAULT NULL COMMENT '园区代码',
  20. `dept_no` varchar(18) CHARACTER SET utf8 DEFAULT NULL COMMENT '部门编号(规则:父级关系编码+自己的编码)',
  21. `name` varchar(300) CHARACTER SET utf8 DEFAULT NULL COMMENT '部门名称',
  22. `pid` varchar(64) CHARACTER SET utf8 NOT NULL COMMENT '父级id',
  23. `status` tinyint(4) DEFAULT '1' COMMENT '状态(1:正常;0:弃用)',
  24. `relation_code` varchar(3000) CHARACTER SET utf8 DEFAULT NULL COMMENT '为了维护更深层级关系',
  25. `dept_manager_id` varchar(64) CHARACTER SET utf8 DEFAULT NULL COMMENT '部门经理user_id',
  26. `manager_name` varchar(255) CHARACTER SET utf8 DEFAULT NULL COMMENT '部门经理名称',
  27. `phone` varchar(20) CHARACTER SET utf8 DEFAULT NULL COMMENT '部门经理联系电话',
  28. `create_time` datetime DEFAULT NULL COMMENT '创建时间',
  29. `update_time` datetime DEFAULT NULL COMMENT '更新时间',
  30. `deleted` tinyint(4) DEFAULT NULL COMMENT '是否删除(1未删除;0已删除)',
  31. `email` varchar(64) CHARACTER SET utf8 DEFAULT NULL COMMENT '部门经理邮箱',
  32. PRIMARY KEY (`id`)
  33. ) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_bin COMMENT='系统部门';
  34. -- ----------------------------
  35. -- Records of sys_dept
  36. -- ----------------------------
  37. -- ----------------------------
  38. -- Table structure for sys_dict_data
  39. -- ----------------------------
  40. DROP TABLE IF EXISTS `sys_dict_data`;
  41. CREATE TABLE `sys_dict_data` (
  42. `dict_code` int(11) NOT NULL AUTO_INCREMENT COMMENT '字典编码',
  43. `dict_sort` int(4) DEFAULT '0' COMMENT '字典排序',
  44. `dict_label` varchar(100) CHARACTER SET utf8mb4 COLLATE utf8mb4_0900_ai_ci DEFAULT '' COMMENT '字典标签',
  45. `dict_value` varchar(100) CHARACTER SET utf8mb4 COLLATE utf8mb4_0900_ai_ci DEFAULT '' COMMENT '字典键值',
  46. `dict_type` varchar(100) CHARACTER SET utf8mb4 COLLATE utf8mb4_0900_ai_ci DEFAULT '' COMMENT '字典类型',
  47. `css_class` varchar(100) CHARACTER SET utf8mb4 COLLATE utf8mb4_0900_ai_ci DEFAULT NULL COMMENT '样式属性(其他样式扩展)',
  48. `list_class` varchar(100) CHARACTER SET utf8mb4 COLLATE utf8mb4_0900_ai_ci DEFAULT NULL COMMENT '表格回显样式',
  49. `is_default` char(1) CHARACTER SET utf8mb4 COLLATE utf8mb4_0900_ai_ci DEFAULT 'N' COMMENT '是否默认(Y是 N否)',
  50. `status` char(1) CHARACTER SET utf8mb4 COLLATE utf8mb4_0900_ai_ci DEFAULT '0' COMMENT '状态(0正常 1停用)',
  51. `create_by` varchar(64) CHARACTER SET utf8mb4 COLLATE utf8mb4_0900_ai_ci DEFAULT '' COMMENT '创建者',
  52. `create_time` datetime DEFAULT NULL COMMENT '创建时间',
  53. `update_by` varchar(64) CHARACTER SET utf8mb4 COLLATE utf8mb4_0900_ai_ci DEFAULT '' COMMENT '更新者',
  54. `update_time` datetime DEFAULT NULL COMMENT '更新时间',
  55. `remark` varchar(500) CHARACTER SET utf8mb4 COLLATE utf8mb4_0900_ai_ci DEFAULT NULL COMMENT '备注',
  56. PRIMARY KEY (`dict_code`)
  57. ) ENGINE=InnoDB AUTO_INCREMENT=59 DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_bin COMMENT='字典数据表';
  58. -- ----------------------------
  59. -- Records of sys_dict_data
  60. -- ----------------------------
  61. INSERT INTO `sys_dict_data` VALUES ('1', '1', '男', '0', 'sys_user_sex', '', '', 'Y', '0', 'admin', '2023-04-29 12:57:27', '', null, '性别男');
  62. INSERT INTO `sys_dict_data` VALUES ('2', '2', '女', '1', 'sys_user_sex', '', '', 'N', '0', 'admin', '2023-04-29 12:57:27', '', null, '性别女');
  63. INSERT INTO `sys_dict_data` VALUES ('3', '3', '未知', '2', 'sys_user_sex', '', '', 'N', '0', 'admin', '2023-04-29 12:57:27', '', null, '性别未知');
  64. INSERT INTO `sys_dict_data` VALUES ('4', '1', '显示', '0', 'sys_show_hide', '', 'primary', 'Y', '0', 'admin', '2023-04-29 12:57:27', '', null, '显示菜单');
  65. INSERT INTO `sys_dict_data` VALUES ('5', '2', '隐藏', '1', 'sys_show_hide', '', 'danger', 'N', '0', 'admin', '2023-04-29 12:57:27', '', null, '隐藏菜单');
  66. INSERT INTO `sys_dict_data` VALUES ('6', '1', '正常', '0', 'sys_normal_disable', '', 'primary', 'Y', '0', 'admin', '2023-04-29 12:57:27', '', null, '正常状态');
  67. INSERT INTO `sys_dict_data` VALUES ('7', '2', '停用', '1', 'sys_normal_disable', '', 'danger', 'N', '0', 'admin', '2023-04-29 12:57:27', '', null, '停用状态');
  68. INSERT INTO `sys_dict_data` VALUES ('8', '1', '正常', '0', 'sys_job_status', '', 'primary', 'Y', '0', 'admin', '2023-04-29 12:57:27', '', null, '正常状态');
  69. INSERT INTO `sys_dict_data` VALUES ('9', '2', '暂停', '1', 'sys_job_status', '', 'danger', 'N', '0', 'admin', '2023-04-29 12:57:27', '', null, '停用状态');
  70. INSERT INTO `sys_dict_data` VALUES ('10', '1', '默认', 'DEFAULT', 'sys_job_group', '', '', 'Y', '0', 'admin', '2023-04-29 12:57:27', '', null, '默认分组');
  71. INSERT INTO `sys_dict_data` VALUES ('11', '2', '系统', 'SYSTEM', 'sys_job_group', '', '', 'N', '0', 'admin', '2023-04-29 12:57:27', '', null, '系统分组');
  72. INSERT INTO `sys_dict_data` VALUES ('12', '1', '是', 'Y', 'sys_yes_no', '', 'primary', 'Y', '0', 'admin', '2023-04-29 12:57:27', '', null, '系统默认是');
  73. INSERT INTO `sys_dict_data` VALUES ('13', '2', '否', 'N', 'sys_yes_no', '', 'danger', 'N', '0', 'admin', '2023-04-29 12:57:27', '', null, '系统默认否');
  74. INSERT INTO `sys_dict_data` VALUES ('14', '1', '通知', '1', 'sys_notice_type', '', 'warning', 'Y', '0', 'admin', '2023-04-29 12:57:27', '', null, '通知');
  75. INSERT INTO `sys_dict_data` VALUES ('15', '2', '公告', '2', 'sys_notice_type', '', 'success', 'N', '0', 'admin', '2023-04-29 12:57:27', '', null, '公告');
  76. INSERT INTO `sys_dict_data` VALUES ('16', '1', '正常', '0', 'sys_notice_status', '', 'primary', 'Y', '0', 'admin', '2023-04-29 12:57:27', '', null, '正常状态');
  77. INSERT INTO `sys_dict_data` VALUES ('17', '2', '关闭', '1', 'sys_notice_status', '', 'danger', 'N', '0', 'admin', '2023-04-29 12:57:27', '', null, '关闭状态');
  78. INSERT INTO `sys_dict_data` VALUES ('18', '99', '其他', '0', 'sys_oper_type', '', 'info', 'N', '0', 'admin', '2023-04-29 12:57:27', '', null, '其他操作');
  79. INSERT INTO `sys_dict_data` VALUES ('19', '1', '新增', '1', 'sys_oper_type', '', 'info', 'N', '0', 'admin', '2023-04-29 12:57:27', '', null, '新增操作');
  80. INSERT INTO `sys_dict_data` VALUES ('20', '2', '修改', '2', 'sys_oper_type', '', 'info', 'N', '0', 'admin', '2023-04-29 12:57:27', '', null, '修改操作');
  81. INSERT INTO `sys_dict_data` VALUES ('21', '3', '删除', '3', 'sys_oper_type', '', 'danger', 'N', '0', 'admin', '2023-04-29 12:57:27', '', null, '删除操作');
  82. INSERT INTO `sys_dict_data` VALUES ('22', '4', '授权', '4', 'sys_oper_type', '', 'primary', 'N', '0', 'admin', '2023-04-29 12:57:27', '', null, '授权操作');
  83. INSERT INTO `sys_dict_data` VALUES ('23', '5', '导出', '5', 'sys_oper_type', '', 'warning', 'N', '0', 'admin', '2023-04-29 12:57:27', '', null, '导出操作');
  84. INSERT INTO `sys_dict_data` VALUES ('24', '6', '导入', '6', 'sys_oper_type', '', 'warning', 'N', '0', 'admin', '2023-04-29 12:57:27', '', null, '导入操作');
  85. INSERT INTO `sys_dict_data` VALUES ('25', '7', '强退', '7', 'sys_oper_type', '', 'danger', 'N', '0', 'admin', '2023-04-29 12:57:27', '', null, '强退操作');
  86. INSERT INTO `sys_dict_data` VALUES ('26', '8', '生成代码', '8', 'sys_oper_type', '', 'warning', 'N', '0', 'admin', '2023-04-29 12:57:27', '', null, '生成操作');
  87. INSERT INTO `sys_dict_data` VALUES ('27', '9', '清空数据', '9', 'sys_oper_type', '', 'danger', 'N', '0', 'admin', '2023-04-29 12:57:27', '', null, '清空操作');
  88. INSERT INTO `sys_dict_data` VALUES ('28', '1', '成功', '0', 'sys_common_status', '', 'primary', 'N', '0', 'admin', '2023-04-29 12:57:27', '', null, '正常状态');
  89. INSERT INTO `sys_dict_data` VALUES ('29', '2', '失败', '1', 'sys_common_status', '', 'danger', 'N', '0', 'admin', '2023-04-29 12:57:27', '', null, '停用状态');
  90. INSERT INTO `sys_dict_data` VALUES ('31', '1', '黑色', 'black', 'sys_color', null, null, 'N', '0', '', null, '', null, '黑色ccceeeee');
  91. INSERT INTO `sys_dict_data` VALUES ('32', '1', '黑色', 'black', 'sys_color', null, null, 'N', '0', '', '2023-06-26 11:11:00', '', '2023-06-26 11:11:15', '黑色ccceeeee');
  92. INSERT INTO `sys_dict_data` VALUES ('33', '1', '黑色', 'black', 'sys_color', null, null, 'N', '0', '', '2023-06-27 10:10:10', '', '2023-06-27 10:10:10', '黑色ccc');
  93. INSERT INTO `sys_dict_data` VALUES ('38', '0', '微软雅黑', '微软雅黑', 'SYS_FONT_STYLE', null, null, 'N', '0', '', '2023-06-27 15:07:34', '', '2023-06-27 15:07:34', '微软雅黑');
  94. INSERT INTO `sys_dict_data` VALUES ('39', '1', '楷体', '楷体', 'SYS_FONT_STYLE', null, null, 'N', '0', '', '2023-06-27 15:07:54', '', '2023-06-27 15:07:54', '楷体');
  95. INSERT INTO `sys_dict_data` VALUES ('40', '2', '宋体', '宋体', 'SYS_FONT_STYLE', null, null, 'N', '0', '', '2023-06-27 15:08:14', '', '2023-06-27 15:08:14', '宋体');
  96. INSERT INTO `sys_dict_data` VALUES ('42', '0', '黑色', 'BLACK', 'SYS_FONT_COLOR', null, null, 'N', '0', '', '2023-06-27 15:11:49', '', '2023-06-27 15:11:49', '');
  97. INSERT INTO `sys_dict_data` VALUES ('43', '1', '白色', 'WHITE', 'SYS_FONT_COLOR', null, null, 'N', '0', '', '2023-06-27 15:12:05', '', '2023-06-27 15:12:05', '');
  98. INSERT INTO `sys_dict_data` VALUES ('44', '2', '灰色', 'GRAY', 'SYS_FONT_COLOR', null, null, 'N', '0', '', '2023-06-27 15:12:32', '', '2023-06-27 15:12:32', '');
  99. INSERT INTO `sys_dict_data` VALUES ('45', '3', '红色', 'RED', 'SYS_FONT_COLOR', null, null, 'N', '0', '', '2023-06-27 15:12:48', '', '2023-06-27 15:12:48', '');
  100. INSERT INTO `sys_dict_data` VALUES ('46', '4', '粉红色', 'PINk', 'SYS_FONT_COLOR', null, null, 'N', '0', '', '2023-06-27 15:13:10', '', '2023-06-27 15:13:10', '');
  101. INSERT INTO `sys_dict_data` VALUES ('47', '5', '橘黄色', 'ORANGE', 'SYS_FONT_COLOR', null, null, 'N', '0', '', '2023-06-27 15:13:28', '', '2023-06-27 15:13:28', '');
  102. INSERT INTO `sys_dict_data` VALUES ('48', '6', '黄色', 'YELLOW', 'SYS_FONT_COLOR', null, null, 'N', '0', '', '2023-06-27 15:14:03', '', '2023-06-27 15:14:03', '');
  103. INSERT INTO `sys_dict_data` VALUES ('49', '3', '西文字体', '西文字体', 'SYS_FONT_STYLE', null, null, 'N', '0', '', '2023-06-27 19:17:58', '', '2023-06-28 10:52:15', '');
  104. INSERT INTO `sys_dict_data` VALUES ('50', '4', '黑体', '黑体', 'SYS_FONT_STYLE', null, null, 'N', '0', '', '2023-06-28 10:13:40', '', '2023-06-28 10:13:40', '');
  105. INSERT INTO `sys_dict_data` VALUES ('51', '5', '华文细黑', '华文细黑', 'SYS_FONT_STYLE', null, null, 'N', '0', '', '2023-06-28 10:51:52', '', '2023-06-28 10:51:52', '');
  106. INSERT INTO `sys_dict_data` VALUES ('52', '6', '行楷', 'Xingkai SC', 'SYS_FONT_STYLE', null, null, 'N', '0', '', '2023-06-28 10:53:48', '', '2023-06-28 11:14:36', '');
  107. INSERT INTO `sys_dict_data` VALUES ('54', '7', '圆体', 'Yuanti SC', 'SYS_FONT_STYLE', null, null, 'N', '0', '', '2023-06-28 10:55:18', '', '2023-06-28 11:15:31', '');
  108. INSERT INTO `sys_dict_data` VALUES ('55', '8', '隶书', 'LiSu', 'SYS_FONT_STYLE', null, null, 'N', '0', '', '2023-06-28 10:55:40', '', '2023-06-28 11:12:37', '');
  109. INSERT INTO `sys_dict_data` VALUES ('56', '9', '中易宋体', '中易宋体', 'SYS_FONT_STYLE', null, null, 'N', '0', '', '2023-06-28 10:56:32', '', '2023-06-28 10:59:20', '');
  110. INSERT INTO `sys_dict_data` VALUES ('58', '11', 'Helvetica', 'Helvetica', 'SYS_FONT_STYLE', null, null, 'N', '0', '', '2023-06-28 10:58:58', '', '2023-06-28 10:58:58', '');
  111. -- ----------------------------
  112. -- Table structure for sys_dict_type
  113. -- ----------------------------
  114. DROP TABLE IF EXISTS `sys_dict_type`;
  115. CREATE TABLE `sys_dict_type` (
  116. `dict_id` int(11) NOT NULL AUTO_INCREMENT COMMENT '字典主键',
  117. `dict_name` varchar(100) CHARACTER SET utf8mb4 COLLATE utf8mb4_0900_ai_ci DEFAULT '' COMMENT '字典名称',
  118. `dict_type` varchar(100) CHARACTER SET utf8mb4 COLLATE utf8mb4_0900_ai_ci DEFAULT '' COMMENT '字典类型',
  119. `status` char(1) CHARACTER SET utf8mb4 COLLATE utf8mb4_0900_ai_ci DEFAULT '0' COMMENT '状态(0正常 1停用)',
  120. `create_by` varchar(64) CHARACTER SET utf8mb4 COLLATE utf8mb4_0900_ai_ci DEFAULT '' COMMENT '创建者',
  121. `create_time` datetime DEFAULT NULL COMMENT '创建时间',
  122. `update_by` varchar(64) CHARACTER SET utf8mb4 COLLATE utf8mb4_0900_ai_ci DEFAULT '' COMMENT '更新者',
  123. `update_time` datetime DEFAULT NULL COMMENT '更新时间',
  124. `remark` varchar(500) CHARACTER SET utf8mb4 COLLATE utf8mb4_0900_ai_ci DEFAULT NULL COMMENT '备注',
  125. PRIMARY KEY (`dict_id`),
  126. UNIQUE KEY `dict_type` (`dict_type`)
  127. ) ENGINE=InnoDB AUTO_INCREMENT=30 DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_bin COMMENT='字典类型表';
  128. -- ----------------------------
  129. -- Records of sys_dict_type
  130. -- ----------------------------
  131. INSERT INTO `sys_dict_type` VALUES ('21', '字体颜色', 'SYS_FONT_COLOR', '0', '', '2023-06-27 11:23:21', '', '2023-06-27 11:23:21', '字体颜色列表');
  132. INSERT INTO `sys_dict_type` VALUES ('24', '字体类型', 'SYS_FONT_STYLE', '0', '', '2023-06-27 11:43:06', '', '2023-06-27 11:43:06', '字体类型列表');
  133. -- ----------------------------
  134. -- Table structure for sys_log
  135. -- ----------------------------
  136. DROP TABLE IF EXISTS `sys_log`;
  137. CREATE TABLE `sys_log` (
  138. `id` varchar(64) CHARACTER SET utf8 NOT NULL,
  139. `user_id` varchar(64) CHARACTER SET utf8 DEFAULT NULL COMMENT '用户id',
  140. `username` varchar(50) CHARACTER SET utf8 DEFAULT NULL COMMENT '用户名',
  141. `operation` varchar(50) CHARACTER SET utf8 DEFAULT NULL COMMENT '用户操作',
  142. `time` int(11) DEFAULT NULL COMMENT '响应时间',
  143. `method` varchar(200) CHARACTER SET utf8 DEFAULT NULL COMMENT '请求方法',
  144. `params` varchar(5000) CHARACTER SET utf8 DEFAULT NULL COMMENT '请求参数',
  145. `ip` varchar(64) CHARACTER SET utf8 DEFAULT NULL COMMENT 'IP地址',
  146. `create_time` datetime DEFAULT NULL COMMENT '创建时间',
  147. PRIMARY KEY (`id`)
  148. ) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_bin COMMENT='系统日志';
  149. -- ----------------------------
  150. -- Records of sys_log
  151. -- ----------------------------
  152. -- ----------------------------
  153. -- Table structure for sys_menus
  154. -- ----------------------------
  155. DROP TABLE IF EXISTS `sys_menus`;
  156. CREATE TABLE `sys_menus` (
  157. `id` int(10) unsigned NOT NULL AUTO_INCREMENT,
  158. `title` varchar(300) CHARACTER SET utf8mb4 COLLATE utf8mb4_unicode_ci DEFAULT NULL COMMENT '菜单name',
  159. `name` varchar(255) CHARACTER SET utf8mb4 COLLATE utf8mb4_unicode_ci NOT NULL DEFAULT '' COMMENT '菜单名称',
  160. `parent_id` int(11) NOT NULL DEFAULT '0' COMMENT '上级id',
  161. `type` int(11) DEFAULT NULL COMMENT '菜单类型【1菜单2按钮】',
  162. `path` varchar(500) CHARACTER SET utf8mb4 COLLATE utf8mb4_unicode_ci NOT NULL DEFAULT '' COMMENT '路径(URL)',
  163. `component` varchar(500) CHARACTER SET utf8mb4 COLLATE utf8mb4_unicode_ci NOT NULL DEFAULT '' COMMENT 'vue文件路径',
  164. `redirect` varchar(500) CHARACTER SET utf8mb4 COLLATE utf8mb4_unicode_ci NOT NULL DEFAULT '' COMMENT '重定向',
  165. `meta` text CHARACTER SET utf8mb4 COLLATE utf8mb4_unicode_ci NOT NULL COMMENT 'meta',
  166. `sort` int(11) DEFAULT '0',
  167. `status` int(11) NOT NULL DEFAULT '1',
  168. `deleted_at` datetime DEFAULT NULL,
  169. `create_time` datetime DEFAULT NULL,
  170. `update_time` datetime DEFAULT NULL,
  171. PRIMARY KEY (`id`)
  172. ) ENGINE=InnoDB AUTO_INCREMENT=10 DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_unicode_ci COMMENT='菜单表';
  173. -- ----------------------------
  174. -- Records of sys_menus
  175. -- ----------------------------
  176. INSERT INTO `sys_menus` VALUES ('1', '模板管理', 'Infomation', '0', '1', '/Infomation/index', 'Layout', '', '{\"title\":\"模板管理\",\"icon\":\"file-shield-2-line\",\"hidden\":0}', '0', '1', null, '2023-07-01 10:39:24', '2023-07-01 10:39:24');
  177. INSERT INTO `sys_menus` VALUES ('2', '模板列表', 'InfomationList', '1', '1', '/Infomation/index', '@/views/Infomation/index', '', '{\"hidden\":0,\"icon\":\"file-shield-2-line\",\"title\":\"模板列表\"}', '0', '1', null, '2023-07-01 10:40:11', '2023-07-01 15:37:44');
  178. INSERT INTO `sys_menus` VALUES ('3', '系统配置', 'settinglManagement', '0', '1', '/setting', 'Layout', '', '{\"title\":\"系统配置\",\"icon\":\"user-settings-line\",\"hidden\":false}', '0', '1', null, '2023-07-01 10:40:43', '2023-07-01 10:40:43');
  179. INSERT INTO `sys_menus` VALUES ('4', '角色管理', 'RoleManagement', '3', '1', 'roleManagement', '@/views/setting/roleManagement/index', '', '{\"hidden\":0,\"icon\":\"admin-line\",\"title\":\"角色管理\"}', '0', '1', null, '2023-07-01 10:46:07', '2023-07-01 14:28:26');
  180. INSERT INTO `sys_menus` VALUES ('5', '账号管理', 'userManagement', '3', '1', 'userManagement', '@/views/setting/userManagement/index', '', '{\"hidden\":false,\"icon\":\"user-3-line\",\"title\":\"账号管理\"}', '0', '1', null, '2023-07-01 10:47:45', '2023-07-01 14:28:32');
  181. INSERT INTO `sys_menus` VALUES ('6', '菜单管理', 'MenuManagement', '3', '1', 'menuManagement', '@/views/setting/menuManagement/index', '', '{\"hidden\":false,\"icon\":\"menu-2-fill\",\"title\":\"菜单管理\"}', '0', '1', null, '2023-07-01 10:48:20', '2023-07-01 14:28:42');
  182. INSERT INTO `sys_menus` VALUES ('7', '字典管理', 'dictionaryManagement', '3', '1', 'DictionaryManagement', '@/views/setting/dictionaryManagement/index', '', '{\"hidden\":false,\"icon\":\"book-2-line\",\"title\":\"字典管理\"}', '0', '1', null, '2023-07-01 10:49:11', '2023-07-01 14:28:50');
  183. INSERT INTO `sys_menus` VALUES ('8', '修改密码', 'PersonalCenter', '9', '1', 'personalCenter', '@/views/setting/personalCenter/index', '', '{\"hidden\":1,\"icon\":\"map-pin-user-line\",\"title\":\"修改密码\"}', '0', '1', null, '2023-07-01 10:49:57', '2023-07-01 15:44:24');
  184. INSERT INTO `sys_menus` VALUES ('9', '更改密码', 'settingCenter', '0', '1', '/setting', 'Layout', '', '{\"hidden\":1,\"icon\":\"user-settings-line\",\"title\":\"更改密码\"}', '0', '1', null, '2023-07-01 15:44:14', '2023-07-01 15:46:57');
  185. -- ----------------------------
  186. -- Table structure for sys_org
  187. -- ----------------------------
  188. DROP TABLE IF EXISTS `sys_org`;
  189. CREATE TABLE `sys_org` (
  190. `id` int(11) NOT NULL AUTO_INCREMENT COMMENT '公司id',
  191. `code` varchar(50) CHARACTER SET utf8 COLLATE utf8_general_ci NOT NULL COMMENT '园区代码',
  192. `name` varchar(255) CHARACTER SET utf8 DEFAULT NULL COMMENT '园区名称',
  193. `ent_name` varchar(100) CHARACTER SET utf8 NOT NULL COMMENT '企业名称',
  194. `company_head` varchar(200) CHARACTER SET utf8 COLLATE utf8_general_ci DEFAULT NULL COMMENT '公司抬头',
  195. `open_bank` varchar(200) CHARACTER SET utf8 DEFAULT NULL COMMENT '开户银行',
  196. `account_number` varchar(200) CHARACTER SET utf8 DEFAULT NULL COMMENT '银行账号',
  197. `contact_man` varchar(20) CHARACTER SET utf8 DEFAULT NULL COMMENT '联系人',
  198. `address` varchar(200) CHARACTER SET utf8 NOT NULL COMMENT '企业地址',
  199. `mobile_phone` varchar(20) CHARACTER SET utf8 NOT NULL COMMENT '手机号码',
  200. `email` varchar(50) CHARACTER SET utf8 COLLATE utf8_general_ci NOT NULL COMMENT '邮箱',
  201. `status` tinyint(4) DEFAULT '1' COMMENT '账户状态(1.正常 2.锁定 )',
  202. `sex` tinyint(4) DEFAULT NULL COMMENT '性别(1.男 2.女)',
  203. `remark` varchar(255) CHARACTER SET utf8 DEFAULT NULL COMMENT '备注',
  204. `create_user` varchar(64) CHARACTER SET utf8 DEFAULT NULL COMMENT '创建人',
  205. `update_user` varchar(64) CHARACTER SET utf8 DEFAULT NULL COMMENT '更新人',
  206. `create_time` datetime DEFAULT NULL COMMENT '创建时间',
  207. `update_time` datetime DEFAULT NULL COMMENT '更新时间',
  208. `flag` int(11) DEFAULT '1' COMMENT '公司状态,"1"为启用,"0"为停用',
  209. `landline` varchar(64) CHARACTER SET utf8 DEFAULT NULL COMMENT '固定电话',
  210. `organization_code` varchar(64) CHARACTER SET utf8 DEFAULT NULL COMMENT '统一组织代码',
  211. PRIMARY KEY (`id`)
  212. ) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_bin COMMENT='机构表';
  213. -- ----------------------------
  214. -- Records of sys_org
  215. -- ----------------------------
  216. -- ----------------------------
  217. -- Table structure for sys_permission
  218. -- ----------------------------
  219. DROP TABLE IF EXISTS `sys_permission`;
  220. CREATE TABLE `sys_permission` (
  221. `id` varchar(64) CHARACTER SET utf8 NOT NULL COMMENT '主键',
  222. `name` varchar(300) CHARACTER SET utf8 DEFAULT NULL COMMENT '菜单权限名称',
  223. `perms` varchar(500) CHARACTER SET utf8 DEFAULT NULL COMMENT '授权(多个用逗号分隔,如:sys:user:add,sys:user:edit)',
  224. `icon` varchar(255) CHARACTER SET utf8 DEFAULT NULL COMMENT '图标',
  225. `url` varchar(100) CHARACTER SET utf8 DEFAULT NULL COMMENT '访问地址URL',
  226. `target` varchar(50) CHARACTER SET utf8 DEFAULT NULL COMMENT 'a target属性:_self _blank',
  227. `pid` varchar(64) CHARACTER SET utf8 DEFAULT NULL COMMENT '父级菜单权限名称',
  228. `order_num` int(11) DEFAULT NULL COMMENT '排序',
  229. `type` tinyint(4) DEFAULT NULL COMMENT '菜单权限类型(1:目录;2:菜单;3:按钮)',
  230. `status` tinyint(4) DEFAULT '1' COMMENT '状态1:正常 0:禁用',
  231. `create_time` datetime DEFAULT NULL COMMENT '创建时间',
  232. `update_time` datetime DEFAULT NULL COMMENT '更新时间',
  233. `deleted` tinyint(4) DEFAULT NULL COMMENT '是否删除(1未删除;0已删除)',
  234. PRIMARY KEY (`id`) USING BTREE
  235. ) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_bin ROW_FORMAT=COMPACT COMMENT='系统权限(废弃)';
  236. -- ----------------------------
  237. -- Records of sys_permission
  238. -- ----------------------------
  239. INSERT INTO `sys_permission` VALUES ('1671082820195557377', '5555', 'sys:user:add,sys:user:edit', '图标', '/index/staff', null, '0', null, '1', '1', '2023-06-20 17:09:26', '2023-06-20 17:09:26', '1');
  240. INSERT INTO `sys_permission` VALUES ('1671082847685025793', '44444', 'sys:user:add,sys:user:edit', '图标', '/index/staff', null, '0', null, '1', '1', '2023-06-20 17:09:33', '2023-06-20 17:09:33', '1');
  241. INSERT INTO `sys_permission` VALUES ('1671082861513646082', '33333', 'sys:user:add,sys:user:edit', '图标', '/index/staff', null, '0', null, '1', '1', '2023-06-20 17:09:36', '2023-06-20 17:09:36', '1');
  242. INSERT INTO `sys_permission` VALUES ('1671082873811345409', '222222', 'sys:user:add,sys:user:edit', '图标', '/index/staff', null, '0', null, '1', '1', '2023-06-20 17:09:39', '2023-06-20 17:09:39', '1');
  243. INSERT INTO `sys_permission` VALUES ('1671082894690590722', '1111', 'sys:user:add,sys:user:edit', '图标', '/index/staff', null, '0', null, '1', '1', '2023-06-20 17:09:44', '2023-06-20 17:09:44', '1');
  244. INSERT INTO `sys_permission` VALUES ('1671082986742980610', 'qqqqqq', 'sys:user:add,sys:user:edit', '图标', '/index/staff', null, '1671082820195557377', null, '1', '1', '2023-06-20 17:10:06', '2023-06-20 17:10:06', '1');
  245. INSERT INTO `sys_permission` VALUES ('1671082998197624834', 'wwwwww', 'sys:user:add,sys:user:edit', '图标', '/index/staff', null, '1671082820195557377', null, '1', '1', '2023-06-20 17:10:09', '2023-06-20 17:10:09', '1');
  246. INSERT INTO `sys_permission` VALUES ('1671083007940993025', 'eeeee', 'sys:user:add,sys:user:edit', '图标', '/index/staff', null, '1671082820195557377', null, '1', '1', '2023-06-20 17:10:11', '2023-06-20 17:10:11', '1');
  247. -- ----------------------------
  248. -- Table structure for sys_resources
  249. -- ----------------------------
  250. DROP TABLE IF EXISTS `sys_resources`;
  251. CREATE TABLE `sys_resources` (
  252. `id` int(11) unsigned NOT NULL AUTO_INCREMENT,
  253. `name` varchar(255) CHARACTER SET utf8mb4 COLLATE utf8mb4_unicode_ci DEFAULT NULL COMMENT '文件名',
  254. `original_name` varchar(255) CHARACTER SET utf8mb4 COLLATE utf8mb4_unicode_ci DEFAULT NULL COMMENT '原文件名',
  255. `path` varchar(255) CHARACTER SET utf8mb4 COLLATE utf8mb4_unicode_ci DEFAULT NULL COMMENT '路径',
  256. `disk` varchar(50) CHARACTER SET utf8mb4 COLLATE utf8mb4_unicode_ci DEFAULT NULL COMMENT 'disk',
  257. `url` varchar(300) CHARACTER SET utf8mb4 COLLATE utf8mb4_unicode_ci DEFAULT NULL COMMENT 'url',
  258. `size` int(11) NOT NULL DEFAULT '0' COMMENT '大小',
  259. `language` char(20) CHARACTER SET utf8mb4 COLLATE utf8mb4_unicode_ci DEFAULT 'zh_CN',
  260. `status` int(11) unsigned NOT NULL DEFAULT '0' COMMENT '状态',
  261. `deleted_time` datetime DEFAULT NULL,
  262. `create_time` datetime DEFAULT NULL,
  263. `update_time` datetime DEFAULT NULL,
  264. PRIMARY KEY (`id`)
  265. ) ENGINE=InnoDB AUTO_INCREMENT=52 DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_unicode_ci;
  266. -- ----------------------------
  267. -- Records of sys_resources
  268. -- ----------------------------
  269. INSERT INTO `sys_resources` VALUES ('2', '470_710700-1050.jpg', '700-1050.jpg', '/uploadPath/470_710JD5424Am-700-1050.jpg', 'public', 'http://192.168.12.124:10015/uploadPath/470_710JD5424Am-700-1050.jpg', '0', 'zh_CN', '0', null, '2023-06-30 11:40:22', '2023-06-30 11:40:22');
  270. INSERT INTO `sys_resources` VALUES ('4', '470_710700.jpg', '700.jpg', '/uploadPath/470_71059u10QzM-700.jpg', 'public', 'http://192.168.12.124:10015/uploadPath/470_71059u10QzM-700.jpg', '0', 'zh_CN', '0', null, '2023-06-30 11:40:30', '2023-06-30 11:40:30');
  271. INSERT INTO `sys_resources` VALUES ('8', 't5013o6f-3.jpeg', '3.jpeg', '/uploadPath/t5013o6f-3.jpeg', 'public', 'http://192.168.12.124:10015/uploadPath/t5013o6f-3.jpeg', '0', 'zh_CN', '0', null, '2023-06-30 11:44:39', '2023-06-30 11:44:39');
  272. INSERT INTO `sys_resources` VALUES ('24', 'l711XCXo-700-1050.jpg', '700-1050.jpg', '/uploadPath/l711XCXo-700-1050.jpg', '', 'http://192.168.12.124:10015/uploadPath/l711XCXo-700-1050.jpg', '0', 'zh_CN', '0', null, '2023-06-30 14:53:47', '2023-06-30 14:53:47');
  273. INSERT INTO `sys_resources` VALUES ('25', '470_710700-1050.jpg', '700-1050.jpg', '/uploadPath/470_710l711XCXo-700-1050.jpg', 'public', 'http://192.168.12.124:10015/uploadPath/470_710l711XCXo-700-1050.jpg', '0', 'zh_CN', '0', null, '2023-06-30 14:53:47', '2023-06-30 14:53:47');
  274. INSERT INTO `sys_resources` VALUES ('26', 'z2t467Z9-700.jpg', '700.jpg', '/uploadPath/z2t467Z9-700.jpg', '', 'http://192.168.12.124:10015/uploadPath/z2t467Z9-700.jpg', '0', 'zh_CN', '0', null, '2023-06-30 14:53:51', '2023-06-30 14:53:51');
  275. INSERT INTO `sys_resources` VALUES ('27', '470_710700.jpg', '700.jpg', '/uploadPath/470_710z2t467Z9-700.jpg', 'public', 'http://192.168.12.124:10015/uploadPath/470_710z2t467Z9-700.jpg', '0', 'zh_CN', '0', null, '2023-06-30 14:53:51', '2023-06-30 14:53:51');
  276. INSERT INTO `sys_resources` VALUES ('28', '21G1c946.png', '21G1c946.png', '/uploadPath/21G1c946.png', '', 'http://192.168.12.124:10015/uploadPath/21G1c946.png', '0', 'zh_CN', '0', null, '2023-06-30 14:54:27', '2023-06-30 14:54:27');
  277. INSERT INTO `sys_resources` VALUES ('29', 'aZ7H65iS.png', 'aZ7H65iS.png', '/uploadPath/aZ7H65iS.png', '', 'http://192.168.12.124:10015/uploadPath/aZ7H65iS.png', '0', 'zh_CN', '0', null, '2023-06-30 14:54:36', '2023-06-30 14:54:36');
  278. INSERT INTO `sys_resources` VALUES ('30', 'm1H5H0pF.png', 'm1H5H0pF.png', '/uploadPath/m1H5H0pF.png', '', 'http://192.168.12.124:10015/uploadPath/m1H5H0pF.png', '0', 'zh_CN', '0', null, '2023-06-30 14:54:43', '2023-06-30 14:54:43');
  279. INSERT INTO `sys_resources` VALUES ('31', 'l261w9n2.png', 'l261w9n2.png', '/uploadPath/l261w9n2.png', '', 'http://192.168.12.124:10015/uploadPath/l261w9n2.png', '0', 'zh_CN', '0', null, '2023-06-30 14:54:51', '2023-06-30 14:54:51');
  280. INSERT INTO `sys_resources` VALUES ('32', '041F5r03.png', '041F5r03.png', '/uploadPath/041F5r03.png', '', 'http://192.168.12.124:10015/uploadPath/041F5r03.png', '0', 'zh_CN', '0', null, '2023-06-30 14:54:57', '2023-06-30 14:54:57');
  281. INSERT INTO `sys_resources` VALUES ('33', '550VfGm7.png', '550VfGm7.png', '/uploadPath/550VfGm7.png', '', 'http://192.168.12.124:10015/uploadPath/550VfGm7.png', '0', 'zh_CN', '0', null, '2023-06-30 14:55:04', '2023-06-30 14:55:04');
  282. INSERT INTO `sys_resources` VALUES ('34', '467qT9IT.png', '467qT9IT.png', '/uploadPath/467qT9IT.png', '', 'http://192.168.12.124:10015/uploadPath/467qT9IT.png', '0', 'zh_CN', '0', null, '2023-06-30 14:55:13', '2023-06-30 14:55:13');
  283. INSERT INTO `sys_resources` VALUES ('35', 'b885N2oB.png', 'b885N2oB.png', '/uploadPath/b885N2oB.png', '', 'http://192.168.12.124:10015/uploadPath/b885N2oB.png', '0', 'zh_CN', '0', null, '2023-06-30 14:55:21', '2023-06-30 14:55:21');
  284. INSERT INTO `sys_resources` VALUES ('36', '5g06pVnX.png', '5g06pVnX.png', '/uploadPath/5g06pVnX.png', '', 'http://192.168.12.124:10015/uploadPath/5g06pVnX.png', '0', 'zh_CN', '0', null, '2023-06-30 14:55:26', '2023-06-30 14:55:26');
  285. INSERT INTO `sys_resources` VALUES ('37', '14vkF1X2.png', '14vkF1X2.png', '/uploadPath/14vkF1X2.png', '', 'http://192.168.12.124:10015/uploadPath/14vkF1X2.png', '0', 'zh_CN', '0', null, '2023-06-30 14:55:29', '2023-06-30 14:55:29');
  286. INSERT INTO `sys_resources` VALUES ('38', '7N0D3o04.png', '7N0D3o04.png', '/uploadPath/7N0D3o04.png', '', 'http://192.168.12.124:10015/uploadPath/7N0D3o04.png', '0', 'zh_CN', '0', null, '2023-06-30 14:55:36', '2023-06-30 14:55:36');
  287. INSERT INTO `sys_resources` VALUES ('39', 'fD080T4Z.png', 'fD080T4Z.png', '/uploadPath/fD080T4Z.png', '', 'http://192.168.12.124:10015/uploadPath/fD080T4Z.png', '0', 'zh_CN', '0', null, '2023-06-30 14:55:44', '2023-06-30 14:55:44');
  288. INSERT INTO `sys_resources` VALUES ('40', 'S4G9g0Hn.png', 'S4G9g0Hn.png', '/uploadPath/S4G9g0Hn.png', '', 'http://192.168.12.124:10015/uploadPath/S4G9g0Hn.png', '0', 'zh_CN', '0', null, '2023-06-30 14:55:50', '2023-06-30 14:55:50');
  289. INSERT INTO `sys_resources` VALUES ('41', 'x3707026.png', 'x3707026.png', '/uploadPath/x3707026.png', '', 'http://192.168.12.124:10015/uploadPath/x3707026.png', '0', 'zh_CN', '0', null, '2023-06-30 14:55:57', '2023-06-30 14:55:57');
  290. INSERT INTO `sys_resources` VALUES ('42', 'zKCp6KKc.png', 'zKCp6KKc.png', '/uploadPath/zKCp6KKc.png', '', 'http://192.168.12.124:10015/uploadPath/zKCp6KKc.png', '0', 'zh_CN', '0', null, '2023-06-30 14:56:04', '2023-06-30 14:56:04');
  291. -- ----------------------------
  292. -- Table structure for sys_role
  293. -- ----------------------------
  294. DROP TABLE IF EXISTS `sys_role`;
  295. CREATE TABLE `sys_role` (
  296. `id` varchar(64) CHARACTER SET utf8 NOT NULL COMMENT '主键',
  297. `org_id` int(11) DEFAULT NULL COMMENT '园区id',
  298. `name` varchar(255) CHARACTER SET utf8 DEFAULT NULL COMMENT '角色名称',
  299. `description` varchar(300) CHARACTER SET utf8 DEFAULT NULL,
  300. `status` tinyint(4) DEFAULT '1' COMMENT '状态(1:正常0:弃用)',
  301. `create_time` datetime DEFAULT NULL COMMENT '创建时间',
  302. `update_time` datetime DEFAULT NULL COMMENT '更新时间',
  303. `deleted` tinyint(4) DEFAULT NULL COMMENT '是否删除(1未删除;0已删除)',
  304. `data_scope` int(11) DEFAULT NULL COMMENT '数据范围(1:所有 2:自定义 3: 本部门及以下部门 4:仅本部门 5:自己)',
  305. PRIMARY KEY (`id`)
  306. ) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_bin COMMENT='系统角色';
  307. -- ----------------------------
  308. -- Records of sys_role
  309. -- ----------------------------
  310. INSERT INTO `sys_role` VALUES ('1', null, '管理员', '拥有全部权限', '1', '2023-06-25 17:49:22', '2023-06-25 17:49:24', null, null);
  311. INSERT INTO `sys_role` VALUES ('1674715636060594177', null, '员工', '拥有查询权限55', '1', '2023-06-30 17:44:57', '2023-07-01 09:18:15', '1', null);
  312. INSERT INTO `sys_role` VALUES ('1674948679073447938', null, '2222', '4444', '1', '2023-07-01 09:10:59', '2023-07-01 09:19:56', '1', null);
  313. INSERT INTO `sys_role` VALUES ('1674949623525855233', null, '员工', '拥有查询权限', '1', '2023-07-01 09:14:44', '2023-07-01 09:14:44', '1', null);
  314. -- ----------------------------
  315. -- Table structure for sys_role_menu
  316. -- ----------------------------
  317. DROP TABLE IF EXISTS `sys_role_menu`;
  318. CREATE TABLE `sys_role_menu` (
  319. `role_id` int(11) NOT NULL DEFAULT '0' COMMENT '角色ID',
  320. `menu_id` int(11) NOT NULL DEFAULT '0' COMMENT '菜单ID',
  321. PRIMARY KEY (`role_id`,`menu_id`)
  322. ) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_bin COMMENT='角色和菜单关联表(废弃)';
  323. -- ----------------------------
  324. -- Records of sys_role_menu
  325. -- ----------------------------
  326. INSERT INTO `sys_role_menu` VALUES ('1', '1');
  327. INSERT INTO `sys_role_menu` VALUES ('2', '2');
  328. INSERT INTO `sys_role_menu` VALUES ('2', '3');
  329. INSERT INTO `sys_role_menu` VALUES ('2', '4');
  330. INSERT INTO `sys_role_menu` VALUES ('2', '100');
  331. INSERT INTO `sys_role_menu` VALUES ('2', '101');
  332. INSERT INTO `sys_role_menu` VALUES ('2', '102');
  333. INSERT INTO `sys_role_menu` VALUES ('2', '103');
  334. INSERT INTO `sys_role_menu` VALUES ('2', '104');
  335. INSERT INTO `sys_role_menu` VALUES ('2', '105');
  336. INSERT INTO `sys_role_menu` VALUES ('2', '106');
  337. INSERT INTO `sys_role_menu` VALUES ('2', '107');
  338. INSERT INTO `sys_role_menu` VALUES ('2', '108');
  339. INSERT INTO `sys_role_menu` VALUES ('2', '109');
  340. INSERT INTO `sys_role_menu` VALUES ('2', '110');
  341. INSERT INTO `sys_role_menu` VALUES ('2', '111');
  342. INSERT INTO `sys_role_menu` VALUES ('2', '112');
  343. INSERT INTO `sys_role_menu` VALUES ('2', '113');
  344. INSERT INTO `sys_role_menu` VALUES ('2', '114');
  345. INSERT INTO `sys_role_menu` VALUES ('2', '115');
  346. INSERT INTO `sys_role_menu` VALUES ('2', '116');
  347. INSERT INTO `sys_role_menu` VALUES ('2', '117');
  348. INSERT INTO `sys_role_menu` VALUES ('2', '500');
  349. INSERT INTO `sys_role_menu` VALUES ('2', '501');
  350. INSERT INTO `sys_role_menu` VALUES ('2', '1000');
  351. INSERT INTO `sys_role_menu` VALUES ('2', '1001');
  352. INSERT INTO `sys_role_menu` VALUES ('2', '1002');
  353. INSERT INTO `sys_role_menu` VALUES ('2', '1003');
  354. INSERT INTO `sys_role_menu` VALUES ('2', '1004');
  355. INSERT INTO `sys_role_menu` VALUES ('2', '1005');
  356. INSERT INTO `sys_role_menu` VALUES ('2', '1006');
  357. INSERT INTO `sys_role_menu` VALUES ('2', '1007');
  358. INSERT INTO `sys_role_menu` VALUES ('2', '1008');
  359. INSERT INTO `sys_role_menu` VALUES ('2', '1009');
  360. INSERT INTO `sys_role_menu` VALUES ('2', '1010');
  361. INSERT INTO `sys_role_menu` VALUES ('2', '1011');
  362. INSERT INTO `sys_role_menu` VALUES ('2', '1012');
  363. INSERT INTO `sys_role_menu` VALUES ('2', '1013');
  364. INSERT INTO `sys_role_menu` VALUES ('2', '1014');
  365. INSERT INTO `sys_role_menu` VALUES ('2', '1015');
  366. INSERT INTO `sys_role_menu` VALUES ('2', '1016');
  367. INSERT INTO `sys_role_menu` VALUES ('2', '1017');
  368. INSERT INTO `sys_role_menu` VALUES ('2', '1018');
  369. INSERT INTO `sys_role_menu` VALUES ('2', '1019');
  370. INSERT INTO `sys_role_menu` VALUES ('2', '1020');
  371. INSERT INTO `sys_role_menu` VALUES ('2', '1021');
  372. INSERT INTO `sys_role_menu` VALUES ('2', '1022');
  373. INSERT INTO `sys_role_menu` VALUES ('2', '1023');
  374. INSERT INTO `sys_role_menu` VALUES ('2', '1024');
  375. INSERT INTO `sys_role_menu` VALUES ('2', '1025');
  376. INSERT INTO `sys_role_menu` VALUES ('2', '1026');
  377. INSERT INTO `sys_role_menu` VALUES ('2', '1027');
  378. INSERT INTO `sys_role_menu` VALUES ('2', '1028');
  379. INSERT INTO `sys_role_menu` VALUES ('2', '1029');
  380. INSERT INTO `sys_role_menu` VALUES ('2', '1030');
  381. INSERT INTO `sys_role_menu` VALUES ('2', '1031');
  382. INSERT INTO `sys_role_menu` VALUES ('2', '1032');
  383. INSERT INTO `sys_role_menu` VALUES ('2', '1033');
  384. INSERT INTO `sys_role_menu` VALUES ('2', '1034');
  385. INSERT INTO `sys_role_menu` VALUES ('2', '1035');
  386. INSERT INTO `sys_role_menu` VALUES ('2', '1036');
  387. INSERT INTO `sys_role_menu` VALUES ('2', '1037');
  388. INSERT INTO `sys_role_menu` VALUES ('2', '1038');
  389. INSERT INTO `sys_role_menu` VALUES ('2', '1039');
  390. INSERT INTO `sys_role_menu` VALUES ('2', '1040');
  391. INSERT INTO `sys_role_menu` VALUES ('2', '1041');
  392. INSERT INTO `sys_role_menu` VALUES ('2', '1042');
  393. INSERT INTO `sys_role_menu` VALUES ('2', '1043');
  394. INSERT INTO `sys_role_menu` VALUES ('2', '1044');
  395. INSERT INTO `sys_role_menu` VALUES ('2', '1045');
  396. INSERT INTO `sys_role_menu` VALUES ('2', '1046');
  397. INSERT INTO `sys_role_menu` VALUES ('2', '1047');
  398. INSERT INTO `sys_role_menu` VALUES ('2', '1048');
  399. INSERT INTO `sys_role_menu` VALUES ('2', '1049');
  400. INSERT INTO `sys_role_menu` VALUES ('2', '1050');
  401. INSERT INTO `sys_role_menu` VALUES ('2', '1051');
  402. INSERT INTO `sys_role_menu` VALUES ('2', '1052');
  403. INSERT INTO `sys_role_menu` VALUES ('2', '1053');
  404. INSERT INTO `sys_role_menu` VALUES ('2', '1054');
  405. INSERT INTO `sys_role_menu` VALUES ('2', '1055');
  406. INSERT INTO `sys_role_menu` VALUES ('2', '1056');
  407. INSERT INTO `sys_role_menu` VALUES ('2', '1057');
  408. INSERT INTO `sys_role_menu` VALUES ('2', '1058');
  409. INSERT INTO `sys_role_menu` VALUES ('2', '1059');
  410. INSERT INTO `sys_role_menu` VALUES ('2', '1060');
  411. -- ----------------------------
  412. -- Table structure for sys_role_permission
  413. -- ----------------------------
  414. DROP TABLE IF EXISTS `sys_role_permission`;
  415. CREATE TABLE `sys_role_permission` (
  416. `id` varchar(64) CHARACTER SET utf8 NOT NULL COMMENT '主键',
  417. `role_id` varchar(64) CHARACTER SET utf8 DEFAULT NULL COMMENT '角色id',
  418. `permission_id` varchar(64) CHARACTER SET utf8 DEFAULT NULL COMMENT '菜单权限id',
  419. `create_time` datetime DEFAULT NULL COMMENT '创建时间',
  420. PRIMARY KEY (`id`)
  421. ) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_bin;
  422. -- ----------------------------
  423. -- Records of sys_role_permission
  424. -- ----------------------------
  425. INSERT INTO `sys_role_permission` VALUES ('1674979807629086723', '1670668779026026497', '7', '2023-07-01 11:14:40');
  426. INSERT INTO `sys_role_permission` VALUES ('1675047941815906305', '1', '1', '2023-07-01 15:45:25');
  427. INSERT INTO `sys_role_permission` VALUES ('1675047941815906306', '1', '2', '2023-07-01 15:45:25');
  428. INSERT INTO `sys_role_permission` VALUES ('1675047941815906307', '1', '3', '2023-07-01 15:45:25');
  429. INSERT INTO `sys_role_permission` VALUES ('1675047941815906308', '1', '4', '2023-07-01 15:45:25');
  430. INSERT INTO `sys_role_permission` VALUES ('1675047941815906309', '1', '5', '2023-07-01 15:45:25');
  431. INSERT INTO `sys_role_permission` VALUES ('1675047941815906310', '1', '6', '2023-07-01 15:45:25');
  432. INSERT INTO `sys_role_permission` VALUES ('1675047941815906311', '1', '7', '2023-07-01 15:45:25');
  433. INSERT INTO `sys_role_permission` VALUES ('1675047941815906312', '1', '9', '2023-07-01 15:45:25');
  434. INSERT INTO `sys_role_permission` VALUES ('1675047941815906313', '1', '8', '2023-07-01 15:45:25');
  435. INSERT INTO `sys_role_permission` VALUES ('1675048134611283969', '1674949623525855233', '1', '2023-07-01 15:46:11');
  436. INSERT INTO `sys_role_permission` VALUES ('1675048134611283970', '1674949623525855233', '2', '2023-07-01 15:46:11');
  437. INSERT INTO `sys_role_permission` VALUES ('1675048134611283971', '1674949623525855233', '9', '2023-07-01 15:46:11');
  438. INSERT INTO `sys_role_permission` VALUES ('1675048134611283972', '1674949623525855233', '8', '2023-07-01 15:46:11');
  439. -- ----------------------------
  440. -- Table structure for sys_user
  441. -- ----------------------------
  442. DROP TABLE IF EXISTS `sys_user`;
  443. CREATE TABLE `sys_user` (
  444. `id` varchar(64) CHARACTER SET utf8mb4 COLLATE utf8mb4_0900_ai_ci NOT NULL DEFAULT '0' COMMENT '用户id',
  445. `username` varchar(50) CHARACTER SET utf8 NOT NULL COMMENT '账户名称',
  446. `nick_name` varchar(60) CHARACTER SET utf8 COLLATE utf8_general_ci DEFAULT NULL COMMENT '昵称',
  447. `real_name` varchar(60) CHARACTER SET utf8 COLLATE utf8_general_ci DEFAULT NULL COMMENT '真实名称',
  448. `salt` varchar(20) CHARACTER SET utf8 DEFAULT NULL COMMENT '加密盐值',
  449. `password` varchar(200) CHARACTER SET utf8 NOT NULL COMMENT '用户密码密文',
  450. `phone` varchar(20) CHARACTER SET utf8 DEFAULT NULL COMMENT '手机号码',
  451. `sex` int(11) DEFAULT '0' COMMENT '性别(1男,2女)',
  452. `dept_id` varchar(64) CHARACTER SET utf8 DEFAULT NULL COMMENT '部门id',
  453. `org_id` int(11) DEFAULT NULL COMMENT '公司id',
  454. `email` varchar(50) CHARACTER SET utf8 DEFAULT NULL COMMENT '邮箱(唯一)',
  455. `status` int(11) DEFAULT '1' COMMENT '账户状态(1.正常 2.锁定 3.草稿)',
  456. `create_id` int(11) DEFAULT NULL COMMENT '创建人',
  457. `update_id` int(11) DEFAULT NULL COMMENT '更新人',
  458. `create_where` int(11) DEFAULT NULL COMMENT '创建来源(1.web 2.android 3.ios )',
  459. `create_time` datetime DEFAULT NULL COMMENT '创建时间',
  460. `update_time` datetime DEFAULT NULL,
  461. PRIMARY KEY (`id`)
  462. ) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_bin COMMENT='系统用户';
  463. -- ----------------------------
  464. -- Records of sys_user
  465. -- ----------------------------
  466. INSERT INTO `sys_user` VALUES ('1670683773461499905', 'admin', '梁寒', null, '74cc45a279d242728459', '295d15e3932a40317143a586d853d6f5', '13203706613', '1', null, null, null, '1', null, null, null, null, '2023-07-01 16:22:19');
  467. INSERT INTO `sys_user` VALUES ('1674985494845210625', 'test', '测试人员账号', null, '3d98282dee694456a00e', '4c9c1765dc56a8c8eeec484212952fb5', '13203706613', '1', null, null, '', '1', null, null, '1', '2023-07-01 11:37:16', '2023-07-01 15:19:18');
  468. INSERT INTO `sys_user` VALUES ('1674988718574669825', 'test3000', 'andy', null, '74cc45a279d242728459', '295d15e3932a40317143a586d853d6f5', '15137865769', '1', null, null, '2423570810@qq.com', '1', null, null, '1', '2023-07-01 11:50:05', '2023-07-01 14:57:07');
  469. INSERT INTO `sys_user` VALUES ('1675028708633579522', 'tetete', '姚x11x', null, '653db030cfae41dba503', '2cc3275c338b9f661f61745b3d993f15', '15137865769', '1', null, null, '24235730810@qq.com', '1', null, null, '1', '2023-07-01 14:28:59', '2023-07-01 14:28:59');
  470. -- ----------------------------
  471. -- Table structure for sys_user_role
  472. -- ----------------------------
  473. DROP TABLE IF EXISTS `sys_user_role`;
  474. CREATE TABLE `sys_user_role` (
  475. `id` varchar(64) CHARACTER SET utf8 NOT NULL COMMENT '用户id',
  476. `user_id` varchar(64) CHARACTER SET utf8 DEFAULT NULL,
  477. `role_id` varchar(64) CHARACTER SET utf8 DEFAULT NULL COMMENT '角色id',
  478. `create_time` datetime DEFAULT NULL COMMENT '创建时间',
  479. PRIMARY KEY (`id`)
  480. ) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_bin COMMENT='系统用户角色';
  481. -- ----------------------------
  482. -- Records of sys_user_role
  483. -- ----------------------------
  484. INSERT INTO `sys_user_role` VALUES ('1674965749098065921', '1674957945016557569', '1', '2023-07-01 10:18:49');
  485. INSERT INTO `sys_user_role` VALUES ('1674965749098065922', '1674957945016557569', '2', '2023-07-01 10:18:49');
  486. INSERT INTO `sys_user_role` VALUES ('1674965749098065923', '1674957945016557569', '3', '2023-07-01 10:18:49');
  487. INSERT INTO `sys_user_role` VALUES ('1674971489372192769', '1674971489351221250', '1', '2023-07-01 10:41:37');
  488. INSERT INTO `sys_user_role` VALUES ('1674971489372192770', '1674971489351221250', '2', '2023-07-01 10:41:37');
  489. INSERT INTO `sys_user_role` VALUES ('1675028708658745345', '1675028708633579522', '1', '2023-07-01 14:28:59');
  490. INSERT INTO `sys_user_role` VALUES ('1675028708658745346', '1675028708633579522', '2', '2023-07-01 14:28:59');
  491. INSERT INTO `sys_user_role` VALUES ('1675028708658745347', '1675028708633579522', '3', '2023-07-01 14:28:59');
  492. INSERT INTO `sys_user_role` VALUES ('1675035797846175745', '1674988718574669825', '1', '2023-07-01 14:57:10');
  493. INSERT INTO `sys_user_role` VALUES ('1675035797846175746', '1674988718574669825', '2', '2023-07-01 14:57:10');
  494. INSERT INTO `sys_user_role` VALUES ('1675035797846175747', '1674988718574669825', '3', '2023-07-01 14:57:10');
  495. INSERT INTO `sys_user_role` VALUES ('1675039727414022145', '1670683773461499905', '1', '2023-07-01 15:12:46');
  496. INSERT INTO `sys_user_role` VALUES ('1675041370608148482', '1674985494845210625', '1674949623525855233', '2023-07-01 15:19:18');
  497. -- ----------------------------
  498. -- Table structure for tb_template
  499. -- ----------------------------
  500. DROP TABLE IF EXISTS `tb_template`;
  501. CREATE TABLE `tb_template` (
  502. `id` int(11) NOT NULL AUTO_INCREMENT COMMENT '主键',
  503. `name` varchar(255) CHARACTER SET utf8 COLLATE utf8_unicode_ci DEFAULT NULL COMMENT '名称',
  504. `background_url` varchar(500) CHARACTER SET utf8 COLLATE utf8_unicode_ci DEFAULT NULL COMMENT '模版图地址',
  505. `template_url` varchar(500) CHARACTER SET utf8 COLLATE utf8_unicode_ci DEFAULT NULL COMMENT '模版成品图地址',
  506. `status` int(11) DEFAULT '1' COMMENT '状态:1为正常 0为禁用',
  507. `deleted_at` datetime DEFAULT NULL COMMENT '删除时间',
  508. `create_time` datetime DEFAULT NULL COMMENT '创建时间',
  509. `update_time` datetime DEFAULT NULL COMMENT '更新时间',
  510. PRIMARY KEY (`id`)
  511. ) ENGINE=MyISAM AUTO_INCREMENT=3 DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_bin COMMENT='模版表';
  512. -- ----------------------------
  513. -- Records of tb_template
  514. -- ----------------------------
  515. INSERT INTO `tb_template` VALUES ('1', '百家论坛', '/uploadPath/470_710JD5424Am-700-1050.jpg', '/uploadPath/470_71059u10QzM-700.jpg', '1', null, '2023-06-30 11:40:47', '2023-06-30 11:40:47');
  516. INSERT INTO `tb_template` VALUES ('2', '123', '/uploadPath/470_710l711XCXo-700-1050.jpg', '/uploadPath/470_710z2t467Z9-700.jpg', '1', null, '2023-06-30 14:53:53', '2023-06-30 14:53:53');
  517. -- ----------------------------
  518. -- Table structure for tb_template_element
  519. -- ----------------------------
  520. DROP TABLE IF EXISTS `tb_template_element`;
  521. CREATE TABLE `tb_template_element` (
  522. `id` int(11) NOT NULL AUTO_INCREMENT COMMENT '主键',
  523. `template_id` int(11) DEFAULT NULL COMMENT '模版id',
  524. `title` varchar(500) CHARACTER SET utf8mb4 COLLATE utf8mb4_unicode_ci DEFAULT NULL COMMENT '标题',
  525. `type` int(11) DEFAULT NULL COMMENT '类型:1为图片 2为文字',
  526. `content` text CHARACTER SET utf8 COLLATE utf8_unicode_ci COMMENT '内容',
  527. `area` varchar(1000) CHARACTER SET utf8 COLLATE utf8_unicode_ci DEFAULT NULL COMMENT '位置区域',
  528. `t_style` varchar(1000) CHARACTER SET utf8 COLLATE utf8_unicode_ci DEFAULT NULL COMMENT '样式',
  529. `t_sore` int(11) DEFAULT '0' COMMENT '排序字段',
  530. `status` int(11) DEFAULT '1' COMMENT '状态:1为正常 0为禁用',
  531. `deleted_at` datetime DEFAULT NULL COMMENT '删除时间',
  532. `create_time` datetime DEFAULT NULL COMMENT '创建时间',
  533. `update_time` datetime DEFAULT NULL COMMENT '更新时间',
  534. PRIMARY KEY (`id`)
  535. ) ENGINE=MyISAM AUTO_INCREMENT=11 DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_bin COMMENT='模版元素表';
  536. -- ----------------------------
  537. -- Records of tb_template_element
  538. -- ----------------------------
  539. INSERT INTO `tb_template_element` VALUES ('1', '1', '百家论坛', '2', '百家论坛', '{\"w\":164,\"x\":181,\"h\":43,\"y\":104}', '{\"color\":\"rgb(38, 117, 191)\",\"size\":\"28\",\"font\":\"楷体\",\"bold\":\"true\",\"lineHeight\":\"28\",\"r\":\"38\",\"g\":\"117\",\"b\":\"191\"}', '0', '1', null, '2023-06-30 11:41:20', '2023-06-30 14:01:38');
  540. INSERT INTO `tb_template_element` VALUES ('2', '1', '雷公', '2', '雷公藤多符抗AML物质基础\n发现及药物研发', '{\"w\":272,\"x\":178,\"h\":57,\"y\":154}', '{\"color\":\"rgb(0, 0, 0)\",\"size\":\"20\",\"font\":\"楷体\",\"bold\":\"true\",\"lineHeight\":\"28\",\"r\":\"0\",\"g\":\"0\",\"b\":\"0\"}', '0', '1', null, '2023-06-30 11:42:29', '2023-06-30 17:50:41');
  541. INSERT INTO `tb_template_element` VALUES ('3', '1', '时间', '2', '时间: 2023年4月22日15:30 - 18:00', '{\"w\":279,\"x\":174,\"h\":26,\"y\":225}', '{\"color\":\"rgb(35, 83, 186)\",\"size\":\"16\",\"font\":\"楷体\",\"bold\":\"false\",\"lineHeight\":\"15\",\"r\":\"35\",\"g\":\"83\",\"b\":\"186\"}', '0', '1', null, '2023-06-30 11:43:27', '2023-06-30 11:43:54');
  542. INSERT INTO `tb_template_element` VALUES ('4', '1', '头像', '1', '/uploadPath/t5013o6f-3.jpeg', '{\"x\":24,\"y\":100,\"w\":134,\"h\":178}', '', '0', '1', null, '2023-06-30 11:44:42', '2023-06-30 11:44:42');
  543. INSERT INTO `tb_template_element` VALUES ('5', '1', '地址', '2', '地点: 俊学楼一楼B101会议室', '{\"x\":178,\"y\":259,\"w\":264,\"h\":28}', '{\"color\":\"rgb(0, 0, 0)\",\"size\":\"16\",\"lineHeight\":\"18\",\"font\":\"宋体\",\"bold\":\"true\",\"r\":\"0\",\"g\":\"0\",\"b\":\"0\"}', '0', '1', null, '2023-06-30 11:45:29', '2023-06-30 11:45:29');
  544. INSERT INTO `tb_template_element` VALUES ('6', '1', '主讲人', '2', '主讲人 | 胡立宏', '{\"w\":137,\"x\":22,\"h\":21,\"y\":295}', '{\"color\":\"rgb(0, 0, 0)\",\"size\":\"16\",\"font\":\"Xingkai SC\",\"bold\":\"true\",\"lineHeight\":\"16\",\"r\":\"0\",\"g\":\"0\",\"b\":\"0\"}', '0', '1', null, '2023-06-30 11:46:25', '2023-06-30 11:46:44');
  545. INSERT INTO `tb_template_element` VALUES ('9', '1', '内容', '2', '胡立宏,现任南京中医药大学副校长、中药功效物质重点实\n验室主任,研究员、国家杰青。\n\n\n长期从事基于中药量丰成分和老药的药物发现研究,发现了一批药\n物候选物,实现了多项发明专利技术成果转化,其中基于老药舒尼替尼\n结构设计、开发的新型 FLT3 抑制剂 XYO206,临床试验结果\n显示其对 FLT3 野生型和突变型具有 68% 的完全缓解率,有望成为\n该类 bestinclass 药物。\n\n\n曾获国家科技进步二等奖、上海市科技进步一等奖、江苏省研究生教\n育改革成果奖二等奖,连续多年入选 EIservier 高被引学者榜单。', '{\"w\":423,\"x\":21,\"h\":273,\"y\":343}', '{\"color\":\"rgb(0, 0, 0)\",\"size\":\"14\",\"font\":\"宋体\",\"bold\":\"false\",\"lineHeight\":\"16\",\"r\":\"0\",\"g\":\"0\",\"b\":\"0\"}', '0', '1', null, '2023-06-30 11:53:06', '2023-06-30 17:55:57');
  546. INSERT INTO `tb_template_element` VALUES ('10', '2', '百家论坛', '2', '百家论坛', '{\"w\":162,\"x\":185,\"h\":43,\"y\":109}', '{\"color\":\"rgb(0, 0, 0)\",\"size\":\"25\",\"font\":\"楷体\",\"bold\":\"true\",\"lineHeight\":\"26\",\"r\":\"0\",\"g\":\"0\",\"b\":\"0\"}', '0', '1', null, '2023-06-30 14:54:22', '2023-06-30 14:56:01');
  547. INSERT INTO `tb_template_element` VALUES ('8', '1', '尾部', '2', '主办单位:科学技术处承办单位: 党委研工部、研究生院', '{\"w\":375,\"x\":18,\"h\":24,\"y\":665}', '{\"color\":\"rgb(0, 0, 0)\",\"size\":\"14\",\"font\":\"黑体\",\"bold\":\"true\",\"lineHeight\":\"14\",\"r\":\"0\",\"g\":\"0\",\"b\":\"0\"}', '0', '1', null, '2023-06-30 11:48:52', '2023-06-30 11:49:26');