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, doctor_id, start_time, end_time, type, operator, create_time, update_time,
rec_status
delete from t_recipe
where id = #{id,jdbcType=BIGINT}
delete from t_recipe
insert into t_recipe (id, patient_id, doctor_id,
start_time, end_time, type,
operator, create_time, update_time,
rec_status)
values (#{id,jdbcType=BIGINT}, #{patientId,jdbcType=BIGINT}, #{doctorId,jdbcType=BIGINT},
#{startTime,jdbcType=BIGINT}, #{endTime,jdbcType=BIGINT}, #{type,jdbcType=TINYINT},
#{operator,jdbcType=BIGINT}, #{createTime,jdbcType=TIMESTAMP}, #{updateTime,jdbcType=TIMESTAMP},
#{recStatus,jdbcType=TINYINT})
insert into t_recipe
id,
patient_id,
doctor_id,
start_time,
end_time,
type,
operator,
create_time,
update_time,
rec_status,
#{id,jdbcType=BIGINT},
#{patientId,jdbcType=BIGINT},
#{doctorId,jdbcType=BIGINT},
#{startTime,jdbcType=BIGINT},
#{endTime,jdbcType=BIGINT},
#{type,jdbcType=TINYINT},
#{operator,jdbcType=BIGINT},
#{createTime,jdbcType=TIMESTAMP},
#{updateTime,jdbcType=TIMESTAMP},
#{recStatus,jdbcType=TINYINT},
update t_recipe
id = #{record.id,jdbcType=BIGINT},
patient_id = #{record.patientId,jdbcType=BIGINT},
doctor_id = #{record.doctorId,jdbcType=BIGINT},
start_time = #{record.startTime,jdbcType=BIGINT},
end_time = #{record.endTime,jdbcType=BIGINT},
type = #{record.type,jdbcType=TINYINT},
operator = #{record.operator,jdbcType=BIGINT},
create_time = #{record.createTime,jdbcType=TIMESTAMP},
update_time = #{record.updateTime,jdbcType=TIMESTAMP},
rec_status = #{record.recStatus,jdbcType=TINYINT},
update t_recipe
set id = #{record.id,jdbcType=BIGINT},
patient_id = #{record.patientId,jdbcType=BIGINT},
doctor_id = #{record.doctorId,jdbcType=BIGINT},
start_time = #{record.startTime,jdbcType=BIGINT},
end_time = #{record.endTime,jdbcType=BIGINT},
type = #{record.type,jdbcType=TINYINT},
operator = #{record.operator,jdbcType=BIGINT},
create_time = #{record.createTime,jdbcType=TIMESTAMP},
update_time = #{record.updateTime,jdbcType=TIMESTAMP},
rec_status = #{record.recStatus,jdbcType=TINYINT}
update t_recipe
patient_id = #{patientId,jdbcType=BIGINT},
doctor_id = #{doctorId,jdbcType=BIGINT},
start_time = #{startTime,jdbcType=BIGINT},
end_time = #{endTime,jdbcType=BIGINT},
type = #{type,jdbcType=TINYINT},
operator = #{operator,jdbcType=BIGINT},
create_time = #{createTime,jdbcType=TIMESTAMP},
update_time = #{updateTime,jdbcType=TIMESTAMP},
rec_status = #{recStatus,jdbcType=TINYINT},
where id = #{id,jdbcType=BIGINT}
update t_recipe
set patient_id = #{patientId,jdbcType=BIGINT},
doctor_id = #{doctorId,jdbcType=BIGINT},
start_time = #{startTime,jdbcType=BIGINT},
end_time = #{endTime,jdbcType=BIGINT},
type = #{type,jdbcType=TINYINT},
operator = #{operator,jdbcType=BIGINT},
create_time = #{createTime,jdbcType=TIMESTAMP},
update_time = #{updateTime,jdbcType=TIMESTAMP},
rec_status = #{recStatus,jdbcType=TINYINT}
where id = #{id,jdbcType=BIGINT}