From 376f319d1d1e5a9f8dac61eca35581749730f896 Mon Sep 17 00:00:00 2001 From: liu Date: Thu, 20 Jun 2024 15:24:39 +0800 Subject: [PATCH] =?UTF-8?q?=E6=8F=90=E4=BA=A4SQL?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- docker/v3.1.0/step1.sql | 33 ++++++++++++++++++++++++--------- docker/v3.1.0/发布说明.md | 10 ++++++++++ 2 files changed, 34 insertions(+), 9 deletions(-) create mode 100644 docker/v3.1.0/发布说明.md diff --git a/docker/v3.1.0/step1.sql b/docker/v3.1.0/step1.sql index 43f866b6..45e28688 100644 --- a/docker/v3.1.0/step1.sql +++ b/docker/v3.1.0/step1.sql @@ -101,20 +101,35 @@ create table vp_medical_rec_treatment_plan -- 病历处置计划药物关联表 create table vp_medical_rec_treatment_plan_drug ( - id varchar(64) not null comment '主键id' + id varchar(64) not null comment '主键id' primary key, - medical_rec_id varchar(64) not null comment '病历id', - treatment_plan_id varchar(64) not null comment '处置计划id', - medical_rec_treatment_plan_id varchar(64) null comment '疾病处置计划id;关联vp_medical_rec_treatment_plan的主键id', - drug_id varchar(64) not null comment '药品id', - create_user_id varchar(64) null comment '创建人id', + medical_rec_id varchar(64) not null comment '病历id', + treatment_plan_id varchar(64) not null comment '处置计划id', + medical_rec_treatment_plan_id varchar(64) null comment '疾病处置计划id;关联vp_medical_rec_treatment_plan的主键id', + drug_id varchar(64) not null comment '药品id', + create_user_id varchar(64) null comment '创建人id', create_time datetime default CURRENT_TIMESTAMP null comment '创建时间', - update_user_id varchar(64) null comment '更新人', + update_user_id varchar(64) null comment '更新人', update_time datetime default CURRENT_TIMESTAMP null on update CURRENT_TIMESTAMP comment '更新时间' -) - comment '病历处置计划药物关联表' collate = utf8mb4_bin +) comment '病历处置计划药物关联表' collate = utf8mb4_bin row_format = DYNAMIC; +create table vp_human +( + id varchar(64) not null comment '主键', + image_file_id varchar(64) null comment '静态图片ID', + silent_video_file_id varchar(64) null comment '静态图片ID', + silent_task_uid varchar(64) null comment '提交生成的UID标识', + dynamic_video_file_id varchar(64) null comment '动态视频ID', + dynamic_task_uid varchar(64) null comment '动态视频生成UID标识', + create_user_id varchar(64) null comment '创建人ID', + create_time timestamp default current_timestamp null comment '创建时间', + update_user_id varchar(64) null comment '更新人ID', + update_time datetime default current_timestamp null on update current_timestamp comment '更新时间', + constraint vp_human_pk + primary key (id) +) comment '数字人表' collate = utf8mb4_bin row_format = DYNAMIC; + alter table vp_medical_rec add human_id varchar(64) null comment '数字人id' after patient_id; diff --git a/docker/v3.1.0/发布说明.md b/docker/v3.1.0/发布说明.md new file mode 100644 index 00000000..dc8cd468 --- /dev/null +++ b/docker/v3.1.0/发布说明.md @@ -0,0 +1,10 @@ +1. virtual-patient-manage配置文件增加配置 + +```yml +# 数字人生成的地址 +humanGenerate: + baseUrl: http://192.168.10.70:6711 + silent: /silent-video + dynamic: /dynamic-video + status: /status/{uid} +``` \ No newline at end of file