Explorar el Código

诊所维护管理添加端口

matianxiang hace 3 meses
padre
commit
e86d4504a9

+ 9 - 0
eitc-manage/src/main/java/com/eitc/manage/domain/SysClinicInfo.java

@@ -49,6 +49,15 @@ public class SysClinicInfo extends EitcBaseEntity
49
     @NotBlank(message = " 服务器IP不能为空")
49
     @NotBlank(message = " 服务器IP不能为空")
50
     private String clinicIp;
50
     private String clinicIp;
51
 
51
 
52
+    @TableField(value = "server_post")
53
+    @ApiModelProperty(value = "服务端口", name = "serverPost")
54
+    @NotBlank(message = "服务端口不能为空")
55
+    private String serverPost;
56
+
57
+    @TableField(value = "web_socket_post")
58
+    @ApiModelProperty(value = "websocket端口", name = "webSocketPost")
59
+    private String webSocketPost;
60
+
52
     @TableField(value = "server_user")
61
     @TableField(value = "server_user")
53
     @ApiModelProperty(value = "服务用户", name = "serverUser")
62
     @ApiModelProperty(value = "服务用户", name = "serverUser")
54
     @NotBlank(message = " 服务器用户不能为空")
63
     @NotBlank(message = " 服务器用户不能为空")

+ 178 - 57
sql/初始化脚本.sql

@@ -5,13 +5,13 @@
5
  Source Server Type    : MySQL
5
  Source Server Type    : MySQL
6
  Source Server Version : 80026 (8.0.26)
6
  Source Server Version : 80026 (8.0.26)
7
  Source Host           : localhost:3306
7
  Source Host           : localhost:3306
8
- Source Schema         : erm_bak
8
+ Source Schema         : eitc_bak
9
 
9
 
10
  Target Server Type    : MySQL
10
  Target Server Type    : MySQL
11
  Target Server Version : 80026 (8.0.26)
11
  Target Server Version : 80026 (8.0.26)
12
  File Encoding         : 65001
12
  File Encoding         : 65001
13
 
13
 
14
- Date: 08/08/2024 10:03:53
14
+ Date: 09/08/2024 14:42:27
15
 */
15
 */
16
 
16
 
17
 SET NAMES utf8mb4;
17
 SET NAMES utf8mb4;
@@ -35,7 +35,11 @@ CREATE TABLE `erm_app_user`  (
35
   `identification_card` varchar(50) CHARACTER SET utf8 COLLATE utf8_general_ci NOT NULL COMMENT '身份证号',
35
   `identification_card` varchar(50) CHARACTER SET utf8 COLLATE utf8_general_ci NOT NULL COMMENT '身份证号',
36
   PRIMARY KEY (`id`) USING BTREE,
36
   PRIMARY KEY (`id`) USING BTREE,
37
   UNIQUE INDEX `phone_number_idx`(`is_del` ASC, `phone_number` ASC) USING BTREE
37
   UNIQUE INDEX `phone_number_idx`(`is_del` ASC, `phone_number` ASC) USING BTREE
38
-) ENGINE = InnoDB CHARACTER SET = utf8 COLLATE = utf8_general_ci COMMENT = 'APP端-用户表' ROW_FORMAT = Dynamic;
38
+) ENGINE = InnoDB CHARACTER SET = utf8 COLLATE = utf8_general_ci COMMENT = 'APP端-用户表' ROW_FORMAT = DYNAMIC;
39
+
40
+-- ----------------------------
41
+-- Records of erm_app_user
42
+-- ----------------------------
39
 
43
 
40
 -- ----------------------------
44
 -- ----------------------------
41
 -- Table structure for erm_app_user_patients
45
 -- Table structure for erm_app_user_patients
@@ -54,7 +58,11 @@ CREATE TABLE `erm_app_user_patients`  (
54
   `relationship` varchar(50) CHARACTER SET utf8 COLLATE utf8_general_ci NULL DEFAULT NULL COMMENT '关系(朋友、父母)',
58
   `relationship` varchar(50) CHARACTER SET utf8 COLLATE utf8_general_ci NULL DEFAULT NULL COMMENT '关系(朋友、父母)',
55
   `is_default` int NULL DEFAULT 0 COMMENT '是否默认(1默认,0不是默认)',
59
   `is_default` int NULL DEFAULT 0 COMMENT '是否默认(1默认,0不是默认)',
56
   PRIMARY KEY (`id`) USING BTREE
60
   PRIMARY KEY (`id`) USING BTREE
57
-) ENGINE = InnoDB CHARACTER SET = utf8 COLLATE = utf8_general_ci COMMENT = '患者与app用户关联表' ROW_FORMAT = Dynamic;
61
+) ENGINE = InnoDB CHARACTER SET = utf8 COLLATE = utf8_general_ci COMMENT = '患者与app用户关联表' ROW_FORMAT = DYNAMIC;
62
+
63
+-- ----------------------------
64
+-- Records of erm_app_user_patients
65
+-- ----------------------------
58
 
66
 
59
 -- ----------------------------
67
 -- ----------------------------
60
 -- Table structure for erm_appointment_project
68
 -- Table structure for erm_appointment_project
@@ -73,7 +81,11 @@ CREATE TABLE `erm_appointment_project`  (
73
   `type` int NOT NULL COMMENT '类型(1目录,2项目)',
81
   `type` int NOT NULL COMMENT '类型(1目录,2项目)',
74
   PRIMARY KEY (`id`) USING BTREE,
82
   PRIMARY KEY (`id`) USING BTREE,
75
   UNIQUE INDEX `idx_appointment_name`(`parent_id` ASC, `appointment_name` ASC, `is_del` ASC) USING BTREE
83
   UNIQUE INDEX `idx_appointment_name`(`parent_id` ASC, `appointment_name` ASC, `is_del` ASC) USING BTREE
76
-) ENGINE = InnoDB CHARACTER SET = utf8 COLLATE = utf8_general_ci COMMENT = '预约项目' ROW_FORMAT = Dynamic;
84
+) ENGINE = InnoDB CHARACTER SET = utf8 COLLATE = utf8_general_ci COMMENT = '预约项目' ROW_FORMAT = DYNAMIC;
85
+
86
+-- ----------------------------
87
+-- Records of erm_appointment_project
88
+-- ----------------------------
77
 
89
 
78
 -- ----------------------------
90
 -- ----------------------------
79
 -- Table structure for erm_business_dict_data
91
 -- Table structure for erm_business_dict_data
@@ -94,7 +106,7 @@ CREATE TABLE `erm_business_dict_data`  (
94
   `tenant_id` varchar(50) CHARACTER SET utf8 COLLATE utf8_general_ci NULL DEFAULT '000000' COMMENT '租户ID',
106
   `tenant_id` varchar(50) CHARACTER SET utf8 COLLATE utf8_general_ci NULL DEFAULT '000000' COMMENT '租户ID',
95
   PRIMARY KEY (`id`) USING BTREE,
107
   PRIMARY KEY (`id`) USING BTREE,
96
   INDEX `id_idx`(`dict_value` ASC, `dict_type` ASC, `dict_name` ASC, `is_del` ASC) USING BTREE
108
   INDEX `id_idx`(`dict_value` ASC, `dict_type` ASC, `dict_name` ASC, `is_del` ASC) USING BTREE
97
-) ENGINE = InnoDB CHARACTER SET = utf8 COLLATE = utf8_general_ci COMMENT = '字典数据表' ROW_FORMAT = Dynamic;
109
+) ENGINE = InnoDB CHARACTER SET = utf8 COLLATE = utf8_general_ci COMMENT = '字典数据表' ROW_FORMAT = DYNAMIC;
98
 
110
 
99
 -- ----------------------------
111
 -- ----------------------------
100
 -- Records of erm_business_dict_data
112
 -- Records of erm_business_dict_data
@@ -139,7 +151,7 @@ CREATE TABLE `erm_chat_disease`  (
139
   `resource` varchar(3000) CHARACTER SET utf8mb4 COLLATE utf8mb4_general_ci NULL DEFAULT NULL COMMENT '病情资料',
151
   `resource` varchar(3000) CHARACTER SET utf8mb4 COLLATE utf8mb4_general_ci NULL DEFAULT NULL COMMENT '病情资料',
140
   `patient_id` varchar(64) CHARACTER SET utf8mb4 COLLATE utf8mb4_general_ci NOT NULL COMMENT '患者id',
152
   `patient_id` varchar(64) CHARACTER SET utf8mb4 COLLATE utf8mb4_general_ci NOT NULL COMMENT '患者id',
141
   PRIMARY KEY (`id`) USING BTREE
153
   PRIMARY KEY (`id`) USING BTREE
142
-) ENGINE = InnoDB CHARACTER SET = utf8mb4 COLLATE = utf8mb4_general_ci COMMENT = '聊天记录资料卡片' ROW_FORMAT = Dynamic;
154
+) ENGINE = InnoDB CHARACTER SET = utf8mb4 COLLATE = utf8mb4_general_ci COMMENT = '聊天记录资料卡片' ROW_FORMAT = DYNAMIC;
143
 
155
 
144
 -- ----------------------------
156
 -- ----------------------------
145
 -- Records of erm_chat_disease
157
 -- Records of erm_chat_disease
