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<MedicalRec> 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 @@ <result property="no" column="no" jdbcType="VARCHAR"/> <result property="patientId" column="patient_id" jdbcType="VARCHAR"/> <result property="patientHeadPic" column="patient_head_pic" jdbcType="VARCHAR"/> + <result property="digitalHumanType" column="digital_human_type" jdbcType="VARCHAR"/> <result property="patientName" column="patient_name" jdbcType="VARCHAR"/> <result property="patientGender" column="patient_gender" jdbcType="VARCHAR"/> <result property="patientAge" column="patient_age" jdbcType="INTEGER"/> @@ -34,7 +35,7 @@ </resultMap> <sql id="Base_Column_List"> - 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