From 519533abb5c0acefea34a66b24187d5030a08591 Mon Sep 17 00:00:00 2001 From: xueqingkun Date: Thu, 1 Feb 2024 10:01:11 +0800 Subject: [PATCH] =?UTF-8?q?model=20=EF=BC=9Avp=5Fmedical=5Frec=20=E6=B7=BB?= =?UTF-8?q?=E5=8A=A0=E6=95=B0=E5=AD=97=E4=BA=BA=E7=B1=BB=E5=9E=8B=E5=AD=97?= =?UTF-8?q?=E6=AE=B5?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .../src/main/java/com/supervision/model/MedicalRec.java | 5 +++++ .../src/main/resources/mapper/MedicalRecMapper.xml | 3 ++- virtual-patient-web/src/main/resources/sqlScript/todo.sql | 5 ++++- 3 files changed, 11 insertions(+), 2 deletions(-) diff --git a/virtual-patient-model/src/main/java/com/supervision/model/MedicalRec.java b/virtual-patient-model/src/main/java/com/supervision/model/MedicalRec.java index 827e77d0..da269d00 100644 --- a/virtual-patient-model/src/main/java/com/supervision/model/MedicalRec.java +++ b/virtual-patient-model/src/main/java/com/supervision/model/MedicalRec.java @@ -37,6 +37,11 @@ public class MedicalRec extends Model implements Serializable { */ private String patientHeadPic; + /** + * 数字人类型 0:离线数字人 1:在线数字人 + */ + private String digitalHumanType; + /** * 姓名 */ diff --git a/virtual-patient-model/src/main/resources/mapper/MedicalRecMapper.xml b/virtual-patient-model/src/main/resources/mapper/MedicalRecMapper.xml index 32284557..972fb6fb 100644 --- a/virtual-patient-model/src/main/resources/mapper/MedicalRecMapper.xml +++ b/virtual-patient-model/src/main/resources/mapper/MedicalRecMapper.xml @@ -9,6 +9,7 @@ + @@ -34,7 +35,7 @@ - id,no,patient_id,patient_head_pic, + id,no,patient_id,patient_head_pic,digital_human_type, patient_name,patient_gender,patient_age, patient_marriage,patient_profession,patient_phone, native_place,patient_nation,patient_postcode, diff --git a/virtual-patient-web/src/main/resources/sqlScript/todo.sql b/virtual-patient-web/src/main/resources/sqlScript/todo.sql index 8c4f2f17..5ced5bce 100644 --- a/virtual-patient-web/src/main/resources/sqlScript/todo.sql +++ b/virtual-patient-web/src/main/resources/sqlScript/todo.sql @@ -102,4 +102,7 @@ create table vp_directory_info -- 添加头像字段 alter table vp_medical_rec - add patient_head_pic varchar(64) null comment '病人头像 对应vp_file_resource表的id' after patient_name; \ No newline at end of file + 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