id,name,address,
note,account,accountName,
accountType,apiv3,certPath,
status,totalIncome,totalRefund,
totalRetailSplit,totalRetailAccounting,totalRetailSplitRefund,
totalRetailAccountingRefund,totalChannelSplit,totalChannelAccounting,
totalChannelSplitRefund,totalChannelAccountingRefund,totalCashOut,
balance
delete from aska_platform
where id = #{id,jdbcType=INTEGER}
insert into aska_platform
( id,name,address
,note,account,accountName
,accountType,apiv3,certPath
,status,totalIncome,totalRefund
,totalRetailSplit,totalRetailAccounting,totalRetailSplitRefund
,totalRetailAccountingRefund,totalChannelSplit,totalChannelAccounting
,totalChannelSplitRefund,totalChannelAccountingRefund,totalCashOut
,balance)
values (#{id,jdbcType=INTEGER},#{name,jdbcType=CHAR},#{address,jdbcType=VARCHAR}
,#{note,jdbcType=VARCHAR},#{account,jdbcType=VARCHAR},#{accountName,jdbcType=VARCHAR}
,#{accountType,jdbcType=CHAR},#{apiv3,jdbcType=VARCHAR},#{certPath,jdbcType=VARCHAR}
,#{status,jdbcType=CHAR},#{totalIncome,jdbcType=INTEGER},#{totalRefund,jdbcType=INTEGER}
,#{totalRetailSplit,jdbcType=INTEGER},#{totalRetailAccounting,jdbcType=INTEGER},#{totalRetailSplitRefund,jdbcType=INTEGER}
,#{totalRetailAccountingRefund,jdbcType=INTEGER},#{totalChannelSplit,jdbcType=INTEGER},#{totalChannelAccounting,jdbcType=INTEGER}
,#{totalChannelSplitRefund,jdbcType=INTEGER},#{totalChannelAccountingRefund,jdbcType=INTEGER},#{totalCashOut,jdbcType=INTEGER}
,#{balance,jdbcType=INTEGER})
insert into aska_platform
id,
name,
address,
note,
account,
accountName,
accountType,
apiv3,
certPath,
status,
totalIncome,
totalRefund,
totalRetailSplit,
totalRetailAccounting,
totalRetailSplitRefund,
totalRetailAccountingRefund,
totalChannelSplit,
totalChannelAccounting,
totalChannelSplitRefund,
totalChannelAccountingRefund,
totalCashOut,
balance,
#{id,jdbcType=INTEGER},
#{name,jdbcType=CHAR},
#{address,jdbcType=VARCHAR},
#{note,jdbcType=VARCHAR},
#{account,jdbcType=VARCHAR},
#{accountName,jdbcType=VARCHAR},
#{accountType,jdbcType=CHAR},
#{apiv3,jdbcType=VARCHAR},
#{certPath,jdbcType=VARCHAR},
#{status,jdbcType=CHAR},
#{totalIncome,jdbcType=INTEGER},
#{totalRefund,jdbcType=INTEGER},
#{totalRetailSplit,jdbcType=INTEGER},
#{totalRetailAccounting,jdbcType=INTEGER},
#{totalRetailSplitRefund,jdbcType=INTEGER},
#{totalRetailAccountingRefund,jdbcType=INTEGER},
#{totalChannelSplit,jdbcType=INTEGER},
#{totalChannelAccounting,jdbcType=INTEGER},
#{totalChannelSplitRefund,jdbcType=INTEGER},
#{totalChannelAccountingRefund,jdbcType=INTEGER},
#{totalCashOut,jdbcType=INTEGER},
#{balance,jdbcType=INTEGER},
update aska_platform
name = #{name,jdbcType=CHAR},
address = #{address,jdbcType=VARCHAR},
note = #{note,jdbcType=VARCHAR},
account = #{account,jdbcType=VARCHAR},
accountName = #{accountName,jdbcType=VARCHAR},
accountType = #{accountType,jdbcType=CHAR},
apiv3 = #{apiv3,jdbcType=VARCHAR},
certPath = #{certPath,jdbcType=VARCHAR},
status = #{status,jdbcType=CHAR},
totalIncome = #{totalIncome,jdbcType=INTEGER},
totalRefund = #{totalRefund,jdbcType=INTEGER},
totalRetailSplit = #{totalRetailSplit,jdbcType=INTEGER},
totalRetailAccounting = #{totalRetailAccounting,jdbcType=INTEGER},
totalRetailSplitRefund = #{totalRetailSplitRefund,jdbcType=INTEGER},
totalRetailAccountingRefund = #{totalRetailAccountingRefund,jdbcType=INTEGER},
totalChannelSplit = #{totalChannelSplit,jdbcType=INTEGER},
totalChannelAccounting = #{totalChannelAccounting,jdbcType=INTEGER},
totalChannelSplitRefund = #{totalChannelSplitRefund,jdbcType=INTEGER},
totalChannelAccountingRefund = #{totalChannelAccountingRefund,jdbcType=INTEGER},
totalCashOut = #{totalCashOut,jdbcType=INTEGER},
balance = #{balance,jdbcType=INTEGER},
where id = #{id,jdbcType=INTEGER}
update aska_platform
set
name = #{name,jdbcType=CHAR},
address = #{address,jdbcType=VARCHAR},
note = #{note,jdbcType=VARCHAR},
account = #{account,jdbcType=VARCHAR},
accountName = #{accountName,jdbcType=VARCHAR},
accountType = #{accountType,jdbcType=CHAR},
apiv3 = #{apiv3,jdbcType=VARCHAR},
certPath = #{certPath,jdbcType=VARCHAR},
status = #{status,jdbcType=CHAR},
totalIncome = #{totalIncome,jdbcType=INTEGER},
totalRefund = #{totalRefund,jdbcType=INTEGER},
totalRetailSplit = #{totalRetailSplit,jdbcType=INTEGER},
totalRetailAccounting = #{totalRetailAccounting,jdbcType=INTEGER},
totalRetailSplitRefund = #{totalRetailSplitRefund,jdbcType=INTEGER},
totalRetailAccountingRefund = #{totalRetailAccountingRefund,jdbcType=INTEGER},
totalChannelSplit = #{totalChannelSplit,jdbcType=INTEGER},
totalChannelAccounting = #{totalChannelAccounting,jdbcType=INTEGER},
totalChannelSplitRefund = #{totalChannelSplitRefund,jdbcType=INTEGER},
totalChannelAccountingRefund = #{totalChannelAccountingRefund,jdbcType=INTEGER},
totalCashOut = #{totalCashOut,jdbcType=INTEGER},
balance = #{balance,jdbcType=INTEGER}
where id = #{id,jdbcType=INTEGER}