id, demand_order_id, record_time, status, operator, comment
delete from demand_order_log
where id = #{id,jdbcType=VARCHAR}
insert into demand_order_log (id, demand_order_id, record_time,
status, operator, comment
)
values (#{id,jdbcType=VARCHAR}, #{demandOrderId,jdbcType=VARCHAR}, #{recordTime,jdbcType=TIMESTAMP},
#{status,jdbcType=INTEGER}, #{operator,jdbcType=VARCHAR}, #{comment,jdbcType=VARCHAR}
)
insert into demand_order_log
id,
demand_order_id,
record_time,
status,
operator,
comment,
#{id,jdbcType=VARCHAR},
#{demandOrderId,jdbcType=VARCHAR},
#{recordTime,jdbcType=TIMESTAMP},
#{status,jdbcType=INTEGER},
#{operator,jdbcType=VARCHAR},
#{comment,jdbcType=VARCHAR},
update demand_order_log
demand_order_id = #{demandOrderId,jdbcType=VARCHAR},
record_time = #{recordTime,jdbcType=TIMESTAMP},
status = #{status,jdbcType=INTEGER},
operator = #{operator,jdbcType=VARCHAR},
comment = #{comment,jdbcType=VARCHAR},
where id = #{id,jdbcType=VARCHAR}
update demand_order_log
set demand_order_id = #{demandOrderId,jdbcType=VARCHAR},
record_time = #{recordTime,jdbcType=TIMESTAMP},
status = #{status,jdbcType=INTEGER},
operator = #{operator,jdbcType=VARCHAR},
comment = #{comment,jdbcType=VARCHAR}
where id = #{id,jdbcType=VARCHAR}