@@ -164,7 +176,7 @@ CREATE TABLE `erm_chat_disease_info`  (
164
   `update_user` varchar(64) CHARACTER SET utf8mb4 COLLATE utf8mb4_general_ci NULL DEFAULT NULL COMMENT '修改人',
176
   `update_user` varchar(64) CHARACTER SET utf8mb4 COLLATE utf8mb4_general_ci NULL DEFAULT NULL COMMENT '修改人',
165
   `tenant_id` varchar(64) CHARACTER SET utf8mb4 COLLATE utf8mb4_general_ci NULL DEFAULT NULL COMMENT '租户',
177
   `tenant_id` varchar(64) CHARACTER SET utf8mb4 COLLATE utf8mb4_general_ci NULL DEFAULT NULL COMMENT '租户',
166
   PRIMARY KEY (`id`) USING BTREE
178
   PRIMARY KEY (`id`) USING BTREE
167
-) ENGINE = InnoDB CHARACTER SET = utf8mb4 COLLATE = utf8mb4_general_ci ROW_FORMAT = Dynamic;
179
+) ENGINE = InnoDB CHARACTER SET = utf8mb4 COLLATE = utf8mb4_general_ci ROW_FORMAT = DYNAMIC;
168
 
180
 
169
 -- ----------------------------
181
 -- ----------------------------
170
 -- Records of erm_chat_disease_info
182
 -- Records of erm_chat_disease_info
@@ -192,7 +204,11 @@ CREATE TABLE `erm_chat_history`  (
192
   `user_id` varchar(64) CHARACTER SET utf8mb4 COLLATE utf8mb4_general_ci NOT NULL COMMENT '医生用户的账户',
204
   `user_id` varchar(64) CHARACTER SET utf8mb4 COLLATE utf8mb4_general_ci NOT NULL COMMENT '医生用户的账户',
193
   `user_phone` varchar(11) CHARACTER SET utf8mb4 COLLATE utf8mb4_general_ci NULL DEFAULT NULL COMMENT '医生手机号',
205
   `user_phone` varchar(11) CHARACTER SET utf8mb4 COLLATE utf8mb4_general_ci NULL DEFAULT NULL COMMENT '医生手机号',
194
   PRIMARY KEY (`id`) USING BTREE
206
   PRIMARY KEY (`id`) USING BTREE
195
-) ENGINE = InnoDB CHARACTER SET = utf8mb4 COLLATE = utf8mb4_general_ci COMMENT = '聊天记录表' ROW_FORMAT = Dynamic;
207
+) ENGINE = InnoDB CHARACTER SET = utf8mb4 COLLATE = utf8mb4_general_ci COMMENT = '聊天记录表' ROW_FORMAT = DYNAMIC;
208
+
209
+-- ----------------------------
210
+-- Records of erm_chat_history
211
+-- ----------------------------
196
 
212
 
197
 -- ----------------------------
213
 -- ----------------------------
198
 -- Table structure for erm_clinic_info
214
 -- Table structure for erm_clinic_info
@@ -232,7 +248,11 @@ CREATE TABLE `erm_clinic_info`  (
232
   `version_repair_new` varchar(32) CHARACTER SET utf8 COLLATE utf8_general_ci NULL DEFAULT NULL COMMENT '当前总服务器修复版本号',
248
   `version_repair_new` varchar(32) CHARACTER SET utf8 COLLATE utf8_general_ci NULL DEFAULT NULL COMMENT '当前总服务器修复版本号',
233
   `clinic_code` varchar(64) CHARACTER SET utf8mb4 COLLATE utf8mb4_general_ci NULL DEFAULT NULL COMMENT '诊所编号',
249
   `clinic_code` varchar(64) CHARACTER SET utf8mb4 COLLATE utf8mb4_general_ci NULL DEFAULT NULL COMMENT '诊所编号',
234
   PRIMARY KEY (`id`) USING BTREE
250
   PRIMARY KEY (`id`) USING BTREE
235
-) ENGINE = InnoDB CHARACTER SET = utf8 COLLATE = utf8_general_ci COMMENT = '诊所信息' ROW_FORMAT = Dynamic;
251
+) ENGINE = InnoDB CHARACTER SET = utf8 COLLATE = utf8_general_ci COMMENT = '诊所信息' ROW_FORMAT = DYNAMIC;
252
+
253
+-- ----------------------------
254
+-- Records of erm_clinic_info
255
+-- ----------------------------
236
 
256
 
237
 -- ----------------------------
257
 -- ----------------------------
238
 -- Table structure for erm_collect_cost_details
258
 -- Table structure for erm_collect_cost_details
@@ -254,7 +274,11 @@ CREATE TABLE `erm_collect_cost_details`  (
254
   `status` int NOT NULL DEFAULT 1 COMMENT '状态(1开启,0禁用)',
274
   `status` int NOT NULL DEFAULT 1 COMMENT '状态(1开启,0禁用)',
255
   `order_num` int NULL DEFAULT 0 COMMENT '排序',
275
   `order_num` int NULL DEFAULT 0 COMMENT '排序',
256
   PRIMARY KEY (`id`) USING BTREE
276
   PRIMARY KEY (`id`) USING BTREE
257
-) ENGINE = InnoDB CHARACTER SET = utf8 COLLATE = utf8_general_ci COMMENT = '收费分类详情' ROW_FORMAT = Dynamic;
277
+) ENGINE = InnoDB CHARACTER SET = utf8 COLLATE = utf8_general_ci COMMENT = '收费分类详情' ROW_FORMAT = DYNAMIC;
278
+
279
+-- ----------------------------
280
+-- Records of erm_collect_cost_details
281
+-- ----------------------------
258
 
282
 
259
 -- ----------------------------
283
 -- ----------------------------
260
 -- Table structure for erm_collect_cost_patients
284
 -- Table structure for erm_collect_cost_patients
@@ -276,7 +300,11 @@ CREATE TABLE `erm_collect_cost_patients`  (
276
   `net_receipts_cost` decimal(10, 2) NOT NULL DEFAULT 0.00 COMMENT '实收费用',
300
   `net_receipts_cost` decimal(10, 2) NOT NULL DEFAULT 0.00 COMMENT '实收费用',
277
   `cost_status` int NOT NULL DEFAULT 1 COMMENT '收费状态(1待收费,2已收费)',
301
   `cost_status` int NOT NULL DEFAULT 1 COMMENT '收费状态(1待收费,2已收费)',
278
   PRIMARY KEY (`id`) USING BTREE
302
   PRIMARY KEY (`id`) USING BTREE
279
-) ENGINE = InnoDB CHARACTER SET = utf8 COLLATE = utf8_general_ci COMMENT = '患者收费信息' ROW_FORMAT = Dynamic;
303
+) ENGINE = InnoDB CHARACTER SET = utf8 COLLATE = utf8_general_ci COMMENT = '患者收费信息' ROW_FORMAT = DYNAMIC;
304
+
305
+-- ----------------------------
306
+-- Records of erm_collect_cost_patients
307
+-- ----------------------------
280
 
308
 
281
 -- ----------------------------
309
 -- ----------------------------
282
 -- Table structure for erm_collect_cost_patients_details
310
 -- Table structure for erm_collect_cost_patients_details
@@ -299,7 +327,11 @@ CREATE TABLE `erm_collect_cost_patients_details`  (
299
   `tooth_position` varchar(50) CHARACTER SET utf8 COLLATE utf8_general_ci NOT NULL COMMENT '牙位',
327
   `tooth_position` varchar(50) CHARACTER SET utf8 COLLATE utf8_general_ci NOT NULL COMMENT '牙位',
300
   `total` int NOT NULL DEFAULT 0 COMMENT '数量',
328
   `total` int NOT NULL DEFAULT 0 COMMENT '数量',
301
   PRIMARY KEY (`id`) USING BTREE
329
   PRIMARY KEY (`id`) USING BTREE
302
-) ENGINE = InnoDB CHARACTER SET = utf8 COLLATE = utf8_general_ci COMMENT = '患者收费信息详情' ROW_FORMAT = Dynamic;
330
+) ENGINE = InnoDB CHARACTER SET = utf8 COLLATE = utf8_general_ci COMMENT = '患者收费信息详情' ROW_FORMAT = DYNAMIC;
331
+
332
+-- ----------------------------
333
+-- Records of erm_collect_cost_patients_details
334
+-- ----------------------------
303
 
335
 
304
 -- ----------------------------
336
 -- ----------------------------
305
 -- Table structure for erm_collect_cost_type
337
 -- Table structure for erm_collect_cost_type
@@ -317,7 +349,11 @@ CREATE TABLE `erm_collect_cost_type`  (
317
   `cost_type_name` varchar(100) CHARACTER SET utf8mb4 COLLATE utf8mb4_general_ci NULL DEFAULT NULL COMMENT '分类名称',
349
   `cost_type_name` varchar(100) CHARACTER SET utf8mb4 COLLATE utf8mb4_general_ci NULL DEFAULT NULL COMMENT '分类名称',
318
   `order_num` int NULL DEFAULT 0 COMMENT '排序',
350
   `order_num` int NULL DEFAULT 0 COMMENT '排序',
319
   PRIMARY KEY (`id`) USING BTREE
351
   PRIMARY KEY (`id`) USING BTREE
320
-) ENGINE = InnoDB CHARACTER SET = utf8 COLLATE = utf8_general_ci COMMENT = '收费分类表' ROW_FORMAT = Dynamic;
352
+) ENGINE = InnoDB CHARACTER SET = utf8 COLLATE = utf8_general_ci COMMENT = '收费分类表' ROW_FORMAT = DYNAMIC;
353
+
354
+-- ----------------------------
355
+-- Records of erm_collect_cost_type
356
+-- ----------------------------
321
 
357
 
322
 -- ----------------------------
358
 -- ----------------------------
323
 -- Table structure for erm_collection_doctor
359
 -- Table structure for erm_collection_doctor
