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, health_records_id, health_type_id, qrcode_path, time, created_at, updated_at,
rec_status
delete from t_health_qrcode
where id = #{id,jdbcType=BIGINT}
delete from t_health_qrcode
insert into t_health_qrcode (id, health_records_id, health_type_id,
qrcode_path, time, created_at,
updated_at, rec_status)
values (#{id,jdbcType=BIGINT}, #{healthRecordsId,jdbcType=BIGINT}, #{healthTypeId,jdbcType=BIGINT},
#{qrcodePath,jdbcType=VARCHAR}, #{time,jdbcType=BIGINT}, #{createdAt,jdbcType=TIMESTAMP},
#{updatedAt,jdbcType=TIMESTAMP}, #{recStatus,jdbcType=TINYINT})
insert into t_health_qrcode
id,
health_records_id,
health_type_id,
qrcode_path,
time,
created_at,
updated_at,
rec_status,
#{id,jdbcType=BIGINT},
#{healthRecordsId,jdbcType=BIGINT},
#{healthTypeId,jdbcType=BIGINT},
#{qrcodePath,jdbcType=VARCHAR},
#{time,jdbcType=BIGINT},
#{createdAt,jdbcType=TIMESTAMP},
#{updatedAt,jdbcType=TIMESTAMP},
#{recStatus,jdbcType=TINYINT},
update t_health_qrcode
id = #{record.id,jdbcType=BIGINT},
health_records_id = #{record.healthRecordsId,jdbcType=BIGINT},
health_type_id = #{record.healthTypeId,jdbcType=BIGINT},
qrcode_path = #{record.qrcodePath,jdbcType=VARCHAR},
time = #{record.time,jdbcType=BIGINT},
created_at = #{record.createdAt,jdbcType=TIMESTAMP},
updated_at = #{record.updatedAt,jdbcType=TIMESTAMP},
rec_status = #{record.recStatus,jdbcType=TINYINT},
update t_health_qrcode
set id = #{record.id,jdbcType=BIGINT},
health_records_id = #{record.healthRecordsId,jdbcType=BIGINT},
health_type_id = #{record.healthTypeId,jdbcType=BIGINT},
qrcode_path = #{record.qrcodePath,jdbcType=VARCHAR},
time = #{record.time,jdbcType=BIGINT},
created_at = #{record.createdAt,jdbcType=TIMESTAMP},
updated_at = #{record.updatedAt,jdbcType=TIMESTAMP},
rec_status = #{record.recStatus,jdbcType=TINYINT}
update t_health_qrcode
health_records_id = #{healthRecordsId,jdbcType=BIGINT},
health_type_id = #{healthTypeId,jdbcType=BIGINT},
qrcode_path = #{qrcodePath,jdbcType=VARCHAR},
time = #{time,jdbcType=BIGINT},
created_at = #{createdAt,jdbcType=TIMESTAMP},
updated_at = #{updatedAt,jdbcType=TIMESTAMP},
rec_status = #{recStatus,jdbcType=TINYINT},
where id = #{id,jdbcType=BIGINT}
update t_health_qrcode
set health_records_id = #{healthRecordsId,jdbcType=BIGINT},
health_type_id = #{healthTypeId,jdbcType=BIGINT},
qrcode_path = #{qrcodePath,jdbcType=VARCHAR},
time = #{time,jdbcType=BIGINT},
created_at = #{createdAt,jdbcType=TIMESTAMP},
updated_at = #{updatedAt,jdbcType=TIMESTAMP},
rec_status = #{recStatus,jdbcType=TINYINT}
where id = #{id,jdbcType=BIGINT}