manage : vp_medical_rec 添加头像字段

dev_2.1.0
xueqingkun 1 year ago
parent 50f4c60c24
commit c6f1b25fae

@ -32,6 +32,11 @@ public class MedicalRec extends Model<MedicalRec> implements Serializable {
*/ */
private String no; private String no;
/**
*
*/
private String patientHeadPic;
/** /**
* *
*/ */

@ -8,6 +8,7 @@
<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="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="patientName" column="patient_name" jdbcType="VARCHAR"/> <result property="patientName" column="patient_name" jdbcType="VARCHAR"/>
<result property="patientGender" column="patient_gender" jdbcType="VARCHAR"/> <result property="patientGender" column="patient_gender" jdbcType="VARCHAR"/>
<result property="patientAge" column="patient_age" jdbcType="INTEGER"/> <result property="patientAge" column="patient_age" jdbcType="INTEGER"/>
@ -33,7 +34,7 @@
</resultMap> </resultMap>
<sql id="Base_Column_List"> <sql id="Base_Column_List">
id,no,patient_id, id,no,patient_id,patient_head_pic,
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,

@ -98,4 +98,8 @@ create table vp_directory_info
update_user_id varchar(64) null comment '更新人', update_user_id varchar(64) null comment '更新人',
update_time datetime(0) default CURRENT_TIMESTAMP(0) null comment '更新时间' update_time datetime(0) default CURRENT_TIMESTAMP(0) null comment '更新时间'
) )
comment '目录表'; comment '目录表';
-- 添加头像字段
alter table vp_medical_rec
add patient_head_pic varchar(64) null comment '病人头像 对应vp_file_resource表的id' after patient_name;
Loading…
Cancel
Save