@@ -334,7 +370,11 @@ CREATE TABLE `erm_collection_doctor`  (
334
   `doctor_id` varchar(50) CHARACTER SET utf8 COLLATE utf8_general_ci NOT NULL COMMENT '医生id',
370
   `doctor_id` varchar(50) CHARACTER SET utf8 COLLATE utf8_general_ci NOT NULL COMMENT '医生id',
335
   `app_user_id` varchar(50) CHARACTER SET utf8 COLLATE utf8_general_ci NOT NULL COMMENT 'app端用户id',
371
   `app_user_id` varchar(50) CHARACTER SET utf8 COLLATE utf8_general_ci NOT NULL COMMENT 'app端用户id',
336
   PRIMARY KEY (`id`) USING BTREE
372
   PRIMARY KEY (`id`) USING BTREE
337
-) ENGINE = InnoDB CHARACTER SET = utf8 COLLATE = utf8_general_ci COMMENT = '我的医生' ROW_FORMAT = Dynamic;
373
+) ENGINE = InnoDB CHARACTER SET = utf8 COLLATE = utf8_general_ci COMMENT = '我的医生' ROW_FORMAT = DYNAMIC;
374
+
375
+-- ----------------------------
376
+-- Records of erm_collection_doctor
377
+-- ----------------------------
338
 
378
 
339
 -- ----------------------------
379
 -- ----------------------------
340
 -- Table structure for erm_diagnosis_type
380
 -- Table structure for erm_diagnosis_type
@@ -352,7 +392,11 @@ CREATE TABLE `erm_diagnosis_type`  (
352
   `diagnosis_name` varchar(50) CHARACTER SET utf8 COLLATE utf8_general_ci NOT NULL COMMENT '诊断名称',
392
   `diagnosis_name` varchar(50) CHARACTER SET utf8 COLLATE utf8_general_ci NOT NULL COMMENT '诊断名称',
353
   PRIMARY KEY (`id`) USING BTREE,
393
   PRIMARY KEY (`id`) USING BTREE,
354
   UNIQUE INDEX `idx_diagnosis_name`(`is_del` ASC, `parent_id` ASC, `diagnosis_name` ASC) USING BTREE
394
   UNIQUE INDEX `idx_diagnosis_name`(`is_del` ASC, `parent_id` ASC, `diagnosis_name` ASC) USING BTREE
355
-) ENGINE = InnoDB CHARACTER SET = utf8 COLLATE = utf8_general_ci COMMENT = '诊断分类' ROW_FORMAT = Dynamic;
395
+) ENGINE = InnoDB CHARACTER SET = utf8 COLLATE = utf8_general_ci COMMENT = '诊断分类' ROW_FORMAT = DYNAMIC;
396
+
397
+-- ----------------------------
398
+-- Records of erm_diagnosis_type
399
+-- ----------------------------
356
 
400
 
357
 -- ----------------------------
401
 -- ----------------------------
358
 -- Table structure for erm_diagnosis_type_cost_project
402
 -- Table structure for erm_diagnosis_type_cost_project
@@ -370,7 +414,11 @@ CREATE TABLE `erm_diagnosis_type_cost_project`  (
370
   `collect_cost_details_id` varchar(100) CHARACTER SET utf8mb4 COLLATE utf8mb4_general_ci NOT NULL COMMENT '收费分类详情ID',
414
   `collect_cost_details_id` varchar(100) CHARACTER SET utf8mb4 COLLATE utf8mb4_general_ci NOT NULL COMMENT '收费分类详情ID',
371
   `total` int NOT NULL DEFAULT 0 COMMENT '数量',
415
   `total` int NOT NULL DEFAULT 0 COMMENT '数量',
372
   PRIMARY KEY (`id`) USING BTREE
416
   PRIMARY KEY (`id`) USING BTREE
373
-) ENGINE = InnoDB CHARACTER SET = utf8 COLLATE = utf8_general_ci COMMENT = '诊断分类收费项目表' ROW_FORMAT = Dynamic;
417
+) ENGINE = InnoDB CHARACTER SET = utf8 COLLATE = utf8_general_ci COMMENT = '诊断分类收费项目表' ROW_FORMAT = DYNAMIC;
418
+
419
+-- ----------------------------
420
+-- Records of erm_diagnosis_type_cost_project
421
+-- ----------------------------
374
 
422
 
375
 -- ----------------------------
423
 -- ----------------------------
376
 -- Table structure for erm_diagnosis_type_order_doctor
424
 -- Table structure for erm_diagnosis_type_order_doctor
@@ -389,7 +437,11 @@ CREATE TABLE `erm_diagnosis_type_order_doctor`  (
389
   `order_num` int NULL DEFAULT 0 COMMENT '排序',
437
   `order_num` int NULL DEFAULT 0 COMMENT '排序',
390
   `parent_id` varchar(50) CHARACTER SET utf8 COLLATE utf8_general_ci NOT NULL COMMENT '父级id',
438
   `parent_id` varchar(50) CHARACTER SET utf8 COLLATE utf8_general_ci NOT NULL COMMENT '父级id',
391
   PRIMARY KEY (`id`) USING BTREE
439
   PRIMARY KEY (`id`) USING BTREE
392
-) ENGINE = InnoDB CHARACTER SET = utf8 COLLATE = utf8_general_ci COMMENT = '诊断分类排序与医生的关联表' ROW_FORMAT = Dynamic;
440
+) ENGINE = InnoDB CHARACTER SET = utf8 COLLATE = utf8_general_ci COMMENT = '诊断分类排序与医生的关联表' ROW_FORMAT = DYNAMIC;
441
+
442
+-- ----------------------------
443
+-- Records of erm_diagnosis_type_order_doctor
444
+-- ----------------------------
393
 
445
 
394
 -- ----------------------------
446
 -- ----------------------------
395
 -- Table structure for erm_diagnosis_type_template
447
 -- Table structure for erm_diagnosis_type_template
@@ -412,7 +464,11 @@ CREATE TABLE `erm_diagnosis_type_template`  (
412
   `order_num` int NOT NULL DEFAULT 0 COMMENT '排序',
464
   `order_num` int NOT NULL DEFAULT 0 COMMENT '排序',
413
   PRIMARY KEY (`id`) USING BTREE,
465
   PRIMARY KEY (`id`) USING BTREE,
414
   UNIQUE INDEX `idx_template_name`(`is_del` ASC, `diagnosis_type_id` ASC, `template_name` ASC) USING BTREE
466
   UNIQUE INDEX `idx_template_name`(`is_del` ASC, `diagnosis_type_id` ASC, `template_name` ASC) USING BTREE
415
-) ENGINE = InnoDB CHARACTER SET = utf8 COLLATE = utf8_general_ci COMMENT = '诊断分类模板' ROW_FORMAT = Dynamic;
467
+) ENGINE = InnoDB CHARACTER SET = utf8 COLLATE = utf8_general_ci COMMENT = '诊断分类模板' ROW_FORMAT = DYNAMIC;
468
+
469
+-- ----------------------------
470
+-- Records of erm_diagnosis_type_template
471
+-- ----------------------------
416
 
472
 
417
 -- ----------------------------
473
 -- ----------------------------
418
 -- Table structure for erm_medical_history
474
 -- Table structure for erm_medical_history
@@ -433,7 +489,11 @@ CREATE TABLE `erm_medical_history`  (
433
   `disease_source` int NULL DEFAULT NULL COMMENT '疾病来源(1患者,2医生)',
489
   `disease_source` int NULL DEFAULT NULL COMMENT '疾病来源(1患者,2医生)',
434
   PRIMARY KEY (`id`) USING BTREE,
490
   PRIMARY KEY (`id`) USING BTREE,
435
   UNIQUE INDEX `idx_id`(`is_del` ASC, `medical_record_id` ASC, `patient_id` ASC, `disease_source` ASC) USING BTREE
491
   UNIQUE INDEX `idx_id`(`is_del` ASC, `medical_record_id` ASC, `patient_id` ASC, `disease_source` ASC) USING BTREE
436
-) ENGINE = InnoDB CHARACTER SET = utf8 COLLATE = utf8_general_ci COMMENT = '病史表' ROW_FORMAT = Dynamic;
492
+) ENGINE = InnoDB CHARACTER SET = utf8 COLLATE = utf8_general_ci COMMENT = '病史表' ROW_FORMAT = DYNAMIC;
493
+
494
+-- ----------------------------
495
+-- Records of erm_medical_history
496
+-- ----------------------------
437
 
497
 
438
 -- ----------------------------
498
 -- ----------------------------
439
 -- Table structure for erm_medical_record
499
 -- Table structure for erm_medical_record
@@ -456,7 +516,11 @@ CREATE TABLE `erm_medical_record`  (
456
   `department` varchar(50) CHARACTER SET utf8 COLLATE utf8_general_ci NULL DEFAULT NULL COMMENT '预约科室',
516
   `department` varchar(50) CHARACTER SET utf8 COLLATE utf8_general_ci NULL DEFAULT NULL COMMENT '预约科室',
457
   `cost` decimal(10, 2) NULL DEFAULT NULL COMMENT '费用',
517
   `cost` decimal(10, 2) NULL DEFAULT NULL COMMENT '费用',
458
   PRIMARY KEY (`id`) USING BTREE
518
   PRIMARY KEY (`id`) USING BTREE
459
-) ENGINE = InnoDB CHARACTER SET = utf8 COLLATE = utf8_general_ci COMMENT = '病历表' ROW_FORMAT = Dynamic;
519
+) ENGINE = InnoDB CHARACTER SET = utf8 COLLATE = utf8_general_ci COMMENT = '病历表' ROW_FORMAT = DYNAMIC;
520
+
521
+-- ----------------------------
522
+-- Records of erm_medical_record
523
+-- ----------------------------
460
 
524
 
461
 -- ----------------------------
525
 -- ----------------------------
462
 -- Table structure for erm_medical_record_details
526
 -- Table structure for erm_medical_record_details
