irtr_id, irt_id, irtr_time, irtr_therapist, irtr_recordor, irtr_record_time, irtr_operation_time,
irtr_operator, irtr_is_del
delete from inp_recure_treat_record
where irtr_id = #{irtrId,jdbcType=INTEGER}
insert into inp_recure_treat_record (irt_id, irtr_time,
irtr_therapist, irtr_recordor, irtr_record_time,
irtr_operation_time, irtr_operator, irtr_is_del
)
values (#{irtId,jdbcType=INTEGER}, #{irtrTime,jdbcType=TIMESTAMP},
#{irtrTherapist,jdbcType=VARCHAR}, #{irtrRecordor,jdbcType=VARCHAR}, #{irtrRecordTime,jdbcType=TIMESTAMP},
#{irtrOperationTime,jdbcType=TIMESTAMP}, #{irtrOperator,jdbcType=VARCHAR}, 0
)
update inp_recure_treat_record
irt_id = #{irtId,jdbcType=INTEGER},
irtr_time = #{irtrTime,jdbcType=TIMESTAMP},
irtr_therapist = #{irtrTherapist,jdbcType=VARCHAR},
irtr_recordor = #{irtrRecordor,jdbcType=VARCHAR},
irtr_record_time = #{irtrRecordTime,jdbcType=TIMESTAMP},
irtr_operation_time = #{irtrOperationTime,jdbcType=TIMESTAMP},
irtr_operator = #{irtrOperator,jdbcType=VARCHAR},
irtr_is_del = #{irtrIsDel,jdbcType=INTEGER},
where irtr_id = #{irtrId,jdbcType=INTEGER}
update inp_recure_treat_record
set irt_id = #{irtId,jdbcType=INTEGER},
irtr_time = #{irtrTime,jdbcType=TIMESTAMP},
irtr_therapist = #{irtrTherapist,jdbcType=VARCHAR},
irtr_recordor = #{irtrRecordor,jdbcType=VARCHAR},
irtr_record_time = #{irtrRecordTime,jdbcType=TIMESTAMP},
irtr_operation_time = #{irtrOperationTime,jdbcType=TIMESTAMP},
irtr_operator = #{irtrOperator,jdbcType=VARCHAR},
irtr_is_del = #{irtrIsDel,jdbcType=INTEGER}
where irtr_id = #{irtrId,jdbcType=INTEGER}
update inp_recure_treat_record
set irt_id = #{irtId,jdbcType=INTEGER}
where irt_id = #{oldIrtId,jdbcType=INTEGER}
update inp_recure_treat_record
set
irtr_operation_time = #{irtrOperationTime,jdbcType=TIMESTAMP},
irtr_operator = #{irtrOperator,jdbcType=VARCHAR},
irtr_is_del = -1
where irt_id = #{irtId,jdbcType=INTEGER}
update inp_recure_treat_record
set
irtr_operation_time = #{irtrOperationTime,jdbcType=TIMESTAMP},
irtr_operator = #{irtrOperator,jdbcType=VARCHAR},
irtr_is_del = -1
where irtr_id = #{irtrId,jdbcType=INTEGER}