id, demand_id, status, operator, principal, recored_time, comment
delete from demand_log
where id = #{id,jdbcType=VARCHAR}
insert into demand_log (id, demand_id, status,
operator, principal, recored_time,
comment)
values (#{id,jdbcType=VARCHAR}, #{demandId,jdbcType=VARCHAR}, #{status,jdbcType=INTEGER},
#{operator,jdbcType=VARCHAR}, #{principal,jdbcType=VARCHAR}, #{recoredTime,jdbcType=TIMESTAMP},
#{comment,jdbcType=VARCHAR})
insert into demand_log
id,
demand_id,
status,
operator,
principal,
recored_time,
comment,
#{id,jdbcType=VARCHAR},
#{demandId,jdbcType=VARCHAR},
#{status,jdbcType=INTEGER},
#{operator,jdbcType=VARCHAR},
#{principal,jdbcType=VARCHAR},
#{recoredTime,jdbcType=TIMESTAMP},
#{comment,jdbcType=VARCHAR},
update demand_log
demand_id = #{demandId,jdbcType=VARCHAR},
status = #{status,jdbcType=INTEGER},
operator = #{operator,jdbcType=VARCHAR},
principal = #{principal,jdbcType=VARCHAR},
recored_time = #{recoredTime,jdbcType=TIMESTAMP},
comment = #{comment,jdbcType=VARCHAR},
where id = #{id,jdbcType=VARCHAR}
update demand_log
set demand_id = #{demandId,jdbcType=VARCHAR},
status = #{status,jdbcType=INTEGER},
operator = #{operator,jdbcType=VARCHAR},
principal = #{principal,jdbcType=VARCHAR},
recored_time = #{recoredTime,jdbcType=TIMESTAMP},
comment = #{comment,jdbcType=VARCHAR}
where id = #{id,jdbcType=VARCHAR}