@@ -484,7 +548,11 @@ CREATE TABLE `erm_medical_record_details`  (
484
   `template_view` varchar(1000) CHARACTER SET utf8 COLLATE utf8_general_ci NULL DEFAULT NULL COMMENT '模板视图',
548
   `template_view` varchar(1000) CHARACTER SET utf8 COLLATE utf8_general_ci NULL DEFAULT NULL COMMENT '模板视图',
485
   `order_num` int NOT NULL DEFAULT 0 COMMENT '排序',
549
   `order_num` int NOT NULL DEFAULT 0 COMMENT '排序',
486
   PRIMARY KEY (`id`) USING BTREE
550
   PRIMARY KEY (`id`) USING BTREE
487
-) ENGINE = InnoDB CHARACTER SET = utf8 COLLATE = utf8_general_ci COMMENT = '病历详情表' ROW_FORMAT = Dynamic;
551
+) ENGINE = InnoDB CHARACTER SET = utf8 COLLATE = utf8_general_ci COMMENT = '病历详情表' ROW_FORMAT = DYNAMIC;
552
+
553
+-- ----------------------------
554
+-- Records of erm_medical_record_details
555
+-- ----------------------------
488
 
556
 
489
 -- ----------------------------
557
 -- ----------------------------
490
 -- Table structure for erm_notice_manage
558
 -- Table structure for erm_notice_manage
@@ -506,7 +574,11 @@ CREATE TABLE `erm_notice_manage`  (
506
   `display_status` int NULL DEFAULT NULL COMMENT '显示状态(1未开始,2显示中,3已结束)',
574
   `display_status` int NULL DEFAULT NULL COMMENT '显示状态(1未开始,2显示中,3已结束)',
507
   `publish_people` varchar(100) CHARACTER SET utf8mb4 COLLATE utf8mb4_general_ci NULL DEFAULT NULL COMMENT '发布人',
575
   `publish_people` varchar(100) CHARACTER SET utf8mb4 COLLATE utf8mb4_general_ci NULL DEFAULT NULL COMMENT '发布人',
508
   PRIMARY KEY (`id`) USING BTREE
576
   PRIMARY KEY (`id`) USING BTREE
509
-) ENGINE = InnoDB CHARACTER SET = utf8mb4 COLLATE = utf8mb4_general_ci COMMENT = '公告管理' ROW_FORMAT = Dynamic;
577
+) ENGINE = InnoDB CHARACTER SET = utf8mb4 COLLATE = utf8mb4_general_ci COMMENT = '公告管理' ROW_FORMAT = DYNAMIC;
578
+
579
+-- ----------------------------
580
+-- Records of erm_notice_manage
581
+-- ----------------------------
510
 
582
 
511
 -- ----------------------------
583
 -- ----------------------------
512
 -- Table structure for erm_patient
584
 -- Table structure for erm_patient
@@ -544,7 +616,11 @@ CREATE TABLE `erm_patient`  (
544
   PRIMARY KEY (`id`) USING BTREE,
616
   PRIMARY KEY (`id`) USING BTREE,
545
   UNIQUE INDEX `identification_card_idx`(`identification_card` ASC) USING BTREE COMMENT '身份证号',
617
   UNIQUE INDEX `identification_card_idx`(`identification_card` ASC) USING BTREE COMMENT '身份证号',
546
   UNIQUE INDEX `medical_record_num_idx`(`medical_record_num` ASC) USING BTREE COMMENT '病历号'
618
   UNIQUE INDEX `medical_record_num_idx`(`medical_record_num` ASC) USING BTREE COMMENT '病历号'
547
-) ENGINE = InnoDB CHARACTER SET = utf8 COLLATE = utf8_general_ci COMMENT = '患者表' ROW_FORMAT = Dynamic;
619
+) ENGINE = InnoDB CHARACTER SET = utf8 COLLATE = utf8_general_ci COMMENT = '患者表' ROW_FORMAT = DYNAMIC;
620
+
621
+-- ----------------------------
622
+-- Records of erm_patient
623
+-- ----------------------------
548
 
624
 
549
 -- ----------------------------
625
 -- ----------------------------
550
 -- Table structure for erm_patient_appointment
626
 -- Table structure for erm_patient_appointment
@@ -575,7 +651,11 @@ CREATE TABLE `erm_patient_appointment`  (
575
   `register_user` varchar(50) CHARACTER SET utf8 COLLATE utf8_general_ci NULL DEFAULT NULL COMMENT '登记人',
651
   `register_user` varchar(50) CHARACTER SET utf8 COLLATE utf8_general_ci NULL DEFAULT NULL COMMENT '登记人',
576
   `medical_record_id` varchar(50) CHARACTER SET utf8 COLLATE utf8_general_ci NULL DEFAULT NULL COMMENT '病历id',
652
   `medical_record_id` varchar(50) CHARACTER SET utf8 COLLATE utf8_general_ci NULL DEFAULT NULL COMMENT '病历id',
577
   PRIMARY KEY (`id`) USING BTREE
653
   PRIMARY KEY (`id`) USING BTREE
578
-) ENGINE = InnoDB CHARACTER SET = utf8 COLLATE = utf8_general_ci COMMENT = '患者预约表' ROW_FORMAT = Dynamic;
654
+) ENGINE = InnoDB CHARACTER SET = utf8 COLLATE = utf8_general_ci COMMENT = '患者预约表' ROW_FORMAT = DYNAMIC;
655
+
656
+-- ----------------------------
657
+-- Records of erm_patient_appointment
658
+-- ----------------------------
579
 
659
 
580
 -- ----------------------------
660
 -- ----------------------------
581
 -- Table structure for erm_patient_follow_up
661
 -- Table structure for erm_patient_follow_up
@@ -599,7 +679,11 @@ CREATE TABLE `erm_patient_follow_up`  (
599
   `follow_up_content` varchar(255) CHARACTER SET utf8 COLLATE utf8_general_ci NULL DEFAULT NULL COMMENT '回访内容:治疗一周回访、拔牙一天回访',
679
   `follow_up_content` varchar(255) CHARACTER SET utf8 COLLATE utf8_general_ci NULL DEFAULT NULL COMMENT '回访内容:治疗一周回访、拔牙一天回访',
600
   `follow_up_result` varchar(255) CHARACTER SET utf8 COLLATE utf8_general_ci NULL DEFAULT NULL COMMENT '回访结果:无不适、数量出血、牙微疼痛',
680
   `follow_up_result` varchar(255) CHARACTER SET utf8 COLLATE utf8_general_ci NULL DEFAULT NULL COMMENT '回访结果:无不适、数量出血、牙微疼痛',
601
   PRIMARY KEY (`id`) USING BTREE
681
   PRIMARY KEY (`id`) USING BTREE
602
-) ENGINE = InnoDB CHARACTER SET = utf8 COLLATE = utf8_general_ci COMMENT = '患者回访表' ROW_FORMAT = Dynamic;
682
+) ENGINE = InnoDB CHARACTER SET = utf8 COLLATE = utf8_general_ci COMMENT = '患者回访表' ROW_FORMAT = DYNAMIC;
683
+
684
+-- ----------------------------
685
+-- Records of erm_patient_follow_up
686
+-- ----------------------------
603
 
687
 
604
 -- ----------------------------
688
 -- ----------------------------
605
 -- Table structure for erm_protocol_template
689
 -- Table structure for erm_protocol_template
@@ -618,7 +702,7 @@ CREATE TABLE `erm_protocol_template`  (
618
   `protocol_template_content` longblob NULL COMMENT '协议模板内容',
702
   `protocol_template_content` longblob NULL COMMENT '协议模板内容',
619
   `status` int NOT NULL DEFAULT 1 COMMENT '状态(1开启,0禁用)',
703
   `status` int NOT NULL DEFAULT 1 COMMENT '状态(1开启,0禁用)',
620
   PRIMARY KEY (`id`) USING BTREE
704
   PRIMARY KEY (`id`) USING BTREE
621
-) ENGINE = InnoDB CHARACTER SET = utf8 COLLATE = utf8_general_ci COMMENT = '协议模板表' ROW_FORMAT = Dynamic;
705
+) ENGINE = InnoDB CHARACTER SET = utf8 COLLATE = utf8_general_ci COMMENT = '协议模板表' ROW_FORMAT = DYNAMIC;
622
 
706
 
623
 -- ----------------------------
707
 -- ----------------------------
624
 -- Records of erm_protocol_template
708
 -- Records of erm_protocol_template
@@ -641,7 +725,7 @@ CREATE TABLE `erm_protocol_type`  (
641
   `protocol_name` varchar(50) CHARACTER SET utf8 COLLATE utf8_general_ci NOT NULL COMMENT '协议名称',
725
   `protocol_name` varchar(50) CHARACTER SET utf8 COLLATE utf8_general_ci NOT NULL COMMENT '协议名称',
642
   `order_num` int NOT NULL DEFAULT 0 COMMENT '排序',
726
   `order_num` int NOT NULL DEFAULT 0 COMMENT '排序',
643
   PRIMARY KEY (`id`) USING BTREE
727
   PRIMARY KEY (`id`) USING BTREE
644
-) ENGINE = InnoDB CHARACTER SET = utf8 COLLATE = utf8_general_ci COMMENT = '协议类型配置表' ROW_FORMAT = Dynamic;
728
+) ENGINE = InnoDB CHARACTER SET = utf8 COLLATE = utf8_general_ci COMMENT = '协议类型配置表' ROW_FORMAT = DYNAMIC;
645
 
729
 
646
 -- ----------------------------
730
 -- ----------------------------
647
 -- Records of erm_protocol_type
731
 -- Records of erm_protocol_type
