id, unit_id, client_id, `operator`, operate_time
  
  
  
    
    delete from ir_unit_client
    where id = #{id,jdbcType=BIGINT}
  
  
    
    insert into ir_unit_client (id, unit_id, client_id, 
      `operator`, operate_time)
    values (#{id,jdbcType=BIGINT}, #{unitId,jdbcType=BIGINT}, #{clientId,jdbcType=BIGINT}, 
      #{operator,jdbcType=BIGINT}, #{operateTime,jdbcType=TIMESTAMP})
  
  
    
    insert into ir_unit_client
    
      
        id,
      
      
        unit_id,
      
      
        client_id,
      
      
        `operator`,
      
      
        operate_time,
      
    
    
      
        #{id,jdbcType=BIGINT},
      
      
        #{unitId,jdbcType=BIGINT},
      
      
        #{clientId,jdbcType=BIGINT},
      
      
        #{operator,jdbcType=BIGINT},
      
      
        #{operateTime,jdbcType=TIMESTAMP},
      
    
  
  
    
    update ir_unit_client
    
      
        unit_id = #{unitId,jdbcType=BIGINT},
      
      
        client_id = #{clientId,jdbcType=BIGINT},
      
      
        `operator` = #{operator,jdbcType=BIGINT},
      
      
        operate_time = #{operateTime,jdbcType=TIMESTAMP},
      
    
    where id = #{id,jdbcType=BIGINT}
  
  
    
    update ir_unit_client
    set unit_id = #{unitId,jdbcType=BIGINT},
      client_id = #{clientId,jdbcType=BIGINT},
      `operator` = #{operator,jdbcType=BIGINT},
      operate_time = #{operateTime,jdbcType=TIMESTAMP}
    where id = #{id,jdbcType=BIGINT}