id, channel_code, channel_name, extend_json, online_agree_wx_rate, online_agree_zfb_rate, online_agree_unionpay_rate, offline_agree_wx_rate, offline_agree_zfb_rate, offline_agree_unionpay_rate, online_mer_wx_rate, online_mer_zfb_rate, online_mer_unionpay_rate, offline_mer_wx_rate, offline_mer_zfb_rate, offline_mer_unionpay_rate, certification, status, remark, create_by, create_time, update_by, update_time
delete from channel_info
where id = #{id,jdbcType=BIGINT}
insert into channel_info (
id,
channel_code,
channel_name,
extend_json,
online_agree_wx_rate,
online_agree_zfb_rate,
online_agree_unionpay_rate,
offline_agree_wx_rate,
offline_agree_zfb_rate,
offline_agree_unionpay_rate,
online_mer_wx_rate,
online_mer_zfb_rate,
online_mer_unionpay_rate,
offline_mer_wx_rate,
offline_mer_zfb_rate,
offline_mer_unionpay_rate,
certification,
status,
remark,
create_by,
create_time,
update_by,
update_time
)
values (
#{id,jdbcType=BIGINT},
#{channelCode,jdbcType=VARCHAR},
#{channelName,jdbcType=VARCHAR},
#{extendJson,jdbcType=VARCHAR},
#{onlineAgreeWxRate,jdbcType=DECIMAL},
#{onlineAgreeZfbRate,jdbcType=DECIMAL},
#{onlineAgreeUnionpayRate,jdbcType=DECIMAL},
#{offlineAgreeWxRate,jdbcType=DECIMAL},
#{offlineAgreeZfbRate,jdbcType=DECIMAL},
#{offlineAgreeUnionpayRate,jdbcType=DECIMAL},
#{onlineMerWxRate,jdbcType=DECIMAL},
#{onlineMerZfbRate,jdbcType=DECIMAL},
#{onlineMerUnionpayRate,jdbcType=DECIMAL},
#{offlineMerWxRate,jdbcType=DECIMAL},
#{offlineMerZfbRate,jdbcType=DECIMAL},
#{offlineMerUnionpayRate,jdbcType=DECIMAL},
#{certification,jdbcType=VARCHAR},
#{status,jdbcType=INTEGER},
#{remark,jdbcType=VARCHAR},
#{createBy,jdbcType=BIGINT},
#{createTime,jdbcType=TIMESTAMP},
#{updateBy,jdbcType=BIGINT},
#{updateTime,jdbcType=TIMESTAMP}
)
insert into channel_info
id,
channel_code,
channel_name,
extend_json,
online_agree_wx_rate,
online_agree_zfb_rate,
online_agree_unionpay_rate,
offline_agree_wx_rate,
offline_agree_zfb_rate,
offline_agree_unionpay_rate,
online_mer_wx_rate,
online_mer_zfb_rate,
online_mer_unionpay_rate,
offline_mer_wx_rate,
offline_mer_zfb_rate,
offline_mer_unionpay_rate,
certification,
status,
remark,
create_by,
create_time,
update_by,
update_time,
#{id,jdbcType=BIGINT},
#{channelCode,jdbcType=VARCHAR},
#{channelName,jdbcType=VARCHAR},
#{extendJson,jdbcType=VARCHAR},
#{onlineAgreeWxRate,jdbcType=DECIMAL},
#{onlineAgreeZfbRate,jdbcType=DECIMAL},
#{onlineAgreeUnionpayRate,jdbcType=DECIMAL},
#{offlineAgreeWxRate,jdbcType=DECIMAL},
#{offlineAgreeZfbRate,jdbcType=DECIMAL},
#{offlineAgreeUnionpayRate,jdbcType=DECIMAL},
#{onlineMerWxRate,jdbcType=DECIMAL},
#{onlineMerZfbRate,jdbcType=DECIMAL},
#{onlineMerUnionpayRate,jdbcType=DECIMAL},
#{offlineMerWxRate,jdbcType=DECIMAL},
#{offlineMerZfbRate,jdbcType=DECIMAL},
#{offlineMerUnionpayRate,jdbcType=DECIMAL},
#{certification,jdbcType=VARCHAR},
#{status,jdbcType=INTEGER},
#{remark,jdbcType=VARCHAR},
#{createBy,jdbcType=BIGINT},
#{createTime,jdbcType=TIMESTAMP},
#{updateBy,jdbcType=BIGINT},
#{updateTime,jdbcType=TIMESTAMP},
update channel_info
channel_code = #{channelCode,jdbcType=VARCHAR},
channel_name = #{channelName,jdbcType=VARCHAR},
extend_json = #{extendJson,jdbcType=VARCHAR},
online_agree_wx_rate = #{onlineAgreeWxRate,jdbcType=DECIMAL},
online_agree_zfb_rate = #{onlineAgreeZfbRate,jdbcType=DECIMAL},
online_agree_unionpay_rate = #{onlineAgreeUnionpayRate,jdbcType=DECIMAL},
offline_agree_wx_rate = #{offlineAgreeWxRate,jdbcType=DECIMAL},
offline_agree_zfb_rate = #{offlineAgreeZfbRate,jdbcType=DECIMAL},
offline_agree_unionpay_rate = #{offlineAgreeUnionpayRate,jdbcType=DECIMAL},
online_mer_wx_rate = #{onlineMerWxRate,jdbcType=DECIMAL},
online_mer_zfb_rate = #{onlineMerZfbRate,jdbcType=DECIMAL},
online_mer_unionpay_rate = #{onlineMerUnionpayRate,jdbcType=DECIMAL},
offline_mer_wx_rate = #{offlineMerWxRate,jdbcType=DECIMAL},
offline_mer_zfb_rate = #{offlineMerZfbRate,jdbcType=DECIMAL},
offline_mer_unionpay_rate = #{offlineMerUnionpayRate,jdbcType=DECIMAL},
certification = #{certification,jdbcType=VARCHAR},
status = #{status,jdbcType=INTEGER},
remark = #{remark,jdbcType=VARCHAR},
create_by = #{createBy,jdbcType=BIGINT},
create_time = #{createTime,jdbcType=TIMESTAMP},
update_by = #{updateBy,jdbcType=BIGINT},
update_time = #{updateTime,jdbcType=TIMESTAMP},
where id = #{id,jdbcType=BIGINT}
update channel_info
set
channel_code = #{channelCode,jdbcType=VARCHAR},
channel_name = #{channelName,jdbcType=VARCHAR},
extend_json = #{extendJson,jdbcType=VARCHAR},
online_agree_wx_rate = #{onlineAgreeWxRate,jdbcType=DECIMAL},
online_agree_zfb_rate = #{onlineAgreeZfbRate,jdbcType=DECIMAL},
online_agree_unionpay_rate = #{onlineAgreeUnionpayRate,jdbcType=DECIMAL},
offline_agree_wx_rate = #{offlineAgreeWxRate,jdbcType=DECIMAL},
offline_agree_zfb_rate = #{offlineAgreeZfbRate,jdbcType=DECIMAL},
offline_agree_unionpay_rate = #{offlineAgreeUnionpayRate,jdbcType=DECIMAL},
online_mer_wx_rate = #{onlineMerWxRate,jdbcType=DECIMAL},
online_mer_zfb_rate = #{onlineMerZfbRate,jdbcType=DECIMAL},
online_mer_unionpay_rate = #{onlineMerUnionpayRate,jdbcType=DECIMAL},
offline_mer_wx_rate = #{offlineMerWxRate,jdbcType=DECIMAL},
offline_mer_zfb_rate = #{offlineMerZfbRate,jdbcType=DECIMAL},
offline_mer_unionpay_rate = #{offlineMerUnionpayRate,jdbcType=DECIMAL},
certification = #{certification,jdbcType=VARCHAR},
status = #{status,jdbcType=INTEGER},
remark = #{remark,jdbcType=VARCHAR},
create_by = #{createBy,jdbcType=BIGINT},
create_time = #{createTime,jdbcType=TIMESTAMP},
update_by = #{updateBy,jdbcType=BIGINT},
update_time = #{updateTime,jdbcType=TIMESTAMP}
where id = #{id,jdbcType=BIGINT}