id,request_body,order_sn,
open_id,mobile,order_id,
amount,item_id,item_type,
item_name,item_channel,retail_id,
retail_name,use_coupon_id,pay_channel,
response_body,pay_status,pay_time,
transaction_id,pay_amount,has_refund,
refund_total,client_type,canSplit,
callback_url,create_time,modified_time
delete from pay_request
where id = #{id,jdbcType=INTEGER}
insert into pay_request
( id,request_body,order_sn
,open_id,mobile,order_id
,amount,item_id,item_type
,item_name,item_channel,retail_id
,retail_name,use_coupon_id,pay_channel
,response_body,pay_status,pay_time
,transaction_id,pay_amount,has_refund
,refund_total,client_type,canSplit
,callback_url,create_time,modified_time
)
values (#{id,jdbcType=INTEGER},#{requestBody,jdbcType=VARCHAR},#{orderSn,jdbcType=VARCHAR}
,#{openId,jdbcType=VARCHAR},#{mobile,jdbcType=VARCHAR},#{orderId,jdbcType=VARCHAR}
,#{amount,jdbcType=DECIMAL},#{itemId,jdbcType=VARCHAR},#{itemType,jdbcType=INTEGER}
,#{itemName,jdbcType=VARCHAR},#{itemChannel,jdbcType=VARCHAR},#{retailId,jdbcType=VARCHAR}
,#{retailName,jdbcType=VARCHAR},#{useCouponId,jdbcType=VARCHAR},#{payChannel,jdbcType=INTEGER}
,#{responseBody,jdbcType=VARCHAR},#{payStatus,jdbcType=INTEGER},#{payTime,jdbcType=TIMESTAMP}
,#{transactionId,jdbcType=VARCHAR},#{payAmount,jdbcType=DECIMAL},#{hasRefund,jdbcType=INTEGER}
,#{refundTotal,jdbcType=DECIMAL},#{clientType,jdbcType=VARCHAR},#{cansplit,jdbcType=INTEGER}
,#{callbackUrl,jdbcType=VARCHAR},#{createTime,jdbcType=TIMESTAMP},#{modifiedTime,jdbcType=TIMESTAMP}
)
insert into pay_request
id,
request_body,
order_sn,
open_id,
mobile,
order_id,
amount,
item_id,
item_type,
item_name,
item_channel,
channel_id,
retail_id,
retail_name,
use_coupon_id,
pay_channel,
response_body,
pay_status,
pay_time,
transaction_id,
pay_amount,
has_refund,
refund_total,
client_type,
canSplit,
callback_url,
create_time,
modified_time,
#{id,jdbcType=INTEGER},
#{requestBody,jdbcType=VARCHAR},
#{orderSn,jdbcType=VARCHAR},
#{openId,jdbcType=VARCHAR},
#{mobile,jdbcType=VARCHAR},
#{orderId,jdbcType=VARCHAR},
#{amount,jdbcType=DECIMAL},
#{itemId,jdbcType=VARCHAR},
#{itemType,jdbcType=INTEGER},
#{itemName,jdbcType=VARCHAR},
#{itemChannel,jdbcType=VARCHAR},
#{channelId,jdbcType=INTEGER},
#{retailId,jdbcType=VARCHAR},
#{retailName,jdbcType=VARCHAR},
#{useCouponId,jdbcType=VARCHAR},
#{payChannel,jdbcType=INTEGER},
#{responseBody,jdbcType=VARCHAR},
#{payStatus,jdbcType=INTEGER},
#{payTime,jdbcType=TIMESTAMP},
#{transactionId,jdbcType=VARCHAR},
#{payAmount,jdbcType=DECIMAL},
#{hasRefund,jdbcType=INTEGER},
#{refundTotal,jdbcType=DECIMAL},
#{clientType,jdbcType=VARCHAR},
#{cansplit,jdbcType=INTEGER},
#{callbackUrl,jdbcType=VARCHAR},
#{createTime,jdbcType=TIMESTAMP},
#{modifiedTime,jdbcType=TIMESTAMP},
update pay_request
request_body = #{requestBody,jdbcType=VARCHAR},
order_sn = #{orderSn,jdbcType=VARCHAR},
open_id = #{openId,jdbcType=VARCHAR},
mobile = #{mobile,jdbcType=VARCHAR},
order_id = #{orderId,jdbcType=VARCHAR},
amount = #{amount,jdbcType=DECIMAL},
item_id = #{itemId,jdbcType=VARCHAR},
item_type = #{itemType,jdbcType=INTEGER},
item_name = #{itemName,jdbcType=VARCHAR},
item_channel = #{itemChannel,jdbcType=VARCHAR},
retail_id = #{retailId,jdbcType=VARCHAR},
retail_name = #{retailName,jdbcType=VARCHAR},
use_coupon_id = #{useCouponId,jdbcType=VARCHAR},
pay_channel = #{payChannel,jdbcType=INTEGER},
response_body = #{responseBody,jdbcType=VARCHAR},
pay_status = #{payStatus,jdbcType=INTEGER},
pay_time = #{payTime,jdbcType=TIMESTAMP},
transaction_id = #{transactionId,jdbcType=VARCHAR},
pay_amount = #{payAmount,jdbcType=DECIMAL},
has_refund = #{hasRefund,jdbcType=INTEGER},
refund_total = #{refundTotal,jdbcType=DECIMAL},
client_type = #{clientType,jdbcType=VARCHAR},
canSplit = #{cansplit,jdbcType=INTEGER},
callback_url = #{callbackUrl,jdbcType=VARCHAR},
create_time = #{createTime,jdbcType=TIMESTAMP},
modified_time = #{modifiedTime,jdbcType=TIMESTAMP},
where id = #{id,jdbcType=INTEGER}
update pay_request
set
request_body = #{requestBody,jdbcType=VARCHAR},
order_sn = #{orderSn,jdbcType=VARCHAR},
open_id = #{openId,jdbcType=VARCHAR},
mobile = #{mobile,jdbcType=VARCHAR},
order_id = #{orderId,jdbcType=VARCHAR},
amount = #{amount,jdbcType=DECIMAL},
item_id = #{itemId,jdbcType=VARCHAR},
item_type = #{itemType,jdbcType=INTEGER},
item_name = #{itemName,jdbcType=VARCHAR},
item_channel = #{itemChannel,jdbcType=VARCHAR},
retail_id = #{retailId,jdbcType=VARCHAR},
retail_name = #{retailName,jdbcType=VARCHAR},
use_coupon_id = #{useCouponId,jdbcType=VARCHAR},
pay_channel = #{payChannel,jdbcType=INTEGER},
response_body = #{responseBody,jdbcType=VARCHAR},
pay_status = #{payStatus,jdbcType=INTEGER},
pay_time = #{payTime,jdbcType=TIMESTAMP},
transaction_id = #{transactionId,jdbcType=VARCHAR},
pay_amount = #{payAmount,jdbcType=DECIMAL},
has_refund = #{hasRefund,jdbcType=INTEGER},
refund_total = #{refundTotal,jdbcType=DECIMAL},
client_type = #{clientType,jdbcType=VARCHAR},
canSplit = #{cansplit,jdbcType=INTEGER},
callback_url = #{callbackUrl,jdbcType=VARCHAR},
create_time = #{createTime,jdbcType=TIMESTAMP},
modified_time = #{modifiedTime,jdbcType=TIMESTAMP}
where id = #{id,jdbcType=INTEGER}