@@ -665,7 +749,11 @@ CREATE TABLE `erm_scheduling_configuration`  (
665
   `week_num` int NOT NULL COMMENT '星期几',
749
   `week_num` int NOT NULL COMMENT '星期几',
666
   `work_status` varchar(50) CHARACTER SET utf8 COLLATE utf8_general_ci NOT NULL COMMENT '工作状态',
750
   `work_status` varchar(50) CHARACTER SET utf8 COLLATE utf8_general_ci NOT NULL COMMENT '工作状态',
667
   PRIMARY KEY (`id`) USING BTREE
751
   PRIMARY KEY (`id`) USING BTREE
668
-) ENGINE = InnoDB CHARACTER SET = utf8 COLLATE = utf8_general_ci COMMENT = '排班配置' ROW_FORMAT = Dynamic;
752
+) ENGINE = InnoDB CHARACTER SET = utf8 COLLATE = utf8_general_ci COMMENT = '排班配置' ROW_FORMAT = DYNAMIC;
753
+
754
+-- ----------------------------
755
+-- Records of erm_scheduling_configuration
756
+-- ----------------------------
669
 
757
 
670
 -- ----------------------------
758
 -- ----------------------------
671
 -- Table structure for erm_scheduling_details
759
 -- Table structure for erm_scheduling_details
@@ -686,7 +774,11 @@ CREATE TABLE `erm_scheduling_details`  (
686
   `work_day` int NULL DEFAULT NULL COMMENT '工作月份',
774
   `work_day` int NULL DEFAULT NULL COMMENT '工作月份',
687
   `work_status` varchar(50) CHARACTER SET utf8 COLLATE utf8_general_ci NULL DEFAULT NULL COMMENT '工作状态',
775
   `work_status` varchar(50) CHARACTER SET utf8 COLLATE utf8_general_ci NULL DEFAULT NULL COMMENT '工作状态',
688
   PRIMARY KEY (`id`) USING BTREE
776
   PRIMARY KEY (`id`) USING BTREE
689
-) ENGINE = InnoDB CHARACTER SET = utf8 COLLATE = utf8_general_ci COMMENT = '排班详情' ROW_FORMAT = Dynamic;
777
+) ENGINE = InnoDB CHARACTER SET = utf8 COLLATE = utf8_general_ci COMMENT = '排班详情' ROW_FORMAT = DYNAMIC;
778
+
779
+-- ----------------------------
780
+-- Records of erm_scheduling_details
781
+-- ----------------------------
690
 
782
 
691
 -- ----------------------------
783
 -- ----------------------------
692
 -- Table structure for erm_scheduling_status
784
 -- Table structure for erm_scheduling_status
@@ -706,7 +798,7 @@ CREATE TABLE `erm_scheduling_status`  (
706
   `color` varchar(10) CHARACTER SET utf8 COLLATE utf8_general_ci NULL DEFAULT NULL COMMENT '颜色',
798
   `color` varchar(10) CHARACTER SET utf8 COLLATE utf8_general_ci NULL DEFAULT NULL COMMENT '颜色',
707
   `order_num` int NULL DEFAULT 0 COMMENT '排序',
799
   `order_num` int NULL DEFAULT 0 COMMENT '排序',
708
   PRIMARY KEY (`id`) USING BTREE
800
   PRIMARY KEY (`id`) USING BTREE
709
-) ENGINE = InnoDB CHARACTER SET = utf8 COLLATE = utf8_general_ci COMMENT = '排班类型' ROW_FORMAT = Dynamic;
801
+) ENGINE = InnoDB CHARACTER SET = utf8 COLLATE = utf8_general_ci COMMENT = '排班类型' ROW_FORMAT = DYNAMIC;
710
 
802
 
711
 -- ----------------------------
803
 -- ----------------------------
712
 -- Records of erm_scheduling_status
804
 -- Records of erm_scheduling_status
@@ -743,7 +835,11 @@ CREATE TABLE `gen_table`  (
743
   `update_time` datetime NULL DEFAULT NULL COMMENT '更新时间',
835
   `update_time` datetime NULL DEFAULT NULL COMMENT '更新时间',
744
   `remark` varchar(500) CHARACTER SET utf8 COLLATE utf8_general_ci NULL DEFAULT NULL COMMENT '备注',
836
   `remark` varchar(500) CHARACTER SET utf8 COLLATE utf8_general_ci NULL DEFAULT NULL COMMENT '备注',
745
   PRIMARY KEY (`table_id`) USING BTREE
837
   PRIMARY KEY (`table_id`) USING BTREE
746
-) ENGINE = InnoDB AUTO_INCREMENT = 1 CHARACTER SET = utf8 COLLATE = utf8_general_ci COMMENT = '代码生成业务表' ROW_FORMAT = Dynamic;
838
+) ENGINE = InnoDB CHARACTER SET = utf8 COLLATE = utf8_general_ci COMMENT = '代码生成业务表' ROW_FORMAT = DYNAMIC;
839
+
840
+-- ----------------------------
841
+-- Records of gen_table
842
+-- ----------------------------
747
 
843
 
748
 -- ----------------------------
844
 -- ----------------------------
749
 -- Table structure for gen_table_column
845
 -- Table structure for gen_table_column
@@ -773,7 +869,11 @@ CREATE TABLE `gen_table_column`  (
773
   `update_by` varchar(64) CHARACTER SET utf8 COLLATE utf8_general_ci NULL DEFAULT '' COMMENT '更新者',
869
   `update_by` varchar(64) CHARACTER SET utf8 COLLATE utf8_general_ci NULL DEFAULT '' COMMENT '更新者',
774
   `update_time` datetime NULL DEFAULT NULL COMMENT '更新时间',
870
   `update_time` datetime NULL DEFAULT NULL COMMENT '更新时间',
775
   PRIMARY KEY (`column_id`) USING BTREE
871
   PRIMARY KEY (`column_id`) USING BTREE
776
-) ENGINE = InnoDB AUTO_INCREMENT = 1 CHARACTER SET = utf8 COLLATE = utf8_general_ci COMMENT = '代码生成业务表字段' ROW_FORMAT = Dynamic;
872
+) ENGINE = InnoDB CHARACTER SET = utf8 COLLATE = utf8_general_ci COMMENT = '代码生成业务表字段' ROW_FORMAT = DYNAMIC;
873
+
874
+-- ----------------------------
875
+-- Records of gen_table_column
876
+-- ----------------------------
777
 
877
 
778
 -- ----------------------------
878
 -- ----------------------------
779
 -- Table structure for sys_clinic_info
879
 -- Table structure for sys_clinic_info
@@ -784,6 +884,8 @@ CREATE TABLE `sys_clinic_info`  (
784
   `clinic_code` varchar(64) CHARACTER SET utf8mb4 COLLATE utf8mb4_general_ci NULL DEFAULT NULL COMMENT '诊所编号',
884
   `clinic_code` varchar(64) CHARACTER SET utf8mb4 COLLATE utf8mb4_general_ci NULL DEFAULT NULL COMMENT '诊所编号',
785
   `clinic_name` varchar(100) CHARACTER SET utf8mb4 COLLATE utf8mb4_general_ci NOT NULL COMMENT '诊所名称',
885
   `clinic_name` varchar(100) CHARACTER SET utf8mb4 COLLATE utf8mb4_general_ci NOT NULL COMMENT '诊所名称',
786
   `clinic_ip` varchar(20) CHARACTER SET utf8mb4 COLLATE utf8mb4_general_ci NOT NULL COMMENT '服务IP',
886
   `clinic_ip` varchar(20) CHARACTER SET utf8mb4 COLLATE utf8mb4_general_ci NOT NULL COMMENT '服务IP',
887
+  `server_post` varchar(10) CHARACTER SET utf8mb4 COLLATE utf8mb4_general_ci NOT NULL COMMENT '服务端口',
888
+  `web_socket_post` varchar(10) CHARACTER SET utf8mb4 COLLATE utf8mb4_general_ci NOT NULL COMMENT 'websocket端口',
787
   `server_user` varchar(64) CHARACTER SET utf8mb4 COLLATE utf8mb4_general_ci NOT NULL COMMENT '服务用户',
889
   `server_user` varchar(64) CHARACTER SET utf8mb4 COLLATE utf8mb4_general_ci NOT NULL COMMENT '服务用户',
788
   `server_password` varchar(64) CHARACTER SET utf8mb4 COLLATE utf8mb4_general_ci NOT NULL COMMENT '服务密码',
890
   `server_password` varchar(64) CHARACTER SET utf8mb4 COLLATE utf8mb4_general_ci NOT NULL COMMENT '服务密码',
789
   `realm_name` varchar(64) CHARACTER SET utf8mb4 COLLATE utf8mb4_general_ci NULL DEFAULT NULL COMMENT '诊所域名',
891
   `realm_name` varchar(64) CHARACTER SET utf8mb4 COLLATE utf8mb4_general_ci NULL DEFAULT NULL COMMENT '诊所域名',
@@ -807,16 +909,11 @@ CREATE TABLE `sys_clinic_info`  (
807
   `v_code` varchar(64) CHARACTER SET utf8mb4 COLLATE utf8mb4_general_ci NULL DEFAULT NULL COMMENT '履约版本MD5的编码',
909
   `v_code` varchar(64) CHARACTER SET utf8mb4 COLLATE utf8mb4_general_ci NULL DEFAULT NULL COMMENT '履约版本MD5的编码',
808
   `repair_code` varchar(64) CHARACTER SET utf8mb4 COLLATE utf8mb4_general_ci NULL DEFAULT NULL COMMENT 'bug版本MD5的编码',
910
   `repair_code` varchar(64) CHARACTER SET utf8mb4 COLLATE utf8mb4_general_ci NULL DEFAULT NULL COMMENT 'bug版本MD5的编码',
809
   PRIMARY KEY (`id`) USING BTREE
911
   PRIMARY KEY (`id`) USING BTREE
810
-) ENGINE = InnoDB CHARACTER SET = utf8mb4 COLLATE = utf8mb4_general_ci COMMENT = '诊所信息表' ROW_FORMAT = Dynamic;
912
+) ENGINE = InnoDB CHARACTER SET = utf8mb4 COLLATE = utf8mb4_general_ci COMMENT = '诊所信息表' ROW_FORMAT = DYNAMIC;
811
 
