id, `name`, remarks, deleted
  
  
  
    
    delete from se_payment_method
    where id = #{id,jdbcType=BIGINT}
  
  
    
    insert into se_payment_method (id, `name`, remarks, deleted
      )
    values (#{id,jdbcType=BIGINT},#{name,jdbcType=VARCHAR}, #{remarks,jdbcType=VARCHAR}, #{deleted,jdbcType=TINYINT}
      )
  
  
    
    insert into se_payment_method
    
      
        id,
      
      
        `name`,
      
      
        remarks,
      
      
        deleted,
      
    
    
      
        #{id,jdbcType=BIGINT},
      
      
        #{name,jdbcType=VARCHAR},
      
      
        #{remarks,jdbcType=VARCHAR},
      
      
        #{deleted,jdbcType=TINYINT},
      
    
  
  
    
    update se_payment_method
    
      
        `name` = #{name,jdbcType=VARCHAR},
      
      
        remarks = #{remarks,jdbcType=VARCHAR},
      
      
        deleted = #{deleted,jdbcType=TINYINT},
      
    
    where id = #{id,jdbcType=BIGINT}
  
  
    
    update se_payment_method
    set `name` = #{name,jdbcType=VARCHAR},
      remarks = #{remarks,jdbcType=VARCHAR},
      deleted = #{deleted,jdbcType=TINYINT}
    where id = #{id,jdbcType=BIGINT}