|
@@ -420,8 +420,9 @@ func (s *subscribePush) getDatasFromMysql(spqp *SubPushQueryParam, starttime, en
|
|
|
|
|
|
}
|
|
|
if len(find_in_set) == 1 {
|
|
|
- querys = append(querys, find_in_set[0])
|
|
|
- } else if len(find_in_set) > 1 {
|
|
|
+ find_in_set = append(find_in_set, "9999")
|
|
|
+ }
|
|
|
+ if len(find_in_set) > 0 {
|
|
|
querys = append(querys, fmt.Sprintf(" t.labelvalues in (%s)", strings.Join(find_in_set, ",")))
|
|
|
}
|
|
|
}
|