id,order_sn,mch_id,
open_id,total_fee,notify_url,
notify_times,status,create_time,
modified_time
delete from notify_record
where id = #{id,jdbcType=INTEGER}
insert into notify_record
( id,order_sn,mch_id
,open_id,total_fee,notify_url
,notify_times,status,create_time
,modified_time)
values (#{id,jdbcType=INTEGER},#{orderSn,jdbcType=VARCHAR},#{mchId,jdbcType=VARCHAR}
,#{openId,jdbcType=VARCHAR},#{totalFee,jdbcType=VARCHAR},#{notifyUrl,jdbcType=VARCHAR}
,#{notifyTimes,jdbcType=INTEGER},#{status,jdbcType=INTEGER},#{createTime,jdbcType=TIMESTAMP}
,#{modifiedTime,jdbcType=TIMESTAMP})
insert into notify_record
id,
order_sn,
mch_id,
open_id,
total_fee,
notify_url,
notify_times,
status,
create_time,
modified_time,
#{id,jdbcType=INTEGER},
#{orderSn,jdbcType=VARCHAR},
#{mchId,jdbcType=VARCHAR},
#{openId,jdbcType=VARCHAR},
#{totalFee,jdbcType=VARCHAR},
#{notifyUrl,jdbcType=VARCHAR},
#{notifyTimes,jdbcType=INTEGER},
#{status,jdbcType=INTEGER},
#{createTime,jdbcType=TIMESTAMP},
#{modifiedTime,jdbcType=TIMESTAMP},
update notify_record
order_sn = #{orderSn,jdbcType=VARCHAR},
mch_id = #{mchId,jdbcType=VARCHAR},
open_id = #{openId,jdbcType=VARCHAR},
total_fee = #{totalFee,jdbcType=VARCHAR},
notify_url = #{notifyUrl,jdbcType=VARCHAR},
notify_times = #{notifyTimes,jdbcType=INTEGER},
status = #{status,jdbcType=INTEGER},
create_time = #{createTime,jdbcType=TIMESTAMP},
modified_time = #{modifiedTime,jdbcType=TIMESTAMP},
where id = #{id,jdbcType=INTEGER}
update notify_record
set
order_sn = #{orderSn,jdbcType=VARCHAR},
mch_id = #{mchId,jdbcType=VARCHAR},
open_id = #{openId,jdbcType=VARCHAR},
total_fee = #{totalFee,jdbcType=VARCHAR},
notify_url = #{notifyUrl,jdbcType=VARCHAR},
notify_times = #{notifyTimes,jdbcType=INTEGER},
status = #{status,jdbcType=INTEGER},
create_time = #{createTime,jdbcType=TIMESTAMP},
modified_time = #{modifiedTime,jdbcType=TIMESTAMP}
where id = #{id,jdbcType=INTEGER}