历史数据读取

简要描述
  • 获取指标历史数据
请求方式
  • 数据库直连访问
数据库连接信息
属性 值 说明
DB mysql 数据库类型
url ${server}:3306 数据库服务器地址
username figure 数据库用户名
password Figure@321 数据库密码
database frp 数据库名字
table status_${type}_view 历史数据视图名

type:1-探测器状、2-信号指标、3-压制指标

表结构说明

  1. 探测器状态表(t_monitorpoint_status_view)

    字段说明
    参数名 类型 说明
    monitorpointId int 采集点ID
    status int 在线状态(0:离线 1:在线)
    time date 更新时间

  1. 信号指标表(t_channel_strength_value_view)

    字段说明
    参数名 类型 说明
    channnelId string 频道ID
    value int 电平值
    regionLong string 经度
    regionLat string 纬度
    time date 更新时间

  1. 压制指标表(t_channel_status_view)

    字段说明
    参数名 类型 说明
    channelId string 频道ID
    value int 压制效果评分
    regionLong string 经度
    regionLat string 纬度
    time date 更新时间