id, bill_status, trade_date, clearing_bill_code, clearing_time, merchant_id, order_source, settle_amount, 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, settle_amount, 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}, #{settleAmount,jdbcType=DECIMAL}, #{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}, settle_amount = #{settleAmount,jdbcType=DECIMAL}, 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 when id = #{item.id,jdbcType=INTEGER} then #{item.billStatus,jdbcType=VARCHAR} when id = #{item.id,jdbcType=INTEGER} then #{item.tradeDate,jdbcType=VARCHAR} when id = #{item.id,jdbcType=INTEGER} then #{item.clearingBillCode,jdbcType=VARCHAR} when id = #{item.id,jdbcType=INTEGER} then #{item.clearingTime,jdbcType=TIMESTAMP} when id = #{item.id,jdbcType=INTEGER} then #{item.merchantId,jdbcType=VARCHAR} when id = #{item.id,jdbcType=INTEGER} then #{item.orderSource,jdbcType=VARCHAR} when id = #{item.id,jdbcType=INTEGER} then #{item.settleAmount,jdbcType=DECIMAL} when id = #{item.id,jdbcType=INTEGER} then #{item.receivableAmount,jdbcType=DECIMAL} when id = #{item.id,jdbcType=INTEGER} then #{item.shouldClearingAmount,jdbcType=DECIMAL} when id = #{item.id,jdbcType=INTEGER} then #{item.actualClearingAmount,jdbcType=DECIMAL} when id = #{item.id,jdbcType=INTEGER} then #{item.feeAmount,jdbcType=DECIMAL} when id = #{item.id,jdbcType=INTEGER} then #{item.withdrawableAmount,jdbcType=DECIMAL} when id = #{item.id,jdbcType=INTEGER} then #{item.withdrawCode,jdbcType=VARCHAR} 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} update clearing_bill_info when id = #{item.id,jdbcType=INTEGER} then #{item.billStatus,jdbcType=VARCHAR} when id = #{item.id,jdbcType=INTEGER} then #{item.tradeDate,jdbcType=VARCHAR} when id = #{item.id,jdbcType=INTEGER} then #{item.clearingBillCode,jdbcType=VARCHAR} when id = #{item.id,jdbcType=INTEGER} then #{item.clearingTime,jdbcType=TIMESTAMP} when id = #{item.id,jdbcType=INTEGER} then #{item.merchantId,jdbcType=VARCHAR} when id = #{item.id,jdbcType=INTEGER} then #{item.orderSource,jdbcType=VARCHAR} when id = #{item.id,jdbcType=INTEGER} then #{item.settleAmount,jdbcType=DECIMAL} when id = #{item.id,jdbcType=INTEGER} then #{item.receivableAmount,jdbcType=DECIMAL} when id = #{item.id,jdbcType=INTEGER} then #{item.shouldClearingAmount,jdbcType=DECIMAL} when id = #{item.id,jdbcType=INTEGER} then #{item.actualClearingAmount,jdbcType=DECIMAL} when id = #{item.id,jdbcType=INTEGER} then #{item.feeAmount,jdbcType=DECIMAL} when id = #{item.id,jdbcType=INTEGER} then #{item.withdrawableAmount,jdbcType=DECIMAL} when id = #{item.id,jdbcType=INTEGER} then #{item.withdrawCode,jdbcType=VARCHAR} 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_bill_info (bill_status, trade_date, clearing_bill_code, clearing_time, merchant_id, order_source, settle_amount, 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 (#{item.billStatus,jdbcType=VARCHAR}, #{item.tradeDate,jdbcType=VARCHAR}, #{item.clearingBillCode,jdbcType=VARCHAR}, #{item.clearingTime,jdbcType=TIMESTAMP}, #{item.merchantId,jdbcType=VARCHAR}, #{item.orderSource,jdbcType=VARCHAR}, #{item.settleAmount,jdbcType=DECIMAL}, #{item.receivableAmount,jdbcType=DECIMAL}, #{item.shouldClearingAmount,jdbcType=DECIMAL}, #{item.actualClearingAmount,jdbcType=DECIMAL}, #{item.feeAmount,jdbcType=DECIMAL}, #{item.withdrawableAmount,jdbcType=DECIMAL}, #{item.withdrawCode,jdbcType=VARCHAR}, #{item.createBy,jdbcType=VARCHAR}, #{item.createTime,jdbcType=TIMESTAMP}, #{item.updateBy,jdbcType=VARCHAR}, #{item.updateTime,jdbcType=TIMESTAMP}, #{item.delFlag,jdbcType=VARCHAR} ) insert into clearing_bill_info id, bill_status, trade_date, clearing_bill_code, clearing_time, merchant_id, order_source, settle_amount, 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 #{id,jdbcType=INTEGER}, #{billStatus,jdbcType=VARCHAR}, #{tradeDate,jdbcType=VARCHAR}, #{clearingBillCode,jdbcType=VARCHAR}, #{clearingTime,jdbcType=TIMESTAMP}, #{merchantId,jdbcType=VARCHAR}, #{orderSource,jdbcType=VARCHAR}, #{settleAmount,jdbcType=DECIMAL}, #{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}, on duplicate key update id = #{id,jdbcType=INTEGER}, 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}, settle_amount = #{settleAmount,jdbcType=DECIMAL}, 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}, insert into clearing_bill_info id, bill_status, trade_date, clearing_bill_code, clearing_time, merchant_id, order_source, settle_amount, 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 #{id,jdbcType=INTEGER}, #{billStatus,jdbcType=VARCHAR}, #{tradeDate,jdbcType=VARCHAR}, #{clearingBillCode,jdbcType=VARCHAR}, #{clearingTime,jdbcType=TIMESTAMP}, #{merchantId,jdbcType=VARCHAR}, #{orderSource,jdbcType=VARCHAR}, #{settleAmount,jdbcType=DECIMAL}, #{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}, on duplicate key update id = #{id,jdbcType=INTEGER}, 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}, settle_amount = #{settleAmount,jdbcType=DECIMAL}, 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}, update clearing_bill_info set bill_status = #{billStatus,jdbcType=VARCHAR}, withdraw_code = #{withdrawCode,jdbcType=VARCHAR} where id in #{item,jdbcType=INTEGER}