@ -18,6 +18,7 @@
<result column= "check_time" jdbcType= "BIGINT" property= "checkTime" />
<result column= "check_time" jdbcType= "BIGINT" property= "checkTime" />
<result column= "evaluation_code" jdbcType= "VARCHAR" property= "evaluationCode" />
<result column= "evaluation_code" jdbcType= "VARCHAR" property= "evaluationCode" />
<result column= "url" jdbcType= "VARCHAR" property= "url" />
<result column= "url" jdbcType= "VARCHAR" property= "url" />
<result column= "qr_code_url" jdbcType= "VARCHAR" property= "qrCodeUrl" />
<result column= "remark" jdbcType= "VARCHAR" property= "remark" />
<result column= "remark" jdbcType= "VARCHAR" property= "remark" />
<result column= "create_time" jdbcType= "TIMESTAMP" property= "createTime" />
<result column= "create_time" jdbcType= "TIMESTAMP" property= "createTime" />
<result column= "update_time" jdbcType= "TIMESTAMP" property= "updateTime" />
<result column= "update_time" jdbcType= "TIMESTAMP" property= "updateTime" />
@ -84,7 +85,7 @@
<sql id= "Base_Column_List" >
<sql id= "Base_Column_List" >
id, name, patient_id, patient_idcard, patient_age, doctor_id, serial_number, initial_impression,
id, name, patient_id, patient_idcard, patient_age, doctor_id, serial_number, initial_impression,
clinical_diagnosis, pasi, department, bed_number, report_time, check_time, evaluation_code,
clinical_diagnosis, pasi, department, bed_number, report_time, check_time, evaluation_code,
url, remark, create_time, update_time, is_del
url, qr_code_url, remark, create_time, update_time, is_del
</sql>
</sql>
<select id= "selectByExample" parameterType= "com.ccsens.ht.bean.po.HtPatientReportExample" resultMap= "BaseResultMap" >
<select id= "selectByExample" parameterType= "com.ccsens.ht.bean.po.HtPatientReportExample" resultMap= "BaseResultMap" >
select
select
@ -122,15 +123,17 @@
serial_number, initial_impression, clinical_diagnosis,
serial_number, initial_impression, clinical_diagnosis,
pasi, department, bed_number,
pasi, department, bed_number,
report_time, check_time, evaluation_code,
report_time, check_time, evaluation_code,
url, remark, create_time,
url, qr_code_url, remark,
update_time, is_del)
create_time, update_time, is_del
)
values (#{id,jdbcType=BIGINT}, #{name,jdbcType=VARCHAR}, #{patientId,jdbcType=BIGINT},
values (#{id,jdbcType=BIGINT}, #{name,jdbcType=VARCHAR}, #{patientId,jdbcType=BIGINT},
#{patientIdcard,jdbcType=VARCHAR}, #{patientAge,jdbcType=TINYINT}, #{doctorId,jdbcType=BIGINT},
#{patientIdcard,jdbcType=VARCHAR}, #{patientAge,jdbcType=TINYINT}, #{doctorId,jdbcType=BIGINT},
#{serialNumber,jdbcType=VARCHAR}, #{initialImpression,jdbcType=VARCHAR}, #{clinicalDiagnosis,jdbcType=VARCHAR},
#{serialNumber,jdbcType=VARCHAR}, #{initialImpression,jdbcType=VARCHAR}, #{clinicalDiagnosis,jdbcType=VARCHAR},
#{pasi,jdbcType=TINYINT}, #{department,jdbcType=VARCHAR}, #{bedNumber,jdbcType=VARCHAR},
#{pasi,jdbcType=TINYINT}, #{department,jdbcType=VARCHAR}, #{bedNumber,jdbcType=VARCHAR},
#{reportTime,jdbcType=BIGINT}, #{checkTime,jdbcType=BIGINT}, #{evaluationCode,jdbcType=VARCHAR},
#{reportTime,jdbcType=BIGINT}, #{checkTime,jdbcType=BIGINT}, #{evaluationCode,jdbcType=VARCHAR},
#{url,jdbcType=VARCHAR}, #{remark,jdbcType=VARCHAR}, #{createTime,jdbcType=TIMESTAMP},
#{url,jdbcType=VARCHAR}, #{qrCodeUrl,jdbcType=VARCHAR}, #{remark,jdbcType=VARCHAR},
#{updateTime,jdbcType=TIMESTAMP}, #{isDel,jdbcType=TINYINT})
#{createTime,jdbcType=TIMESTAMP}, #{updateTime,jdbcType=TIMESTAMP}, #{isDel,jdbcType=TINYINT}
)
</insert>
</insert>
<insert id= "insertSelective" parameterType= "com.ccsens.ht.bean.po.HtPatientReport" >
<insert id= "insertSelective" parameterType= "com.ccsens.ht.bean.po.HtPatientReport" >
insert into t_ht_patient_report
insert into t_ht_patient_report
@ -183,6 +186,9 @@
<if test= "url != null" >
<if test= "url != null" >
url,
url,
</if>
</if>
<if test= "qrCodeUrl != null" >
qr_code_url,
</if>
<if test= "remark != null" >
<if test= "remark != null" >
remark,
remark,
</if>
</if>
@ -245,6 +251,9 @@
<if test= "url != null" >
<if test= "url != null" >
#{url,jdbcType=VARCHAR},
#{url,jdbcType=VARCHAR},
</if>
</if>
<if test= "qrCodeUrl != null" >
#{qrCodeUrl,jdbcType=VARCHAR},
</if>
<if test= "remark != null" >
<if test= "remark != null" >
#{remark,jdbcType=VARCHAR},
#{remark,jdbcType=VARCHAR},
</if>
</if>
@ -316,6 +325,9 @@
<if test= "record.url != null" >
<if test= "record.url != null" >
url = #{record.url,jdbcType=VARCHAR},
url = #{record.url,jdbcType=VARCHAR},
</if>
</if>
<if test= "record.qrCodeUrl != null" >
qr_code_url = #{record.qrCodeUrl,jdbcType=VARCHAR},
</if>
<if test= "record.remark != null" >
<if test= "record.remark != null" >
remark = #{record.remark,jdbcType=VARCHAR},
remark = #{record.remark,jdbcType=VARCHAR},
</if>
</if>
@ -351,6 +363,7 @@
check_time = #{record.checkTime,jdbcType=BIGINT},
check_time = #{record.checkTime,jdbcType=BIGINT},
evaluation_code = #{record.evaluationCode,jdbcType=VARCHAR},
evaluation_code = #{record.evaluationCode,jdbcType=VARCHAR},
url = #{record.url,jdbcType=VARCHAR},
url = #{record.url,jdbcType=VARCHAR},
qr_code_url = #{record.qrCodeUrl,jdbcType=VARCHAR},
remark = #{record.remark,jdbcType=VARCHAR},
remark = #{record.remark,jdbcType=VARCHAR},
create_time = #{record.createTime,jdbcType=TIMESTAMP},
create_time = #{record.createTime,jdbcType=TIMESTAMP},
update_time = #{record.updateTime,jdbcType=TIMESTAMP},
update_time = #{record.updateTime,jdbcType=TIMESTAMP},
@ -407,6 +420,9 @@
<if test= "url != null" >
<if test= "url != null" >
url = #{url,jdbcType=VARCHAR},
url = #{url,jdbcType=VARCHAR},
</if>
</if>
<if test= "qrCodeUrl != null" >
qr_code_url = #{qrCodeUrl,jdbcType=VARCHAR},
</if>
<if test= "remark != null" >
<if test= "remark != null" >
remark = #{remark,jdbcType=VARCHAR},
remark = #{remark,jdbcType=VARCHAR},
</if>
</if>
@ -439,6 +455,7 @@
check_time = #{checkTime,jdbcType=BIGINT},
check_time = #{checkTime,jdbcType=BIGINT},
evaluation_code = #{evaluationCode,jdbcType=VARCHAR},
evaluation_code = #{evaluationCode,jdbcType=VARCHAR},
url = #{url,jdbcType=VARCHAR},
url = #{url,jdbcType=VARCHAR},
qr_code_url = #{qrCodeUrl,jdbcType=VARCHAR},
remark = #{remark,jdbcType=VARCHAR},
remark = #{remark,jdbcType=VARCHAR},
create_time = #{createTime,jdbcType=TIMESTAMP},
create_time = #{createTime,jdbcType=TIMESTAMP},
update_time = #{updateTime,jdbcType=TIMESTAMP},
update_time = #{updateTime,jdbcType=TIMESTAMP},