cc.clearing_checkout_id, cc.clearing_bank_id, cc.apply_amount, cc.apply_power_amount, cc.apply_service_amount, cc.handling_fee, cc.received_amount, cc.bank_fee, cc.del_flag, cc.received_power_amount, cc.received_service_amount, cc.`status`, cc.operator_id, cc.tenant_id, cc.create_by, cc.create_time, cc.update_by, cc.update_time, cc.check_by, cc.check_time update xhpc_clearing_checkout set del_flag=2 where clearing_checkout_id = #{clearingCheckoutId,jdbcType=BIGINT} delete from xhpc_clearing_checkout where clearing_checkout_id = #{clearingCheckoutId,jdbcType=BIGINT} insert into xhpc_clearing_checkout (clearing_bank_id, apply_amount, apply_power_amount, apply_service_amount, handling_fee, bank_fee, received_amount, received_power_amount, received_service_amount, del_flag, `status`, operator_id, tenant_id, create_by, create_time, update_by,update_time, check_by, check_time) values (#{clearingBankId,jdbcType=BIGINT}, #{applyAmount,jdbcType=DECIMAL}, #{applyPowerAmount}, #{applyServiceAmount}, #{handlingFee,jdbcType=DECIMAL}, #{bankFee}, #{receivedAmount,jdbcType=DECIMAL}, #{receivedPowerAmount}, #{receivedServiceAmount}, 0, #{status}, #{operatorId}, #{tenantId,jdbcType=VARCHAR}, #{createBy,jdbcType=VARCHAR}, sysdate(), #{updateBy,jdbcType=VARCHAR}, sysdate(), #{checkBy}, sysdate()) update xhpc_clearing_checkout set clearing_bank_id = #{clearingBankId,jdbcType=BIGINT}, apply_amount = #{applyAmount,jdbcType=DECIMAL}, apply_power_amount=#{applyPowerAmount}, apply_service_amount=#{applyServiceAmount}, handling_fee = #{handlingFee,jdbcType=DECIMAL}, bank_fee = #{bankFee}, received_amount = #{receivedAmount,jdbcType=DECIMAL}, received_power_amount=#{receivedPowerAmount}, received_service_amount=#{receivedServiceAmount} `status` = #{status,jdbcType=INTEGER}, update_by = #{updateBy,jdbcType=VARCHAR}, update_time = sysdate() where clearing_checkout_id = #{clearingCheckoutId,jdbcType=BIGINT} update xhpc_clearing_checkout set `status` = #{status,jdbcType=INTEGER}, check_by = #{updateBy,jdbcType=VARCHAR}, check_time = #{updateTime,jdbcType=TIMESTAMP} where clearing_checkout_id = #{clearingCheckoutId,jdbcType=BIGINT} update xhpc_clearing_checkout set `status` = #{status,jdbcType=INTEGER}, update_by = #{updateBy,jdbcType=VARCHAR}, update_time = sysdate() where clearing_checkout_id = #{clearingCheckoutId,jdbcType=BIGINT} update xhpc_clearing_checkout set `status` = #{status} where find_in_set(clearing_checkout_id, #{checkoutIds})