913
 
812
 -- ----------------------------
914
 -- ----------------------------
813
 -- Records of sys_clinic_info
915
 -- Records of sys_clinic_info
814
 -- ----------------------------
916
 -- ----------------------------
815
-INSERT INTO `sys_clinic_info` VALUES ('0f6337a1d89e6677d8a86da9f07b65f3', '0005', '津门第一牙', '117.9.171.201', 'root', 'guoneng123', 'www.jmdyy.com', '2024-07-01 00:00:00', '2025-07-01 00:00:00', '天津', '15677889931', '天津', NULL, NULL, 0, '2024-07-31 08:54:36', 'admin', '2024-07-31 08:54:36', 'admin', NULL, '0', '免费版', 'v1', 'v3', '5cdb8717c0d7f3f3c8d5bc3291200e1f', NULL);
816
-INSERT INTO `sys_clinic_info` VALUES ('17f30dfc52a960c2a9eb1bc375724b34', '0003', '智慧口腔小三牙医', '127.0.0.1', 'root', '123456', 'com', '2024-06-20 15:08:23', '2024-12-21 15:08:23', '天津', '12345678901', 'address', 1, 1, 0, '2024-06-20 00:00:00', 'admin', '2024-07-30 11:27:29', 'admin', NULL, 'ED39BA70-393D-4B28-ADE6-68184C0D6BAC', '基础版', 'v1', 'v2', '59a255e27266178f0d38e8738f805b90', '59a255e27266178f0d38e8738f805b90');
817
-INSERT INTO `sys_clinic_info` VALUES ('17f30dfc52a960c2a9eb1bc375724bc2', '0001', '智慧口腔小一牙医', '117.9.168.88', 'root', '123456', 'com', '2024-06-20 00:00:00', '2024-06-28 00:00:00', '天津', '15823456789', 'address', 1, 1, 0, '2024-06-20 00:00:00', 'admin', '2024-06-20 15:16:30', 'admin', NULL, 'ED39BA70-393D-4B28-ADE6-68184C0D6BAC', '基础版', 'v1', 'v1', '4bf63c523fb4a00efb2b18a218354a4cc', '4bf63c523fb4a00efb2b18a218354a4c');
818
-INSERT INTO `sys_clinic_info` VALUES ('17f30dfc52a960c2a9eb1bc375724bc6', '0002', '智慧口腔小二牙医', '192.168.3.21', 'root', '123456', 'com', '2024-06-20 15:08:23', '2024-07-31 15:08:23', '天津', '12345678901', 'address', 1, 1, 0, '2024-06-20 00:00:00', 'admin', '2024-08-02 14:02:50', '刘一', NULL, 'ED39BA70-393D-4B28-ADE6-68184C0D6BAC', '基础版', 'v1', 'v2', '9b7ccda7772b8e7f478c86472de1fb65', '2742130523ff031daf861eaa6f3be3b3');
819
-INSERT INTO `sys_clinic_info` VALUES ('17f30dfc52a960c2a9eb1bc375724bc8', '0004', '智慧口腔小三牙医', '192.168.3.142', 'root', '123456', 'com', '2024-06-20 15:08:23', '2024-12-21 15:08:23', '天津', '12345678901', 'address', 1, 1, 0, '2024-06-20 00:00:00', 'admin', '2024-08-02 14:02:33', '刘一', NULL, 'ED39BA70-393D-4B28-ADE6-68184C0D6BAC', '基础版', 'v1', 'v2', '59a255e27266178f0d38e8738f805b90', '59a255e27266178f0d38e8738f805b90');
820
 
917
 
821
 -- ----------------------------
918
 -- ----------------------------
822
 -- Table structure for sys_config
919
 -- Table structure for sys_config
@@ -834,7 +931,7 @@ CREATE TABLE `sys_config`  (
834
   `update_time` datetime NULL DEFAULT NULL COMMENT '更新时间',
931
   `update_time` datetime NULL DEFAULT NULL COMMENT '更新时间',
835
   `remark` varchar(500) CHARACTER SET utf8 COLLATE utf8_general_ci NULL DEFAULT NULL COMMENT '备注',
932
   `remark` varchar(500) CHARACTER SET utf8 COLLATE utf8_general_ci NULL DEFAULT NULL COMMENT '备注',
836
   PRIMARY KEY (`config_id`) USING BTREE
933
   PRIMARY KEY (`config_id`) USING BTREE
837
-) ENGINE = InnoDB AUTO_INCREMENT = 7 CHARACTER SET = utf8 COLLATE = utf8_general_ci COMMENT = '参数配置表' ROW_FORMAT = Dynamic;
934
+) ENGINE = InnoDB AUTO_INCREMENT = 7 CHARACTER SET = utf8 COLLATE = utf8_general_ci COMMENT = '参数配置表' ROW_FORMAT = DYNAMIC;
838
 
935
 
839
 -- ----------------------------
936
 -- ----------------------------
840
 -- Records of sys_config
937
 -- Records of sys_config
@@ -866,7 +963,7 @@ CREATE TABLE `sys_dept`  (
866
   `update_by` varchar(64) CHARACTER SET utf8 COLLATE utf8_general_ci NULL DEFAULT '' COMMENT '更新者',
963
   `update_by` varchar(64) CHARACTER SET utf8 COLLATE utf8_general_ci NULL DEFAULT '' COMMENT '更新者',
867
   `update_time` datetime NULL DEFAULT NULL COMMENT '更新时间',
964
   `update_time` datetime NULL DEFAULT NULL COMMENT '更新时间',
868
   PRIMARY KEY (`dept_id`) USING BTREE
965
   PRIMARY KEY (`dept_id`) USING BTREE
869
-) ENGINE = InnoDB AUTO_INCREMENT = 102 CHARACTER SET = utf8 COLLATE = utf8_general_ci COMMENT = '部门表(门诊-科室)' ROW_FORMAT = Dynamic;
966
+) ENGINE = InnoDB AUTO_INCREMENT = 102 CHARACTER SET = utf8 COLLATE = utf8_general_ci COMMENT = '部门表(门诊-科室)' ROW_FORMAT = DYNAMIC;
870
 
967
 
871
 -- ----------------------------
968
 -- ----------------------------
872
 -- Records of sys_dept
969
 -- Records of sys_dept
@@ -894,7 +991,7 @@ CREATE TABLE `sys_dict_data`  (
894
   `update_time` datetime NULL DEFAULT NULL COMMENT '更新时间',
991
   `update_time` datetime NULL DEFAULT NULL COMMENT '更新时间',
895
   `remark` varchar(500) CHARACTER SET utf8 COLLATE utf8_general_ci NULL DEFAULT NULL COMMENT '备注',
992
   `remark` varchar(500) CHARACTER SET utf8 COLLATE utf8_general_ci NULL DEFAULT NULL COMMENT '备注',
896
   PRIMARY KEY (`dict_code`) USING BTREE
993
   PRIMARY KEY (`dict_code`) USING BTREE
897
-) ENGINE = InnoDB AUTO_INCREMENT = 160 CHARACTER SET = utf8 COLLATE = utf8_general_ci COMMENT = '字典数据表' ROW_FORMAT = Dynamic;
994
+) ENGINE = InnoDB AUTO_INCREMENT = 160 CHARACTER SET = utf8 COLLATE = utf8_general_ci COMMENT = '字典数据表' ROW_FORMAT = DYNAMIC;
898
 
995
 
899
 -- ----------------------------
996
 -- ----------------------------
900
 -- Records of sys_dict_data
997
 -- Records of sys_dict_data
@@ -982,7 +1079,7 @@ CREATE TABLE `sys_dict_type`  (
982
   `remark` varchar(500) CHARACTER SET utf8 COLLATE utf8_general_ci NULL DEFAULT NULL COMMENT '备注',
1079
   `remark` varchar(500) CHARACTER SET utf8 COLLATE utf8_general_ci NULL DEFAULT NULL COMMENT '备注',
983
   PRIMARY KEY (`dict_id`) USING BTREE,
1080
   PRIMARY KEY (`dict_id`) USING BTREE,
984
   UNIQUE INDEX `dict_type`(`dict_type` ASC) USING BTREE
1081
   UNIQUE INDEX `dict_type`(`dict_type` ASC) USING BTREE
985
-) ENGINE = InnoDB AUTO_INCREMENT = 115 CHARACTER SET = utf8 COLLATE = utf8_general_ci COMMENT = '字典类型表' ROW_FORMAT = Dynamic;
1082
+) ENGINE = InnoDB AUTO_INCREMENT = 115 CHARACTER SET = utf8 COLLATE = utf8_general_ci COMMENT = '字典类型表' ROW_FORMAT = DYNAMIC;
986
 
1083
 
987
 -- ----------------------------
1084
 -- ----------------------------
988
 -- Records of sys_dict_type
1085
 -- Records of sys_dict_type
@@ -1025,7 +1122,7 @@ CREATE TABLE `sys_job`  (
1025
   `update_time` datetime NULL DEFAULT NULL COMMENT '更新时间',
1122
   `update_time` datetime NULL DEFAULT NULL COMMENT '更新时间',
1026
   `remark` varchar(500) CHARACTER SET utf8 COLLATE utf8_general_ci NULL DEFAULT '' COMMENT '备注信息',
1123
   `remark` varchar(500) CHARACTER SET utf8 COLLATE utf8_general_ci NULL DEFAULT '' COMMENT '备注信息',
1027
   PRIMARY KEY (`job_id`, `job_name`, `job_group`) USING BTREE
1124
   PRIMARY KEY (`job_id`, `job_name`, `job_group`) USING BTREE
1028
-) ENGINE = InnoDB AUTO_INCREMENT = 4 CHARACTER SET = utf8 COLLATE = utf8_general_ci COMMENT = '定时任务调度表' ROW_FORMAT = Dynamic;
1125
+) ENGINE = InnoDB AUTO_INCREMENT = 4 CHARACTER SET = utf8 COLLATE = utf8_general_ci COMMENT = '定时任务调度表' ROW_FORMAT = DYNAMIC;
1029
 
