1: 病历添加medical_type字段

dev_3.1.0
xueqingkun 1 year ago
parent ca28a0aab0
commit 3913da93bd

@ -27,3 +27,6 @@ create table vp_medical_extend_item
update_time datetime default CURRENT_TIMESTAMP null comment '更新时间' update_time datetime default CURRENT_TIMESTAMP null comment '更新时间'
) )
comment '病历扩展项' charset = utf8 row_format = DYNAMIC; comment '病历扩展项' charset = utf8 row_format = DYNAMIC;
alter table vp_medical_rec
add medical_type integer null comment '病历类型 0普通型 1:学习型 3考核型' after no;

@ -30,6 +30,11 @@ public class MedicalRec extends Model<MedicalRec> implements Serializable {
*/ */
private String no; private String no;
/**
* 0 1: 3
*/
private Integer medicalType;
/** /**
* *
*/ */

@ -7,6 +7,7 @@
<resultMap id="BaseResultMap" type="com.supervision.model.MedicalRec"> <resultMap id="BaseResultMap" type="com.supervision.model.MedicalRec">
<id property="id" column="id" jdbcType="VARCHAR"/> <id property="id" column="id" jdbcType="VARCHAR"/>
<result property="no" column="no" jdbcType="VARCHAR"/> <result property="no" column="no" jdbcType="VARCHAR"/>
<result property="medicalType" column="medical_type" jdbcType="VARCHAR"/>
<result property="patientId" column="patient_id" jdbcType="VARCHAR"/> <result property="patientId" column="patient_id" jdbcType="VARCHAR"/>
<result property="patientHeadPic" column="patient_head_pic" jdbcType="VARCHAR"/> <result property="patientHeadPic" column="patient_head_pic" jdbcType="VARCHAR"/>
<result property="digitalHumanType" column="digital_human_type" jdbcType="INTEGER"/> <result property="digitalHumanType" column="digital_human_type" jdbcType="INTEGER"/>
@ -37,7 +38,7 @@
</resultMap> </resultMap>
<sql id="Base_Column_List"> <sql id="Base_Column_List">
id,no,patient_id,patient_head_pic,digital_human_type, id,no,medical_type,patient_id,patient_head_pic,digital_human_type,
patient_name,patient_gender,patient_age, patient_name,patient_gender,patient_age,
patient_marriage,patient_profession,patient_phone, patient_marriage,patient_profession,patient_phone,
native_place,patient_nation,patient_postcode, native_place,patient_nation,patient_postcode,

Loading…
Cancel
Save