id, `status`, merchant_id, adapay_member_id, settle_account_id, remark, create_time,
create_by, update_time, update_by, del_flag
delete from adapay_member_account
where id = #{id,jdbcType=INTEGER}
insert into adapay_member_account (`status`, merchant_id, adapay_member_id,
settle_account_id, remark, create_time,
create_by, update_time, update_by,
del_flag)
values (#{status,jdbcType=VARCHAR}, #{merchantId,jdbcType=VARCHAR}, #{adapayMemberId,jdbcType=VARCHAR},
#{settleAccountId,jdbcType=VARCHAR}, #{remark,jdbcType=VARCHAR}, #{createTime,jdbcType=TIMESTAMP},
#{createBy,jdbcType=VARCHAR}, #{updateTime,jdbcType=TIMESTAMP}, #{updateBy,jdbcType=VARCHAR},
#{delFlag,jdbcType=VARCHAR})
insert into adapay_member_account
`status`,
merchant_id,
adapay_member_id,
settle_account_id,
remark,
create_time,
create_by,
update_time,
update_by,
del_flag,
#{status,jdbcType=VARCHAR},
#{merchantId,jdbcType=VARCHAR},
#{adapayMemberId,jdbcType=VARCHAR},
#{settleAccountId,jdbcType=VARCHAR},
#{remark,jdbcType=VARCHAR},
#{createTime,jdbcType=TIMESTAMP},
#{createBy,jdbcType=VARCHAR},
#{updateTime,jdbcType=TIMESTAMP},
#{updateBy,jdbcType=VARCHAR},
#{delFlag,jdbcType=VARCHAR},
update adapay_member_account
`status` = #{status,jdbcType=VARCHAR},
merchant_id = #{merchantId,jdbcType=VARCHAR},
adapay_member_id = #{adapayMemberId,jdbcType=VARCHAR},
settle_account_id = #{settleAccountId,jdbcType=VARCHAR},
remark = #{remark,jdbcType=VARCHAR},
create_time = #{createTime,jdbcType=TIMESTAMP},
create_by = #{createBy,jdbcType=VARCHAR},
update_time = #{updateTime,jdbcType=TIMESTAMP},
update_by = #{updateBy,jdbcType=VARCHAR},
del_flag = #{delFlag,jdbcType=VARCHAR},
where id = #{id,jdbcType=INTEGER}
update adapay_member_account
set `status` = #{status,jdbcType=VARCHAR},
merchant_id = #{merchantId,jdbcType=VARCHAR},
adapay_member_id = #{adapayMemberId,jdbcType=VARCHAR},
settle_account_id = #{settleAccountId,jdbcType=VARCHAR},
remark = #{remark,jdbcType=VARCHAR},
create_time = #{createTime,jdbcType=TIMESTAMP},
create_by = #{createBy,jdbcType=VARCHAR},
update_time = #{updateTime,jdbcType=TIMESTAMP},
update_by = #{updateBy,jdbcType=VARCHAR},
del_flag = #{delFlag,jdbcType=VARCHAR}
where id = #{id,jdbcType=INTEGER}
update adapay_member_account
when id = #{item.id,jdbcType=INTEGER} then #{item.status,jdbcType=VARCHAR}
when id = #{item.id,jdbcType=INTEGER} then #{item.merchantId,jdbcType=VARCHAR}
when id = #{item.id,jdbcType=INTEGER} then #{item.adapayMemberId,jdbcType=VARCHAR}
when id = #{item.id,jdbcType=INTEGER} then #{item.settleAccountId,jdbcType=VARCHAR}
when id = #{item.id,jdbcType=INTEGER} then #{item.remark,jdbcType=VARCHAR}
when id = #{item.id,jdbcType=INTEGER} then #{item.createTime,jdbcType=TIMESTAMP}
when id = #{item.id,jdbcType=INTEGER} then #{item.createBy,jdbcType=VARCHAR}
when id = #{item.id,jdbcType=INTEGER} then #{item.updateTime,jdbcType=TIMESTAMP}
when id = #{item.id,jdbcType=INTEGER} then #{item.updateBy,jdbcType=VARCHAR}
when id = #{item.id,jdbcType=INTEGER} then #{item.delFlag,jdbcType=VARCHAR}
where id in
#{item.id,jdbcType=INTEGER}
insert into adapay_member_account
(`status`, merchant_id, adapay_member_id, settle_account_id, remark, create_time,
create_by, update_time, update_by, del_flag)
values
(#{item.status,jdbcType=VARCHAR}, #{item.merchantId,jdbcType=VARCHAR}, #{item.adapayMemberId,jdbcType=VARCHAR},
#{item.settleAccountId,jdbcType=VARCHAR}, #{item.remark,jdbcType=VARCHAR}, #{item.createTime,jdbcType=TIMESTAMP},
#{item.createBy,jdbcType=VARCHAR}, #{item.updateTime,jdbcType=TIMESTAMP}, #{item.updateBy,jdbcType=VARCHAR},
#{item.delFlag,jdbcType=VARCHAR})
insert into adapay_member_account
id,
`status`,
merchant_id,
adapay_member_id,
settle_account_id,
remark,
create_time,
create_by,
update_time,
update_by,
del_flag,
values
#{id,jdbcType=INTEGER},
#{status,jdbcType=VARCHAR},
#{merchantId,jdbcType=VARCHAR},
#{adapayMemberId,jdbcType=VARCHAR},
#{settleAccountId,jdbcType=VARCHAR},
#{remark,jdbcType=VARCHAR},
#{createTime,jdbcType=TIMESTAMP},
#{createBy,jdbcType=VARCHAR},
#{updateTime,jdbcType=TIMESTAMP},
#{updateBy,jdbcType=VARCHAR},
#{delFlag,jdbcType=VARCHAR},
on duplicate key update
id = #{id,jdbcType=INTEGER},
`status` = #{status,jdbcType=VARCHAR},
merchant_id = #{merchantId,jdbcType=VARCHAR},
adapay_member_id = #{adapayMemberId,jdbcType=VARCHAR},
settle_account_id = #{settleAccountId,jdbcType=VARCHAR},
remark = #{remark,jdbcType=VARCHAR},
create_time = #{createTime,jdbcType=TIMESTAMP},
create_by = #{createBy,jdbcType=VARCHAR},
update_time = #{updateTime,jdbcType=TIMESTAMP},
update_by = #{updateBy,jdbcType=VARCHAR},
del_flag = #{delFlag,jdbcType=VARCHAR},
insert into adapay_member_account
id,
`status`,
merchant_id,
adapay_member_id,
settle_account_id,
remark,
create_time,
create_by,
update_time,
update_by,
del_flag,
values
#{id,jdbcType=INTEGER},
#{status,jdbcType=VARCHAR},
#{merchantId,jdbcType=VARCHAR},
#{adapayMemberId,jdbcType=VARCHAR},
#{settleAccountId,jdbcType=VARCHAR},
#{remark,jdbcType=VARCHAR},
#{createTime,jdbcType=TIMESTAMP},
#{createBy,jdbcType=VARCHAR},
#{updateTime,jdbcType=TIMESTAMP},
#{updateBy,jdbcType=VARCHAR},
#{delFlag,jdbcType=VARCHAR},
on duplicate key update
id = #{id,jdbcType=INTEGER},
`status` = #{status,jdbcType=VARCHAR},
merchant_id = #{merchantId,jdbcType=VARCHAR},
adapay_member_id = #{adapayMemberId,jdbcType=VARCHAR},
settle_account_id = #{settleAccountId,jdbcType=VARCHAR},
remark = #{remark,jdbcType=VARCHAR},
create_time = #{createTime,jdbcType=TIMESTAMP},
create_by = #{createBy,jdbcType=VARCHAR},
update_time = #{updateTime,jdbcType=TIMESTAMP},
update_by = #{updateBy,jdbcType=VARCHAR},
del_flag = #{delFlag,jdbcType=VARCHAR},
insert into adapay_member_account
status,
merchant_id,
adapay_member_id,
settle_account_id,
create_time,
create_by,
update_time,
update_by,
del_flag,
#{status},
#{merchantId},
#{adapayMemberId},
#{settleAccountId},
#{createTime},
#{createBy},
#{updateTime},
#{updateBy},
#{delFlag},
update adapay_member_account
status = #{status},
merchant_id = #{merchantId},
adapay_member_id = #{adapayMemberId},
settle_account_id = #{settleAccountId},
create_time = #{createTime},
create_by = #{createBy},
update_time = #{updateTime},
update_by = #{updateBy},
del_flag = #{delFlag},
where id = #{id}
update adapay_member_account
status = #{status},
merchant_id = #{merchantId},
adapay_member_id = #{adapayMemberId},
settle_account_id = #{settleAccountId},
create_time = #{createTime},
create_by = #{createBy},
update_time = #{updateTime},
update_by = #{updateBy},
del_flag = #{delFlag},
where adapay_member_id = #{adapayMemberId,jdbcType=VARCHAR}
delete from adapay_member_account where id = #{id}
update adapay_member_account
set del_flag = '1'
where id in
#{id}
delete from adapay_member_account where adapay_member_id = #{memberId,jdbcType=VARCHAR}