id,name,prefix,
ownerId,phone,note,
account,accountName,accountType,
relation,apiv3,certPath,
tripartite,tripvalue,realtimeSplit,cashSplit
status,accountingIncome,splitIncome,
accountingRefund,splitRefund,cashOut,balance
delete from aska_channels
where id = #{id,jdbcType=INTEGER}
insert into aska_channels
( id,name,prefix
,ownerId,phone,note
,account,accountName,accountType
,relation,apiv3,certPath
,tripartite,tripvalue,realtimeSplit
,status,accountingIncome,splitIncome
,accountingRefund,splitRefund,cashOut,balance
)
values (#{id,jdbcType=INTEGER},#{name,jdbcType=CHAR},#{prefix,jdbcType=CHAR}
,#{ownerId,jdbcType=INTEGER},#{phone,jdbcType=CHAR},#{note,jdbcType=VARCHAR}
,#{account,jdbcType=VARCHAR},#{accountName,jdbcType=VARCHAR},#{accountType,jdbcType=CHAR}
,#{relation,jdbcType=CHAR},#{apiv3,jdbcType=VARCHAR},#{certPath,jdbcType=VARCHAR}
,#{tripartite,jdbcType=CHAR},#{tripvalue,jdbcType=INTEGER},#{realtimeSplit,jdbcType=INTEGER}
,#{status,jdbcType=CHAR},#{accountingIncome,jdbcType=INTEGER},#{splitIncome,jdbcType=INTEGER}
,#{accountingRefund,jdbcType=INTEGER},#{splitRefund,jdbcType=INTEGER},#{cashOut,jdbcType=INTEGER},#{balance,jdbcType=INTEGER}
)
insert into aska_channels
id,
name,
prefix,
ownerId,
phone,
note,
account,
accountName,
accountType,
relation,
apiv3,
certPath,
tripartite,
tripvalue,
realtimeSplit,
status,
balance,
#{id,jdbcType=INTEGER},
#{name,jdbcType=CHAR},
#{prefix,jdbcType=CHAR},
#{ownerId,jdbcType=INTEGER},
#{phone,jdbcType=CHAR},
#{note,jdbcType=VARCHAR},
#{account,jdbcType=VARCHAR},
#{accountName,jdbcType=VARCHAR},
#{accountType,jdbcType=CHAR},
#{relation,jdbcType=CHAR},
#{apiv3,jdbcType=VARCHAR},
#{certPath,jdbcType=VARCHAR},
#{tripartite,jdbcType=CHAR},
#{tripvalue,jdbcType=INTEGER},
#{realtimeSplit,jdbcType=INTEGER},
#{status,jdbcType=CHAR},
#{balance,jdbcType=INTEGER},
update aska_channels
name = #{name,jdbcType=CHAR},
prefix = #{prefix,jdbcType=CHAR},
ownerId = #{ownerId,jdbcType=INTEGER},
phone = #{phone,jdbcType=CHAR},
note = #{note,jdbcType=VARCHAR},
account = #{account,jdbcType=VARCHAR},
accountName = #{accountName,jdbcType=VARCHAR},
accountType = #{accountType,jdbcType=CHAR},
relation = #{relation,jdbcType=CHAR},
apiv3 = #{apiv3,jdbcType=VARCHAR},
certPath = #{certPath,jdbcType=VARCHAR},
tripartite = #{tripartite,jdbcType=CHAR},
tripvalue = #{tripvalue,jdbcType=INTEGER},
realtimeSplit = #{realtimeSplit,jdbcType=INTEGER},
status = #{status,jdbcType=CHAR},
accountingIncome = #{accountingIncome,jdbcType=INTEGER},
splitIncome = #{splitIncome,jdbcType=INTEGER},
accountingRefund = #{accountingRefund,jdbcType=INTEGER},
splitRefund = #{splitRefund,jdbcType=INTEGER},
cashOut = #{cashOut,jdbcType=INTEGER},
balance = #{balance,jdbcType=INTEGER},
where id = #{id,jdbcType=INTEGER}
update aska_channels
set
name = #{name,jdbcType=CHAR},
prefix = #{prefix,jdbcType=CHAR},
ownerId = #{ownerId,jdbcType=INTEGER},
phone = #{phone,jdbcType=CHAR},
note = #{note,jdbcType=VARCHAR},
account = #{account,jdbcType=VARCHAR},
accountName = #{accountName,jdbcType=VARCHAR},
accountType = #{accountType,jdbcType=CHAR},
relation = #{relation,jdbcType=CHAR},
apiv3 = #{apiv3,jdbcType=VARCHAR},
certPath = #{certPath,jdbcType=VARCHAR},
tripartite = #{tripartite,jdbcType=CHAR},
tripvalue = #{tripvalue,jdbcType=INTEGER},
realtimeSplit = #{realtimeSplit,jdbcType=INTEGER},
status = #{status,jdbcType=CHAR},
accountingIncome = #{accountingIncome,jdbcType=INTEGER},
splitIncome = #{splitIncome,jdbcType=INTEGER},
accountingRefund = #{accountingRefund,jdbcType=INTEGER},
splitRefund = #{splitRefund,jdbcType=INTEGER},
cashOut = #{cashOut,jdbcType=INTEGER},
balance = #{balance,jdbcType=INTEGER}
where id = #{id,jdbcType=INTEGER}