id, organization_id, value, create_time, update_time
  
    
  
  
    delete from alarm_config
    where id = #{id,jdbcType=INTEGER}
  
  
    insert into alarm_config (id, organization_id, value, 
      create_time, update_time)
    values (#{id,jdbcType=INTEGER}, #{organizationId,jdbcType=INTEGER}, #{value,jdbcType=OTHER,typeHandler=AlarmConfigValueHandle},
      #{createTime,jdbcType=TIMESTAMP}, #{updateTime,jdbcType=TIMESTAMP})
  
  
    insert into alarm_config
    
      
        id,
      
      
        organization_id,
      
      
        value,
      
      
        create_time,
      
      
        update_time,
      
    
    
      
        #{id,jdbcType=INTEGER},
      
      
        #{organizationId,jdbcType=INTEGER},
      
      
        #{value,jdbcType=OTHER,typeHandler=AlarmConfigValueHandle},
      
      
        #{createTime,jdbcType=TIMESTAMP},
      
      
        #{updateTime,jdbcType=TIMESTAMP},
      
    
  
  
    update alarm_config
    
      
        organization_id = #{organizationId,jdbcType=INTEGER},
      
      
        value = #{value,jdbcType=OTHER,typeHandler=AlarmConfigValueHandle},
      
      
        create_time = #{createTime,jdbcType=TIMESTAMP},
      
      
        update_time = #{updateTime,jdbcType=TIMESTAMP},
      
    
    where id = #{id,jdbcType=INTEGER}
  
  
    update alarm_config
    set organization_id = #{organizationId,jdbcType=INTEGER},
      value = #{value,jdbcType=OTHER,typeHandler=AlarmConfigValueHandle},
      create_time = #{createTime,jdbcType=TIMESTAMP},
      update_time = #{updateTime,jdbcType=TIMESTAMP}
    where id = #{id,jdbcType=INTEGER}