1126
 
1030
 -- ----------------------------
1127
 -- ----------------------------
1031
 -- Records of sys_job
1128
 -- Records of sys_job
@@ -1048,7 +1145,11 @@ CREATE TABLE `sys_job_log`  (
1048
   `exception_info` varchar(2000) CHARACTER SET utf8 COLLATE utf8_general_ci NULL DEFAULT '' COMMENT '异常信息',
1145
   `exception_info` varchar(2000) CHARACTER SET utf8 COLLATE utf8_general_ci NULL DEFAULT '' COMMENT '异常信息',
1049
   `create_time` datetime NULL DEFAULT NULL COMMENT '创建时间',
1146
   `create_time` datetime NULL DEFAULT NULL COMMENT '创建时间',
1050
   PRIMARY KEY (`job_log_id`) USING BTREE
1147
   PRIMARY KEY (`job_log_id`) USING BTREE
1051
-) ENGINE = InnoDB AUTO_INCREMENT = 1 CHARACTER SET = utf8 COLLATE = utf8_general_ci COMMENT = '定时任务调度日志表' ROW_FORMAT = Dynamic;
1148
+) ENGINE = InnoDB CHARACTER SET = utf8 COLLATE = utf8_general_ci COMMENT = '定时任务调度日志表' ROW_FORMAT = DYNAMIC;
1149
+
1150
+-- ----------------------------
1151
+-- Records of sys_job_log
1152
+-- ----------------------------
1052
 
1153
 
1053
 -- ----------------------------
1154
 -- ----------------------------
1054
 -- Table structure for sys_logininfor
1155
 -- Table structure for sys_logininfor
@@ -1067,7 +1168,11 @@ CREATE TABLE `sys_logininfor`  (
1067
   PRIMARY KEY (`info_id`) USING BTREE,
1168
   PRIMARY KEY (`info_id`) USING BTREE,
1068
   INDEX `idx_sys_logininfor_s`(`status` ASC) USING BTREE,
1169
   INDEX `idx_sys_logininfor_s`(`status` ASC) USING BTREE,
1069
   INDEX `idx_sys_logininfor_lt`(`login_time` ASC) USING BTREE
1170
   INDEX `idx_sys_logininfor_lt`(`login_time` ASC) USING BTREE
1070
-) ENGINE = InnoDB AUTO_INCREMENT = 1 CHARACTER SET = utf8 COLLATE = utf8_general_ci COMMENT = '系统访问记录' ROW_FORMAT = Dynamic;
1171
+) ENGINE = InnoDB CHARACTER SET = utf8 COLLATE = utf8_general_ci COMMENT = '系统访问记录' ROW_FORMAT = DYNAMIC;
1172
+
1173
+-- ----------------------------
1174
+-- Records of sys_logininfor
1175
+-- ----------------------------
1071
 
1176
 
1072
 -- ----------------------------
1177
 -- ----------------------------
1073
 -- Table structure for sys_menu
1178
 -- Table structure for sys_menu
@@ -1094,7 +1199,7 @@ CREATE TABLE `sys_menu`  (
1094
   `update_time` datetime NULL DEFAULT NULL COMMENT '更新时间',
1199
   `update_time` datetime NULL DEFAULT NULL COMMENT '更新时间',
1095
   `remark` varchar(500) CHARACTER SET utf8 COLLATE utf8_general_ci NULL DEFAULT '' COMMENT '备注',
1200
   `remark` varchar(500) CHARACTER SET utf8 COLLATE utf8_general_ci NULL DEFAULT '' COMMENT '备注',
1096
   PRIMARY KEY (`menu_id`) USING BTREE
1201
   PRIMARY KEY (`menu_id`) USING BTREE
1097
-) ENGINE = InnoDB AUTO_INCREMENT = 2019 CHARACTER SET = utf8 COLLATE = utf8_general_ci COMMENT = '菜单权限表' ROW_FORMAT = Dynamic;
1202
+) ENGINE = InnoDB AUTO_INCREMENT = 2019 CHARACTER SET = utf8 COLLATE = utf8_general_ci COMMENT = '菜单权限表' ROW_FORMAT = DYNAMIC;
1098
 
1203
 
1099
 -- ----------------------------
1204
 -- ----------------------------
1100
 -- Records of sys_menu
1205
 -- Records of sys_menu
@@ -1198,7 +1303,7 @@ INSERT INTO `sys_menu` VALUES (2013, '就诊记录', 0, 2, '/medicalRecords', 'm
1198
 INSERT INTO `sys_menu` VALUES (2014, '收费分类', 2007, 8, 'feeClassification', 'settingsPage/feeClassification/index', NULL, 1, 0, 'C', '0', '0', '', '#', 'admin', '2024-07-22 09:56:37', 'admin', '2024-07-22 10:03:07', '');
1303
 INSERT INTO `sys_menu` VALUES (2014, '收费分类', 2007, 8, 'feeClassification', 'settingsPage/feeClassification/index', NULL, 1, 0, 'C', '0', '0', '', '#', 'admin', '2024-07-22 09:56:37', 'admin', '2024-07-22 10:03:07', '');
1199
 INSERT INTO `sys_menu` VALUES (2015, '患者收费分类', 2007, 9, 'patientFees', 'settingsPage/patientFees/index', NULL, 1, 0, 'C', '0', '0', NULL, '#', 'admin', '2024-07-22 16:21:40', '', NULL, '');
1304
 INSERT INTO `sys_menu` VALUES (2015, '患者收费分类', 2007, 9, 'patientFees', 'settingsPage/patientFees/index', NULL, 1, 0, 'C', '0', '0', NULL, '#', 'admin', '2024-07-22 16:21:40', '', NULL, '');
1200
 INSERT INTO `sys_menu` VALUES (2016, '运营分析', 0, 6, '/operationsAnalysis', 'operationsAnalysis/index', NULL, 1, 0, 'C', '0', '0', NULL, 'server', 'admin', '2024-07-25 15:16:05', '', NULL, '');
1305
 INSERT INTO `sys_menu` VALUES (2016, '运营分析', 0, 6, '/operationsAnalysis', 'operationsAnalysis/index', NULL, 1, 0, 'C', '0', '0', NULL, 'server', 'admin', '2024-07-25 15:16:05', '', NULL, '');
1201
-INSERT INTO `sys_menu` VALUES (2017, '诊所维护', 2007, 40, 'clinicMaintenance', 'settingsPage/clinicMaintenance/index', NULL, 1, 0, 'C', '0', '0', '', '#', 'admin', '2024-07-30 09:08:55', 'admin', '2024-07-30 09:10:04', '');
1306
+INSERT INTO `sys_menu` VALUES (2017, '诊所维护', 1, 40, 'clinicMaintenance', 'settingsPage/clinicMaintenance/index', NULL, 1, 0, 'C', '0', '0', '', '#', 'admin', '2024-07-30 09:08:55', 'admin', '2024-08-09 14:33:37', '');
1202
 INSERT INTO `sys_menu` VALUES (2018, '公告管理', 2007, 50, 'announcements', 'settingsPage/announcements/index', NULL, 1, 0, 'C', '0', '0', NULL, '#', 'admin', '2024-07-30 14:39:33', '', NULL, '');
1307
 INSERT INTO `sys_menu` VALUES (2018, '公告管理', 2007, 50, 'announcements', 'settingsPage/announcements/index', NULL, 1, 0, 'C', '0', '0', NULL, '#', 'admin', '2024-07-30 14:39:33', '', NULL, '');
1203
 
1308
 
1204
 -- ----------------------------
1309
 -- ----------------------------
@@ -1217,7 +1322,11 @@ CREATE TABLE `sys_notice`  (
1217
   `update_time` datetime NULL DEFAULT NULL COMMENT '更新时间',
1322
   `update_time` datetime NULL DEFAULT NULL COMMENT '更新时间',
1218
   `remark` varchar(255) CHARACTER SET utf8 COLLATE utf8_general_ci NULL DEFAULT NULL COMMENT '备注',
1323
   `remark` varchar(255) CHARACTER SET utf8 COLLATE utf8_general_ci NULL DEFAULT NULL COMMENT '备注',
1219
   PRIMARY KEY (`notice_id`) USING BTREE
1324
   PRIMARY KEY (`notice_id`) USING BTREE
1220
-) ENGINE = InnoDB AUTO_INCREMENT = 1 CHARACTER SET = utf8 COLLATE = utf8_general_ci COMMENT = '通知公告表' ROW_FORMAT = Dynamic;
1325
+) ENGINE = InnoDB CHARACTER SET = utf8 COLLATE = utf8_general_ci COMMENT = '通知公告表' ROW_FORMAT = DYNAMIC;
1326
+
1327
+-- ----------------------------
1328
+-- Records of sys_notice
1329
+-- ----------------------------
1221
 
1330
 
1222
 -- ----------------------------
1331
 -- ----------------------------
1223
 -- Table structure for sys_oper_log
1332
 -- Table structure for sys_oper_log
