id, merchant_id, order_no, withdraw_code, withdraw_status, withdraw_amt, fee_amt,
credited_amt, application_time, arrival_time, create_by, create_time, update_by,
update_time, del_flag
delete from clearing_withdraw_info
where id = #{id,jdbcType=INTEGER}
insert into clearing_withdraw_info (merchant_id, order_no, withdraw_code,
withdraw_status, withdraw_amt, fee_amt,
credited_amt, application_time, arrival_time,
create_by, create_time, update_by,
update_time, del_flag)
values (#{merchantId,jdbcType=VARCHAR}, #{orderNo,jdbcType=VARCHAR}, #{withdrawCode,jdbcType=VARCHAR},
#{withdrawStatus,jdbcType=VARCHAR}, #{withdrawAmt,jdbcType=DECIMAL}, #{feeAmt,jdbcType=DECIMAL},
#{creditedAmt,jdbcType=DECIMAL}, #{applicationTime,jdbcType=TIMESTAMP}, #{arrivalTime,jdbcType=TIMESTAMP},
#{createBy,jdbcType=VARCHAR}, #{createTime,jdbcType=TIMESTAMP}, #{updateBy,jdbcType=VARCHAR},
#{updateTime,jdbcType=TIMESTAMP}, #{delFlag,jdbcType=VARCHAR})
insert into clearing_withdraw_info
merchant_id,
order_no,
withdraw_code,
withdraw_status,
withdraw_amt,
fee_amt,
credited_amt,
application_time,
arrival_time,
create_by,
create_time,
update_by,
update_time,
del_flag,
#{merchantId,jdbcType=VARCHAR},
#{orderNo,jdbcType=VARCHAR},
#{withdrawCode,jdbcType=VARCHAR},
#{withdrawStatus,jdbcType=VARCHAR},
#{withdrawAmt,jdbcType=DECIMAL},
#{feeAmt,jdbcType=DECIMAL},
#{creditedAmt,jdbcType=DECIMAL},
#{applicationTime,jdbcType=TIMESTAMP},
#{arrivalTime,jdbcType=TIMESTAMP},
#{createBy,jdbcType=VARCHAR},
#{createTime,jdbcType=TIMESTAMP},
#{updateBy,jdbcType=VARCHAR},
#{updateTime,jdbcType=TIMESTAMP},
#{delFlag,jdbcType=VARCHAR},
update clearing_withdraw_info
merchant_id = #{merchantId,jdbcType=VARCHAR},
order_no = #{orderNo,jdbcType=VARCHAR},
withdraw_code = #{withdrawCode,jdbcType=VARCHAR},
withdraw_status = #{withdrawStatus,jdbcType=VARCHAR},
withdraw_amt = #{withdrawAmt,jdbcType=DECIMAL},
fee_amt = #{feeAmt,jdbcType=DECIMAL},
credited_amt = #{creditedAmt,jdbcType=DECIMAL},
application_time = #{applicationTime,jdbcType=TIMESTAMP},
arrival_time = #{arrivalTime,jdbcType=TIMESTAMP},
create_by = #{createBy,jdbcType=VARCHAR},
create_time = #{createTime,jdbcType=TIMESTAMP},
update_by = #{updateBy,jdbcType=VARCHAR},
update_time = #{updateTime,jdbcType=TIMESTAMP},
del_flag = #{delFlag,jdbcType=VARCHAR},
where id = #{id,jdbcType=INTEGER}
update clearing_withdraw_info
set merchant_id = #{merchantId,jdbcType=VARCHAR},
order_no = #{orderNo,jdbcType=VARCHAR},
withdraw_code = #{withdrawCode,jdbcType=VARCHAR},
withdraw_status = #{withdrawStatus,jdbcType=VARCHAR},
withdraw_amt = #{withdrawAmt,jdbcType=DECIMAL},
fee_amt = #{feeAmt,jdbcType=DECIMAL},
credited_amt = #{creditedAmt,jdbcType=DECIMAL},
application_time = #{applicationTime,jdbcType=TIMESTAMP},
arrival_time = #{arrivalTime,jdbcType=TIMESTAMP},
create_by = #{createBy,jdbcType=VARCHAR},
create_time = #{createTime,jdbcType=TIMESTAMP},
update_by = #{updateBy,jdbcType=VARCHAR},
update_time = #{updateTime,jdbcType=TIMESTAMP},
del_flag = #{delFlag,jdbcType=VARCHAR}
where id = #{id,jdbcType=INTEGER}
update clearing_withdraw_info
when id = #{item.id,jdbcType=INTEGER} then #{item.merchantId,jdbcType=VARCHAR}
when id = #{item.id,jdbcType=INTEGER} then #{item.orderNo,jdbcType=VARCHAR}
when id = #{item.id,jdbcType=INTEGER} then #{item.withdrawCode,jdbcType=VARCHAR}
when id = #{item.id,jdbcType=INTEGER} then #{item.withdrawStatus,jdbcType=VARCHAR}
when id = #{item.id,jdbcType=INTEGER} then #{item.withdrawAmt,jdbcType=DECIMAL}
when id = #{item.id,jdbcType=INTEGER} then #{item.feeAmt,jdbcType=DECIMAL}
when id = #{item.id,jdbcType=INTEGER} then #{item.creditedAmt,jdbcType=DECIMAL}
when id = #{item.id,jdbcType=INTEGER} then #{item.applicationTime,jdbcType=TIMESTAMP}
when id = #{item.id,jdbcType=INTEGER} then #{item.arrivalTime,jdbcType=TIMESTAMP}
when id = #{item.id,jdbcType=INTEGER} then #{item.createBy,jdbcType=VARCHAR}
when id = #{item.id,jdbcType=INTEGER} then #{item.createTime,jdbcType=TIMESTAMP}
when id = #{item.id,jdbcType=INTEGER} then #{item.updateBy,jdbcType=VARCHAR}
when id = #{item.id,jdbcType=INTEGER} then #{item.updateTime,jdbcType=TIMESTAMP}
when id = #{item.id,jdbcType=INTEGER} then #{item.delFlag,jdbcType=VARCHAR}
where id in
#{item.id,jdbcType=INTEGER}
insert into clearing_withdraw_info
(merchant_id, order_no, withdraw_code, withdraw_status, withdraw_amt, fee_amt, credited_amt,
application_time, arrival_time, create_by, create_time, update_by, update_time,
del_flag)
values
(#{item.merchantId,jdbcType=VARCHAR}, #{item.orderNo,jdbcType=VARCHAR}, #{item.withdrawCode,jdbcType=VARCHAR},
#{item.withdrawStatus,jdbcType=VARCHAR}, #{item.withdrawAmt,jdbcType=DECIMAL},
#{item.feeAmt,jdbcType=DECIMAL}, #{item.creditedAmt,jdbcType=DECIMAL}, #{item.applicationTime,jdbcType=TIMESTAMP},
#{item.arrivalTime,jdbcType=TIMESTAMP}, #{item.createBy,jdbcType=VARCHAR}, #{item.createTime,jdbcType=TIMESTAMP},
#{item.updateBy,jdbcType=VARCHAR}, #{item.updateTime,jdbcType=TIMESTAMP}, #{item.delFlag,jdbcType=VARCHAR}
)
insert into clearing_withdraw_info
id,
merchant_id,
order_no,
withdraw_code,
withdraw_status,
withdraw_amt,
fee_amt,
credited_amt,
application_time,
arrival_time,
create_by,
create_time,
update_by,
update_time,
del_flag,
values
#{id,jdbcType=INTEGER},
#{merchantId,jdbcType=VARCHAR},
#{orderNo,jdbcType=VARCHAR},
#{withdrawCode,jdbcType=VARCHAR},
#{withdrawStatus,jdbcType=VARCHAR},
#{withdrawAmt,jdbcType=DECIMAL},
#{feeAmt,jdbcType=DECIMAL},
#{creditedAmt,jdbcType=DECIMAL},
#{applicationTime,jdbcType=TIMESTAMP},
#{arrivalTime,jdbcType=TIMESTAMP},
#{createBy,jdbcType=VARCHAR},
#{createTime,jdbcType=TIMESTAMP},
#{updateBy,jdbcType=VARCHAR},
#{updateTime,jdbcType=TIMESTAMP},
#{delFlag,jdbcType=VARCHAR},
on duplicate key update
id = #{id,jdbcType=INTEGER},
merchant_id = #{merchantId,jdbcType=VARCHAR},
order_no = #{orderNo,jdbcType=VARCHAR},
withdraw_code = #{withdrawCode,jdbcType=VARCHAR},
withdraw_status = #{withdrawStatus,jdbcType=VARCHAR},
withdraw_amt = #{withdrawAmt,jdbcType=DECIMAL},
fee_amt = #{feeAmt,jdbcType=DECIMAL},
credited_amt = #{creditedAmt,jdbcType=DECIMAL},
application_time = #{applicationTime,jdbcType=TIMESTAMP},
arrival_time = #{arrivalTime,jdbcType=TIMESTAMP},
create_by = #{createBy,jdbcType=VARCHAR},
create_time = #{createTime,jdbcType=TIMESTAMP},
update_by = #{updateBy,jdbcType=VARCHAR},
update_time = #{updateTime,jdbcType=TIMESTAMP},
del_flag = #{delFlag,jdbcType=VARCHAR},
insert into clearing_withdraw_info
id,
merchant_id,
order_no,
withdraw_code,
withdraw_status,
withdraw_amt,
fee_amt,
credited_amt,
application_time,
arrival_time,
create_by,
create_time,
update_by,
update_time,
del_flag,
values
#{id,jdbcType=INTEGER},
#{merchantId,jdbcType=VARCHAR},
#{orderNo,jdbcType=VARCHAR},
#{withdrawCode,jdbcType=VARCHAR},
#{withdrawStatus,jdbcType=VARCHAR},
#{withdrawAmt,jdbcType=DECIMAL},
#{feeAmt,jdbcType=DECIMAL},
#{creditedAmt,jdbcType=DECIMAL},
#{applicationTime,jdbcType=TIMESTAMP},
#{arrivalTime,jdbcType=TIMESTAMP},
#{createBy,jdbcType=VARCHAR},
#{createTime,jdbcType=TIMESTAMP},
#{updateBy,jdbcType=VARCHAR},
#{updateTime,jdbcType=TIMESTAMP},
#{delFlag,jdbcType=VARCHAR},
on duplicate key update
id = #{id,jdbcType=INTEGER},
merchant_id = #{merchantId,jdbcType=VARCHAR},
order_no = #{orderNo,jdbcType=VARCHAR},
withdraw_code = #{withdrawCode,jdbcType=VARCHAR},
withdraw_status = #{withdrawStatus,jdbcType=VARCHAR},
withdraw_amt = #{withdrawAmt,jdbcType=DECIMAL},
fee_amt = #{feeAmt,jdbcType=DECIMAL},
credited_amt = #{creditedAmt,jdbcType=DECIMAL},
application_time = #{applicationTime,jdbcType=TIMESTAMP},
arrival_time = #{arrivalTime,jdbcType=TIMESTAMP},
create_by = #{createBy,jdbcType=VARCHAR},
create_time = #{createTime,jdbcType=TIMESTAMP},
update_by = #{updateBy,jdbcType=VARCHAR},
update_time = #{updateTime,jdbcType=TIMESTAMP},
del_flag = #{delFlag,jdbcType=VARCHAR},