1: process、medical_rec 增加 humanId字段

dev_3.1.0
xueqingkun
parent 84c7423965
commit c67a3c8173

@ -113,4 +113,10 @@ create table vp_medical_rec_treatment_plan_drug
update_time datetime default CURRENT_TIMESTAMP null on update CURRENT_TIMESTAMP comment '更新时间'
)
comment '病历处置计划药物关联表' collate = utf8mb4_bin
row_format = DYNAMIC;
row_format = DYNAMIC;
alter table vp_medical_rec
add human_id varchar(64) null comment '数字人id' after patient_id;
alter table vp_process
add human_id varchar(64) null comment '数字人id' after patient_id;

@ -30,6 +30,9 @@ public class MedicalRec extends Model<MedicalRec> implements Serializable {
*/
private String no;
@Schema(description = "数字人id")
private String humanId;
/**
* 0 1: 3
*/

@ -30,6 +30,9 @@ public class Process implements Serializable {
@Schema(description = "病人ID")
private String patientId;
@Schema(description = "数字人id")
private String humanId;
@Schema(description = "病历ID")
private String medicalRecId;

@ -7,6 +7,7 @@
<resultMap id="BaseResultMap" type="com.supervision.model.MedicalRec">
<id property="id" column="id" jdbcType="VARCHAR"/>
<result property="no" column="no" jdbcType="VARCHAR"/>
<result property="humanId" column="human_id" jdbcType="VARCHAR"/>
<result property="medicalType" column="medical_type" jdbcType="VARCHAR"/>
<result property="patientId" column="patient_id" jdbcType="VARCHAR"/>
<result property="patientHeadPic" column="patient_head_pic" jdbcType="VARCHAR"/>
@ -39,7 +40,7 @@
</resultMap>
<sql id="Base_Column_List">
id,no,medical_type,patient_id,patient_head_pic,digital_human_type,
id,no,medical_type, human_id, 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,

@ -7,6 +7,7 @@
<resultMap id="BaseResultMap" type="com.supervision.model.Process">
<id property="id" column="id" jdbcType="VARCHAR"/>
<result property="patientId" column="patient_id" jdbcType="VARCHAR"/>
<result property="humanId" column="human_id" jdbcType="VARCHAR"/>
<result property="medicalRecId" column="medical_rec_id" jdbcType="VARCHAR"/>
<result property="userId" column="user_id" jdbcType="VARCHAR"/>
<result property="graphId" column="graph_id" jdbcType="VARCHAR"/>
@ -24,7 +25,7 @@
</resultMap>
<sql id="Base_Column_List">
id,process_no,patient_id,user_id,status,process_type,
id,process_no,patient_id,human_id,user_id,status,process_type,
finish_ask_time,graph_id,delete_flag,
create_user_id,create_time,update_user_id,update_time
</sql>

Loading…
Cancel
Save