id, client_id, `year`, amount1, gift1, times1, amount2, gift2, times2, amount3, gift3, 
    times3, amount4, gift4, times4, amount5, gift5, times5, amount6, gift6, times6, amount7, 
    gift7, times7, amount8, gift8, times8, amount9, gift9, times9, amount10, gift10, 
    times10, amount11, gift11, times11, amount12, gift12, times12
  
  
  
    
    delete from st_recharge_client_month
    where id = #{id,jdbcType=BIGINT}
  
  
    
    insert into st_recharge_client_month (id, client_id, `year`, 
      amount1, gift1, times1, 
      amount2, gift2, times2, 
      amount3, gift3, times3, 
      amount4, gift4, times4, 
      amount5, gift5, times5, 
      amount6, gift6, times6, 
      amount7, gift7, times7, 
      amount8, gift8, times8, 
      amount9, gift9, times9, 
      amount10, gift10, times10, 
      amount11, gift11, times11, 
      amount12, gift12, times12
      )
    values (#{id,jdbcType=BIGINT}, #{clientId,jdbcType=BIGINT}, #{year,jdbcType=INTEGER}, 
      #{amount1,jdbcType=FLOAT}, #{gift1,jdbcType=FLOAT}, #{times1,jdbcType=INTEGER}, 
      #{amount2,jdbcType=FLOAT}, #{gift2,jdbcType=FLOAT}, #{times2,jdbcType=INTEGER}, 
      #{amount3,jdbcType=FLOAT}, #{gift3,jdbcType=FLOAT}, #{times3,jdbcType=INTEGER}, 
      #{amount4,jdbcType=FLOAT}, #{gift4,jdbcType=FLOAT}, #{times4,jdbcType=INTEGER}, 
      #{amount5,jdbcType=FLOAT}, #{gift5,jdbcType=FLOAT}, #{times5,jdbcType=INTEGER}, 
      #{amount6,jdbcType=FLOAT}, #{gift6,jdbcType=FLOAT}, #{times6,jdbcType=INTEGER}, 
      #{amount7,jdbcType=FLOAT}, #{gift7,jdbcType=FLOAT}, #{times7,jdbcType=INTEGER}, 
      #{amount8,jdbcType=FLOAT}, #{gift8,jdbcType=FLOAT}, #{times8,jdbcType=INTEGER}, 
      #{amount9,jdbcType=FLOAT}, #{gift9,jdbcType=FLOAT}, #{times9,jdbcType=INTEGER}, 
      #{amount10,jdbcType=FLOAT}, #{gift10,jdbcType=FLOAT}, #{times10,jdbcType=INTEGER}, 
      #{amount11,jdbcType=FLOAT}, #{gift11,jdbcType=FLOAT}, #{times11,jdbcType=INTEGER}, 
      #{amount12,jdbcType=FLOAT}, #{gift12,jdbcType=FLOAT}, #{times12,jdbcType=INTEGER}
      )
  
  
    
    insert into st_recharge_client_month
    
      
        id,
      
      
        client_id,
      
      
        `year`,
      
      
        amount1,
      
      
        gift1,
      
      
        times1,
      
      
        amount2,
      
      
        gift2,
      
      
        times2,
      
      
        amount3,
      
      
        gift3,
      
      
        times3,
      
      
        amount4,
      
      
        gift4,
      
      
        times4,
      
      
        amount5,
      
      
        gift5,
      
      
        times5,
      
      
        amount6,
      
      
        gift6,
      
      
        times6,
      
      
        amount7,
      
      
        gift7,
      
      
        times7,
      
      
        amount8,
      
      
        gift8,
      
      
        times8,
      
      
        amount9,
      
      
        gift9,
      
      
        times9,
      
      
        amount10,
      
      
        gift10,
      
      
        times10,
      
      
        amount11,
      
      
        gift11,
      
      
        times11,
      
      
        amount12,
      
      
        gift12,
      
      
        times12,
      
    
    
      
        #{id,jdbcType=BIGINT},
      
      
        #{clientId,jdbcType=BIGINT},
      
      
        #{year,jdbcType=INTEGER},
      
      
        #{amount1,jdbcType=FLOAT},
      
      
        #{gift1,jdbcType=FLOAT},
      
      
        #{times1,jdbcType=INTEGER},
      
      
        #{amount2,jdbcType=FLOAT},
      
      
        #{gift2,jdbcType=FLOAT},
      
      
        #{times2,jdbcType=INTEGER},
      
      
        #{amount3,jdbcType=FLOAT},
      
      
        #{gift3,jdbcType=FLOAT},
      
      
        #{times3,jdbcType=INTEGER},
      
      
        #{amount4,jdbcType=FLOAT},
      
      
        #{gift4,jdbcType=FLOAT},
      
      
        #{times4,jdbcType=INTEGER},
      
      
        #{amount5,jdbcType=FLOAT},
      
      
        #{gift5,jdbcType=FLOAT},
      
      
        #{times5,jdbcType=INTEGER},
      
      
        #{amount6,jdbcType=FLOAT},
      
      
        #{gift6,jdbcType=FLOAT},
      
      
        #{times6,jdbcType=INTEGER},
      
      
        #{amount7,jdbcType=FLOAT},
      
      
        #{gift7,jdbcType=FLOAT},
      
      
        #{times7,jdbcType=INTEGER},
      
      
        #{amount8,jdbcType=FLOAT},
      
      
        #{gift8,jdbcType=FLOAT},
      
      
        #{times8,jdbcType=INTEGER},
      
      
        #{amount9,jdbcType=FLOAT},
      
      
        #{gift9,jdbcType=FLOAT},
      
      
        #{times9,jdbcType=INTEGER},
      
      
        #{amount10,jdbcType=FLOAT},
      
      
        #{gift10,jdbcType=FLOAT},
      
      
        #{times10,jdbcType=INTEGER},
      
      
        #{amount11,jdbcType=FLOAT},
      
      
        #{gift11,jdbcType=FLOAT},
      
      
        #{times11,jdbcType=INTEGER},
      
      
        #{amount12,jdbcType=FLOAT},
      
      
        #{gift12,jdbcType=FLOAT},
      
      
        #{times12,jdbcType=INTEGER},
      
    
  
  
    
    update st_recharge_client_month
    
      
        client_id = #{clientId,jdbcType=BIGINT},
      
      
        `year` = #{year,jdbcType=INTEGER},
      
      
        amount1 = #{amount1,jdbcType=FLOAT},
      
      
        gift1 = #{gift1,jdbcType=FLOAT},
      
      
        times1 = #{times1,jdbcType=INTEGER},
      
      
        amount2 = #{amount2,jdbcType=FLOAT},
      
      
        gift2 = #{gift2,jdbcType=FLOAT},
      
      
        times2 = #{times2,jdbcType=INTEGER},
      
      
        amount3 = #{amount3,jdbcType=FLOAT},
      
      
        gift3 = #{gift3,jdbcType=FLOAT},
      
      
        times3 = #{times3,jdbcType=INTEGER},
      
      
        amount4 = #{amount4,jdbcType=FLOAT},
      
      
        gift4 = #{gift4,jdbcType=FLOAT},
      
      
        times4 = #{times4,jdbcType=INTEGER},
      
      
        amount5 = #{amount5,jdbcType=FLOAT},
      
      
        gift5 = #{gift5,jdbcType=FLOAT},
      
      
        times5 = #{times5,jdbcType=INTEGER},
      
      
        amount6 = #{amount6,jdbcType=FLOAT},
      
      
        gift6 = #{gift6,jdbcType=FLOAT},
      
      
        times6 = #{times6,jdbcType=INTEGER},
      
      
        amount7 = #{amount7,jdbcType=FLOAT},
      
      
        gift7 = #{gift7,jdbcType=FLOAT},
      
      
        times7 = #{times7,jdbcType=INTEGER},
      
      
        amount8 = #{amount8,jdbcType=FLOAT},
      
      
        gift8 = #{gift8,jdbcType=FLOAT},
      
      
        times8 = #{times8,jdbcType=INTEGER},
      
      
        amount9 = #{amount9,jdbcType=FLOAT},
      
      
        gift9 = #{gift9,jdbcType=FLOAT},
      
      
        times9 = #{times9,jdbcType=INTEGER},
      
      
        amount10 = #{amount10,jdbcType=FLOAT},
      
      
        gift10 = #{gift10,jdbcType=FLOAT},
      
      
        times10 = #{times10,jdbcType=INTEGER},
      
      
        amount11 = #{amount11,jdbcType=FLOAT},
      
      
        gift11 = #{gift11,jdbcType=FLOAT},
      
      
        times11 = #{times11,jdbcType=INTEGER},
      
      
        amount12 = #{amount12,jdbcType=FLOAT},
      
      
        gift12 = #{gift12,jdbcType=FLOAT},
      
      
        times12 = #{times12,jdbcType=INTEGER},
      
    
    where id = #{id,jdbcType=BIGINT}
  
  
    
    update st_recharge_client_month
    set client_id = #{clientId,jdbcType=BIGINT},
      `year` = #{year,jdbcType=INTEGER},
      amount1 = #{amount1,jdbcType=FLOAT},
      gift1 = #{gift1,jdbcType=FLOAT},
      times1 = #{times1,jdbcType=INTEGER},
      amount2 = #{amount2,jdbcType=FLOAT},
      gift2 = #{gift2,jdbcType=FLOAT},
      times2 = #{times2,jdbcType=INTEGER},
      amount3 = #{amount3,jdbcType=FLOAT},
      gift3 = #{gift3,jdbcType=FLOAT},
      times3 = #{times3,jdbcType=INTEGER},
      amount4 = #{amount4,jdbcType=FLOAT},
      gift4 = #{gift4,jdbcType=FLOAT},
      times4 = #{times4,jdbcType=INTEGER},
      amount5 = #{amount5,jdbcType=FLOAT},
      gift5 = #{gift5,jdbcType=FLOAT},
      times5 = #{times5,jdbcType=INTEGER},
      amount6 = #{amount6,jdbcType=FLOAT},
      gift6 = #{gift6,jdbcType=FLOAT},
      times6 = #{times6,jdbcType=INTEGER},
      amount7 = #{amount7,jdbcType=FLOAT},
      gift7 = #{gift7,jdbcType=FLOAT},
      times7 = #{times7,jdbcType=INTEGER},
      amount8 = #{amount8,jdbcType=FLOAT},
      gift8 = #{gift8,jdbcType=FLOAT},
      times8 = #{times8,jdbcType=INTEGER},
      amount9 = #{amount9,jdbcType=FLOAT},
      gift9 = #{gift9,jdbcType=FLOAT},
      times9 = #{times9,jdbcType=INTEGER},
      amount10 = #{amount10,jdbcType=FLOAT},
      gift10 = #{gift10,jdbcType=FLOAT},
      times10 = #{times10,jdbcType=INTEGER},
      amount11 = #{amount11,jdbcType=FLOAT},
      gift11 = #{gift11,jdbcType=FLOAT},
      times11 = #{times11,jdbcType=INTEGER},
      amount12 = #{amount12,jdbcType=FLOAT},
      gift12 = #{gift12,jdbcType=FLOAT},
      times12 = #{times12,jdbcType=INTEGER}
    where id = #{id,jdbcType=BIGINT}