id, wallet_id, client_id, money, refund_amount, after_refund, application_time, refund_status, 
    auditor, audit_time, remarks
  
  
  
    
    delete from se_refund
    where id = #{id,jdbcType=BIGINT}
  
  
    
    insert into se_refund (id, wallet_id, client_id, 
      money, refund_amount, after_refund, 
      application_time, refund_status, auditor, 
      audit_time, remarks)
    values (#{id,jdbcType=BIGINT}, #{walletId,jdbcType=BIGINT}, #{clientId,jdbcType=BIGINT}, 
      #{money,jdbcType=FLOAT}, #{refundAmount,jdbcType=FLOAT}, #{afterRefund,jdbcType=FLOAT}, 
      #{applicationTime,jdbcType=TIMESTAMP}, #{refundStatus,jdbcType=TINYINT}, #{auditor,jdbcType=BIGINT}, 
      #{auditTime,jdbcType=TIMESTAMP}, #{remarks,jdbcType=VARCHAR})
  
  
    
    insert into se_refund
    
      
        id,
      
      
        wallet_id,
      
      
        client_id,
      
      
        money,
      
      
        refund_amount,
      
      
        after_refund,
      
      
        application_time,
      
      
        refund_status,
      
      
        auditor,
      
      
        audit_time,
      
      
        remarks,
      
    
    
      
        #{id,jdbcType=BIGINT},
      
      
        #{walletId,jdbcType=BIGINT},
      
      
        #{clientId,jdbcType=BIGINT},
      
      
        #{money,jdbcType=FLOAT},
      
      
        #{refundAmount,jdbcType=FLOAT},
      
      
        #{afterRefund,jdbcType=FLOAT},
      
      
        #{applicationTime,jdbcType=TIMESTAMP},
      
      
        #{refundStatus,jdbcType=TINYINT},
      
      
        #{auditor,jdbcType=BIGINT},
      
      
        #{auditTime,jdbcType=TIMESTAMP},
      
      
        #{remarks,jdbcType=VARCHAR},
      
    
  
  
    
    update se_refund
    
      
        wallet_id = #{walletId,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},
      
      
        refund_status = #{refundStatus,jdbcType=TINYINT},
      
      
        auditor = #{auditor,jdbcType=BIGINT},
      
      
        audit_time = #{auditTime,jdbcType=TIMESTAMP},
      
      
        remarks = #{remarks,jdbcType=VARCHAR},
      
    
    where id = #{id,jdbcType=BIGINT}
  
  
    
    update se_refund
    set wallet_id = #{walletId,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},
      refund_status = #{refundStatus,jdbcType=TINYINT},
      auditor = #{auditor,jdbcType=BIGINT},
      audit_time = #{auditTime,jdbcType=TIMESTAMP},
      remarks = #{remarks,jdbcType=VARCHAR}
    where id = #{id,jdbcType=BIGINT}