id, vc_id, client_id, money, refund_amount, after_refund, application_time, auditor, 
    audit_time, remarks, refund_number, refund_time, refund_status
  
  
  
    
    delete from se_vc_refund
    where id = #{id,jdbcType=BIGINT}
  
  
    
    insert into se_vc_refund (id, vc_id, client_id, 
      money, refund_amount, after_refund, 
      application_time, auditor, audit_time, 
      remarks, refund_number, refund_time, 
      refund_status)
    values (#{id,jdbcType=BIGINT}, #{vcId,jdbcType=BIGINT}, #{clientId,jdbcType=BIGINT}, 
      #{money,jdbcType=FLOAT}, #{refundAmount,jdbcType=FLOAT}, #{afterRefund,jdbcType=FLOAT}, 
      #{applicationTime,jdbcType=TIMESTAMP}, #{auditor,jdbcType=BIGINT}, #{auditTime,jdbcType=TIMESTAMP}, 
      #{remarks,jdbcType=VARCHAR}, #{refundNumber,jdbcType=VARCHAR}, #{refundTime,jdbcType=TIMESTAMP}, 
      #{refundStatus,jdbcType=TINYINT})
  
  
    
    insert into se_vc_refund
    
      
        id,
      
      
        vc_id,
      
      
        client_id,
      
      
        money,
      
      
        refund_amount,
      
      
        after_refund,
      
      
        application_time,
      
      
        auditor,
      
      
        audit_time,
      
      
        remarks,
      
      
        refund_number,
      
      
        refund_time,
      
      
        refund_status,
      
    
    
      
        #{id,jdbcType=BIGINT},
      
      
        #{vcId,jdbcType=BIGINT},
      
      
        #{clientId,jdbcType=BIGINT},
      
      
        #{money,jdbcType=FLOAT},
      
      
        #{refundAmount,jdbcType=FLOAT},
      
      
        #{afterRefund,jdbcType=FLOAT},
      
      
        #{applicationTime,jdbcType=TIMESTAMP},
      
      
        #{auditor,jdbcType=BIGINT},
      
      
        #{auditTime,jdbcType=TIMESTAMP},
      
      
        #{remarks,jdbcType=VARCHAR},
      
      
        #{refundNumber,jdbcType=VARCHAR},
      
      
        #{refundTime,jdbcType=TIMESTAMP},
      
      
        #{refundStatus,jdbcType=TINYINT},
      
    
  
  
    
    update se_vc_refund
    
      
        vc_id = #{vcId,jdbcType=BIGINT},
      
      
        client_id = #{clientId,jdbcType=BIGINT},
      
      
        money = #{money,jdbcType=FLOAT},
      
      
        refund_amount = #{refundAmount,jdbcType=FLOAT},
      
      
        after_refund = #{afterRefund,jdbcType=FLOAT},
      
      
        application_time = #{applicationTime,jdbcType=TIMESTAMP},
      
      
        auditor = #{auditor,jdbcType=BIGINT},
      
      
        audit_time = #{auditTime,jdbcType=TIMESTAMP},
      
      
        remarks = #{remarks,jdbcType=VARCHAR},
      
      
        refund_number = #{refundNumber,jdbcType=VARCHAR},
      
      
        refund_time = #{refundTime,jdbcType=TIMESTAMP},
      
      
        refund_status = #{refundStatus,jdbcType=TINYINT},
      
    
    where id = #{id,jdbcType=BIGINT}
  
  
    
    update se_vc_refund
    set vc_id = #{vcId,jdbcType=BIGINT},
      client_id = #{clientId,jdbcType=BIGINT},
      money = #{money,jdbcType=FLOAT},
      refund_amount = #{refundAmount,jdbcType=FLOAT},
      after_refund = #{afterRefund,jdbcType=FLOAT},
      application_time = #{applicationTime,jdbcType=TIMESTAMP},
      auditor = #{auditor,jdbcType=BIGINT},
      audit_time = #{auditTime,jdbcType=TIMESTAMP},
      remarks = #{remarks,jdbcType=VARCHAR},
      refund_number = #{refundNumber,jdbcType=VARCHAR},
      refund_time = #{refundTime,jdbcType=TIMESTAMP},
      refund_status = #{refundStatus,jdbcType=TINYINT}
    where id = #{id,jdbcType=BIGINT}