select payId, delFlag, createUser, createTime, updateUser, updateTime, orderId, orderNo, payTime, sellerId, description, outTradeNo, notifyUrl, amountTotal, payerOpenid, prepayId, notifyId, notifyTime, eventType, transactionId, tradeType, tradeState, tradeStateDesc, bankType, successTime from t_payment_info
select
${tableAlias}.payId,
${tableAlias}.delFlag,
${tableAlias}.createUser,
${tableAlias}.createTime,
${tableAlias}.updateUser,
${tableAlias}.updateTime,
${tableAlias}.orderId,
${tableAlias}.orderNo,
${tableAlias}.payTime,
${tableAlias}.sellerId,
${tableAlias}.description,
${tableAlias}.outTradeNo,
${tableAlias}.notifyUrl,
${tableAlias}.amountTotal,
${tableAlias}.payerOpenid,
${tableAlias}.prepayId,
${tableAlias}.notifyId,
${tableAlias}.notifyTime,
${tableAlias}.eventType,
${tableAlias}.transactionId,
${tableAlias}.tradeType,
${tableAlias}.tradeState,
${tableAlias}.tradeStateDesc,
${tableAlias}.bankType,
${tableAlias}.successTime
from t_payment_info ${tableAlias}
insert into t_payment_info
delFlag,
createUser,
createTime,
updateUser,
updateTime,
orderId,
orderNo,
payTime,
sellerId,
description,
outTradeNo,
notifyUrl,
amountTotal,
payerOpenid,
prepayId,
notifyId,
notifyTime,
eventType,
transactionId,
tradeType,
tradeState,
tradeStateDesc,
bankType,
successTime,
#{delFlag},
#{createUser},
#{createTime},
#{updateUser},
#{updateTime},
#{orderId},
#{orderNo},
#{payTime},
#{sellerId},
#{description},
#{outTradeNo},
#{notifyUrl},
#{amountTotal},
#{payerOpenid},
#{prepayId},
#{notifyId},
#{notifyTime},
#{eventType},
#{transactionId},
#{tradeType},
#{tradeState},
#{tradeStateDesc},
#{bankType},
#{successTime},
insert into t_payment_info( delFlag, createUser, createTime, updateUser, updateTime, orderId, orderNo, payTime, sellerId, description, outTradeNo, notifyUrl, amountTotal, payerOpenid, prepayId, notifyId, notifyTime, eventType, transactionId, tradeType, tradeState, tradeStateDesc, bankType, successTime) values
( #{item.delFlag}, #{item.createUser}, #{item.createTime}, #{item.updateUser}, #{item.updateTime}, #{item.orderId}, #{item.orderNo}, #{item.payTime}, #{item.sellerId}, #{item.description}, #{item.outTradeNo}, #{item.notifyUrl}, #{item.amountTotal}, #{item.payerOpenid}, #{item.prepayId}, #{item.notifyId}, #{item.notifyTime}, #{item.eventType}, #{item.transactionId}, #{item.tradeType}, #{item.tradeState}, #{item.tradeStateDesc}, #{item.bankType}, #{item.successTime})
update t_payment_info
delFlag = #{delFlag},
createUser = #{createUser},
createTime = #{createTime},
updateUser = #{updateUser},
updateTime = #{updateTime},
orderId = #{orderId},
orderNo = #{orderNo},
payTime = #{payTime},
sellerId = #{sellerId},
description = #{description},
outTradeNo = #{outTradeNo},
notifyUrl = #{notifyUrl},
amountTotal = #{amountTotal},
payerOpenid = #{payerOpenid},
prepayId = #{prepayId},
notifyId = #{notifyId},
notifyTime = #{notifyTime},
eventType = #{eventType},
transactionId = #{transactionId},
tradeType = #{tradeType},
tradeState = #{tradeState},
tradeStateDesc = #{tradeStateDesc},
bankType = #{bankType},
successTime = #{successTime},
where payId = #{payId}
delete from t_payment_info where payId = #{payId}
delete from t_payment_info where payId in
#{payId}
update t_payment_info
set delFlag = '1'
where payId = #{payId}
update t_payment_info
set delFlag = '1'
where payId in
#{payId}
update t_payment_info
set delFlag = '1'
and delFlag = #{delFlag}
and createUser = #{createUser}
and createTime = #{createTime}
and updateUser = #{updateUser}
and updateTime = #{updateTime}
and orderId = #{orderId}
and orderNo = #{orderNo}
and payTime = #{payTime}
and sellerId = #{sellerId}
and description = #{description}
and outTradeNo = #{outTradeNo}
and notifyUrl = #{notifyUrl}
and amountTotal = #{amountTotal}
and payerOpenid = #{payerOpenid}
and prepayId = #{prepayId}
and notifyId = #{notifyId}
and notifyTime = #{notifyTime}
and eventType = #{eventType}
and transactionId = #{transactionId}
and tradeType = #{tradeType}
and tradeState = #{tradeState}
and tradeStateDesc = #{tradeStateDesc}
and bankType = #{bankType}
and successTime = #{successTime}