id, bill_status, trade_date, clearing_bill_code, clearing_time, merchant_id, order_source,
receivable_amount, should_clearing_amount, actual_clearing_amount, fee_amount, withdrawable_amount,
withdraw_code, create_by, create_time, update_by, update_time, del_flag
delete from clearing_bill_info
where id = #{id,jdbcType=INTEGER}
insert into clearing_bill_info (bill_status, trade_date, clearing_bill_code,
clearing_time, merchant_id, order_source,
receivable_amount, should_clearing_amount,
actual_clearing_amount, fee_amount, withdrawable_amount,
withdraw_code, create_by, create_time,
update_by, update_time, del_flag
)
values (#{billStatus,jdbcType=VARCHAR}, #{tradeDate,jdbcType=VARCHAR}, #{clearingBillCode,jdbcType=VARCHAR},
#{clearingTime,jdbcType=TIMESTAMP}, #{merchantId,jdbcType=VARCHAR}, #{orderSource,jdbcType=VARCHAR},
#{receivableAmount,jdbcType=DECIMAL}, #{shouldClearingAmount,jdbcType=DECIMAL},
#{actualClearingAmount,jdbcType=DECIMAL}, #{feeAmount,jdbcType=DECIMAL}, #{withdrawableAmount,jdbcType=DECIMAL},
#{withdrawCode,jdbcType=VARCHAR}, #{createBy,jdbcType=VARCHAR}, #{createTime,jdbcType=TIMESTAMP},
#{updateBy,jdbcType=VARCHAR}, #{updateTime,jdbcType=TIMESTAMP}, #{delFlag,jdbcType=VARCHAR}
)
insert into clearing_bill_info
bill_status,
trade_date,
clearing_bill_code,
clearing_time,
merchant_id,
order_source,
receivable_amount,
should_clearing_amount,
actual_clearing_amount,
fee_amount,
withdrawable_amount,
withdraw_code,
create_by,
create_time,
update_by,
update_time,
del_flag,
#{billStatus,jdbcType=VARCHAR},
#{tradeDate,jdbcType=VARCHAR},
#{clearingBillCode,jdbcType=VARCHAR},
#{clearingTime,jdbcType=TIMESTAMP},
#{merchantId,jdbcType=VARCHAR},
#{orderSource,jdbcType=VARCHAR},
#{receivableAmount,jdbcType=DECIMAL},
#{shouldClearingAmount,jdbcType=DECIMAL},
#{actualClearingAmount,jdbcType=DECIMAL},
#{feeAmount,jdbcType=DECIMAL},
#{withdrawableAmount,jdbcType=DECIMAL},
#{withdrawCode,jdbcType=VARCHAR},
#{createBy,jdbcType=VARCHAR},
#{createTime,jdbcType=TIMESTAMP},
#{updateBy,jdbcType=VARCHAR},
#{updateTime,jdbcType=TIMESTAMP},
#{delFlag,jdbcType=VARCHAR},
update clearing_bill_info
bill_status = #{billStatus,jdbcType=VARCHAR},
trade_date = #{tradeDate,jdbcType=VARCHAR},
clearing_bill_code = #{clearingBillCode,jdbcType=VARCHAR},
clearing_time = #{clearingTime,jdbcType=TIMESTAMP},
merchant_id = #{merchantId,jdbcType=VARCHAR},
order_source = #{orderSource,jdbcType=VARCHAR},
receivable_amount = #{receivableAmount,jdbcType=DECIMAL},
should_clearing_amount = #{shouldClearingAmount,jdbcType=DECIMAL},
actual_clearing_amount = #{actualClearingAmount,jdbcType=DECIMAL},
fee_amount = #{feeAmount,jdbcType=DECIMAL},
withdrawable_amount = #{withdrawableAmount,jdbcType=DECIMAL},
withdraw_code = #{withdrawCode,jdbcType=VARCHAR},
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_bill_info
set bill_status = #{billStatus,jdbcType=VARCHAR},
trade_date = #{tradeDate,jdbcType=VARCHAR},
clearing_bill_code = #{clearingBillCode,jdbcType=VARCHAR},
clearing_time = #{clearingTime,jdbcType=TIMESTAMP},
merchant_id = #{merchantId,jdbcType=VARCHAR},
order_source = #{orderSource,jdbcType=VARCHAR},
receivable_amount = #{receivableAmount,jdbcType=DECIMAL},
should_clearing_amount = #{shouldClearingAmount,jdbcType=DECIMAL},
actual_clearing_amount = #{actualClearingAmount,jdbcType=DECIMAL},
fee_amount = #{feeAmount,jdbcType=DECIMAL},
withdrawable_amount = #{withdrawableAmount,jdbcType=DECIMAL},
withdraw_code = #{withdrawCode,jdbcType=VARCHAR},
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_bill_info
set bill_status = #{billStatus,jdbcType=VARCHAR}
where id in
#{item,jdbcType=INTEGER}