id, client_id, `year`, `month`, amount, money
  
  
  
    
    delete from st_client_amount_month
    where id = #{id,jdbcType=BIGINT}
  
  
    
    insert into st_client_amount_month (id, client_id, `year`, 
      `month`, amount, money)
    values (#{id,jdbcType=BIGINT}, #{clientId,jdbcType=BIGINT}, #{year,jdbcType=INTEGER}, 
      #{month,jdbcType=INTEGER}, #{amount,jdbcType=FLOAT}, #{money,jdbcType=FLOAT})
  
  
    
    insert into st_client_amount_month
    
      
        id,
      
      
        client_id,
      
      
        `year`,
      
      
        `month`,
      
      
        amount,
      
      
        money,
      
    
    
      
        #{id,jdbcType=BIGINT},
      
      
        #{clientId,jdbcType=BIGINT},
      
      
        #{year,jdbcType=INTEGER},
      
      
        #{month,jdbcType=INTEGER},
      
      
        #{amount,jdbcType=FLOAT},
      
      
        #{money,jdbcType=FLOAT},
      
    
  
  
    
    update st_client_amount_month
    
      
        client_id = #{clientId,jdbcType=BIGINT},
      
      
        `year` = #{year,jdbcType=INTEGER},
      
      
        `month` = #{month,jdbcType=INTEGER},
      
      
        amount = #{amount,jdbcType=FLOAT},
      
      
        money = #{money,jdbcType=FLOAT},
      
    
    where id = #{id,jdbcType=BIGINT}
  
  
    
    update st_client_amount_month
    set client_id = #{clientId,jdbcType=BIGINT},
      `year` = #{year,jdbcType=INTEGER},
      `month` = #{month,jdbcType=INTEGER},
      amount = #{amount,jdbcType=FLOAT},
      money = #{money,jdbcType=FLOAT}
    where id = #{id,jdbcType=BIGINT}