@@ -1245,7 +1354,11 @@ CREATE TABLE `sys_oper_log`  (
1245
   INDEX `idx_sys_oper_log_bt`(`business_type` ASC) USING BTREE,
1354
   INDEX `idx_sys_oper_log_bt`(`business_type` ASC) USING BTREE,
1246
   INDEX `idx_sys_oper_log_s`(`status` ASC) USING BTREE,
1355
   INDEX `idx_sys_oper_log_s`(`status` ASC) USING BTREE,
1247
   INDEX `idx_sys_oper_log_ot`(`oper_time` ASC) USING BTREE
1356
   INDEX `idx_sys_oper_log_ot`(`oper_time` ASC) USING BTREE
1248
-) ENGINE = InnoDB AUTO_INCREMENT = 1 CHARACTER SET = utf8 COLLATE = utf8_general_ci COMMENT = '操作日志记录' ROW_FORMAT = Dynamic;
1357
+) ENGINE = InnoDB CHARACTER SET = utf8 COLLATE = utf8_general_ci COMMENT = '操作日志记录' ROW_FORMAT = DYNAMIC;
1358
+
1359
+-- ----------------------------
1360
+-- Records of sys_oper_log
1361
+-- ----------------------------
1249
 
1362
 
1250
 -- ----------------------------
1363
 -- ----------------------------
1251
 -- Table structure for sys_post
1364
 -- Table structure for sys_post
@@ -1263,7 +1376,7 @@ CREATE TABLE `sys_post`  (
1263
   `update_time` datetime NULL DEFAULT NULL COMMENT '更新时间',
1376
   `update_time` datetime NULL DEFAULT NULL COMMENT '更新时间',
1264
   `remark` varchar(500) CHARACTER SET utf8 COLLATE utf8_general_ci NULL DEFAULT NULL COMMENT '备注',
1377
   `remark` varchar(500) CHARACTER SET utf8 COLLATE utf8_general_ci NULL DEFAULT NULL COMMENT '备注',
1265
   PRIMARY KEY (`post_id`) USING BTREE
1378
   PRIMARY KEY (`post_id`) USING BTREE
1266
-) ENGINE = InnoDB AUTO_INCREMENT = 2 CHARACTER SET = utf8 COLLATE = utf8_general_ci COMMENT = '岗位信息表' ROW_FORMAT = Dynamic;
1379
+) ENGINE = InnoDB AUTO_INCREMENT = 2 CHARACTER SET = utf8 COLLATE = utf8_general_ci COMMENT = '岗位信息表' ROW_FORMAT = DYNAMIC;
1267
 
1380
 
1268
 -- ----------------------------
1381
 -- ----------------------------
1269
 -- Records of sys_post
1382
 -- Records of sys_post
@@ -1290,7 +1403,7 @@ CREATE TABLE `sys_role`  (
1290
   `update_time` datetime NULL DEFAULT NULL COMMENT '更新时间',
1403
   `update_time` datetime NULL DEFAULT NULL COMMENT '更新时间',
1291
   `remark` varchar(500) CHARACTER SET utf8 COLLATE utf8_general_ci NULL DEFAULT NULL COMMENT '备注',
1404
   `remark` varchar(500) CHARACTER SET utf8 COLLATE utf8_general_ci NULL DEFAULT NULL COMMENT '备注',
1292
   PRIMARY KEY (`role_id`) USING BTREE
1405
   PRIMARY KEY (`role_id`) USING BTREE
1293
-) ENGINE = InnoDB AUTO_INCREMENT = 101 CHARACTER SET = utf8 COLLATE = utf8_general_ci COMMENT = '角色信息表' ROW_FORMAT = Dynamic;
1406
+) ENGINE = InnoDB AUTO_INCREMENT = 101 CHARACTER SET = utf8 COLLATE = utf8_general_ci COMMENT = '角色信息表' ROW_FORMAT = DYNAMIC;
1294
 
1407
 
1295
 -- ----------------------------
1408
 -- ----------------------------
1296
 -- Records of sys_role
1409
 -- Records of sys_role
@@ -1305,7 +1418,11 @@ CREATE TABLE `sys_role_dept`  (
1305
   `role_id` bigint NOT NULL COMMENT '角色ID',
1418
   `role_id` bigint NOT NULL COMMENT '角色ID',
1306
   `dept_id` bigint NOT NULL COMMENT '部门ID',
1419
   `dept_id` bigint NOT NULL COMMENT '部门ID',
1307
   PRIMARY KEY (`role_id`, `dept_id`) USING BTREE
1420
   PRIMARY KEY (`role_id`, `dept_id`) USING BTREE
1308
-) ENGINE = InnoDB CHARACTER SET = utf8 COLLATE = utf8_general_ci COMMENT = '角色和部门关联表' ROW_FORMAT = Dynamic;
1421
+) ENGINE = InnoDB CHARACTER SET = utf8 COLLATE = utf8_general_ci COMMENT = '角色和部门关联表' ROW_FORMAT = DYNAMIC;
1422
+
1423
+-- ----------------------------
1424
+-- Records of sys_role_dept
1425
+-- ----------------------------
1309
 
1426
 
1310
 -- ----------------------------
1427
 -- ----------------------------
1311
 -- Table structure for sys_role_menu
1428
 -- Table structure for sys_role_menu
@@ -1315,7 +1432,11 @@ CREATE TABLE `sys_role_menu`  (
1315
   `role_id` bigint NOT NULL COMMENT '角色ID',
1432
   `role_id` bigint NOT NULL COMMENT '角色ID',
1316
   `menu_id` bigint NOT NULL COMMENT '菜单ID',
1433
   `menu_id` bigint NOT NULL COMMENT '菜单ID',
1317
   PRIMARY KEY (`role_id`, `menu_id`) USING BTREE
1434
   PRIMARY KEY (`role_id`, `menu_id`) USING BTREE
1318
-) ENGINE = InnoDB CHARACTER SET = utf8 COLLATE = utf8_general_ci COMMENT = '角色和菜单关联表' ROW_FORMAT = Dynamic;
1435
+) ENGINE = InnoDB CHARACTER SET = utf8 COLLATE = utf8_general_ci COMMENT = '角色和菜单关联表' ROW_FORMAT = DYNAMIC;
1436
+
1437
+-- ----------------------------
1438
+-- Records of sys_role_menu
1439
+-- ----------------------------
1319
 
1440
 
1320
 -- ----------------------------
1441
 -- ----------------------------
1321
 -- Table structure for sys_user
1442
 -- Table structure for sys_user
@@ -1349,7 +1470,7 @@ CREATE TABLE `sys_user`  (
1349
   `doctor_proficient` varchar(500) CHARACTER SET utf8 COLLATE utf8_general_ci NULL DEFAULT NULL COMMENT '医生擅长',
1470
   `doctor_proficient` varchar(500) CHARACTER SET utf8 COLLATE utf8_general_ci NULL DEFAULT NULL COMMENT '医生擅长',
1350
   `doctor_blurb` varchar(1000) CHARACTER SET utf8 COLLATE utf8_general_ci NULL DEFAULT NULL COMMENT '医生简介',
1471
   `doctor_blurb` varchar(1000) CHARACTER SET utf8 COLLATE utf8_general_ci NULL DEFAULT NULL COMMENT '医生简介',
1351
   PRIMARY KEY (`user_id`) USING BTREE
1472
   PRIMARY KEY (`user_id`) USING BTREE
1352
-) ENGINE = InnoDB AUTO_INCREMENT = 101 CHARACTER SET = utf8 COLLATE = utf8_general_ci COMMENT = '用户信息表' ROW_FORMAT = Dynamic;
1473
+) ENGINE = InnoDB AUTO_INCREMENT = 101 CHARACTER SET = utf8 COLLATE = utf8_general_ci COMMENT = '用户信息表' ROW_FORMAT = DYNAMIC;
1353
 
1474
 
1354
 -- ----------------------------
1475
 -- ----------------------------
1355
 -- Records of sys_user
1476
 -- Records of sys_user
@@ -1364,7 +1485,7 @@ CREATE TABLE `sys_user_post`  (
1364
   `user_id` bigint NOT NULL COMMENT '用户ID',
1485
   `user_id` bigint NOT NULL COMMENT '用户ID',
1365
   `post_id` bigint NOT NULL COMMENT '岗位ID',
1486
   `post_id` bigint NOT NULL COMMENT '岗位ID',
1366
   PRIMARY KEY (`user_id`, `post_id`) USING BTREE
1487
   PRIMARY KEY (`user_id`, `post_id`) USING BTREE
1367
-) ENGINE = InnoDB CHARACTER SET = utf8 COLLATE = utf8_general_ci COMMENT = '用户与岗位关联表' ROW_FORMAT = Dynamic;
1488
+) ENGINE = InnoDB CHARACTER SET = utf8 COLLATE = utf8_general_ci COMMENT = '用户与岗位关联表' ROW_FORMAT = DYNAMIC;
1368
 
1489
 
1369
 -- ----------------------------
1490
 -- ----------------------------
1370
 -- Records of sys_user_post
1491
 -- Records of sys_user_post
@@ -1379,7 +1500,7 @@ CREATE TABLE `sys_user_role`  (
1379
   `user_id` bigint NOT NULL COMMENT '用户ID',
1500
   `user_id` bigint NOT NULL COMMENT '用户ID',
1380
   `role_id` bigint NOT NULL COMMENT '角色ID',
1501
   `role_id` bigint NOT NULL COMMENT '角色ID',
1381
   PRIMARY KEY (`user_id`, `role_id`) USING BTREE
1502
   PRIMARY KEY (`user_id`, `role_id`) USING BTREE
1382
-) ENGINE = InnoDB CHARACTER SET = utf8 COLLATE = utf8_general_ci COMMENT = '用户和角色关联表' ROW_FORMAT = Dynamic;
1503
+) ENGINE = InnoDB CHARACTER SET = utf8 COLLATE = utf8_general_ci COMMENT = '用户和角色关联表' ROW_FORMAT = DYNAMIC;
1383
 
1504
 
1384
 -- ----------------------------
1505
 -- ----------------------------
1385
 -- Records of sys_user_role
1506
 -- Records of sys_user_role