id,payId,spiltOrderId,
payAmount,retailId,retailName,
retailAccount,retailAmount,retailRealtimeAmount,
retailAccountAmount,retailSplitrule,channelId,
channelName,channelAccount,channelAmount,
channelRealtimeAmount,channelAccountAmount,channelSplitRule,
status,createTime,hasRefund,
refundTotal,refundRetail,refundChannel
delete from aska_splitRecord
where id = #{id,jdbcType=INTEGER}
insert into aska_splitRecord
( id,payId,spiltOrderId
,payAmount,retailId,retailName
,retailAccount,retailAmount,retailRealtimeAmount
,retailAccountAmount,retailSplitrule,channelId
,channelName,channelAccount,channelAmount
,channelRealtimeAmount,channelAccountAmount,channelSplitRule
,status,createTime,hasRefund
,refundTotal,refundRetail,refundChannel
)
values (#{id,jdbcType=INTEGER},#{payId,jdbcType=INTEGER},#{spiltOrderId,jdbcType=VARCHAR}
,#{payAmount,jdbcType=INTEGER},#{retailId,jdbcType=INTEGER},#{retailName,jdbcType=VARCHAR}
,#{retailAccount,jdbcType=VARCHAR},#{retailAmount,jdbcType=VARCHAR},#{retailRealtimeAmount,jdbcType=INTEGER}
,#{retailAccountAmount,jdbcType=INTEGER},#{retailSplitrule,jdbcType=VARCHAR},#{channelId,jdbcType=INTEGER}
,#{channelName,jdbcType=VARCHAR},#{channelAccount,jdbcType=VARCHAR},#{channelAmount,jdbcType=VARCHAR}
,#{channelRealtimeAmount,jdbcType=INTEGER},#{channelAccountAmount,jdbcType=INTEGER},#{channelSplitRule,jdbcType=VARCHAR}
,#{status,jdbcType=INTEGER},#{createTime,jdbcType=TIMESTAMP},#{hasRefund,jdbcType=INTEGER}
,#{refundTotal,jdbcType=INTEGER},#{refundRetail,jdbcType=INTEGER},#{refundChannel,jdbcType=INTEGER}
)
insert into aska_splitRecord
id,
payId,
spiltOrderId,
payAmount,
retailId,
retailName,
retailAccount,
retailAmount,
retailRealtimeAmount,
retailAccountAmount,
retailSplitrule,
channelId,
channelName,
channelAccount,
channelAmount,
channelRealtimeAmount,
channelAccountAmount,
channelSplitRule,
status,
createTime,
hasRefund,
refundTotal,
refundRetail,
refundChannel,
#{id,jdbcType=INTEGER},
#{payId,jdbcType=INTEGER},
#{spiltOrderId,jdbcType=VARCHAR},
#{payAmount,jdbcType=INTEGER},
#{retailId,jdbcType=INTEGER},
#{retailName,jdbcType=VARCHAR},
#{retailAccount,jdbcType=VARCHAR},
#{retailAmount,jdbcType=VARCHAR},
#{retailRealtimeAmount,jdbcType=INTEGER},
#{retailAccountAmount,jdbcType=INTEGER},
#{retailSplitrule,jdbcType=VARCHAR},
#{channelId,jdbcType=INTEGER},
#{channelName,jdbcType=VARCHAR},
#{channelAccount,jdbcType=VARCHAR},
#{channelAmount,jdbcType=VARCHAR},
#{channelRealtimeAmount,jdbcType=INTEGER},
#{channelAccountAmount,jdbcType=INTEGER},
#{channelSplitRule,jdbcType=VARCHAR},
#{status,jdbcType=INTEGER},
#{createTime,jdbcType=TIMESTAMP},
#{hasRefund,jdbcType=INTEGER},
#{refundTotal,jdbcType=INTEGER},
#{refundRetail,jdbcType=INTEGER},
#{refundChannel,jdbcType=INTEGER},
update aska_splitRecord
payId = #{payId,jdbcType=INTEGER},
spiltOrderId = #{spiltOrderId,jdbcType=VARCHAR},
payAmount = #{payAmount,jdbcType=INTEGER},
retailId = #{retailId,jdbcType=INTEGER},
retailName = #{retailName,jdbcType=VARCHAR},
retailAccount = #{retailAccount,jdbcType=VARCHAR},
retailAmount = #{retailAmount,jdbcType=VARCHAR},
retailRealtimeAmount = #{retailRealtimeAmount,jdbcType=INTEGER},
retailAccountAmount = #{retailAccountAmount,jdbcType=INTEGER},
retailSplitrule = #{retailSplitrule,jdbcType=VARCHAR},
channelId = #{channelId,jdbcType=INTEGER},
channelName = #{channelName,jdbcType=VARCHAR},
channelAccount = #{channelAccount,jdbcType=VARCHAR},
channelAmount = #{channelAmount,jdbcType=VARCHAR},
channelRealtimeAmount = #{channelRealtimeAmount,jdbcType=INTEGER},
channelAccountAmount = #{channelAccountAmount,jdbcType=INTEGER},
channelSplitRule = #{channelSplitRule,jdbcType=VARCHAR},
status = #{status,jdbcType=INTEGER},
createTime = #{createTime,jdbcType=TIMESTAMP},
hasRefund = #{hasRefund,jdbcType=INTEGER},
refundTotal = #{refundTotal,jdbcType=INTEGER},
refundRetail = #{refundRetail,jdbcType=INTEGER},
refundChannel = #{refundChannel,jdbcType=INTEGER},
where id = #{id,jdbcType=INTEGER}
update aska_splitRecord
set
payId = #{payId,jdbcType=INTEGER},
spiltOrderId = #{spiltOrderId,jdbcType=VARCHAR},
payAmount = #{payAmount,jdbcType=INTEGER},
retailId = #{retailId,jdbcType=INTEGER},
retailName = #{retailName,jdbcType=VARCHAR},
retailAccount = #{retailAccount,jdbcType=VARCHAR},
retailAmount = #{retailAmount,jdbcType=VARCHAR},
retailRealtimeAmount = #{retailRealtimeAmount,jdbcType=INTEGER},
retailAccountAmount = #{retailAccountAmount,jdbcType=INTEGER},
retailSplitrule = #{retailSplitrule,jdbcType=VARCHAR},
channelId = #{channelId,jdbcType=INTEGER},
channelName = #{channelName,jdbcType=VARCHAR},
channelAccount = #{channelAccount,jdbcType=VARCHAR},
channelAmount = #{channelAmount,jdbcType=VARCHAR},
channelRealtimeAmount = #{channelRealtimeAmount,jdbcType=INTEGER},
channelAccountAmount = #{channelAccountAmount,jdbcType=INTEGER},
channelSplitRule = #{channelSplitRule,jdbcType=VARCHAR},
status = #{status,jdbcType=INTEGER},
createTime = #{createTime,jdbcType=TIMESTAMP},
hasRefund = #{hasRefund,jdbcType=INTEGER},
refundTotal = #{refundTotal,jdbcType=INTEGER},
refundRetail = #{refundRetail,jdbcType=INTEGER},
refundChannel = #{refundChannel,jdbcType=INTEGER}
where id = #{id,jdbcType=INTEGER}