id, c_type,form_url,form_code,channel_type, channel_name, channel_desc, channel_account, channel_img, channel_min_limit,
channel_max_limit, is_show, is_lock
delete from site_pay
where id = #{id,jdbcType=INTEGER}
insert into site_pay (id, c_type,form_url,form_code,channel_type, channel_name,
channel_desc, channel_account, channel_img,
channel_min_limit, channel_max_limit, is_show,
is_lock)
values (#{id,jdbcType=INTEGER}, #{cType,jdbcType=INTEGER},#{formUrl,jdbcType=VARCHAR},#{formCode,jdbcType=VARCHAR},
#{channelType,jdbcType=VARCHAR}, #{channelName,jdbcType=VARCHAR},
#{channelDesc,jdbcType=VARCHAR}, #{channelAccount,jdbcType=VARCHAR}, #{channelImg,jdbcType=VARCHAR},
#{channelMinLimit,jdbcType=INTEGER}, #{channelMaxLimit,jdbcType=INTEGER}, #{isShow,jdbcType=INTEGER},
#{isLock,jdbcType=INTEGER})
insert into site_pay
id,
c_type,
form_url,
form_code,
channel_type,
channel_name,
channel_desc,
channel_account,
channel_img,
channel_min_limit,
channel_max_limit,
is_show,
is_lock,
#{id,jdbcType=INTEGER},
#{cType,jdbcType=INTEGER},
#{formUrl,jdbcType=VARCHAR},
#{formCode,jdbcType=VARCHAR},
#{channelType,jdbcType=VARCHAR},
#{channelName,jdbcType=VARCHAR},
#{channelDesc,jdbcType=VARCHAR},
#{channelAccount,jdbcType=VARCHAR},
#{channelImg,jdbcType=VARCHAR},
#{channelMinLimit,jdbcType=INTEGER},
#{channelMaxLimit,jdbcType=INTEGER},
#{isShow,jdbcType=INTEGER},
#{isLock,jdbcType=INTEGER},
update site_pay
c_type = #{cType,jdbcType=INTEGER},
form_url = #{formUrl,jdbcType=VARCHAR},
form_code = #{formCode,jdbcType=VARCHAR},
channel_type = #{channelType,jdbcType=VARCHAR},
channel_name = #{channelName,jdbcType=VARCHAR},
channel_desc = #{channelDesc,jdbcType=VARCHAR},
channel_account = #{channelAccount,jdbcType=VARCHAR},
channel_img = #{channelImg,jdbcType=VARCHAR},
channel_min_limit = #{channelMinLimit,jdbcType=INTEGER},
channel_max_limit = #{channelMaxLimit,jdbcType=INTEGER},
is_show = #{isShow,jdbcType=INTEGER},
is_lock = #{isLock,jdbcType=INTEGER},
where id = #{id,jdbcType=INTEGER}
update site_pay
set c_type = #{cType,jdbcType=INTEGER},
form_url = #{formUrl,jdbcType=VARCHAR},
form_code = #{formCode,jdbcType=VARCHAR},
channel_type = #{channelType,jdbcType=VARCHAR},
channel_name = #{channelName,jdbcType=VARCHAR},
channel_desc = #{channelDesc,jdbcType=VARCHAR},
channel_account = #{channelAccount,jdbcType=VARCHAR},
channel_img = #{channelImg,jdbcType=VARCHAR},
channel_min_limit = #{channelMinLimit,jdbcType=INTEGER},
channel_max_limit = #{channelMaxLimit,jdbcType=INTEGER},
is_show = #{isShow,jdbcType=INTEGER},
is_lock = #{isLock,jdbcType=INTEGER}
where id = #{id,jdbcType=INTEGER}