From 764ef451b6c25e176f88a067bb348459a1b5e27d Mon Sep 17 00:00:00 2001 From: xueqingkun Date: Thu, 1 Feb 2024 10:17:05 +0800 Subject: [PATCH] =?UTF-8?q?model=20=EF=BC=9Avp=5Fmaterial=5Flibrary=20?= =?UTF-8?q?=E6=B7=BB=E5=8A=A0=E7=B4=A0=E6=9D=90=E6=8F=8F=E8=BF=B0=E5=AD=97?= =?UTF-8?q?=E6=AE=B5?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .../main/java/com/supervision/model/MaterialLibrary.java | 3 +++ .../src/main/resources/mapper/MaterialLibraryMapper.xml | 3 ++- virtual-patient-web/src/main/resources/sqlScript/todo.sql | 6 +++++- 3 files changed, 10 insertions(+), 2 deletions(-) diff --git a/virtual-patient-model/src/main/java/com/supervision/model/MaterialLibrary.java b/virtual-patient-model/src/main/java/com/supervision/model/MaterialLibrary.java index 1e0146c0..e0d735da 100644 --- a/virtual-patient-model/src/main/java/com/supervision/model/MaterialLibrary.java +++ b/virtual-patient-model/src/main/java/com/supervision/model/MaterialLibrary.java @@ -39,6 +39,9 @@ public class MaterialLibrary implements Serializable { @ApiModelProperty("目录id") private String directoryId; + @ApiModelProperty("素材描述") + private String materialDesc; + /** * 创建人ID */ diff --git a/virtual-patient-model/src/main/resources/mapper/MaterialLibraryMapper.xml b/virtual-patient-model/src/main/resources/mapper/MaterialLibraryMapper.xml index d4ba7726..47013126 100644 --- a/virtual-patient-model/src/main/resources/mapper/MaterialLibraryMapper.xml +++ b/virtual-patient-model/src/main/resources/mapper/MaterialLibraryMapper.xml @@ -10,6 +10,7 @@ + @@ -18,7 +19,7 @@ id,file_resource_id,material_name, - material_type,directory_id,create_user_id,create_time, + material_type,directory_id,material_desc,create_user_id,create_time, update_user_id,update_time diff --git a/virtual-patient-web/src/main/resources/sqlScript/todo.sql b/virtual-patient-web/src/main/resources/sqlScript/todo.sql index 5ced5bce..4033a93c 100644 --- a/virtual-patient-web/src/main/resources/sqlScript/todo.sql +++ b/virtual-patient-web/src/main/resources/sqlScript/todo.sql @@ -105,4 +105,8 @@ alter table vp_medical_rec add patient_head_pic varchar(64) null comment '病人头像 对应vp_file_resource表的id' after patient_name; -- 添加数字人类型 alter table vp_medical_rec - add digital_human_type varchar(16) null comment '数字人类型 0:离线数字人 1:在线数字人' after patient_name; \ No newline at end of file + add digital_human_type varchar(16) null comment '数字人类型 0:离线数字人 1:在线数字人' after patient_name; + +-- 添加素材说明 +alter table vp_material_library + add material_desc varchar(512) null comment '素材说明' after directory_id; \ No newline at end of file