id, activity_id, merchant_shop_id, channel_id, channel_name, total_fee, third_shop_no, use_fee, surplus_fee, status, deleted, create_by, create_time, update_by, update_time
update activity_shop_record set deleted = 1
where id = #{id,jdbcType=BIGINT}
insert into activity_shop_record (
id,
activity_id,
merchant_shop_id,
channel_id,
channel_name,
total_fee,
third_shop_no,
use_fee,
surplus_fee,
status,
deleted,
create_by,
create_time,
update_by,
update_time
)
values (
#{id,jdbcType=BIGINT},
#{activityId,jdbcType=BIGINT},
#{merchantShopId,jdbcType=BIGINT},
#{channelId,jdbcType=BIGINT},
#{channelName,jdbcType=VARCHAR},
#{totalFee,jdbcType=BIGINT},
#{thirdShopNo,jdbcType=VARCHAR},
#{useFee,jdbcType=BIGINT},
#{surplusFee,jdbcType=BIGINT},
#{status,jdbcType=INTEGER},
#{deleted,jdbcType=INTEGER},
#{createBy,jdbcType=BIGINT},
#{createTime,jdbcType=TIMESTAMP},
#{updateBy,jdbcType=BIGINT},
#{updateTime,jdbcType=TIMESTAMP}
)
insert into activity_shop_record
id,
activity_id,
merchant_shop_id,
channel_id,
channel_name,
total_fee,
third_shop_no,
use_fee,
surplus_fee,
status,
deleted,
create_by,
create_time,
update_by,
update_time,
#{id,jdbcType=BIGINT},
#{activityId,jdbcType=BIGINT},
#{merchantShopId,jdbcType=BIGINT},
#{channelId,jdbcType=BIGINT},
#{channelName,jdbcType=VARCHAR},
#{totalFee,jdbcType=BIGINT},
#{thirdShopNo,jdbcType=VARCHAR},
#{useFee,jdbcType=BIGINT},
#{surplusFee,jdbcType=BIGINT},
#{status,jdbcType=INTEGER},
#{deleted,jdbcType=INTEGER},
#{createBy,jdbcType=BIGINT},
#{createTime,jdbcType=TIMESTAMP},
#{updateBy,jdbcType=BIGINT},
#{updateTime,jdbcType=TIMESTAMP},
update activity_shop_record
activity_id = #{activityId,jdbcType=BIGINT},
merchant_shop_id = #{merchantShopId,jdbcType=BIGINT},
channel_id = #{channelId,jdbcType=BIGINT},
channel_name = #{channelName,jdbcType=VARCHAR},
total_fee = #{totalFee,jdbcType=BIGINT},
third_shop_no = #{thirdShopNo,jdbcType=VARCHAR},
use_fee = #{useFee,jdbcType=BIGINT},
surplus_fee = #{surplusFee,jdbcType=BIGINT},
status = #{status,jdbcType=INTEGER},
deleted = #{deleted,jdbcType=INTEGER},
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 activity_shop_record
set
activity_id = #{activityId,jdbcType=BIGINT},
merchant_shop_id = #{merchantShopId,jdbcType=BIGINT},
channel_id = #{channelId,jdbcType=BIGINT},
channel_name = #{channelName,jdbcType=VARCHAR},
total_fee = #{totalFee,jdbcType=BIGINT},
third_shop_no = #{thirdShopNo,jdbcType=VARCHAR},
use_fee = #{useFee,jdbcType=BIGINT},
surplus_fee = #{surplusFee,jdbcType=BIGINT},
status = #{status,jdbcType=INTEGER},
deleted = #{deleted,jdbcType=INTEGER},
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}