and ${criterion.condition}
and ${criterion.condition} #{criterion.value}
and ${criterion.condition} #{criterion.value} and #{criterion.secondValue}
and ${criterion.condition}
#{listItem}
and ${criterion.condition}
and ${criterion.condition} #{criterion.value}
and ${criterion.condition} #{criterion.value} and #{criterion.secondValue}
and ${criterion.condition}
#{listItem}
id, patient_id, name, relation, diagnose, onset_age, now_age, remark, create_time,
update_time, is_del, recorder
delete from t_ht_patient_family_illness
where id = #{id,jdbcType=BIGINT}
delete from t_ht_patient_family_illness
insert into t_ht_patient_family_illness (id, patient_id, name,
relation, diagnose, onset_age,
now_age, remark, create_time,
update_time, is_del, recorder
)
values (#{id,jdbcType=BIGINT}, #{patientId,jdbcType=BIGINT}, #{name,jdbcType=VARCHAR},
#{relation,jdbcType=VARCHAR}, #{diagnose,jdbcType=VARCHAR}, #{onsetAge,jdbcType=INTEGER},
#{nowAge,jdbcType=INTEGER}, #{remark,jdbcType=VARCHAR}, #{createTime,jdbcType=TIMESTAMP},
#{updateTime,jdbcType=TIMESTAMP}, #{isDel,jdbcType=TINYINT}, #{recorder,jdbcType=BIGINT}
)
insert into t_ht_patient_family_illness
id,
patient_id,
name,
relation,
diagnose,
onset_age,
now_age,
remark,
create_time,
update_time,
is_del,
recorder,
#{id,jdbcType=BIGINT},
#{patientId,jdbcType=BIGINT},
#{name,jdbcType=VARCHAR},
#{relation,jdbcType=VARCHAR},
#{diagnose,jdbcType=VARCHAR},
#{onsetAge,jdbcType=INTEGER},
#{nowAge,jdbcType=INTEGER},
#{remark,jdbcType=VARCHAR},
#{createTime,jdbcType=TIMESTAMP},
#{updateTime,jdbcType=TIMESTAMP},
#{isDel,jdbcType=TINYINT},
#{recorder,jdbcType=BIGINT},
update t_ht_patient_family_illness
id = #{record.id,jdbcType=BIGINT},
patient_id = #{record.patientId,jdbcType=BIGINT},
name = #{record.name,jdbcType=VARCHAR},
relation = #{record.relation,jdbcType=VARCHAR},
diagnose = #{record.diagnose,jdbcType=VARCHAR},
onset_age = #{record.onsetAge,jdbcType=INTEGER},
now_age = #{record.nowAge,jdbcType=INTEGER},
remark = #{record.remark,jdbcType=VARCHAR},
create_time = #{record.createTime,jdbcType=TIMESTAMP},
update_time = #{record.updateTime,jdbcType=TIMESTAMP},
is_del = #{record.isDel,jdbcType=TINYINT},
recorder = #{record.recorder,jdbcType=BIGINT},
update t_ht_patient_family_illness
set id = #{record.id,jdbcType=BIGINT},
patient_id = #{record.patientId,jdbcType=BIGINT},
name = #{record.name,jdbcType=VARCHAR},
relation = #{record.relation,jdbcType=VARCHAR},
diagnose = #{record.diagnose,jdbcType=VARCHAR},
onset_age = #{record.onsetAge,jdbcType=INTEGER},
now_age = #{record.nowAge,jdbcType=INTEGER},
remark = #{record.remark,jdbcType=VARCHAR},
create_time = #{record.createTime,jdbcType=TIMESTAMP},
update_time = #{record.updateTime,jdbcType=TIMESTAMP},
is_del = #{record.isDel,jdbcType=TINYINT},
recorder = #{record.recorder,jdbcType=BIGINT}
update t_ht_patient_family_illness
patient_id = #{patientId,jdbcType=BIGINT},
name = #{name,jdbcType=VARCHAR},
relation = #{relation,jdbcType=VARCHAR},
diagnose = #{diagnose,jdbcType=VARCHAR},
onset_age = #{onsetAge,jdbcType=INTEGER},
now_age = #{nowAge,jdbcType=INTEGER},
remark = #{remark,jdbcType=VARCHAR},
create_time = #{createTime,jdbcType=TIMESTAMP},
update_time = #{updateTime,jdbcType=TIMESTAMP},
is_del = #{isDel,jdbcType=TINYINT},
recorder = #{recorder,jdbcType=BIGINT},
where id = #{id,jdbcType=BIGINT}
update t_ht_patient_family_illness
set patient_id = #{patientId,jdbcType=BIGINT},
name = #{name,jdbcType=VARCHAR},
relation = #{relation,jdbcType=VARCHAR},
diagnose = #{diagnose,jdbcType=VARCHAR},
onset_age = #{onsetAge,jdbcType=INTEGER},
now_age = #{nowAge,jdbcType=INTEGER},
remark = #{remark,jdbcType=VARCHAR},
create_time = #{createTime,jdbcType=TIMESTAMP},
update_time = #{updateTime,jdbcType=TIMESTAMP},
is_del = #{isDel,jdbcType=TINYINT},
recorder = #{recorder,jdbcType=BIGINT}
where id = #{id,jdbcType=BIGINT}