zhoujinlong

Results 4 comments of zhoujinlong

 tdengine用的是2.4.0.16,driver-go版本用的是v2.0.4

示例代码: // 获取状态规则列表 func (t *Tdengine) GetStateRuleList(where map[string]string) ([]*StateRuleTdObj, error) { whereStr := t.setwhere(where) fields := []string{ "state_rule_models_id", "state_rule_partner_id", "state_rule_equipment_id", "classify_id", "cate_id", "level_id", "param_id", "param", "pid", "rule_standard_type", "point", "point_name", "point_unit_id",...

func (t *Tdengine) GetModelsTheoryList(equipmentId int64) ([]*ModuleTheoryTdObj, error) { fields := []string{ "equipment_id", "name", "device_id", "product_id", "model_value", "gid", "threshold_type", "threshold", "models_param_id", "standard_type", "standard", "point", "param_type", "point_name", "point_unit_name", "theory_id", } filedSet :=...

每次返回的数据量不多,有的多有的少,20-30条吧,当没有查询到记录也会出现这种情况